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

[RESOLVED] how to create this multiple ping result

the situation is this. I have this database record of hostname or ipaddress and I would like to start pinging all of them one by one and show the hostname with corresponding result of the ping in a...

View Article


Unformatted data and single type variable

Hi all, I have this problem, I have some numeric data to write in a file. I receive this data as a string from a device and then, I use the statements Open path For Binary As #nFile Put #nFile, , data...

View Article


Image may be NSFW.
Clik here to view.

Flip An Image

Picture 1 is what I create by code. I want to copy it to Picture 2 and flip it vertically as shown below. Can I do this using either BitBlt or PaintPicture? How? Attached Images  

View Article

Need help with reading current line in SSH session.

This is kind of a continuation of a previous thread, but I'm making a new one to keep things simple. I have a script that loops. Once it reaches line 11 (after an up arrow command), I need it to stop....

View Article

[RESOLVED] Converting decimal values into time

This appears to be the last problem I should have to solve in my program and that is converting the time decimal output back into time format, hh:mm, I have devised a formular that works on paper so to...

View Article


subtracting decimals - what am i missing?!

Hi, i'm sure this is really simple, but i'm having trouble! All i want to do is to subtract one decimal value from the other, this is basically my code: Dim myDec1 as double Dim myDec2 as double Dim...

View Article

Map Disk file created by another Process to Memory

I have an imaging system that uses an activex control (that is not mine) to do file based format conversions. It is needed to preconvert the files prior to displaying them. So lets pretend I have a...

View Article

dynamic multidimensional arrays?

Hi, I've got a bit confused with how to do a dynamic multidimensional array and wondered if anyone could help me out please? I seem to be Ok with storing values in a single array using this code........

View Article


working with arrays

I'm very new to VB and a student of about a month. I've created the below code and it just doesn't work. Having already spent 2 days on this and tried many, many variations of code, I'm just lost. I...

View Article


[RESOLVED] type mismatch when searching date

hey im trying to search my listview by date i get error type mismatch why? this is the datepicker Code: Private Const mstrDateFormat As String = "dd-mm-yyyy" Private Sub DTPicker1_CloseUp()     Dim lvi...

View Article

Best way to add print function to my program

I have been looking around for ways to print the new or edit screens of this work order program I edited to work for us. I am not that savvy with VB6, so will need a lil hand holding to try and get...

View Article

Using KEYPRESS or KEYDOWN in MDI Form

Hi, I am surprised when see that there is no KEYPRESS OR KEYDOWN event in MDI Form, is there any other way / API to use KEYPRESS / KEYDOWN event in MDI

View Article

Quotes in CSV File

HI ALL Could one of you solve this problem for me please I am trying to save as CSV file with quotes I.E "001" trying using chR(34) this does work when reading the CSV file in notepad but when reading...

View Article


VB6 - Convert Variant to Node

I am using a For Each loop to go through a Variant array in VB6. At one point, I want to convert the element of the loop (elem), which is a Variant, to a Node. Code: Dim elem as Variant For Each elem...

View Article

VB6 - Get accessor not working for array property

I have two properties in my VB6 code: Code: Public Property Get PropFileID() As Long     PropFileID = m_FileID End Property Code: Public Property Get PropFileIDArray() As Long()     PropFileIDArray =...

View Article


Copy from PDF, paste to word, search keyword-word activate issue

Hi All, I am trying to search for a keyword in a pdf file and retrieve that paragraph. First i open the pdf file, copy whole content, paste into a word doc and then run the macro which will give me the...

View Article

Form Transition

Hello guys i have this vb6 project in which i have 6 forms but when the form changes it gives the look of new window opening, here im using form load and unload for the transitions. So is it possible...

View Article


syntax error in mschart

hey im trying to creats a graph that expenses each month but i get error syntax error this is the code Code: Private Sub Form_Activate()     Dim R As New ADODB.Recordset     CmbChType.text =...

View Article

How to filter using multiple checkboxes in VB 6?

Hi im just starting to explore VB 6 and my project is a database with multiple filtering function using checkboxes. I was able to filter the data with multiple checkboxes but how will I make my code...

View Article

URL decode

Ciao a tutti! It is possible to decode this URL "Z=W=NQobdvHNRmwLOzit82vYZ1TJN2iaMuTlcGxbYuWI" using vb6? This address is in http://adf.ly/RiDRb HTML page. Last week look like this: var zzz = '...

View Article
Browsing all 21243 articles
Browse latest View live


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