473,543 Members | 2,497 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic 4 / 5 / 6 Forum

Visual Basic programming language and IDE - Ask questions about rapid applicatoin development, GUI, database access, DAO, RDO, ADO, Active X Controls, objects, Microsoft Visual Basic 4/5/6.
26
9,643
thread by: Adrian Parker | last post Jul 17 '05 by: Steve Gerrard
I'm using the code below in my project. When I print all of these fixed length string variables, one per line, they strings in questions do not properly pad with 0s. strQuantity prints as " 4". Six spaces than the value of intQuantity. This is correct. But all the others end up being string objects of only 6 characters long (with...
3
3,210
thread by: Magnus Andersson | last post Jul 17 '05 by: Magnus Andersson
I really need some help with a Visual Basic problem. I am using Visual Basic .NET and want find some text with a certain style in an MS Office document. I have written something like: Dim oFind As Object oDoc.Content.Select() oFind = oWord.Selection.Find oFind.ClearFormatting() oFind.Style = oDoc.Styles("MyStyle").Style ' <= The error...
3
2,101
thread by: J Bunton | last post Jul 17 '05 by: J French
I have written a programme in VB (a 5 year old version) Problem: The 'Main Form' doesn't announce itself on the Task bar (Win 2000) Though subsequently opened Forms do! Any offers please -- Jim Bunton jBunton@Blueyonder.co.uk
1
2,309
thread by: J Bunton | last post Jul 17 '05 by: J French
I have written a programme in VB (a 5 year old version) One of the things it does is to create new directories and files within them Problem:- The new directories and files are not displayed in Windows explorer unless it is closed down and reopened. I have tries the Refresh option in explorer. Any offers please
1
2,590
thread by: Raziel? | last post Jul 17 '05 by: Rick Rothstein
Greetings, When Installing Visual Studio .NET the following error occurs: Internal Error 25300 I've tried setup in safemode and the same error occurs. The disk is brand new and clean.
0
3,533
thread by: Submarine | last post Jul 17 '05 by: Submarine
Hi all i'm using VBA in Outlook 2k. i created a mulitpage (with several sub-pages inside) in a form. There is a Listview (report view, with checkbox) in a sub-page with some rows of data. My problem is when I change the sub-page of the listview to another and then go back, the checkboxes in the listview disappeared (and the checkbox value...
3
3,817
thread by: VBNET DUDE | last post Jul 17 '05 by: Randy Birch
Hi everyone, I have a group of teachers that must teach each a different set of courses. Each course has a number of hours per week that must be accomplished. I also have classes (group of students) which are made up of a set of courses that must be taught during the week. e.g, TEACHER m --------- COURSE A (x HRS/WEEK)
1
5,904
thread by: James Grant | last post Jul 17 '05 by: Norman Yuan
I have an app that launches MSWord for a report sequence. Some installs have word open and minimzed on the task bar. Some installs have word maximized on screen. Is there a way I can force it (my app) to open word maximized. Thanks Grant
1
4,489
thread by: B Golash | last post Jul 17 '05 by: Randy Birch
Hi I`m trying to install a third-party control. During the install I receive this error...see the url below. I have no idea as to the meaning of the error. www.woodsolutions.com/download/ErrorLoadComp.jpg
2
5,618
thread by: Richard | last post Jul 17 '05 by: Raoul Watson
Good morning all I need a way in visual basic 6, to start a console process, like ping -A xxx.xxx.xxx.xxx > outputfile.txt and make vb hold its own execution till this process finishes. Using Shell() doesnt work, it starts a process, then just carries on working.
1
2,211
DDB
thread by: nkp | last post Jul 17 '05 by: Stephane Richard
Hello...looking for some examples of the DDB function to better understand how it is used.Thanks
5
6,680
thread by: Jason Charalambides | last post Jul 17 '05 by: Jim SUTTON
I set a program to automatically load values from a temporary file. However, there is a chance that the specific temporary file "C:\Temp\TU.tmp" may not exist at all. In that case I want that specific routine to be skipped. I guess this is a simple If (that file exists) Open "C:\Temp\TU.tmp" For Input As #3 etc....... Else GoTo
0
1,568
thread by: Mr. Science | last post Jul 17 '05 by: Mr. Science
Here's the problem: I want to use VB to launch arbitrary applications with specific X/Y coordinates (for both position and size). To do this, I', using CreateProcess, and setting the STARTUPINFO structure's dwX, dwY, dwXSize, and dwYSize elements. I'm pretty sure I've got that down, because many apps (for example, Notepad) obey what I tell...
2
1,919
thread by: nkp | last post Jul 17 '05 by: nkp
I wish to enable more than one named user to access password protected menu ie: Tom,Dick and Harry rather than JUST Tom. Can I do this with Case Select...doesn't seem work for me. Assistance much appreciated. Private Sub cmdOk_Click() Dim blnEnter As Boolean Static intCount As Integer blnEnter = False
1
4,505
thread by: The Roys | last post Jul 17 '05 by: Rick Rothstein
I want to be able to detect if an image has been right-clicked. I have 5 images in my program. If I Click the image it gets selected by my program. But I want to be able to Right-Click one of the images which will mean all other images will be selected. eg: Private Sub Image1_Click(Index As Integer) ' I want it to be a R/Click not a Click...
1
8,555
thread by: Marco Kunze | last post Jul 17 '05 by: Jean Fournier
Hi, when using user dialogfs in VBA I do not realy understand the dialog function actions. May anyone please explain me the actions 3 - 5? Thanks, Marco Function dialogfunc(DlgItem$, Action%, SuppValue%) _ As Boolean Select Case Action%
1
11,044
thread by: ZaGras | last post Jul 17 '05 by: edoepke
when my vb program run on another computer instead of my computer, the user interface is biggger..this is because of the screen resolution... anyone know how to solve pls?
1
2,848
thread by: | last post Jul 17 '05 by: Stephane Richard
I am new to VB6 and need some advice... I am developing software which aims to capture a text feed from a serial port consisting of news stories in ASCII format and then save this text for future editing. Each story is only a few paragraphs long - but each day the news feed provides up to 100 stories. I had thought about saving each story...
0
1,174
thread by: Montagne | last post Jul 17 '05 by: Montagne
0
1,120
thread by: Montagne | last post Jul 17 '05 by: Montagne
1
3,733
thread by: Henk ten Bos | last post Jul 17 '05 by: J French
Hi All, consider the following situation: I have a form that contains an image. I would like to show a second form where at startup the top left corner of this second form is positioned exactly at the top left corner of the image on the 1st form. How do I calculate this position (taking into account that the form might have a menubar and...
1
3,368
thread by: Henk ten Bos | last post Jul 17 '05 by: J French
Hi, I have two forms. The first form has a menu that was designed using the menu editor. Is there a way I can "copy" this menu to the second form (without having to add it manually). thanks, Henk
1
2,444
thread by: dfg | last post Jul 17 '05 by: Steve Gerrard
I am confused as to why my program works fine, whether or not I subtract 1 or not from the "for" loop counter variable "cboYacht.ListCount". If I have 5 things in my list it finds them all. If I add one, it still finds them all...doesn't seem to make sense...If I don't subtract 1, it still works...wierd. Can someone give me a clue as to...
0
8,169
thread by: ZaGras | last post Jul 17 '05 by: ZaGras
after i pack my vb program using package and deployment wizard, i try to install the program in another computer instead of my computer and run the program. when i click on one button which will query the Microsoft Access database, then the following message was prompted : " Too few parameters. Expected 11." and followed by "Automation...
0
1,615
thread by: ZaGras | last post Jul 17 '05 by: ZaGras
after i pack my vb program using package and deployment wizard, i try to install the program on other computer instead of my computer and run the program. when i click add a new record to the Microsoft Access database, the following error message was prompted out: item cannot be found in the collection corresponding to the requested name or...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.