473,544 Members | 1,974 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
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
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
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
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...
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
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...
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
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?
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
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
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
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
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...
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.
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
4,343
thread by: Mark Rezansoff | last post Jul 17 '05 by: Mark Rezansoff
I have two examples of populating a treeview with AD information below. example A does exactly what I want, starts at the AD tree, but is really slow to generate. examble B gives more information, but is really fast. example B displays all the providers (ie. WinNT, NWcompat, NDS, IIS, and LDAP) I just want it to start at the top level of my...
7
5,747
thread by: Dale Derix | last post Jul 17 '05 by: NW FLA JEEP
Hello: I'm using VB 5.0 and need to upgrade (or purchase outright) VB 6.0. Does anyone know where I can still buy a copy? Does anyone have a (legitimate) copy for sale? Thanks, Dale Derix
0
2,687
thread by: Alchamist | last post Jul 17 '05 by: Alchamist
Hi all, I am writing a simple app to provide an simple GUI to write windows netlogon scripts. Is there a way in vb.net to provide a button on a form to open the "Active Directory Users and Computers" dialog? Cheers, Jay
0
3,681
thread by: Ray | last post Jul 17 '05 by: Ray
Date problem. Using non American date formats with Microsoft Access and Visual Basic. I set my regional settings to English(Ireland) or English(United Kingdom) and my date appears in Access as DD/MM/YYYY. However if the day is less than 12 the day then becomes the month e.g. 3 July 2003 is displayed in Visual Basic as 7 March 2003. So if...
4
9,349
thread by: Justin Carter | last post Jul 17 '05 by: Justin Carter
Hi. I'm using VB6 and trying to read in a simple text file. I'm using a statement similar to the following, which generally works fine. Input #Item, variable1, variable2, variable3, etc. The problem is that one of the strings that is read in, variable2 in the above example, is a square symbol, . An error is thrown, and I can't find a...
0
1,272
thread by: Robert | last post Jul 17 '05 by: Robert
Hi, I would like to change all background color of every control EXCEPT for the textbox, they stay white. for each ctrl in me ctrl.BackColor = varBackColor next This make everything the same color. The textbox are the same color.
1
2,325
thread by: Daniel Chartier | last post Jul 17 '05 by: Bruce A. Wilkinson
Hello, everyone. I'm currently writing a program that will create parts of the form depending on the data it reads from a disk. For example, rather than ME creating the form with five radio/option boxes, I would leave the program read the file. If it reads 2, then it will only create two option boxes. How can this be done? Also, I...
1
1,805
thread by: sag | last post Jul 17 '05 by: Rick Rothstein
ATP is a vba function, use in excel as an add in program, use for financial calculations of bonds etc. i would like to use the function in visual basic, does anyone of you know where i can get a third party library or even the function itself in visual basic.. its either free or where i can buy one.
0
9,625
thread by: Joseph George | last post Jul 17 '05 by: Joseph George
How do I hold a global variable in VB.NET? I am creating as ASP web form like this: Public Class WebForm1 Inherits System.Web.UI.Page Dim list as new ListItemCollection() - - - Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
0
3,789
thread by: Fabster | last post Jul 17 '05 by: Fabster
Below is a code part I got somewhere and works fine for retrieving a version from a single file. Now I want to retrieve all .dll, .ocx and ..exe file versions from my harddisk in all directory's. I generate a array of all those files and then in a loop request the version for each of those files. Now it randomly crashes with a error that it...

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.