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.
1
1,153
thread by: YesKayal | last post Apr 7 '14 by: Honduras2811
i've done a project on VB6.0 for e-ticket booking.When one time i've checked a check box i need to be checked permenant(because its seat no).Once when i closed the project another time it comes as a new one.How could i do this? Just help me!
1
1,544
thread by: welwel | last post Apr 7 '14 by: Honduras2811
How to insert or update picture in db2 using vb6 i have succeded to insert into text & number fileds in the records but the Blob filed cannot be inserted and have the following message type mismatch and here is my code '-----------------------------------for adding a new record in pictures_file-------------------
1
1,100
thread by: CrazyGirl05 | last post Apr 7 '14 by: Honduras2811
I need to create an ActiveX scroll bar in a spreadsheet that scrolls in 0.25 increments. I got the min (0.25) and max (1.0) to work but when bar is manually moved it goes in 0.01 increments. HELP!
2
1,178
thread by: joelin139 | last post Apr 7 '14 by: Honduras2811
Dear Guru, i have listbox data : morning;Good Morning evening;Good Evening afternoon;Good Afternoon i have text1 text2 and command1 so what i want is like this when text1 enter morning command1 click text2 will show Good Morning
0
876
thread by: charlottewebb63 | last post Apr 5 '14 by: charlottewebb63
How can I get my script keep the correct answers in the input box and have the person redo only the incorrect answers? im MyString, MyArray, i, objRegEx, array, stransw1, strquit, Firstname, Lastname, Password, aMyString stransw1 = true Do while stransw1 = true MyString = Inputbox("please tell me your Firstname: Lastname: Password:...
0
961
thread by: joelin139 | last post Apr 1 '14 by: joelin139
Dear Guru how can i sort listbox with vbTab my code is Dim i As Long, TPts As Long, LPts As Long Dim User As String, LText As String If List2.ListCount = 0 Then 'default, just enter & exit List2.AddItem Text5.Text & vbTab & Text6.Text Exit Sub End If
0
938
thread by: Tom Corrigan | last post Mar 31 '14 by: Tom Corrigan
How do I obtain and instal the license (mine seems to have expired)?
0
1,011
thread by: fafahuha | last post Mar 28 '14 by: fafahuha
I have code in VB access 2010 to import contacts from outlook based on selected fields such as firstname, middlename, mobile phone etc. I need to pass the fields selected to item object and get the value. But I am getting an error when I pass the variable field name to the object. file attached
4
2,234
thread by: charlottewebb63 | last post Mar 28 '14 by: charlottewebb63
I also need to check that the password has upper, lower, number, and character. Please help I need to do this script for my scripting class. this is only the second part of the script and I'm getting frustrated trying to get it to work. Please help dim MyString, MyArray, i, objRegEx MyString = Inputbox("please tell me your first name, last...
0
947
thread by: WalleyeMan | last post Mar 27 '14 by: WalleyeMan
Below is the page I have so far that works. I does allow me to select an item from the first listbox and put it in the 2nd listbox. I also figured out how to remove the items from the 2nd listbox. So I got this far and now I hit a wall. What I really need is to actually move the item out of listbox1 when I put it in listbox2 and do the...
1
1,199
thread by: khei007 | last post Mar 26 '14 by: Luuk
ERROR: The given path's is not supported. Help me please.. i don't know what to do.. thanks in advance Try Dim FileToCopy As String
0
958
thread by: kiad198 | last post Mar 21 '14 by: kiad198
Hi Guys, I am trying to display an image from the folder which correspond to my database record. Here's the code: Dim i connection rs.Open "select * from tbl_user", con, 3, 3
0
1,064
thread by: SongProMan | last post Mar 21 '14 by: SongProMan
I am having a very strange problem: I get the message: "ActiveX component can't create object" after the command: Set WK = DBEngine.Workspaces(0) I have a previous declaration Public WK As Workspace Now here is the strange bit - this works without problems except when I run as Administrator - that's when I get the above message. I've...
0
904
anoble1
thread by: anoble1 | last post Mar 19 '14 by: anoble1
hi, I have made a toolbar. I would like for it to be docked at the top of the screen, and in return push the icons down below it. I am already using a control that makes it be on top. Form.TopMost = true; Anyone done anything like this? I assume it is not as easy of a 1 liner piece of code else I could find it.
1
1,117
anoble1
thread by: anoble1 | last post Mar 18 '14 by: anoble1
Hi, I am making what I thought would be simple project. I want to be able to type a product in, and search our knowledgebase. Before: http://southernco.custhelp.com/app/answers/list/kw/ After http://southernco.custhelp.com/app/answers/list/kw/printer/search/1
0
846
thread by: tinsr | last post Mar 4 '14 by: tinsr
I am trying to run a Macro at startup that will close a previous linked workbook (named MainMenu). I have the following code: Private Sub Workbook_Open() Sub CloseMainMenu() Windows("Filename.xlsm").Activate ActiveWindow.WindowState = xlNormal ActiveWindow.Close End Sub
1
981
thread by: jimkay | last post Feb 28 '14 by: Rabbit
1. table with fields id, LastName, FirstName, Address, City, State. 2. New records added to table are place at the end in last row. 3. Is there a way after a period of time to rearrange the records in alphabetica order by last name without indexing. I wish to have the default table in alphabetical order by last name including all records at...
14
10,690
thread by: marinho80 | last post Feb 24 '14 by: charlesdaniel1
Hoping someone has experienced this before and can offer a solution. I have an app. that was designed in vb6. The app works with data from a SQL server, retrieves the data using the adodc (MSADODC.OCX) control and displaying data using the datagrid control.(MSDATGRD.OCX) Have had no problems to date with windows xp,successfully installed on...
0
867
thread by: SAJJAD123456 | last post Feb 20 '14 by: SAJJAD123456
I'm still not able to understand why it is not work =>>what I try I try to Use adodb,Dao control but I'm not satisfy Because I Don't know about ADODB,DAO and my remaining application using adodc control so if I Use Other Control it make's mess =>>Code
1
1,232
thread by: alter | last post Feb 19 '14 by: Guido Geurs
Have textfile, need to search all file, find what "top=x" dublicates and get all these lines. The line that InStr(TextLine, "top=x") > 1 example: <fontspec id="9"> <text top="89" left="65">251238</text> <text top="125" left="281">2014-02-13</text> <text top="125" left="282">2014-02-13</text> <text top="126" left="283">2014-02-13</text>...
0
948
thread by: thinecris | last post Feb 19 '14 by: thinecris
I'm trying to get the value of medicine that has a quantity of less than 15 and display it in datagrid. For example I have paracetamol that has quantity of 15 or less then the paracetamol will automatically display in the datagrid. I have a table name inventory with the field names MedicineName, Genericname, StockQuantity etc. My problem here is...
7
19,421
wassup
thread by: wassup | last post Feb 19 '14 by: commutronics
Hi all, I need a help again. How to set the textbox auto change to Upper Case without on the Caps Lock Key.
3
4,134
thread by: l2urhwhc4u | last post Feb 18 '14 by: jaffindale
Hello, I really need help with this problem I'm facing. I'm writing a recipe guide program using VBA form. I got to the part where the user can type in an ingredient and I need the program to search through the Ingredients column in my data excel file. For example, the user wants to look for recipe that contains ORANGE JUICE in the ingredient...
4
10,634
thread by: Work007 | last post Feb 18 '14 by: chaith
i am trying to create a button so that when it is clicked it removes the values ina textbox one by one from right to left. i have done this: Private Sub Button38_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button38.Click If Len(TextBox1.Text) > 0 Then TextBox1.Focus() TextBox1.Text = " " End If But this...
3
1,794
thread by: erikaslt66 | last post Feb 17 '14 by: erikaslt66
Hi, I have an assigned task to do the recipe program in school, I have been trying to solve my program in hours, but with little success... It is difficult to make it for me, because there is few problem to sort out. Firstly, the problem is that i want my program to store data one time, and then show it in textbox's fields by selecting it at...

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.