[RESOLVED] VBA command to do nothing??
Hi, I have a bit of code which goes like this Range("c3").Select If Not IsEmpty(ActiveCell.Value) Then Me.TextBox174 = Range("c3") End If I need to add to this, if the cell is empty do nothing/stop the...
View ArticleFind a word in text file
hi How find word in Ini file?! i want find a word in a ini file and if exist my word then: show msgbox"Find" and if not exist my word then msgbox"Not Find" How do this work? my File is Ini File. i test...
View Article[RESOLVED] Non stringent text comparison
Hi All, I am wondering if there is a way to do a comparison between two strings that could possibly allow for a slight miss-spelling, or one has a punctuation mark that the other doesn't. Many thanks -...
View Article[VB6] Experiments with Resizing and Screen Resolutions (Help needed)
Hello. I've been searching for help on this topic and I found and read entirely this helpful thread: http://www.vbforums.com/showthread.p...extboxes/page2. In answer #67, user MarkT posted an OCX...
View Articlehow to put a advertisement banner in a loop
i have a hair salon program that i did and their is a company of shampo who wants to put a add in this program how do i add or create a add to make it loop in my program? never done this before any...
View ArticleVB Deployment
I want to deploy my app, which consists of three .exes plus supporting files. Two of the three .exes are almost identical. The VB project file for each of the three .exes lists the same references and...
View ArticleHow to loop code to execute for each item in a ComboBox control
Hello, I have the following form in my application http://imgur.com/T7IddGO The Master City combobox is called "MasterCity", and the Slave City combobox is called "SlaveCity". The ListView that has the...
View Article[RESOLVED] Using Classes - What Am I Doing Wrong
Error: Object doesn't support this property or method All classes exists Code: Public Sub loadImages() Dim pg As PixelGrabber Dim mt As MediaTracker Dim board As myImage Dim i As Integer, j As...
View ArticleCAPICOM for Windows 8?
I used CAPICOM for a hashed program in Win7, but when copied the project to Windows 8, the program will not run as the CAPICOM DLL is not on Windows 8. I do not recall if I downloaded CAPICOM for WIn7,...
View Article[RESOLVED] how to put a advertisement banner in a loop
i have a hair salon program that i did and their is a company of shampo who wants to put a add in this program how do i add or create a add to make it loop in my program? never done this before any...
View Article[RESOLVED] CAPICOM for Windows 8?
I used CAPICOM for a hashed program in Win7, but when copied the project to Windows 8, the program will not run as the CAPICOM DLL is not on Windows 8. I do not recall if I downloaded CAPICOM for WIn7,...
View Article[RESOLVED] Why doesn't this code work using a timer
Code: Private Sub Command1_Click() Chill 5, "CASHREGISTER" ' 5 seconds End Sub Sub Chill(seconds As Integer, SoundName As String) Dim Counter As Integer seconds = seconds * 1000 If Counter <=...
View Articleloading and unloading an exe.
I have placed a commend button on a form to open an external exe. Code: Private Sub Command1_Click() Shell App.Path & "\my.exe", vbNormalFocus End Sub How can i unload main form when an external...
View ArticleNeed a bit of help on the XMODEM protocol
I'm trying to create a file sender program for the XMODEM protocol. This is the simplest of all modem protocols. No error correction other than a simple checksum byte. My references have been this wiki...
View Article12 interval of Excel output
I have this code below with a loop, outputting 117 records into excel. I want to output 12 records then skip a line, another 12 then skip a line to the finish of all the data onto the same excel sheet....
View ArticleGetting path to a DB on central PC
Hi, I am looking for advice on how to set the path to an Access DB on a central PC I don't believe a server is involved, just one of the PCs has been nominated as the central PC. The VB6 app will be on...
View Article[RESOLVED] Turn off Top Most for form
I have a form that pings my website every 30 minutes Usually i am doing something else so the form is not visible On a failure I call SetWindowPos to put the form on top of other programs. The problem...
View Articlehow to open a facebook name that equals the same name as the label
i have a label with a facebook name of a customer how do i doubleclick on the lable and it goes straight to that customer name on facebook? i tried this Code: Shell "explorer http://www.facebook.com"...
View ArticleHow to trigger the desktop context menu...
I am wondering how to trigger the desktop context menu. If I right-click on my desktop, a context menu appears. I would like to right-click on an object on my form and trigger that same menu. How do I...
View ArticleNeed Suggestions
I'm working on a 3D games that has white and black colored balls. Player will mouse down on a ball and while he holds the mouse down he can move the ball and the object is to get the ball from it's...
View Article