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

string reverse?

I am having string issue. I am trying reverse the string, but cannot seem to accomplish. Scenario: The string is dynamic - def, abc - I want the out put as message box to be abc def If the string is...

View Article


how is this possible too many arguments in stored procedure from ADO ?

On the first pass it works and then on the second pass it blows up right at the execute statement How and why would it complain that there are too many arguments passed to the stored proc to execute ?...

View Article


how to connect vb6

Guy do you know how to connect vb6 application to MariaDB ? I dont see any connectionstrings sample for it and its mariadb driver.

View Article

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


Please 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

how to make a search enging like windows 7 seatch bar

please help me i need a code on search engine like windows 7 search bar please reply here if you know the code

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 Article


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


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

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

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


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

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

[RESOLVED] Sql to load data from Access with Two condition

bros, I feel it Intricate to load data from Access to vb6 by sql with two conditions. I like to load if EM_ID = 81 and month = January. The date field in access table is short date format, I need to...

View Article

Data Report is showing all the records

Dear Sir, I have try to preview the data report after search criteria with textbox and button and the datareport is showing all the records in datareport. I just want to view only one records from...

View Article
Browsing all 21731 articles
Browse latest View live


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