Combo Box Control

324 byte By Victor Santiago at 2007-11-15 10:15:59
Is there a way to populate a Drop Down Combo Box besides the AddItem method.I have a long list which I would like to make available through a combobox,but going through the list one at a time with the AddItem method it takesfor ever to populate.Any ideas wil be grately appreciated......

16 bit Sheridan VBX s

368 byte By Scott Cowan at 2007-11-15 10:16:00
I'm looking for a fairly painless way to convert a vb4 16 bit app -> vb6 32 bit app which has a lot of code based around the sheridan data controls. Sheridan don't offer 32 bit versions of these vbx's and don't supply anything that would help , so does anyone know of any conve...

retrieving handle to CD drive

382 byte By Don Anderson at 2007-11-15 10:16:01
I am writing an application for a system that has two CDs, one of which is a CD-RW. I need to tell which one I am looking at. I believe DeviceIOControl can give the information I need but I need the handle to the CD. I tried using CreateFile to get the handle but I keep getting a -1 returned. How do...

How to setup screen saver using VB

159 byte By Bruce.LIN at 2007-11-15 10:16:02
I try to setup some a screen saver to windows(win3.x or win9.x) using VB,<br/>how can I set it as default screen saver, and set delay time?<br/>Thks!

How to use menu control defined in resource file

79 byte By zy chen at 2007-11-15 10:16:03
we can define menu items in resource file,but how can i use it in Visual basic?

AppRemovalLog in a Setup prog.

601 byte By Priyank at 2007-11-15 10:16:04
I'm trying to modify the sample setup prog provided in VB4.In it, one variable gstrAppRemovalLog is used for loggin all actions. I could not find, anywhere in the project, what value does it take ??Towards the end of the project, this log is tried to be copied to a new file, but it fails and ab...

Problem with international Stringtable

477 byte By Ralf at 2007-11-15 10:16:05
Following problem:In my application I added a Resourcefile with 2 Stringtables supporting ENGLISCH(USA) and DEUTSCHLAND(DEUTSCHLAND). When I run the app in the VB workspace it works properly, but the compiled EXE-Version only shows german strings regardless of the country settings.But same applicati...

Printing Landscape

721 byte By Shappy at 2007-11-15 10:16:06
Morning All,I've been given a project in VB5 to support which is proving something of a nightmare! The app is a report generator which needs to be able to print in either landscape or portrait. I've used the CommonDialog.ShowPrinter method to allow the user to select the paper orientation...

Images into Arrays

124 byte By DragonDigital at 2007-11-15 10:16:07
I need to find a way of transfering a Picture (that the user will just have drawn) into a Array. I can't save the image

Memory management

352 byte By Rick Okrasinski at 2007-11-15 10:16:08
I am instaniating an object with the command "Set myobj As MyObj". Now I may have multiple instances of the object running at once when I close the App how do I destroy ALL the objects. I do "Set myobj = Nothing" on the unload function of the form. But if I have five or "n" instances of the object...

Data Report Trouble

1321 byte By WildBore at 2007-11-15 10:16:09
2 QuestionsFirst how do you change the caption on a label located in the report header of a Data Report. What I want to do is put the Job# and Name of the file I'm printing in the report header. The information is stored in a Dbase and the report header has lables called Job_No and Job_Name....

New Wizard

141 byte By Ron at 2007-11-15 10:16:10
I've created a new wizard add-in dll. Does anybody know how to get it to show up in the New Project Dialog. <br/>Thanks in advance.

migrating from Access 97

529 byte By Steve at 2007-11-15 10:16:11
I am trying to move a database written in Access 97 over to VB6. I found a utility at http://hem.passagen.se/eriks/develop/tools.htm which translates aform designed in Access 97 to a Visual Basic form, however it doesn'thandle forms with Tab Controls and drops much of the form and code. Do yo...

Serial Port Transmission

344 byte By Rajan at 2007-11-15 10:16:12
I'm currently developing the interface to a IVR system and I need to be able to transmit the character '08' accross the serial port to the IVR system. Unfortunately, '08' is recognised as the backspace and thus the character before '08' is erased. Can anyone tell...

Vb & Sybase Conectivity

708 byte By Sundar at 2007-11-15 10:16:13
Hi guys,I am trying to connect Sybase (System 11 on AIX) from VB. I am using VB4 (16-bit). I have setup an ODBC (32-bit), with the datasource as 'mydatabase'.While connecting from VB, I am getting the following errorODBC-- Connection to 'mydatabase' failed.the connection string t...

SETUP.LST in a Setup prog

276 byte By Priyank at 2007-11-15 10:16:14
In sample setup prog provided VB 4.0 (32 bit), Setup.exe file copies one setup.lst file on the user system. Rest of the installation continues according to this setup.lst. I want to a diff setup.lst to be copied (depending on some condition). Is it possible ?? If yes, how ??

VB 5 to 6 migration migraine

