473,543 Members | 2,497 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
1,033
maylortaylor
thread by: maylortaylor | last post May 10 '13 by: maylortaylor
Function AddUsersToDictionary() Dim connectionString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & ConfigurationManager.AppSettings("Database") Dim dbConnection As OleDbConnection = New OleDbConnection(connectionString) Try dbConnection.Open() Dim queryString As String ...
12
2,127
thread by: robertybob | last post May 10 '13 by: Rabbit
Hi I have a label which has text that changes dependent on user input using the paint command. Say it says 'Hello World'. When I drag the form around such that any part of the label goes offscreen, when the label returns to the screen it wants to constantly repaint itself as it returns meaning that, dependent on how fast you drag it back,...
20
5,463
thread by: jfarr3ll | last post May 10 '13 by: jfarr3ll
Hi all, I'm struggling with a specific bin packing problem... I have a dataset where there is a column which identifies certain records. i.e. the cell takes a value 1 if the record needs including and 0 if not. There is also a column which gives a number of parts needed. i.e. 1.56 or 2.73 etc. What I'm trying to do is split the records...
3
1,240
thread by: cyberkhine | last post May 6 '13 by: Rabbit
Hi, I've been searching for some reference in the internet with my problem of sending a notification message from a user/employee to the administrator. . .having two forms in ms access the leave form (where the user will fill up the things needed for applying a leave) and the admin form (where add,delete, and update happens). Now, the thing is I...
2
1,213
thread by: isidro | last post May 4 '13 by: d0wns3t
I need to modify a Function procedure, I can do it with de VBE object. But once time I have run this function, the changes made to the code don't take effect until ends the application and I don't want this, I need to recompile only this function. How can I do this? I need tu run a function whose name is in a variable. For example: MyVar =...
1
1,261
thread by: GeoLeo | last post May 2 '13 by: Rabbit
I can not load VB5 on a Windows7 machine. Can any one help??
0
1,122
thread by: Jalal | last post May 1 '13 by: Jalal
Hi I am preparing a Students Bus Fee Module in Access 2010 on the following instructions: 1. As the school remains off during winter session No bus fee is to be charged. 2. In March the student has to pay the Bus fee (in advance) for the months of March, April and May. Accordingly I have named the field as QuarterlyFeeDue. Suppose the monthly...
1
1,262
thread by: manikandanc | last post Apr 30 '13 by: Rabbit
if i tying to insert the values in access table not showing any error but also not saving the values in table. plz,Help.
4
1,569
thread by: zerox39 | last post Apr 25 '13 by: zerox39
I have a text box on a form that requires you put a number in, if the number is too short a msg box pops up telling you to fix it. I have not been declaring variables so far and the code has worked. Now that i learned i should declare it i went back and added the "option explicit" to my vba. I'm now getting the error "invalid qualifier" when...
0
1,013
thread by: duaaayyad | last post Apr 24 '13 by: duaaayyad
Hi thank you very much for your help I have some problems in drawing graphs in vb6 first : how can I fit the graph to start from a certain point x+1 is the same as x it seems the same start even x+1 must shift up one step second can the drawn graph be in centimeter instead of pixel >>> so that the step can be shwon clearly third : how we...
0
857
thread by: gumaho | last post Apr 22 '13 by: gumaho
I will transpoert a old VB5 application (since 2005) on a new PC. The application stop at the row 'MSComm1.CommPort = 1' The comPort work on the PC with other Programms.
1
1,711
thread by: chilidogie | last post Apr 19 '13 by: chilidogie
Does anyone have the format to sort an excel sheet from VB ? I add data to an existing sheet using the object ACTIVECASE, etc... example: ACTIVECASE.CELLS(6,20)="Y". I update the F column (Payment received) thru VB. I understand there is a SORT where I can specify ACTIVECASE.SORT... but I don't know the full speification for sort range, sort...
1
1,059
thread by: yantratech | last post Apr 18 '13 by: Rabbit
I know that we can access controls by using the Controls properties.(me.Control("control name").Text). But I want to do this by any ID/index.
7
5,793
thread by: scortes | last post Apr 17 '13 by: Sudhir Roy
Hi, I need to know if it is possible to convert a wave file to binary or txt file using Visual Basic
1
1,442
thread by: nexo | last post Apr 17 '13 by: Noraa1
Hi, VB6 projects show this problem when run under Windows 8: The interpreter ignores the error capture routine. That is: Lines like "On Error Resume Next" or "On Error Goto" will be ignored and the program stops with the error. Is there something that can be done about this? Thanks, Nexo
8
1,249
thread by: mayala12 | last post Apr 11 '13 by: vijay6
I have a situation where I have a checkbox that is supposed to check if one of two criteria happens. I can get it to check if one of the criteria is true but I'm having issues having it check if the other is. So if one of the two cases below is true the chkSizeableUpcharge checkbox should be checked. But what's happening is that it's only...
0
866
thread by: Steven8294 | last post Apr 10 '13 by: Steven8294
Hi All, I am by no means a Citrix or Access expert (most likely a novice to most of you). I simply work on a 1st line helpdesk and am trying to resolve an issue that our 2nd line refuse to touch. A user has created an Access database, that connects to outlook, he has Microsoft Access 2007 Runtime and Microsoft Access 2007. Runtime is...
0
833
thread by: arungokul1990 | last post Apr 10 '13 by: arungokul1990
Am working with a microcontroller to interface it with vb6 am getting junk values in text box while am getting correct values n simulator my code is Private Sub Command1_Click() If (MSComm1.PortOpen = False) Then MSComm1.PortOpen = True End If Command1.Enabled = False Command2.Enabled = True
0
968
thread by: kannan863 | last post Apr 8 '13 by: kannan863
Hi, Can any one help me to know how to use c# dll in vb6? Any code or reference we need to add or we have to call any method or class? Because recently we have developed a code in C# and due to some issues we are going to run the same in VB6 application. Even though if we convert to VB code its not working fine. Please guide me. Regards,...
0
1,155
thread by: Trev100 | last post Apr 7 '13 by: Trev100
Hi, I Hope someone can help I have taken a program I wrote in VB4 and put into VB6, I am having a problem with Grid32.ocx. I can't get it to register. I have tried Regsvc32 Grid32.ocx and no luck. Does anyone know how to sort this out ? Seems to be a windows 7 issue, Thanks
0
1,248
thread by: jaijune02 | last post Apr 7 '13 by: jaijune02
I have inserted the product names(tamil font) in sql table and i am trying to display in vb 6 MS Flex Grid Tool, whereas the data in grid displays ???? Here's my vb code: Private Sub Form_Load() If rs.State = 1 Then rs.Close sql = "select pname from product where sno=1" rs.Open sql, myconection, adOpenForwardOnly Grid1.Row = 1
3
5,792
thread by: woyzer | last post Apr 7 '13 by: woyzer
how to run / execute other application and close it automatically after 5 minutes in visual basic 6 ?
2
1,220
thread by: alc21321 | last post Apr 4 '13 by: Killer42
I am trying to make a view bot. Just for recreational/personal use. The problem is I am trying to make it so it will only open 20 windows at a time. It won't work for some reason. I also want it to wait 2000 milliseconds before closing the process it generates and go into a loop. I have co1unt as an integer. Anyone help please? Dim Co1unt As...
4
1,290
thread by: PBXHowTos | last post Apr 4 '13 by: Killer42
Hey guys, Is there a way to do the following? After opening a CSV file, look in a column and count each of the unique items in it? For example, If I have 500GB Hard drives, 64GB Flash Drives and 6ft USB Cables, I want to be able to count up the totals for them? The tricky part is finding unique items as they will always be different.
2
1,149
thread by: kinghay21 | last post Apr 4 '13 by: Killer42
i want to generate random numbers so that they do not repeat the numbers at runtime.

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.