Using VBSQL Bulk Copy Functions

700 byte By Jeroen Hartsuiker at 2007-11-15 10:20:59
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...

Flicker-free Drawing?

655 byte By Ryan Schneider at 2007-11-15 10:21:00
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...

Unix type of filter program

197 byte By Pekka Levanen at 2007-11-15 10:21:01
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

Controlling other running applications

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.

Flicker with graphics and "Multimedia"

738 byte By Dorian Wolaniuk at 2007-11-15 10:21:03
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...

Error Message: Internal error during SetupPhase

338 byte By Domenic Sita at 2007-11-15 10:21:04
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...

listview flicker

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

Listview - EnsureVisible

204 byte By Andrew Hepburn at 2007-11-15 10:21:06
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

dim db as database ?

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

installation of runtime

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...

installation of runtime

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...

Enumjobs API

155 byte By Tony Martheze at 2007-11-15 10:21:10
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

Shell Programming

97 byte By Faheem Javed Qureshi at 2007-11-15 10:21:11
Any one know how to remove the Shutdown from the start menu and replace it with my ownd menuitem.

OLE Interface?

262 byte By Mark Thompson at 2007-11-15 10:21:12
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

SQL server - modify table structures

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...

SQL server - modify table structures

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...

Implementing a pre-defined interface

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.

How do I make 2 columns in a DBlistbox

202 byte By Eric Gregerson at 2007-11-15 10:21:16
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

GetObject("",Excel.application)

326 byte By Art Yates at 2007-11-15 10:21:17
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...

Problem on Installing VB4-Application

1354 byte By Paul Pierrot at 2007-11-15 10:21:18
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...

Usage of Crystal Report

425 byte By Vivien Lee at 2007-11-15 10:21:19
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...

how i can create hotspot on images or bitmaps

153 byte By ahmad raza at 2007-11-15 10:21:20
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

How to make a form unload/hide in another fancy way?

295 byte By Si-Gwan Kim at 2007-11-15 10:21:21
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?

Environment variable NT4.0

651 byte By Ladd Heller at 2007-11-15 10:21:22
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...

COM object blows stack in VB application

1179 byte By craig curtin at 2007-11-15 10:21:23
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...

Passing in PARAM Values

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

Displaying query results

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 ;)

Looking for source for Forms editor

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.

Diff. between COM/RA

66 byte By Gowri Sankar. J at 2007-11-15 10:21:27
What's the difference between Remote Automation and Com/DCom?

Threading

125 byte By Gowri Sankar. J at 2007-11-15 10:21:28
Have any idea about the threading. I know just defn, expect everything<br/>beyond that. can you explain with an example?

ActiveX

62 byte By Gowri Sankar. J at 2007-11-15 10:21:29
What's the physical level difference between Dll and Exe?

ActiveX

106 byte By Gowri Sankar. J at 2007-11-15 10:21:30
Is it possible to have a variable in Active X Server which has the no of<br/>references to it stored?

Adding Components errors

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...

Creating forms dinamically

206 byte By Dan Calin at 2007-11-15 10:21:32
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

Associate file types to VB applications using DDE

393 byte By Erik Scholander at 2007-11-15 10:21:33
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...

Have the caret follow the cursor

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.

Deleting Directories

187 byte By Christopher at 2007-11-15 10:21:35
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

Deleting Directories

187 byte By Christopher at 2007-11-15 10:21:36
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

CrystalReports problem

137 byte By Tesic Aleksandar - Apis at 2007-11-15 10:21:37
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...

Random file

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...

DataReport - cant deploy

482 byte By Andrew Hepburn at 2007-11-15 10:21:39
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...

database

165 byte By Gowri Sankar. J at 2007-11-15 10:21:40
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".

Does VB handle the OLE_XSIZE_PIXELS type?

1620 byte By Gabor Pesti at 2007-11-15 10:21:41
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...

prbolem with oracle

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...

Foms and hyperlinks

273 byte By Christopher at 2007-11-15 10:21:43
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) :)

Foms and hyperlinks

273 byte By Christopher at 2007-11-15 10:21:44
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) :)

distribution problem

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?

distribution problem

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?

Rewriting an Access app. In V.B.

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...

How To use a chart on a web page?

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!!