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

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

general help sligtly stuck

i have a listbox1 and text1.text list1 holds keywords office books <<<<<<< when i click here it should automaticly select that and 5 lines below and add to text1.text with comma ,...

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

[RESOLVED] how to enter only 1 thing in listview

hey im trying to enter only 1 thing in the listview i get error object variable this is the code Code:     If NewRec Then         Dim NewID As Long         NewID = NextID("HairID", "HairDressers")...

View Article

OCR sample code?

Does anyone have any OCR sample code? I am not sure of the font size or font type, but its always the same size and type of font, I would say maybe 20pt? I would love to get some sample code in VB.

View Article


[RESOLVED] Create fields

Hi I have written the below code sql = "ALTER TABLE cust ADD COLUMN ctype TEXT (1)" cnn.Execute sql MsgBox ("Fields Successfully created !") I want if field already exists then it should give message...

View Article

[RESOLVED] Picture

dim x as integer dim myday as string myday = format$(now,"mm") for x = 0 to 11 image(x).picture = image(index).picture next if myday = myday then image1(index).picture= app.path & "\*.jpg" ' that's...

View Article


General Discussion on Database Updates and Application Updates

Good Day, In the past I got great tips and guidance for a problem I had using this forum. So I thought I would as the Guru's again for some more guidance/tips What would be considered a good way to...

View Article

data interpolation

Hello hope everybody is fine ! Please, I tried to look in old post without success I'd like to find a sub, capable of giving me a polinomial interpolation of some data ex A B A1 B1 A2 B2 A3 B3 I'd like...

View Article


Unknown Publisher?

Hi, does anyone have the same issue? This "Unknown Publisher" security warning dialog always pops up upon opening your own exe, which strangely works fine when it's newly compiled! I noticed this...

View Article

remove webbrowser lines

hi i need a code for deleting any lines of webbrowser i need have a limite for my webbrowser this means i need code for i have webbrowser by only 2000 line if my webbrowser lines are 2001 auto remove...

View Article

VB6 Collision detection help

Hi, I am currently making a 2D side-scrolling game as part of my A-level computing project, but i cannot figure out how to make collision detection. This is the code i have at the moment, I have an...

View Article
Browsing all 21350 articles
Browse latest View live