Populate ComboBox2 Basen On Text In ComboBox1,With Access DB
My Form: combo1 (ComboBox) combo2 (ComboBox) Database: ID | Name 1 | one 2 | two 3 | three 4 | four 5 | five 6 | six So,I want: If Combo1.Text = "ID" Then combo2 populate with 1 2 3 4 5 6 ElseIf...
View ArticlePlease Urgent help! How Do I code this in VB
Hi, I have developed a payroll package in VB 6.5 to be launched very soon in the market.The challenge i have is to develop an excutable file which generate the License Key and Tax Key.Tax key should be...
View Articlecalling an array in vb6
i have an array called word() with words from 1 to 10. i also have an integer variable called number, and this variable will change every time a certain command button is clicked. what i want to know...
View ArticleSuggestions on handling help in dlls
I have a VB6 application (linked via automation to VBA in Visio). This has a help file (chm) that can be called up by a help button on all my forms. However, I now have some functionality that has been...
View ArticleConflict between AutoRedraw and Gradient code
I have a custom form with no borders and a gradient background and a rich textbox. I have used code to make the rich text box transparent. So only the text in it willbe shown. But when the form is...
View Articleinet1 visit url , help please read more
have list1 loaded with urls Code: Dim i As Integer Dim pageadd As String, sText As String If List1.ListIndex = 0 Then Exit Sub End If pageadd = List1.Text sText = Inet1.OpenURL(pageadd) Do While...
View ArticleClicking the OK button on a MessageBox if user doesn't do it
I display a message box with only an OK button. If a certain amount of time goes by and the user hasn't clicked it how can the program do it.
View ArticleHow data are kept into collections
Goodmorning everybody :) I've a doubt about how Collections kept the data you add to. My questions are from this simple code: Code: Dim c As New Collection Dim cls As New Class1 <- Class1 is a class...
View ArticleHow data are kept into collections
Goodmorning everybody :) I've a doubt about how Collections keep data you add to. My questions are from this simple code: Code: Dim c As New Collection Dim cls As New Class1 <- Class1 is a class...
View ArticleRTF file not loading with right format
Hello, Here is the problem. The file is saved as a RTF file and shows up in the directory as such. When I load the file, it takes the formatting of the first character and applies it to the whole...
View ArticleMoving Values in Treeview
All: I have tried and tried and can't seem to figure this out. I thought I would post another note to see if anyone can provide some direction. What I have is a treeview, when the user selects...
View ArticleWindows Media Player Control EndOfStrem Issue!
Greetings.. every one.. hope all are fine.. i m facing a wired issue :( i am trying to play the next music/song after the current one. So, i use windows media player end of stream events. It's works...
View Article[RESOLVED] A simple way to "draw" on a white background?
Hi there! Many of the schools around here are getting touch screens for computers, and I am wondering about creating a portable SIMPLE app that will let me sort of combine the basic functions of ms...
View Article[help] Webcam Protection
Hello :) I am working on a security related project, In which I want to secure un-authorized access of Microphone & Webcam of my laptop. I want to know if there is any API or something, which can...
View ArticleCopy Text From A Text Box
Hi, I want to be able to copy text from a textbox to my windows clipboard. I have the code for that already "Clipboard.SetText(txtAccountNumber.Text & vbCrLf & lblCustomerName.Text &...
View Articlehow to detect folder name by first few character
Hi expect, i am doing a project and face some problem in DirListBox, The problem is like DirOrg.Path = "C:\Users\project" but for the folder "Project", the folder name is not only Project and will be...
View ArticleN>character removing code until char
I have strings generated by my program ex. {Eff_stun,Eff_poison},{},{},,,,,, I want to remove all "," from the rightside until it reaches "}" TO make it short I need: {Eff_stun,Eff_poison},{},{},,,,,,...
View Article[VB6] - 1 thot
can i take 1 dragon(for example) irregular shape from 1 image? (sorry i don't know the right terms:()
View ArticleCalling functions
I got to say I am really new to vb and it will show... I am trying to write a BMI calculator and I want all the math on one form. I cant figure out how I send my collected information...
View ArticleNot setting the Focus on Mentioned Control
I am unable to set the focus on mentioned code with the following. Is there any error in this code ? Code: MasterId = fgData.TextMatrix(fgData.Row, 3) AccountType =...
View Article