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

Leaderboards

Hi, I need to create a leaderboard for my game. It needs to keep the data once the game has been closed so I assume using a text file would be the best solution. It also needs to display the top 10...

View Article


How "Disable X64 FS Redirection" In Windows 64 Bit

hi Guys How Can DisableX64FSRedirection In 64 Windows?! i Have Run This code in User System: Shell "cmd /c bcdedit /set {current} safeboot Minimal" This code Work in 86Bit Windows But not Work On 64Bit...

View Article


How do I send data between 2 VB6 programs with DDE?

I have opened two instances of the VB6 IDE. On both I've placed a text box, and I've set the linkitem on said text box to "xyz" on both programs. I've then set the linktopic to "ABC|123" on both...

View Article

How do I run an xxx.msi file?

I have a need to run a series of msi files in a pended fashion. I have a function that allows me to run exe's that way (runs a.exe and when it ends, run b.exe). My function works fine for exe files but...

View Article

[RESOLVED] Close MY Project after minute

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

View Article


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

VB 6 - Export to Excel Project

Hi I have a code below to export data from sql server db "Hpacc4" to Excel. my code just error on: Dim oRng1 As Excel.Range,with error "User-defined type not defined" Please help Code: Private Sub...

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


[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


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

[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

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


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