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

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

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 get the individual dates between two dtpicker

:confused::confused::confused: I am doing a project on the topic car rental system. i am a student without much knowledge about vb. i need to set a car that are previously booked as unavailable...

View Article


Need help with shell in VB6

Hello Guys, I need help on shelling an executable on VB6. I want the shelled application to appear as a MDI child of the application rather it is coming as stand alone application. I want the...

View Article

Callback Sub causes App to crash on Form_Unload

Everytime I unload the app it crashes. I have narrowed it down to code in a callback sub but for the likes of me I can't understand why the code will cause the crash. Here is the callback sub in a BAS...

View Article

Passing a Pointer to a Function

Does anyone know how can i declare this function to VB because i get lots of errors when i try to lunch it so im expecting i should refere a variable to a pointer to make it work, but nothing works....

View Article
Browsing all 22107 articles
Browse latest View live


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