How can I import an ASCII comma-separated file into a SQL Server table using Visual Basic VBSQL.OCX?I already know and read the helpfile VBSQL.HLP.In MS-Dos I use the following statement:>BCP SQLServerDatabase..SQLServerTable IN NameTextFile /U UserName /P Password /S ServerName /c /t ; /r \r\nTh...
Quick question:I've got a list box that I want to fill with a bunch of data.How do I tell the listbox not to repaint itself until all the data has been added?MFC equivalent:LockWindowUpdate();//add some stuffUnlockWindowUpdate();Toolbook (ugh..) Equivalent:SysLockScreen = true//do somethingSysL...
What I'm trying to do is a Unix type command line filter program to read stdin and output to stdout i.e. c:\temp\dir | myfilter | more<br/>Any help is greatly appreciated <br/>thanks
269 byte By
Joe G at 2007-11-15 10:21:02
Assume the MS calculator is running.<br/>How would I select View-->Standard from the Calculator Menu bar<br/>from a VB application?<br/>Thanks,<br/>Joe<br/>The next step would be sending values to it, I will try SendKeys()<br/>for this.
I get a constant and very annoying flicker in my "animation" if a GIF (not an animated GIF just many vry small transparent GIF's going visible and invisible in a set secquence)The small transparent GIF is on top of a GIF I have set as a background. Aswell I have a fill size transparent GIF th...
I'm getting this message everytime I try to make and EXE file from my project. I tried with a large project and with a simple form with 1 command button and 1 text box. I just keep getting this message:LINK: error: Internal error during SetupPhaseCan someone please help me figure this one out...
183 byte By
Jess at 2007-11-15 10:21:05
I am using a listview control so that when a list item is clicked a second listview control is updated. The second control headers flicker badly. Is there a way to prevent the flicker
Hi,<br/>I want to scroll a listview so that a specific listitem is displayed at the top - EnsureVisible usually displays it at the bottom. Does anyone know how to do this?<br/>TIA<br/>Andy
164 byte By
Alex at 2007-11-15 10:21:07
I tried to set "dim db as database" and it told me that database was an undefined variable. Anyone have any ideas why VB isn't recognizing it?<br/>thanks
358 byte By
phil at 2007-11-15 10:21:08
is there any way to install the runtime file OLEAUT32.DLL and other's and NOT have to reboot ? the file MSVBVM60.EXE from microsoft prompts to reboot at the end... is this because i have OLEAUT32.DLL running or is it always running ? does Visual C++ have this same problem ? who wants to wait 30...
358 byte By
phil at 2007-11-15 10:21:09
is there any way to install the runtime file OLEAUT32.DLL and other's and NOT have to reboot ? the file MSVBVM60.EXE from microsoft prompts to reboot at the end... is this because i have OLEAUT32.DLL running or is it always running ? does Visual C++ have this same problem ? who wants to wait 30...
Is there anybody who could possibly show me how to correctly use the Win32 API call Enumjobs from Visual Basic.<br/>Thankyou in advance.<br/>Tony
Any one know how to remove the Shutdown from the start menu and replace it with my ownd menuitem.
I have been thinking about adding an OLE Interface for part of a company project. Can this be done within Visual Basic or must I resort to writing the WHOLE app in C++? Any suggestions or pointers are GREATLY appreciated!<br/>Thanks<br/>Mark Thompson
774 byte By
Peter at 2007-11-15 10:21:13
I wrote an application that transfers data from a WANG system (DB = Pace) to SQL server. The only problem is that the DB structure changes from time to time and I need to adjust my SQL server tables.What I did in Access was : generating a new DB following the new structure on the WANG and compare t...
774 byte By
Peter at 2007-11-15 10:21:14
I wrote an application that transfers data from a WANG system (DB = Pace) to SQL server. The only problem is that the DB structure changes from time to time and I need to adjust my SQL server tables.What I did in Access was : generating a new DB following the new structure on the WANG and compare t...
275 byte By
Dan: at 2007-11-15 10:21:15
Is it possible to implement a pre-defined interface in a VB ActiveX control?<br/>It appears that VB creates class & coclass names, and automatically assigns property and method ids.<br/>So far, the only thing we've been able to change is the name of a coclass.
I have a DBlist box that has to many items. So it puts up a scrollbar. I have enough room and I would like to make it two columns wide. How can I do that. I am using VB5.<br/>Thanks<br/>Eric
I tried: myxl=GetObject("",Excel.Application)Just exactly as in the vb help file, but it doesn't work.I have a VBA reference in my project.This statement works OK:Myxl=GetObjext("path\book.xls") But it doesn't help if the .xls is already open.TIA...
Hi everybody,A customer of ours reported a problem on installing an application built with the VB4-Setupwiz.I can't reproduce this problem here, so I wondered if somebody can tell anything about my problem. I'm sorry to not have the exact errormessage, I only have it in German, I will try...
Hi, I have a problem in generating a report using Crystal Report. Currently, I am using the VB to create the report in Text format. However, I would like to generate the graph charts for my report. Therefore, I intended to use the Crystal Report Program in doing so. However I do not know how to u...
I want to create hot spots on images of bitmaps in visual basic <br/>with link what should i done .<br/>Thanks<br/>raza@sgd.nexlinx.net.pk
When showing a form, I'd like it appear like "sliding"<br/>(or from small dot to full-size form, I mean like in Excel spreadsheet way)<br/>And when hiding/unloading a form, i'd like it work <br/>in a reverse way.(from full-size form to small)<br/>How can I do that?
I need to set an environment variable in NT4.0. At this time, I open the systemdialog from the control panel and then use SendKeys to set the variable. I hate using SendKeys, so I hope there is another solution.I tried updating the registry with the new environment variable, and it did showup in t...
hi,i have a VC5.0 COM object (that uses DAO) that is used within a VB4.0 application. i get the dreded "run-time error '28' out of stack space" when my application is parsing a large database using DAO.basic COM object function:the COM object reads in text files, parses them and creates/op...
223 byte By
Bob at 2007-11-15 10:21:24
Can someone PLEASE tell me how to pass in PARAM values from an HTML page into my ActiveX control (.ocx). I have posted this question all over news groups and can't even get a response.<br/>Thank You,<br/>Bob
138 byte By
Alex at 2007-11-15 10:21:25
I'm running a query from a Access Database file, and I'm trying to print out the results. Anyone know how to do this? thanks ;)
259 byte By
K Chana at 2007-11-15 10:21:26
I'm looking for C/C++ source code for a forms editor, that will allow me to place controls on a form and reposition them by draging them. I know that the VC samples has code for DlgEdit but I'd like something that uses MFC instead.<br/>Thanks.
What's the difference between Remote Automation and Com/DCom?
Have any idea about the threading. I know just defn, expect everything<br/>beyond that. can you explain with an example?
What's the physical level difference between Dll and Exe?
Is it possible to have a variable in Active X Server which has the no of<br/>references to it stored?
428 byte By
Alex at 2007-11-15 10:21:31
Whenever I try to add components, I get the following error:System Error &H80004002 (-2147467262). No such interface supported.If I hit ok, it brings me to the dialog box to choose a component, but there is nothing to choose. Anyone know why I get this error and how to fix it?I want to add a Common...
Is it possible to create a form dinamically during execution of a VB project ? <br/>Is it possible to create a form dinamically inside a mdb file using a VB project ? <br/> Dan
I have associated my print application to file type PRN. If I select more then one file in the Explorer and open, several instances of the application will start.To avoid that, I am trying to use DDE for the file association in the same way Excel does, but i don't know how to pick up the DDE me...
221 byte By
Vienna at 2007-11-15 10:21:34
Greetings, <br/>in the RichTextBox mouse move event, I would like to always have <br/>the caret follow the cursor.<br/>Please email any information to<br/>viennaproject@netscape.net<br/>Thank you.
Any one know of a way to delete a directory and all its contents<br/>from VB5. rmdir will only work if it is empty and kill only works on files!??<br/>HELP!<br/>christopher
Any one know of a way to delete a directory and all its contents<br/>from VB5. rmdir will only work if it is empty and kill only works on files!??<br/>HELP!<br/>christopher
I have data base with picture in one field. How can I create my report file in CrystalReports with that picture in it?<br/>Thanks...
639 byte By
Eddie at 2007-11-15 10:21:38
I am having problems using a listbox and a random file.If I don't make sense I'm sorry. I am really a begginer.I have Public Type contact first as string * 30 last as string * 30 title as string * 30 company as string * 30then I have form that asks for these thingsI would like my r...
I've written an application in VB6 which uses data reports. The application works fine on any machine which has had VB6 installed on it but on others the data reports generate the error 'invalid data source'.This same source is successfully used to access the the database elsewhere i...
Rdoerrors object shows very generalized errors. how to make it to display<br/>the specific errors. for example "it violates the primary key constraint... like".
Hi folks, I am not a VB programmer, so if my problem is not a real problem, please let me know, and I will learn more on how to use VB. The scenario is the following: I am developing an ActiveX control in VC++ (MFC). The control fires an event which has some parameters. One of the parameters' t...
643 byte By
ahmed at 2007-11-15 10:21:42
Dear sir i have to write program with (vb4-16 bit) and i use it from win95 i open oracle database (oracle for workgruop ver7.3)using odbc. the problem if i just make new project and just open database in load form and close it in unload form with no write any extra code , when i ne...
Any one tell me how to attatch a hyperlink to a form<br/>say somthing like.<br/>my web page<br/>Which will link to a web page in explorer or whatever browser there is available.<br/>thanks.<br/>(You never know I might find the solution!?? 1st) :)
Any one tell me how to attatch a hyperlink to a form<br/>say somthing like.<br/>my web page<br/>Which will link to a web page in explorer or whatever browser there is available.<br/>thanks.<br/>(You never know I might find the solution!?? 1st) :)
257 byte By
Rob at 2007-11-15 10:21:45
I have an AVI file and MS Active Movie Controll on a form in my app. The AVI plays running the app in VB. Once I compile and distribute the app to other machines, the AVI does no play. I used VB setup wizard to distribute the app. Can anyone help with this?
257 byte By
Rob at 2007-11-15 10:21:46
I have an AVI file and MS Active Movie Controll on a form in my app. The AVI plays running the app in VB. Once I compile and distribute the app to other machines, the AVI does no play. I used VB setup wizard to distribute the app. Can anyone help with this?
326 byte By
Erik K at 2007-11-15 10:21:47
I need to rewrite an Access application in Visual Basic. I would like to use the existing Access forms to elaborate upon. I was wondering wether or not it is posssible to open a form developed in Access, in Visual Basic. And how I would go about doing so. If anyone can lend me some information, I w...
255 byte By
Vincent at 2007-11-15 10:21:48
I have some simple data out of my ADO connection that I want to plot on a chart. I need to set the rowlabels, legend and the data. What is the best approach? I found very poor docs about OCX MS chart control, not enough for me to understand. Please help!!