how to count occurence of one character in in a string
assume word is " aaeehjsfjhk" now i want to count the total occurence of a in this word how i will do i tried: occurence=0 for i=0 to len(word) if instr(1,word,"a") then occurence=occurence+1 end if...
View Article[HELP] Alphabetizing ListBoxes
Hello, I'm working on my Final Project for my Computer Programming class, and I need some help on a problem that i've ran into. My group is creating a Rock-Paper-Scissors Game and my part of it is...
View Article[RESOLVED] how do i create a function that deletes a table each month?
i have a table of punch clock that users punches in and out everymonth now i want that every new month the list will be cleared from the earlier month e.x from 1 of january until end of january i see...
View ArticleDatabase Control?
If I were to use a database control on a VB Form, and retrieve the records from a text file, placing the contents of the text file into certain sections of the database, what would be the best database...
View ArticleSave ENTIRE Webpage From URL...
I'm using the urlmon api to download the html from a url, though it doesn't get all of the code. Using Chrome, I can right click on an object on the page and select "Inspect element", which shows me...
View ArticleC++ To VB6 Conversion
Hey there. It's been awhile since I posted in the VB6 area. :bigyello: I've recently been doing some heavy duty C++ programming lately, mostly in the DirectX area, and recently got into Winsock. So...
View ArticleDoes anyone have the source code for a game like bejeweled on visual basic?
Kind of what the title says. If you can help me find one, that would be great. I'm mainly looking for the source code so I can play around with it, and see what works/doesn't work.
View ArticleError 70 (permssion) during FileSystemObject operation
Hello I am trying to copy my Document folder complete with subdirectories and all files in the root and them to another (backup) drive. First I tick the Microsoft Scripting Runtime in the IDE at...
View Article[RESOLVED] Save ENTIRE Webpage From URL...
I'm using the urlmon api to download the html from a url, though it doesn't get all of the code. Using Chrome, I can right click on an object on the page and select "Inspect element", which shows me...
View Article[RESOLVED] Error 70 (permssion) during FileSystemObject operation
Hello I am trying to copy my Document folder complete with subdirectories and all files in the root and them to another (backup) drive. First I tick the Microsoft Scripting Runtime in the IDE at...
View ArticleClicking on anywhere in a picturebox and move it around the form
Hi there everyone. I am working on a student attendance prog. When they come in, they see a picturebox with their name on it called Container1, and move it to a certain spot on the board, and it will...
View Articlecan I ask help on package and deployment here?
http://www.vbforums.com/showthread.p...t&goto=newpost
View Articleproblems with VB6 after reinstalling windows.
I have a laptop running vista and VB6 learning edition. I had to reinstall Windows and then reinstalled VB6 and SP6. I also have a rather large project in VB6 that I use to run the accounts and student...
View ArticleHow do I select a line of text in RTB using the line number ?
Hi all I hope someone can give me a simple solution. In VB6 I have a RICHTEXT box on a form, I want to be able to click on a line of text, to select all the text on that line, then change the colour of...
View Articlehow do i update the total of a time from another table that holds the same...
i have a timepunch clock that users punch in and out i created also a table called EnterWorkHistory now when a user punches in the clock i have a code that insert also in the EnterWorkHistory when the...
View Articlecould a recent Win Update or Server Update cause this problem?
We have an application written in VB6 that utilizes ADO and Microsoft Jet and Replication, specifically Microsoft ActiveX Data Objects 2.5 Library and Microsoft Jet and Replication Objects 2.5 Library....
View ArticleLast tab unclickable..
So I have a tabstrip with 6 apps.. each tab uses a picbox to display an external app 1-6.. I started with 3 apps and have moved up to 5 and now to 6.. 5 I had no issues but 6 seems to cause my last tab...
View Articlequestion about DLL binary compatibility
On Windows 7, I create DLL or OCX first with no compatibility and recompile it the second time with binary compatibility so that whenever there would be an update to that DLL or OCX, there is no need...
View ArticleContextMenu problems in a Form Class typed ActiveX Cotnrol Object???
Hello me again, I haven't been posting on this Forum for a longtime seeing that I've been on a very long break for the new year and then back again, in the Office. Now let me begin here on my problem....
View ArticleVB6 to PHP/MySQL Interface
I need to create a program in VB6 that interfaces with PHP scripts to access a MySQL database. Users wishing to send queries via Visual Basic to a remote MySQL server that doesn't otherwise allow...
View Article