Icon corrupt
Icon become corrupt when I run in VB6. This icon is OK in PowerBuilder or display in DeskTop but corrupt only in running of VB application. How to remove this problem? I attached Icon image. Can...
View ArticleFill a common dialog with an address
hi first I'm sorry for my bad English. :D I've a problem with my program I've code a program for upload a file to a sharing center and it's completely dynamic (i mean using tab's to find the fields and...
View Articleneed help finding SetWindowPos in References
Hi, how do I find SetWindowPos in References because I cant find it on there , or dos it have another name. thanks everyone:wave:
View ArticleAccessing mapped drive
In my code, there is a strPath = "B:" where "B:" points to a network drive I mapped as drive B:. My problem comes when that drive's status is "Disconnected Network Drive". I have to open it first (in...
View Article[RESOLVED] how to get browser website
Is there a way like a vb6 program to get the website domain of the opened window browser ?
View ArticlePlease help me ASAP
i need a code that can search all files like windows 7 search bar please help me i need to finish my project now :( please fellow programers just message here if you know it
View Article[RESOLVED] how to get the PROCESS NAME of the current ACTIVE window?
how to get the PROCESS NAME of the current ACTIVE window?
View ArticleFinding a specific form_control?
I have an App that can determine the handles of various form_controls of another App; the problem is I don't know which control is the one I'm looking for by its handle alone. Is there an API function...
View Articlecannot populate combo box with access 2003
i tried to populate combobox with access it show me blank data on combo box. Code: Private Sub Comboyear_Change() Dim con As New ADODB.Connection Dim rs As New ADODB.Recordset Dim str As String Dim i...
View Articleclarification about active windows
I have seen this code below Dim MyStr As String, theHwnd As Long 'Create a buffer theHwnd = GetForegroundWindow() MyStr = String(GetWindowTextLength(theHwnd) + 1, Chr$(0)) 'Get the window's text...
View Article[RESOLVED] counting the number of characters in a label caption?
Hello everyone. I am working on a student attendance prog, and I was wondering if there was a way to count the number of characters in a label caption called StudentNameLBL I am asking because...
View ArticlePossible ways to execute ASM shellcode in VB6
I know that you can use CallWindowProcA to call/execute ASM shellcodes, but are there any alternatives, since CallWindowProcA has a lot of flaws..
View ArticleSelect Case
Click a command button to move to the next account number which are held in strings from the database loading. The code works but shows one blank before it returns to the first account is there any way...
View Article[RESOLVED] Strange Problem Saving File Using As Binary
Here's the code I use to save a file as binary: Code: dim s As String s = Text1.Text Open App.Path & "\" & C_FileName For Binary As #1 Put #1, , s Close #1 Anything not correct with this...
View Article[RESOLVED] can someone create me 1 command to destroy files
i need 1 command to destroy all .obj files in appath its getting so f+++ annoying when my vb6 crashes during build had inuf of obj any please please 1 click destroy all .OBJ
View Articlehelp search exact string
I have the code below Code: Private Sub FindText(ByVal start_at As Integer) Dim pos As Integer Dim target As String target = LCase(Text1.Text) pos = InStr(start_at, findtext.text, target,...
View Article[RESOLVED] VB6 Shell function and mysqldump help
I need help in using the Shell function and access the mysqldump.exe to automatically create backups of the database when needed. I tried to put a shell function in a command button and the path going...
View ArticleDelete registry key with multiple subkeys VB6
I want delete registry key with multiple subkeys Example: Attachment 96319 How change this code to visual basic 6 Plese help me Thanks in advance Code: Const HKEY_CLASSES_ROOT = &H80000000 Const...
View ArticleWriting to a text file without quotes and spaces
I am trying to write data to a text file without spaces or quotation marks. I have googled it and found that if I use Print it will remove the quotes but it adds spaces to the string I am trying to...
View ArticleInvalid use of Null
Private Sub ListView2_Click() Call d("Select * from Inventory Where ID=" & ListView2.SelectedItem) If rs!SellingPrice = Null Then MsgBox "Product's selling price is not set!", vbExclamation,...
View Article