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

Image may be NSFW.
Clik here to view.

VB menu bar opens in the middle of the screen not where I left before

Hello, When the VB IDE opened, the VB Menulbar comes right in the middle of the screen (see attached picture)! I move it up, save the project, close out VB, open it up again, it is again in the middle...

View Article


how to dectect image

hi sir, i want source code to check 2 images same or not.

View Article


InvokeMember("click") for vb6 or click a button in webbrowser with an id of...

Greetings I'm trying to click the Log In button with the id of "login" using the web browser in vb6. The InvokeMember in this line of code:...

View Article

[RESOLVED] Changing text data in Combobox problem

In a game I am making I have a Combo box called cboColor which contains two items; "White" and "Black" and the .Text property is set to "White" which is the default color If the player is going to play...

View Article

Using the Shell function in VB 6.0 to read batch files in cmd.exe.

I'm sure this question has been posed before but I'm struggling to achieve the result I'm after. At present, I'm attempting to create an image file from the file contents of a floppy disk/diskette and...

View Article


how to create a windows service?

how to create a windows service?

View Article

Multi Winsock

hi all i wanna make a multi winsock program for check list example : 1 2 3 4 5 i want to make a prog for check 5 num in 1sec click in start button and all winsock check nums without delay thanks

View Article

Separating projects into subdirectories

Hi I now have quite a number of applications in my working vb6 directory. I am wondering how to separate projects into separate subdirectories, as at the moment I have a whole heap of forms and of...

View Article


webrowser

I need help to set the url at the form load event .. if url found label.enabled=true if not label.enabled=false . that means if internet is connected label enabled otherwise disabled

View Article


[RESOLVED] Highlighting Flexgrid row at runtime problem

I've searched, but the solution I found doesn't seem to work. I'm using Microsoft Flexgrid Control 6.0 Code:     With Myflexgrid         .SelectionMode = flexSelectionByRow         .HighLight =...

View Article

Move Data

I am working in vb6. Or should i say i am trying to work in vb6. I think a self taught person with only the help file don’t stand a chance. I am trying to move data from one textbox to another and it...

View Article

[RESOLVED] Using Exit Sub within loops and if - Good or Bad?

Been looking at some example code and I'm seeing a lot of Exit Sub" used to prematurely exit a loop or if statements. Is there any issues with this or just bad practise? I tend to avoid it (not sure...

View Article

[RESOLVED]list box loop scrowlling from first item to last one on command click

hi again everyone , does anyone know how to do a loop to a list1 box with data and declare that data as a variable ? i am stuck in listindex commands . This code is just to add some examples on list...

View Article


Image may be NSFW.
Clik here to view.

Matching a value to value of picturebox in an array

*PROGRAM IS ATTACHED AT THE BOTTOM OF THE POST* I am recreating battleship in Visual Basic 6, and I am almost complete. The one part that I am unable to complete, is matching an input value to the...

View Article

Coding in different Windows versions

I sometimes work on a project at different computers, home desktop, office desktop or laptop and they all happen to have different windows versions: WinXP, W7(32) and W7(64). I often find that after I...

View Article


How to detect windows font size in VB6

I have VB6 code which detect windows font size(DPI) like following. Code: Public Function GetFontSizeDPI() As Long   Dim hwnd As Long   Dim hdc As Long   Dim logPix As Long   Dim SmallFonts As Boolean...

View Article

VB6 search code to go through access

Hey, I'm new here so hello all :D So recently i have been working on a code which is supposed to search through one or two tables in access and return the results in a datasheet or list view in another...

View Article


Saving a gif image with webbrowser 1 without prompting

hi everyone , i have been looking for this code for some time ago and i can not get the correct code for it . i have looked in forum for this code and all i can find is to save the html , or search the...

View Article

VSFlexGrid FindRow functionality question

Greetings, I'm examining pre-written code that has a VSflexgrid component where the values have been populated at a cell level with textmatrix command and has nothing set at .rowdata level. Using the...

View Article

[RESOLVED] Visual Basic 6

How to sore numeric values in combo box (e.g 1 ,5,7,10,15,100,157,1007) i have set sort property to true , then is sorted , but when selected particular item , the cursor is not moving to that item ,...

View Article
Browsing all 21114 articles
Browse latest View live