VB code documentation software

361 byte By Andrew Hebert at 2007-11-15 10:11:45
Hi;Can anyone recommend a good program that will document my program interfaces including ocx's, class's, modules etc. We need to automate some of this process as everyone knows how hard it is to get user (programmer and enduser) documentation to come into existence after code is written....

Convert MSForms listbox to VB6.0 listbox control

523 byte By WildBore at 2007-11-15 10:11:46
I am converting an "old" excel form made in VB for apps. to VB6.0. The listbox control seems to have drastically changed. The listbox I need is one that displays 4 columns of data and I can add and remove data to the rows, scroll vertically and select the entire row. The VB6.0 listbox only lets m...

Calling a Dll function !

853 byte By Sebastien at 2007-11-15 10:11:48
hi, I try to call a C++ Dll. When i do it in a Standard Exe , it works fine . ( only after compile and run the .exe, because in debug mode the Dll returns me nulls pointer i think ) i try to call the dll functions via an ActiveX and it breaks on " Error Method '~" of object '~' failed...

How to make a DLL ?

241 byte By Alfredo Salvador at 2007-11-15 10:11:50
Thanks by you Help<br/>I'm trying to make a DLL on VB50 which will receive an string when I call, but I have problems in order to do that, maybe you have an Example about how yopu create it and how you call it on a VB Application.

Excel Like Title Bar?

78 byte By Pavithra at 2007-11-15 10:11:52
I want to know how to get Excel like Title bar??<br/>Thanks<br/>Pavi

Code for Open Dialog Box

241 byte By Gary Maheu at 2007-11-15 10:11:54
I am looking for the code for the open common dialog box. I want to create my own open dialog box and I am wondering where I can get this code. I am not sure how to code the drive, directory, and file boxes. <br/>Thank you<br/>Gary

Get Charpos in RichTextBox

239 byte By Felix at 2007-11-15 10:11:55
How can I get the charpos, I mean row and coloumn, in a RichTextBox?<br/>I want to display the values in the statusbar.<br/>I tried the function GetLine(charpos), but it is not useable for this task.<br/>Tanks for your help.

OLE and winword.exe

118 byte By Michael at 2007-11-15 10:11:56
Does any one have any example code for opening a word templete, pushing something out to a bookmark and then printing?

OLE and winword.exe

118 byte By Michael at 2007-11-15 10:11:57
Does any one have any example code for opening a word templete, pushing something out to a bookmark and then printing?

checkbox question

88 byte By josh vandebogert at 2007-11-15 10:11:58
please give me the vb code that will make a checkbox called "resolve issue" set to true.

Gradient TitleBar ?

36 byte By Pavithra at 2007-11-15 10:11:59
How to get a Gradient Titlebar in VB

Changing Button Color

183 byte By S. Kim at 2007-11-15 10:12:00
I have several push buttons in a form. <br/>When a button has got focus, I want to change that button's color to red.<br/>How I can do that?<br/>Thanks in advance.

How VB can create a table in Excel worksheet.

218 byte By Vivien Lee at 2007-11-15 10:12:01
I have encountered a problem the writing codes to create the tables in excel worksheet. Therefor I hope to get some suggestions and recommendation to solve my problem. Thanks a lots for your helps. <br/>Vivien Lee

Welcome to the VB Discussion Board

846 byte By Zafir Anjum at 2007-11-15 10:12:02
The idea behind this Discussion board is to post questions, answers and other useful information. There are already plenty of great usenet newsgroups. If you have access to these newsgroups you might consider posting to them. Some of the benefits of this Discussion board:1. Relatively spam free.2. A...

RTF Re-sizing for Rich Text Box in VB.

666 byte By N.G.Bimlesh at 2007-11-15 10:12:03
How do i get to know the exact RTF text height in an RTF so that i can set the RTF height correctly.Requirement:I need to resize the rtf depending on the text that is entered in the rich text box or inserted onto the rtf directly from the DB. The purpose of the rtf is to provide the user of a edit...

[Q]: How to disable the size option from my app menu

353 byte By jeremy at 2007-11-15 10:12:04
I made an app that is sizeable, but i disabled the maximize box. i want it so it can either be minimized or if you click on its icon in the tray have it return to its normal state. it does those fine, but if you left click on the app icon in the upper left corner, the menu alows you to size it. how...

[Q]: How to disable the size option from my app menu

353 byte By jeremy at 2007-11-15 10:12:05
I made an app that is sizeable, but i disabled the maximize box. i want it so it can either be minimized or if you click on its icon in the tray have it return to its normal state. it does those fine, but if you left click on the app icon in the upper left corner, the menu alows you to size it. how...

VB & WinZip

404 byte By Baz at 2007-11-15 10:12:06
I am new to Vb but have done alot of VBA with Access. I now wish to build a small utility that will open WinZip or PkZip in the background and then I can copy a couple of database files to it and then close Winzip/Pkzip after the copying is complete. I would also like to find out how to close a open...

Tollbar & Statusbar

