473,544 Members | 1,738 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.
0
2,062
thread by: nunya | last post Jul 17 '05 by: nunya
I am trying to do a simple search on a VB form for a access database record. Can anyone help?
0
2,001
thread by: Dolphe Tilly | last post Jul 17 '05 by: Dolphe Tilly
Hi All, I need to set some string array space "REPLACE ME" aside. In the compiled version I wish to replace the text string for something else using a hex-editor. Reason: password acces to the program. Any suggestions? Thanks, Dolphe.
1
7,408
thread by: Programmer | last post Jul 17 '05 by: J French
Good afternoon group! I am trying to pass a printer object to a sub while printing. My sub looks like this: Public Sub SetBold(ByRef objObject As Printer) objObject.FontBold = True End Sub
2
6,561
thread by: Jack | last post Jul 17 '05 by: CajunCoiler \(http://www.cajuncoiler.tk\)
Hi, I am working on a project in VB6. I would like the user to select a file in a way most windows applications do (File -> Open). Can someone tell me what component I need for that? Thanks in advance, Jack
1
1,866
thread by: Martin Double | last post Jul 17 '05 by: Mr Nobody
Does anyone know if there are problems associated with installing a VB6 on a Win 2000 Pro platform? The Package I have was created using the standard packaging feature of VB6 on a Win ME platform. I have tested the installation on Win 95, 98, ME(home) and XP (home) with no problem found. I have had a report from somebody that they...
1
2,949
thread by: Brian Basquille | last post Jul 17 '05 by: the Wiz
Can i carry out a command during execution with the press of a key? Am working on a Countdown Timer and everytime i press p on the keyboard, i want to add a minute to the timer and every time i press m, i want to deduct a minute from it. Any suggestion would be much appreciated. Thanks in advance, Brian
4
10,613
thread by: David Gray | last post Jul 17 '05 by: David Gray
Greetings all, I need to sort an array containing text only values and remove duplicates at the same time. I was thinking of... 1. Loading all values into one array (Array1) 2. Read through this array and inserting values into a new array (Array2) only if they don't exist in the second array.
3
5,499
thread by: Wortelvisje | last post Jul 17 '05 by: Rick Rothstein
Hello, What I want to do is quit simple: if the does clicks on the cross at the right top of the screen I want to catch this event and check a few things before closing the window. The only thing is, how can I detect somebody has clicked on it, and how can I possible prevent the window from closing without hiding the controlbox?
2
2,049
thread by: Nevo | last post Jul 17 '05 by: Stephane Richard
Anyone know a really good source code website for VB? Thanks, Nevo
2
9,226
thread by: whirl | last post Jul 17 '05 by: Mike Williams
Hi. I really need some help on this one please. I am trying to print a 12.1 x 12.1cm box to my printer. I have found this code bit I just cant work out what the numbers mean. I know they are something to do with X/Y coordinates but what do the values actually mean . Printer.Line (1000, 2000)-(5000, 4000), vbRed, B
1
2,745
thread by: V Bradley | last post Jul 17 '05 by: MooVBuff
Hi there, I am a newbie working from the Visual Basic Programmers Workbook. I have created a text file called Origin.txt but when I go to open it I keep getting a "file does not exist" error, although it definitely does. Any ideas? Here is code: Private Sub cmdInputFile_Click() Dim intYear As Integer
2
30,938
thread by: Option^Explicit | last post Jul 17 '05 by: J French
What example can someone give to show how to use Goto Label: , but not to be used for error control. What if I want to use it to skip across a bunch of code?
2
13,134
thread by: Kapish Kalda | last post Jul 17 '05 by: news.bellatlantic.net
Hi, I am using Inet AcitveX to download a file form Http.(code below) but couldnot able to download. The file size is about 2MB. Please Suggest. Thanks Code Private Sub Command1_Click()
6
16,854
thread by: David Gray | last post Jul 17 '05 by: Suzette
Greetings all, I'm working on a program that allows a user to enter notes in a multiline textbox. I would like to be able to read the contents of the textbox (as records - one per line) and store in an array then a file. Perhaps this is the wrong control to use as there seems no way of referencing each line of the text box.
1
1,892
thread by: Cengiz Ulku | last post Jul 17 '05 by: Geert B.
Hi all, I know how to transform my app's appearence in XP to look "better" by using a .manifest file. But let me clearify some points: -Is there another way? -In VB.Net, is it the same? -If, let's say, I program with C++ should I use also the same method? I learned that in Delphi (v7, for ex.) the compiled app is XP ready, is true? if...
1
1,970
thread by: Alan | last post Jul 17 '05 by: Stephane Richard
I would like to try my hand at writing a "code" editing program. You know the types - the ones with syntax highlighting and checking, spacing and tab alignment. What I don't quite understand is how to hold and manipulate the "code" being worked upon. What do I store the code in? A string is limited in length. I was thinking a RichText...
1
2,140
thread by: Nick Zdunic | last post Jun 6 '06 by: DChernin
I'm interested in making contact with anyone who has read this and actually applied the techniques mentioned in the book in production code. I would like a jump start into this. I'm only interested in hearing from people who have applied the technqiues and have real examples of their work. Outstanding examples may lead to an offer for work....
0
1,590
thread by: Kate | last post Jul 17 '05 by: Kate
Can anyone tell me why the sub below changes the entire field result to 24 point text, but only changes the word "data" to blue ("new" remains black)? Public Sub change_text() Dim myRange As Range ActiveDocument.Variables("test").Value = "new data" Set myRange = ActiveDocument.Fields(3).Result
0
4,757
thread by: news.verizon.net | last post Jul 17 '05 by: news.verizon.net
Hello all, quick question about VBA. We use WRQ IBM Reflection 10 at work (basically a Windows Terminal program) that includes the ability to program complicated macros with VBA. Development is going great, Visual Basic for Applications is really impressive that it works so tightly with the program. The one thing I can't figure out - how to...
1
3,741
thread by: Matthew Wells | last post Jul 17 '05 by: Steve Gdula
I'm trying to capture a textbox's key event when a user uses the tab key without entering any data. I put a stop statememt in the KeyDown, KeyPress, and KeyUp events and I've tried the form's keypreview property both ways. What am I missing? Thanks. Matthew Wells MWells@NumberCruncher.com
1
4,128
thread by: Timh Bergström | last post Jul 17 '05 by: Asperamanca
Hi all! Can i do a global "on error" statement for all forms and modules instead of having "on error goto ErrHand" in each sub/function? The error should be catched to another form there the error is summarized and reported to the user and the user can send the error to me directly? Any help or example is greatly appreciated. --...
0
1,467
thread by: Atul | last post Jul 17 '05 by: Atul
Hi, I want to use the same object created in a dll. Typically, a CreateObject() would give me a new instance of the class. But i want the class to be singleton. Can i control it in VB? Thanks,
2
3,962
thread by: Trevor Fairchild | last post Jul 17 '05 by: JP
I have an application that I've programmed - it works fine in VB6, and when compiled and packaged, installs and operates fine on my machine. When I install it on another machine (without VB6), it craps out, providing nothing more insightful than the WinXP message that for some reason the program has stopped working - would you like to tell...
2
7,164
thread by: |\\/|onkey | last post Jul 17 '05 by: Smokey
Howdy all I currently have a program in VB6.0 (with all the correct Project Refs included) that creates an excel spreadsheet. This program runs fine, inserts all the correct data in the correct places....the problem I am having is this.... How can i have a gridline that only draws the OUTER LINES of the box, not the internal lines as...
3
2,554
thread by: Lizard King | last post Jul 17 '05 by: Stephane Richard
....which control has focus at a given moment? This is what I want. I have two textboxes in a form: one for vendor and one for items. Now, if am at the vendor field and I press the vendor search form should appear but If I am at the item field It should show the item search form. All comments will be appreciated. Thank you. Lizard...

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.