473,543 Members | 2,088 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.
11
30,888
thread by: anjalimahey | last post Nov 1 '08 by: thorpie
I am not able to add a dll in my VB6 project. It is located in project folder. I made a declaration in my form Private Declare Function FindPattern Lib "iEdit_Find.dll" (ByVal lpszPattern As String, ByVal lpszSource As String, ByVal nMatchCase As Long, ByVal nStart As Long, nlen As Long) As Long but when I run my project it gives the following...
3
30,775
lee123
thread by: lee123 | last post May 26 '09 by: QVeen72
in my code i am using this syntax: Private Sub mnuName_Click() Dim str As String Adodc1.Recordset.MoveFirst str = InputBox("What Name Can I Find For You......?", "Who Name Can I Search For You Today?") Adodc1.Recordset.Find "lessorsname='" & str & "'" End Sub But the problem is what if the name doesn't...
8
30,462
thread by: bero81 | last post Oct 6 '08 by: BACKPACK
I have to set the interval time,over one minute in vb6. the point is,i set the inteval at 1 minute and write down: timer1.interval=60000,because 1 minute is 60000, but when i do the same thing for 2 minutes i write down timer1.inteval=120000,and i've got the problem "Invalid property value"....how can i sort that problem out ????? Thanks a...
0
30,450
sashi
thread by: sashi | last post Dec 4 '06 by: sashi
BLOB - Save image to database BLOB's are a way of storing images in a database. The following procedure will show you how to create a connection to your database and how to store an image using BLOB. Dim CN As New ADODB.Connection Dim RS As ADODB.Recordset Dim DataFile As Integer, Fl As Long, Chunks As Integer Dim Fragment As Integer,...
10
30,408
thread by: KJM | last post Jun 27 '06 by: sashi
How can I detect if the user has dual monitors and then how do I control which monitor a form is displayed on. Currently my forms always come up on my right monitor. What if I want to have it always display on my left one? Thanks Ken
3
29,236
thread by: krazyjoe | last post Jun 19 '07 by: tqm1
I have a Fluke 45 series multimeter. I would like to gather data from it through MS Excel and VBA. I have no trouble sending commands to the multimeter but I cannot figure out how to read data from the output buffer. I am going to go learn about MSCOMM32.OCX and see if it will be helpful. Any other suggestions would be great. Thanks in...
3
29,217
thread by: vbanewbie2 | last post Jul 27 '10 by: vbanewbie2
I have numerous checkbox's on my userform. I have a cmdclear button to clear all the other fields on the userform. but it does not work for the checkboxs. why? how do I go about clearing them so that they are cleared. this is what I have so far. checkbox1 = ""
1
29,091
thread by: tmai | last post Jan 29 '08 by: pnorg
Hi, I need some help to write a vbscript to open and read a web page. Many thanks.
6
28,798
thread by: joemo2003 | last post May 7 '07 by: catch6229
help please, I use excel VBA to open a MS application and set that application's document as activedocument. After the first MS application opened the excel VBA open another MS application and set that application's document as activedocument. After the second application quit, I need the excel automative detect the first opened MS application...
4
28,434
thread by: Hari | last post Jul 17 '05 by: Hari
Basically I would like to downlod the visual basic 6.0 compiler, but i already have the vb.net compiler. I had to pay for the VB.net IDE, just wondering if I can get the vb 6.0 IDE for free or not. all comments are appreciated. Thanks all. -Hari
4
28,421
thread by: jeevan shetty | last post Aug 30 '12 by: adaagu05
my question is that i have to change the table name during runtime. depending on the items selected in the dropdownlist. i am using asp.net as front end, c# as code behind language, and sql server 2005 as back end. " i need to change table name in the query in the aspx.cs page" can i???
7
28,344
thread by: Joe-Paul Robb, Jr. | last post Oct 31 '06 by: Ralph
Hello: I am building a program in Visual Basic 6.0. (Op Sys: Windows XP 2002 Service Pack 2) I placed an AOD Data Control on a form...and a data Grid. I bound the data grid to the data control. Then used the following code to populate the data control ...and thus, the grid: With datPos
4
28,314
thread by: anupriya | last post Aug 22 '07 by: Killer42
i am beginner of VB. i want to add date time picker tool in my form... how to do that.. is there any controls ... or we have to do through coding only... tell me the steps if so...
13
28,289
pablojoshua
thread by: pablojoshua | last post Sep 5 '15 by: MarcPerez
I am having problems formatting time in visual basic. I need it to be in 24 hour time without the AM or PM at the end. So if I wanted 1:29pm (12-hour) it would come to be 13:29 Thanks
10
28,289
thread by: wild123 | last post Aug 27 '12 by: Rabbit
Hi, I have an application that runs off a file server and can be accessed over the LAN network by 10+ machines. I want to ensure that only one instance of the application run at any time over the entire network. the "Previnstance" method does not work as it checks only on the local machine and not the network. Also cannot create a check...
9
28,249
thread by: H | last post Jul 17 '05 by: mayayana
Anyone know the code for " ` " (left quote?).. Its the key in the top left hand corner under the escape key.... (UK keyboard, others might be different?) Found all the ordinary ones, but havent a clue for this one! Found a site that says its 96? How do I assign this? Sorry for this post, im new to trapping keyboard events.. Ta!
9
28,175
thread by: prateekprashar | last post Oct 30 '06 by: willakawill
hello community, I am using VB6 and Access in my RDBMS project. I have one query ' flt_availabale ' . i want to insert records in another table named booking. i have made one ado with flt_availabale and one with booking in the adoflt_availabale properties recordsource is adcmdunknown and SQL is SELECT * FROM FLT_AVAILABALE. the parameters...
5
28,127
thread by: kumar_ps | last post Mar 24 '07 by: Killer42
i am using a picturebox in my application when i will scan a image it will comes to pictuebox. my poblem is how to zoom in zoom out that image or picturebox
10
28,087
chandru8
thread by: chandru8 | last post Jan 10 '08 by: Killer42
hi to all iam using vb6.0 can any one tell me how to duplicate values in a array if possible i want to delete the duplicate values its urgent thanks
9
27,941
spider1916
thread by: spider1916 | last post Aug 27 '18 by: mukilan89
I am using the common dialog control to allow my users to select any printer available to them. The code I am using keeps changing the selected printer to the default printer............I don't want that. I can't find anything with a propar salution to my problem. I JUST WANT TO PRINT A REPORT!!!!!!! No setting needs to be changed, ever....
5
27,745
thread by: dbspang | last post Feb 20 '10 by: rhytoverm
I am using VBA and trying to find the right language to reset a combo box so it is blank. After the user selects an item in the combobox, there is a button that adds that item to a form. The problem is that the last item selected still appears in the combobox window. It needs to be blank so that the NotInList code works. I already have a set...
4
27,704
thread by: The Flyer | last post Jul 17 '05 by: Judy Bay
Hi Sorry for posting this message to so many groups, but I was not sure which group the windows keyboard experts would be reading, so I ventured to post it to all of them. I want to map or create shortcut on the keyboard for Cut/Copy/Paste functions. I can use the regular Control_X, C or V to do the same in Windows XP, but I would rather...
3
27,674
thread by: Adam Parkin | last post Jul 17 '05 by: Adam Parkin
I was wondering, what's the "proper" (hehe) way to retrieve the system's temp directory in VB 6. Like for example, on my Windows XP machine the temp directory that is used by programs for their temporary files is "C:\Documents And Settings\MyUserName\Local Settings\Temp". Somehow those programs must look up that value, and I'd like to do...
4
27,545
thread by: subhankarmitra1 | last post Apr 13 '10 by: pratikm23
How to create textbox randomly by written code in a command button?
9
27,540
thread by: vb6 | last post Mar 8 '08 by: mafaisal
Hi , I need to enter a passsword to an InputBox but the char. need to be in password char. Please assist. Thanks.Happy Hoildays

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.