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

[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


[RESOLVED] help: innerhtml

How to get the innerhtml using winsock?

View Article

detect connection type

Is there a way to detect if an internet connection is behind a proxy or virtual network using vb6?

View Article

Image may be NSFW.
Clik here to view.

Changing Label Text Depending on Drop Down Selection

Hey all, Not sure where this should be posted but hopefully someone can explain this to me. I am using Excel 2010 to create my own binary options trading program. Anyway what I am looking to do is have...

View Article
Browsing all 21719 articles
Browse latest View live