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

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

winsock binding any port getting data

i seen around were u can bind winsock port and listen for connections and get data , u can get data from firefox port 80 or custom programmes by just assigning the port number i will like to learn an...

View Article


help @ frequently asked questions that may be asked by the examiner on my to

I have a project in vb " Hospital mangement, i want to know commonly or frequently asked questions that may be asked by the examiner on my topic please tell all types of questions hard and eazy exam is...

View Article

Finding values ​​on a web page in VB6

Hey you do not have someone code to search elements on a web page? I need code to find and call the first three elements ... On the site there may be more but I need only the first three. In <div...

View Article


Looping through a textfile for a login system.

Hi, im a student making a project for my computing coursework. The project is an afterschool register system. Im having a little trouble with the login system, I have got it to work, as in, I can...

View Article

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


Invalid 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

Emulate specific PSEXEC behavior... PipeRPC or 'other'?

I'm a complete noob when it comes to RPC and Named Pipes and anything related so forgive me first off. I've just discovered PipeRPC here and I'm hoping maybe the author some someone 'in the know' can...

View Article

I've been told I need to send and receive RPC messages... Is PipeRPC a solution?

I'm a complete noob when it comes to RPC and Named Pipes and anything related so forgive me first off. I've just discovered PipeRPC here and I'm hoping maybe the author some someone 'in the know' can...

View Article
Browsing all 21835 articles
Browse latest View live


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