422 byte By Shivakumar at 2007-11-15 10:12:07
Hi, in my application i used the Toolbar and Statusbar controls. In my Toolbar i was added the imagelist buttons.For each buttons has the tooltip and key valus. If i move my mouse to that buttons, i want display the tooltip text in my statusbar panels. It is Possible. I tried...

Printing in Portait mode with ComDiaBox

342 byte By Felix at 2007-11-15 10:12:08
I want to print a text form a RichTextBox.I use SelPrint commDia.hDC (returned from Printer Dialog)My problem is, that in the Printer Dialog Box the Landscape-Mode is set instead of Portrait-Mode.I can't find a property or flag to set it to portrait mode.Can anyone help me?Thanks Felix....

Suggest a book to begin VB with Oracle

235 byte By Naveen Dhingra at 2007-11-15 10:12:09
I have been programming in Foxpro for last 5 years. Now I want to master VB as<br/>front end and Oracle as back end. Please suggest me which book to start with . <br/>I know Oracle a bit, but I am new for VB. <br/>Thanks

Persisting a VB Collection object

555 byte By Ramakrishnan V at 2007-11-15 10:12:10
Hi,Assuming that the collection is being used to store a collection of CStudent - user defined class storing info about a student.At present we make use of a name formation algorithm and form unique property names and write values into the Property Bag using WriteProperties method.For reading, we u...

[Q]: String parsing

372 byte By jeremy at 2007-11-15 10:12:11
Hello, I have to port an app i wrote with MFC to VB. I used strtok (or whatever it is) to tokenize the command line i had to parse. It worked beautifuly. However VB lacks good string manipulating functions as I have seen. Is there anything in VB that can tokenize a string as like in C? Any code...

[Q]: String parsing

372 byte By jeremy at 2007-11-15 10:12:12
Hello, I have to port an app i wrote with MFC to VB. I used strtok (or whatever it is) to tokenize the command line i had to parse. It worked beautifuly. However VB lacks good string manipulating functions as I have seen. Is there anything in VB that can tokenize a string as like in C? Any code...

How to make VB controls in runtime ?

184 byte By Jerry Jeong at 2007-11-15 10:12:13
Can't we make some visual controls dynamcally such as TextBox, HScrollBar ?<br/>Should hide control in design time and then show in runtime ?<br/>Help will be appreciate

Registry Gurus Please Help Me!

619 byte By pavan at 2007-11-15 10:12:14
Hi frineds, I would like to enumerate all the keys under HKEY_CLASSES_ROOT\CLSID\ and put them in a collection or variant array .Can any one help me with the code how to achieve it?Afterwards i would like to traverse the collection using "for each next" and domy own stuff on that.If any one know...

MSCHART - problem with series object eg.

934 byte By vinodh at 2007-11-15 10:12:15
hi, i tried to use the eg.code given for series object of mschart control (vb 5). but this gives a error.please help. is there any other method to draw smooth curves using mschart control. the eg. codeThe following example sets smoothing for all series in a three-dimensional line chart.***...

extracting databasename from the configured dsn

118 byte By deva at 2007-11-15 10:12:16
For a particular dsn how to extract the database name with path to which it is<br/>configured.(Access database)?

URGENT - How to Keep a Modeless form Active on a parent form ?

1144 byte By N.G.Bimlesh at 2007-11-15 10:12:17
Hi, I have a Text editor, where in the user has the otpion to use the FIND and REPLACE tool. Now like the standard editors( which support Find or Search), I need to keep the form active on my application as long the user closes this form and also at the same time, need to work on the editor as well....

VBSCC.DLL NEEDED! [sorry for caps]

184 byte By GregS at 2007-11-15 10:12:18
When trying to in stall Visual Basic 6, I ran into an error that said it could not install VBSCC.DLL! Could some one please please please send it to me?<br/>Thanks!<br/>GregS

Button hotkeys

683 byte By Andrian Zubovic at 2007-11-15 10:12:19
I made a button Active-X control in VB 5.0. It has some extra features, like a LED, etc. Since it is based on VB CommandButton I can specify a hotkey by putting an ampersand (&) in front of the desired letter in the Caption property. When I test this control in a VB form the hotkey works fine. Howev...

Control arrays

867 byte By Rupert Bates at 2007-11-15 10:12:20
I have a problem with control arrays, which I would be interested to see if anyone has an answer for. If I have a control array of 'UIElement' controls I can access their individual positions as follows:UIElement(0).LeftUIElement(0).Top etc.However I can't do the following:dim uie as...

VB 3.0 and CORBA connectivity

185 byte By Nagaraj at 2007-11-15 10:12:21
Hi,<br/> I am using vb3.0 and corba (ORBIXCOMet). Can any one suggest how to connect VB 3.0 which is 16 bit to CORBA which suppors 32 bit operations.<br/>TIA,<br/>Nagaraj

Adding a pic to a picbox

194 byte By jeremy at 2007-11-15 10:12:22
I am having trouble adding a bitmap to a picturebox with pre determind size , i want to resize the picture so that it fits in the picture box, with out resizing it in a paint progarm. any ideas?