1393 byte By Ryan Schneider at 2007-11-15 10:16:15
Howdy all, I've got another headache here for you. We just finished up a product, consisting of a VB front-end and an MFC DLL. The VB front-end calls a function in the DLL (DoSearch()) DoSearch() then spawns a bunch of threads and queries a Search Engine on each thread. To show progress, the DL...

Read/Write data in memory

377 byte By Ed K. at 2007-11-15 10:16:16
I'm in the process of writing a program (in VB6)that must be able to read and write to a propriatary board that has a base address of C8000.In the 'old days of DOS' you could use peek and poke to read and write to memory locations but how does one accomplish the same task in visual ba...

Doubles and Ghost-Decimals

310 byte By Loh at 2007-11-15 10:16:17
Compute the following (it's an example, other numbers do the same) :346.48 - 346The result may not compare with the user-input value 0.48 :because 346.48 - 346 does not give 0.48 but something like 0.48000000000018 (not sure for how much zeros)...any comment/idea ?...

Best Setup Wizard for VB

196 byte By Pamalite at 2007-11-15 10:16:18
Hi...<br/>Please can anyone tell me which Setup Wizard, for VB5.0 and above, have the best compression and can be configured before it creates a Setup file??<br/>Thanx!<br/>Pamalite

visual basic 6.0

452 byte By Kiran M.B. at 2007-11-15 10:16:19
Dear Sir,Vb 6.0 supports web based applications using web class designers.Here the web classes are server based applications so that the HTML pages can be seen from any browseron any platform.Now the quaestion is after creating the web class with the associated events can any changes be done to the...

help implementing a search facility

961 byte By daksh at 2007-11-15 10:16:20
Hi all !i need to implement a search facility...for this i am asking a user to enter details in a text box...PROBLEM The backend should be able to take the string and based on what has been entered in the text box see if there are any "AND" , "OR" in the string ....and then execute the query based o...

Anyone knows how to supply data to MS Graph dynamically!

210 byte By kRISHNA at 2007-11-15 10:16:21
If anyone knows how to supply data through code or supplying data from an existing Excel sheet please list the method. I 've been using MS Chart control <br/>to display data in a graph. Please help me

Anyone knows how to supply data to MS Graph dynamically!

210 byte By kRISHNA at 2007-11-15 10:16:22
If anyone knows how to supply data through code or supplying data from an existing Excel sheet please list the method. I 've been using MS Chart control <br/>to display data in a graph. Please help me

Help in progreamming multi-language UI

278 byte By Bahman Bahmandeji at 2007-11-15 10:16:23
Hi<br/>I'm totally newbi in VB.<br/>I want to write a program that enables me to write from left-to-right and <br/>right-to-left and select fonts of other code-pages. Can you tell me from where I can start and what shall I do?<br/>Thanks<br/>Bahman

Help in progreamming multi-language UI

304 byte By Bahman Bahmandeji at 2007-11-15 10:16:24
HiI'm totally newbi in VB.I want to write a program that enables me to write from left-to-right and right-to-left and select fonts of other code-pages under windows and MS Word. Can you tell me from where I can start and what shall I do?ThanksBahman...

Application that executes automatically

68 byte By N Manvikar at 2007-11-15 10:16:25
I need to know a way of executing an exe at a certain time everyday,

printing tickets and labels thru VB

62 byte By N Manvikar at 2007-11-15 10:16:26
I need to know a way of printing tickets and labels thru VB...

Binary Files

135 byte By Patty at 2007-11-15 10:16:27
I know I can use the Open statement to input a binary file - but can someone tell me how to display the contents of the file?? Thanks!

Data Report Trouble Part 2

870 byte By WildBore at 2007-11-15 10:16:28
I have a table in a database that i need to print in a data report. Sounds simple doesn't it.I can do this in design time by createing a Data Environment and selecting the "sample" database manually. But the filename of the database will change while the program is running. Is it a good idea...

HELP HELP Network Neighborhood

97 byte By Joseph Ferner at 2007-11-15 10:16:29
I need help accessing Network Neighborhood through VB.<br/>the question is how do you do it?

Desktop Path

76 byte By Joseph Ferner at 2007-11-15 10:16:30
How do I obtain a path to the users desktop needs to work on NT and WIN95/98

listview row colors

250 byte By Nick Cross at 2007-11-15 10:16:31
I noticed on the C++ sister site that there are some examples on how to set seperate row colors in a listview control. Is there anyway to do this in VB? It would be a shame to recode my app in VC just so i can get row colors.<br/>cheers, Nick.

WNetCancelConnection

599 byte By Adam R. McCann at 2007-11-15 10:16:32
I can't get the cancel connection to work. I can WNetAddConnection just fine. I even map two drives as opposed to just one. The problem I have is that I keep getting the 2401(open files or open process) error even though there is not any open files or running processes. This error cause the...

Text editor

229 byte By Craig Cooper at 2007-11-15 10:16:33
I want to write a small word processor using either RTF or HTML. What I cannot figure out is how to display text in orientations other than right side up. I need to show text in 4 orientations: 0, 90, 180 and 270 degrees rotated.

How to refresh a ActiveX controls property

437 byte By Coco at 2007-11-15 10:16:34
I made a ActiveX control and it's property sheet.If I directly changed the property in property window all was ok.But when I changed the property in property sheet which I made it I found something was strange.Although I saved the property in sheet the property in property window hadn't b...

Access Stored Procedure in ADO

397 byte By Huynh Quang Cuong at 2007-11-15 10:16:35
Need Help to access Stored Procedure in ADO.I use ADO to connect to ODBC data source (OLE DB Provider for Visual Foxpro).Try to call a stored procedure in this data base but a Visual Basic raise an error.Please help me to solve this problem as well as help me call a stored procedure in Visual Foxpro...

How to refresh a ActiveX controls property

440 byte By Coco at 2007-11-15 10:16:36
I made a ActiveX control and it's property sheet.If I directly changed the property in property window all was ok.But when I changed the property in property sheet which I made it I found something was strange.Although I saved the property in sheet the property in property window hadn't be...

Passing URL variables to a VB executable or DLL

309 byte By Rob Nolen at 2007-11-15 10:16:37
I am trying to write a small app that will take a data from a URL and return data back. It is going to write a MS DNS zone file from data passed to it from a form.Anyone have any suggestions on how to pass it, and should i use a DLL or a EXE?Thanks, and have a happy new year.Rob...

Passing URL variables to a VB executable or DLL

309 byte By Rob Nolen at 2007-11-15 10:16:38
I am trying to write a small app that will take a data from a URL and return data back. It is going to write a MS DNS zone file from data passed to it from a form.Anyone have any suggestions on how to pass it, and should i use a DLL or a EXE?Thanks, and have a happy new year.Rob...

Rounding Numeric Values

299 byte By Eddy at 2007-11-15 10:16:39
Hi there,<br/>I need codes on how to round up or down a numeric value.<br/>eg. 223.56 ==> 223 (round down)<br/> 223.56 ==> 224 (round up)<br/>really need it for a project. <br/>wil lreally appreciate your help.<br/>thanks.<br/>eddy<br/>tie@4u.net

How to refresh a ActiveX controls property

422 byte By Coco at 2007-11-15 10:16:40
I made a ActiveX control and it's property sheet.If I directly changed the property in property window all was ok.But when I changed the property in property sheet which I made it I found something was strange.Although I saved the property in sheet the property in property window hadn't be...

Security.bas

460 byte By Michael C. Griffith at 2007-11-15 10:16:41
I am using VB5 to learn VB with. I an going through exercises in a beginners book and have come to a stumbling block. The book refers to using a procedure in s file caled Security.bas. I searched for this file, but I did not find the file anywhere. I called a friend for help, but he did not have...

How can I send an Email with VB?

244 byte By Wanderson at 2007-11-15 10:16:42
Hello people,<br/>I'm from Brazil, and my English it's too bad!<br/>If you can understand me, then answer my question Please!!!!<br/>How can I send an Email with VB?<br/>Need I use a API? What?<br/>Thanks!!!!!

How to add your VB Program to the system Tray.

90 byte By Ashish Jatana at 2007-11-15 10:16:43
Please tell me how to add your Visual Basic Program to the System Tray ??<br/>Ashish.

VB Repository and user documentation

452 byte By Andrew Hebert at 2007-11-15 10:16:44
Hi;I was wondering how to activate the user documentation option under "Project/AddUser Document". I would like to use this to add information about each project as it develops and include final documentation attached directly to projects and ocx's. Or as an alternative, is there any 3rd party...

ListView Loading

643 byte By Ross Lloyd at 2007-11-15 10:16:45
Can anyone help me Improve the performance of the standard MS ListView Control.I have an application which requires a sorted iconised/report view of data which can sometimes be several thousand items. Althougth the ListView copes with this amount of data once loaded each row takes longer and longer...

Implementing an array of objects

242 byte By Rick Okrasinski at 2007-11-15 10:16:46
How do I implement an array of MyObject. What I am trying to do is create an array of objects so that I can go back and forth between objects in memory and make sure that I destroy all the objects on exit. Is it even possible?<br/>Rick

Path during execution.

576 byte By Darryl Adams at 2007-11-15 10:16:47
I have what might be a simple question. I am new with VB, and I havenoticed that while running my App through the VB environment, the path isset to the VB directory. However, the release App will have a differentinitial path. (This comes into play with my DLL's. For the final app, the EXE a...

A Function for rounding numeric values

236 byte By Loh at 2007-11-15 10:16:48
I'm looking for a function like ROUND(x,n) that rounds the value x to n decimals.<br/>Is such a function built into VB(4, 5) or do I have to write it by myself ?<br/>Guess : it's for apps using the Euro currency ;-)