473,549 Members | 2,592 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.
8
15,190
thread by: kchengso | last post Jul 17 '05 by: Raoul Watson
One of my printers in my printer.devicename call returns in lower case. Is it possible for me to change it to upper case? I am also wondering how, in the first place, this particular printer devicename is coded in lower case? Is there a way to change it back using VB6? Thanks
6
15,213
thread by: pchitumba | last post Aug 31 '11 by: jamika
hi,I've been trying to open a vb project which has lvbuttons as controls.it's not loading the lvbuttons and therefore i can't run the system properly.please help
3
15,244
thread by: musica0886 | last post Jul 17 '07 by: musica0886
Hi.. I tried to install MSHFLXGD.OCX but it does not appear in VB6 components.. Can somebody help me how to install it right? Thanks a lot.. God Bless+...Ü Rose
4
15,260
thread by: robertlawblaw | last post Nov 10 '06 by: Killer42
Is it possible to display more than one variable (one after another on the same line) in a text box or list box or label caption?? Having difficulty with this one... thank you.
4
15,263
thread by: David Erickson | last post Jul 17 '05 by: David Erickson
I need to read some (about 15,000) word documents and add some wrappers around them for importing into a database. What is the best way to read a ..doc file in VB? I would like to save the formatting as .RTF so it can be included. I can do this in Word VBA, but I would prefer to do it in straight VB (either VB6 or .Net). Thanks for any...
3
15,293
thread by: Stephen Saunders | last post Jul 17 '05 by: Dave
I developed a simple application for a friend to use and it works just fine on my machine, however, when my friend tries to use it, it complains about an MSFlexGrid license. My app does use an MSFlexGrid control which is essential. Could someone tell me what gives here? Is there an easy fix? Is there an alternative flexgrid which would...
1
15,299
debasisdas
thread by: debasisdas | last post Nov 5 '08 by: make me rain
This is a sample code for taking backup and restore of access database Dim DBTempSource As Database Dim DBTempDestination As Database Dim RecTempSource As Recordset Dim RecTempDestination As Recordset Sub MBackup()
2
15,308
thread by: Matt | last post Jul 17 '05 by: Matt
All parts of this application is written in VB 6.0. I have a dll on the server registered through COM+ and have exported it to a msi that's been installed on the workstation. Some of the time, the workstations run just fine. Then all of a sudden they aren't able to call a function on the server that they were previously able to call and...
7
15,367
thread by: RadhakrishnanR | last post Nov 19 '07 by: debesh
How i can implement SFTP in VB. Scenario is I want to take file from SFTP server, then after some process with the file , file will be moved to database.. Our requirement is very clear that how to use SFTP in VB, currently we are using the OS-native FTP functionality, for SFTP there is no OS-native functionality. And we are not using any...
3
15,374
thread by: Dönerbude | last post Jul 12 '22 by: Anushka00
I want to remove the last characters which are " " but the number of empty characters in the end varies. sometimes it is: "hello " sometimes: "hello " sometimes:
5
15,429
thread by: jasperz01 | last post Jun 26 '07 by: jasperz01
Hi, Is it possible using Office Automation to freeze panes in Excel from Access VBA code? I've been trying some things but can't get it right... Jasper
1
15,456
thread by: santoshsri | last post Jun 26 '08 by: kadghar
Hello, While opening an excel worksheet having macros , I get Error "System Error &H8000FFFF Catastrophic failure". When I click on Ok button , I see another message box as Microsoft Visual Basic : Out of memory , what does it mean ? My PC has 2 GB ram with 3 Ghz P4 processor. I don't see any memory shortage problem. I can open and work on...
1
15,473
thread by: Jakub | last post Jul 17 '05 by: Steve Gerrard
I have the following problem. Suppose I added a button to my worksheet and when user clicks the button a function starts. Now, as long as this function is running the worksheet is not active. The question is: is it possible to stop this function from the worksheet, for example is it possible to add another button to the worksheet so that the...
4
15,481
thread by: Chris | last post Jul 17 '05 by: Bob Butler
Hi, I am trying to set the position of a picture inside a picturebox with the folowing code: pctOutput.Picture = LoadPicture(App.Path & "\picture.bmp", , , , ) I didn't know what to fill in at and so the result was:
17
15,503
vdraceil
thread by: vdraceil | last post Dec 10 '19 by: priteshc
Can someone help me develop a BIRTHDAY REMINDER in vb6.0?? I want it pop up on the screen once the computer comes to life or when it becomes active..
3
15,506
thread by: Roy Riddex | last post Jul 17 '05 by: Roy Riddex
I've just moved onto 2-D Arrays in my VB6 beginners book. I'm struggling to get my head around the following problem but no doubt you will think it rather easy. My program is supposed to allow up to 20 students to enter their name and 3 exam marks, with each students details being entered into a 2-D Array upon the click of a command button....
4
15,547
thread by: Option^Explicit | last post Jul 17 '05 by: Option^Explicit
What I'm trying to do: Open a text file and display the contents in a text box (I've done this) Need to be able to edit the file from within the textbox and have it save back to the source file.(can't figure how to do this) I was thinking on the Open for Output or Append, but I can't get it to accept a variable(TextBoxText) to open(since...
11
15,634
thread by: Ben | last post Jul 17 '05 by: Programmer Dude
Greetings, I am looking for a way to search for and delete files based on a pattern mask. For example, the search method would find all files matching a certain pattern containing wildcards (e.g. *FILE29*.TXT). I'm looking for a way to do this in either Visual Basic or C(++). Thanks!
3
15,655
thread by: kee | last post Jul 17 '05 by: Bob Butler
Hi All, I am trying to write binary data to a file, which is bmp image: Open "d:\temp\test001.bmp" For Binary Access Write As #1 Put #1, 1, strImage Close #1 *** strImage contains binary data
8
15,675
thread by: Eric | last post Jul 17 '05 by: Rick Rothstein
Let me start off by saying I have VB working model which means no help. I have searched MSDN. It seems that I get "Read the help" instead of answers which is totally useless to me. With that said can someone please help me understand why this does not work? Dim x As String Private Sub cmdlogin_Click() Do Until x = "Corey" If txtlogin...
4
15,680
chandru8
thread by: chandru8 | last post Mar 14 '13 by: nagarchetan
hi to all if the current month is jan,i need to calculate the number of days of feb is it possible without assigning number of days manually to a variable
2
15,687
thread by: Dark_AvEnGer | last post Aug 7 '05 by: Dark_AvEnGer
hey all, i want to create a client application to connect to a MySQL server on the internet so that multiple people may access the data from around the world. Is there a simple way to do this? The mysql server is setup and configured i just need to be able to connect to it Any suggestions are greatly apreciated
4
15,803
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"
0
15,821
thread by: Killer42 | last post Mar 26 '07 by: Killer42
In VB5 or VB6, to execute VB code from a string (for example, a textbox) add the Microsoft Script Control under Project | Components. Here is some sample code which shows one way to make use of it... Private Sub Form_Load() Text1.Text = "cmdText1.Visible = False" Call ScriptControl1.AddObject(cmdText1.Name, cmdText1) End Sub Private...
1
15,852
chandru8
thread by: chandru8 | last post Nov 30 '07 by: Dököll
hi everybody can anyone help me in this how to add a check box in flexgrid with sample code thanks in advance

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.