Adding a pic to a picbox

194 byte By jeremy at 2007-11-15 10:12:23
I am having trouble adding a bitmap to a picturebox with pre determind size , i want to resize the picture so that it fits in the picture box, with out resizing it in a paint progarm. any ideas?

URGENT :- How to Validate an IP Address ?

66 byte By M.Anand at 2007-11-15 10:12:24
How do I validate whether the entered IP ADDress is right or not ?

Move event of a form?

294 byte By Felix at 2007-11-15 10:12:25
I want to prevent a form to be moveed over an other form.<br/>Does anyone knows an event that occurs when a form is moved, so that I can check if it is moved over the other form.<br/>The resize event does not occurs when a form is moved.<br/>Thanks for your help.<br/>Felix.

ODBC driver to Informix and Visual Basic

176 byte By Federica Pavese at 2007-11-15 10:12:26
Hi,<br/>I work with Informix 7 and Visual Basic 5.0.<br/>Which ODBC driver may I use ?<br/>Thanks !!<br/>Federica Pavese<br/>fedepavese@bolsamza.com.ar

Drawing a line in a picturebox - from within a user control

373 byte By Don Schindler at 2007-11-15 10:12:27
I've been trying to build an ActiveX control, comprised of a Picture Box. When I goto UserControl_Initilization, and include a line like: Picture1.Line (10,10)-(100,100),vbRed nothing appears. If I move the line down to the Picture1.Paint method, then it works. Why wont this work in a UserCo...

MCI controle

235 byte By USELDINGER at 2007-11-15 10:12:28
How can I control the position in a .wav file in vb5.<br/>I want to have the possibility to rewind the message and to play it from the position I want.<br/>Do you know how to use the waveInGetPosition function for a MCI wave.

Assembly program from VB

441 byte By Ali Zamurad at 2007-11-15 10:12:29
Hi,Do anyone know how to call an assembly program from visual basic. I mean I am not talking about shell the program rather calling it as loaded dll/exe. Actually we had some asm routine writtern in ASM32 for WindowNT 4.0 and we would like to call some function from vb interface. If anyone know if...

importing VC++ classes

300 byte By Sujatha at 2007-11-15 10:12:30
We have a class for matching and searching strings using regular expressions<br/>This class is available as VC++ code . This is available as a dll. How can I make use of this Dll, the class and the functions in the class in VB5.<br/>Are there any class for regular expressions in VB itself....

detecting key and mouse clicks inside a loop!?

430 byte By Christopher at 2007-11-15 10:12:31
Im trying to detect either a mouse click or a keypress while runing a for/next loop. is there a command that will allow me to check for such events while inside a loop.for x=1 to infinity'i want to check for a mouse or keypress herenextas you probably know while aloop is running all operations...

detecting key and mouse clicks inside a loop!?

430 byte By Christopher at 2007-11-15 10:12:32
Im trying to detect either a mouse click or a keypress while runing a for/next loop. is there a command that will allow me to check for such events while inside a loop.for x=1 to infinity'i want to check for a mouse or keypress herenextas you probably know while aloop is running all operations...

How to get the Date of the File?

140 byte By pavan at 2007-11-15 10:12:33
Hi friends,<br/> Can any one tell me how to get the date on which the file<br/>is written.<br/>Thanking you<br/>pavan

Calling DLL in VBScript

1348 byte By Deepa at 2007-11-15 10:12:34
Hi,I am developing an application in ASP, the code is written in VB ( ActiveX DLL's are created)and they are called in ASP . I checked first by writing a DLL which makes square of the integer that is passed and returns the result back which worked fine when it was called in ASP!But, then I wro...

Combo/List boxes

865 byte By tim lee at 2007-11-15 10:12:35
When making a multi-columned combo box(or List Box) in Visual Basic, how can I make the box actually "Display" the whole selection of the multi-columned rows? When I make the Combo boxes currently, I get the multi-columns of data to display, but when I "Select" my row choice, I do not get an actual...

multiple check boxes in a list!

736 byte By Guido Cresto at 2007-11-15 10:12:36
Help!I am reading a table from Access using DAO that has one text field and three booleans (yes/no). I want to display in a scrolled list the text item with three check boxes next to it. You should be able to click directly on each of the three check boxes against each item. I am not worried about b...

[Q]: How to cleanly terminate a spawned app

336 byte By jeremy at 2007-11-15 10:12:37
hello, I have spawned a win32 console app from my vb app, using the shell command in vb. I need to cleanly kill this app from my app, it has to be cleanly shutdown, so it can properly clean up. is this possible? if i hit cntrl-c from the command prompt it works. can this be done from vb?thanks,...

[Q]: How to cleanly terminate a spawned app

336 byte By jeremy at 2007-11-15 10:12:38
hello, I have spawned a win32 console app from my vb app, using the shell command in vb. I need to cleanly kill this app from my app, it has to be cleanly shutdown, so it can properly clean up. is this possible? if i hit cntrl-c from the command prompt it works. can this be done from vb?thanks,...