Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21990 articles
Browse latest View live
↧

[RESOLVED] Close MY Project after minute

Can you guys help me, please! I need code for closing my project after one minute :)

View Article


[RESOLVED] program stucks on while not

i have a code to check if a status is " Not Paid" in the table then it will SUM it the problem is its stucking every time i open this form Code: Private Sub Form_Activate()  Set rs = CN.Execute("SELECT...

View Article


Steps for implementing a reg-free .Nett dll in a VB6 program

Hello, I am desperately trying to get my vb .NET .dll to work registration-free with my vb6 progam. I tried to create a manifest by several different methods (Make my Manifest, UMMM, Side by Side...

View Article

vb6 and shockwave macromedia flash system error when I save a project

good morning When I try to save a vb6 projet where I have put only a control shockwave macromedia flash I have a system error &H80004005 . I have try to unistall macromedia flash and reinstal but...

View Article

[RESOLVED] Is it possible to populate a combo box with sheet names in it?

Hi, I was wondering whether I can populate a combo box with the sheet names within my spreadsheet? Thanks James

View Article


Image may be NSFW.
Clik here to view.

Need help about resource file or .res

I am trying to put "manifest.res" to my project and at the same time I need the "themes.res" for office ribbon control. Is there any possible way to combine the two of this for a single program without...

View Article

[RESOLVED] show customer Debts only if the record is "Not Paid"

i am trying to show a customer debth only if field in the table is "Not Paid" i tried some codes cant figure this one alone Code: 1) first Code 'Set rs = CN.Execute("SELECT * FROM Orders WHERE...

View Article

How do I set print job document name?

I am having difficulty setting the print job document name with VB6. I don't want to use the method of temporarily changing the app.name because 99% of the time I am running the program from the...

View Article


Multiple BitBlt Routines Causing Flicker

I have created a subroutine that I can simply call whenever I need to use BitBlt: Code: Public Function DoBitBlt(theBuffer As PictureBox, THESTAGE As Object, THEBACKGROUND As PictureBox, THECHARACTER...

View Article


Random number generator and percentages

Hi all, I am trying to create a small program which will test to see if a gambling bet is profitable or not. I currently have text boxes for how much the bet will cost, how much the prize will be if...

View Article

[RESOLVED] If textbox contains letter x then remove letter x

How would I see if a textbox contains the letter x and then remove the letter x but leave the rest of the string. Example: Before: "abcxyz" After "abcyz" Thanks

View Article

Comparison question

What is the difference of Code: If (rs.State And adStateOpen) = adStateOpen Then and Code: If rs.State = adStateOpen Then What is the logic of the first premise?

View Article

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 Article


Find 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] 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 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

Image may be NSFW.
Clik here to view.

[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 Article


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

VB 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 Article

How 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
Browsing all 21990 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>