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

[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

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

vb6 - make textbox auto scroll without scrollbar.

Hi, I have a project that uses a textbox and it has lots of text in it. The textbox has no scrollbars in it and I want it to auto scroll. For the auto scroll I was trying to make it scroll down to the...

View Article


Image may be NSFW.
Clik here to view.

checkbox to textbox

need help.. is there any way when checkbox is checked the desire text will be displayed in textbox .. or onclick listview to textbox

View Article

How to secure Source Code In vb 6

how to secure coding in visual basic how to add some protection

View Article


Image may be NSFW.
Clik here to view.

Creating Pivot table using VB6 Code

Can anyone tell me ? . why it shows empty pivottables collection .see at the following line . let me know please . Set pt = ActiveSheet.PivotTables.Add(cacheofPvt, Range("A1", "A91"), "MYPT") Code: Sub...

View Article

LoadImage API Not Behaving As Expected When Loading System Icons

Hello, The LoadImage API according to documentation and several tests I have performed has the following behavior when loading icons from files or resources (assuming square resolutions only): If the...

View Article

fast find strig in txt file with approx 700.000!!!!!!

I have a txt file in c:\mydir\....txt i need to find a string in mid position of line 2, 6 the word AAAAAA. when the string is found , loop all lines of txt from the line founded with AAAAAA until in...

View Article
Browsing all 21863 articles
Browse latest View live


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