473,543 Members | 1,892 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.
2
21,225
thread by: James Carter | last post Jul 17 '05 by: Bob Butler
I'm a newbie to Visual Basic. I have been recently working with text files, but for some reason my computer gives me an error: "Compile Error: User Defined Type Not Defined". It highlights fso as new filesystemobject. An example of the code is: Private Sub Command1_Click() Dim fso as new filesystmobject, txtfile My operating system is...
1
2,504
thread by: Danijel Babic | last post Jul 17 '05 by: Rick Rothstein
Hello! Can someone tell me how to set pointer in VB .NET to some variable! Thank You!
2
2,564
thread by: Phi | last post Jul 17 '05 by: Phi
Hi, I hope some one could help me. I just started with vb.net and I'm trying to build a search form for my site. I'm trying to make a loop for this piece of code (vb.net) but I can't figure out how to make it work. Your help is really appreciate. Thanks..
7
2,614
thread by: Cengiz Ulku | last post Jul 17 '05 by: Rick Rothstein
Hi, I know now, how to search for a special char. or a word in a RTB control. But, my question is: My RTF file is some sort of an index document, there are chapter numbers and within these chapters, each line is also numbered. For to avoid ambigous numbers each chapter number is "Bold, 14pts" and each line is "Bold, superscript, 9pts"....
6
2,726
thread by: WhiteRavenEye | last post Jul 17 '05 by: Asperamanca
Why can't I subclass any window except mine in VB? Do I have to write dll for this? I've tried to subclass it with SetWindowLong but without success... Does anyone know how to subclass window ANY window in VB? Thanks...
1
2,312
thread by: blueeye | last post Jul 17 '05 by: Rick Rothstein
0
1,518
thread by: Karuna | last post Jul 17 '05 by: Karuna
Hi Am newbie to VB script. Am struck with a problem. I am trying to use an array of pages ( many pages added in "multipage" control). And am using a for loop sending each page item to a procedure and which would set the property of the page. But its failing. I get runtime error as : "Run time error :424
13
3,907
thread by: David Gray | last post Jul 17 '05 by: Jeff Brown
Greetings all, Quick newbie type question: I would like to be able to trap non-numerical data entered into a textbox via CTRL+C and/or Shift+Insert. I realise that this data can be validated using the TEXTn_validate event but I would like to stop the user before it gets that far.
4
7,116
thread by: Brian Basquille | last post Jul 17 '05 by: Kingbarry2000
Hello all, What is the syntax for simply playing a WAV file in your program? Am learning VB and have two VB books but don't wanna root through them to find the code. Any help would be much appreciated! Thanks in advance,
0
3,071
thread by: Colm Hardiman | last post Jul 17 '05 by: Colm Hardiman
Hi, I'm writing a custom browser in VB6 using the WebBrowser control. I want to allow web servers to be able to identify that a request is coming from my custom browser rather than an ordinary instance of Internet Explorer. The natural way to do this would seem to be by modifying the user agent field of the HTTP requests sent by the custom...
0
2,140
thread by: Bill Kearns | last post Jul 17 '05 by: Bill Kearns
I need to call a VB6 public function from a html doc hyperlink which is diplayed using a webbrowser control. Anyone can point me in the right direction? thanks. -b
1
3,104
thread by: tommy | last post Jul 17 '05 by: tommy
I'm developing a VB app and starting Monday, I've started receiving a licensing error stating: "Licensing information for this component not found. You do not have an appropriate license to use this functionality in the design environment." As you can see, it does not state *what* has expired. I've checked for a log file in the app's...
4
3,479
thread by: J Buchman | last post Jul 17 '05 by: Travis Conway
I'm trying to write a statement in VB 6 that will give me the overtime pay. It needs to compute the first 40 hours at the normal pay rate, then any hours over 40 at rate * 1.5, then add those amount into a Datagrid field named "Gross". I can't get it to work correctly. I was trying to modify my statement for the regular hours to do it. fldRate...
1
3,793
thread by: Larry Blake | last post Jul 17 '05 by: nAmYzArC
I have a VB6 program that uses ADO to an AS400 running v4r5. The following code works fine on a Windows NT 4 machine, but prompts me for a user and password on Windows 2000. The Win2000 machine has Client Access Express, the NT machine has Client Access. Const CSTRING_400 = "Provider=MSDASQL.1;" _ & "Password=MyPass;" _ & "Persist Security...
8
2,712
thread by: Cengiz Ulku | last post Jul 17 '05 by: mike
Hi, I have a ComboBox which is filled with 66 items on form_load event: Private Sub Form_Load() Combo1.AddItem "Tekvin" 'item number: 1 Combo1.AddItem "Cikis" 'item number: 2 Combo1.AddItem "Levililer" '.... Combo1.AddItem "Sayilar" ...
4
4,458
thread by: Cengiz Ulku | last post Jul 17 '05 by: Jeff North
Hi all, As a general question: Is it possible to create custom file formats? I do not mean changing the attribute of a known file. For ex: A text file transformed into a .xyz will still be readable... So What I mean is a file format which will be readed by only one type application, lets call it YaFR (Yet another File reader). Thank...
5
21,976
thread by: Geert-Pieter Hof | last post Jul 17 '05 by: hex
Hello, I have written an application in Visual Basic 6.0 Professional SP5 that reads data from an Excel workbook by using ADO. When I close the application, I get the error: 'The instruction at "0x01b302bd" referenced memory at "0xb52ad202". The memory could not be "written"' - this only happens with the compiled exe (both P-code and...
10
4,351
thread by: John | last post Jul 17 '05 by: John
I have a problem, it's not with any code I have because... there is no code. When I run a blank visual basic 6 form, it opens up just fine. When I add a text box, a caption, and a button... it gives me an error from microsoft's error report and asks me to send or not send the error, i chose and then it quits. The error report won't let me copy...
2
3,772
thread by: bruce | last post Jul 17 '05 by: bruce
I can send an email from any client (outlook, lotus notes), and fill it with all sorts of fonts (bold, courier, etc). When the mail is received, the client reads it inline, not as an attachment. When I send an html email thru my Visual Basic program (using standard SMTP protocol), it is received as an attachment. How can I get it so that...
0
1,562
thread by: Ixnay | last post Jul 17 '05 by: Ixnay
Hi All, The CFO of our company just asked me to write an app on top of an Access database. I've never written anything in VB and could use some help in getting started. I would, in particular, be interested in good online sites that would have useful code samples and general guidelines for VB coding. In particular; * just what do I...
0
1,929
thread by: Manitoba98 | last post Jul 17 '05 by: Manitoba98
I have Visual Basic 5, and run Windows XP on my computer. Visual Basic works, but I can't load in any components unless I am logged in as administrator. I guessed that perhaps it was because I didn't have access to System folders, but I copied an OCX to My Documents and loaded it with Browse, but it still didn't work. I open Visual Basic, and I...
0
1,784
thread by: Chad | last post Jul 17 '05 by: Chad
I am using VB 6 and outlook 2000, I am trying to get the sender's email address from a message, but I only see the sender's name as a property. Does anyone know how to get to this information?? Chad
7
3,754
thread by: Raoul Watson | last post Jul 17 '05 by: Raoul Watson
I have a friend who is still using VB 5. He is interested in obtaining VB 6. I have search the net for purchasing info. Seems like VB 6 just disappeared. Do you by any chance know a place online or otherwise where one can purchase VB 6 professional? Thanks for the advise and God Bless. _Raoul
4
15,799
thread by: Cookie | last post Jul 17 '05 by: Cookie
I have a program that requires these OCX's and DLL's: COMDLG16.OCX, THREED16.OCX, OC25.DLL, VB40016.DLL These are all in the programs path. Program is written in VB 4.0 Program must be runned on XP Home Edition. When starting the application it gives the error: Can't load (or register) custom control: "COMDLG16.OCX"
3
4,605
thread by: dp | last post Jul 17 '05 by: Matt
I just started using VB.NET and am trying to go through a complete test project. I did some db stuff, added a crystal reports form for output and the program runs as it should. Now how do I create a setup package to run on other computers? Does .NET use only the Windows Installer process? VB6 had a Setup and Deployment Wizard that collected...

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.