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

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


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


type mismatch after saving data

hey i get error type mismatch when i save something i have to combobox with numbers in at and the combos values are text in the DB the thing is it saves me the data in the listview and after gives me...

View Article

Enumerate And Load Specific Icon From Multires Icon File Or Resource

Hello, If you load any VB6 compiled executable with no custom icons or icon resources in an icon or resource manager, you'll see 3 icons: - 16x16 16 Colors - 32x32 16 Colors - 32x32 2 Colors Back to VB...

View Article

how to sort listview by combobox

hey i have a combobox with names that i populate from a table in the database now in the combobox the are names i am trying to sort the listview by picking a name from the combobox i dont use additem...

View Article
Browsing all 21089 articles
Browse latest View live


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