[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 ArticleMatching 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 ArticleCoding 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 ArticleHow 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 ArticleVB6 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 ArticleSaving 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 ArticleVSFlexGrid 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 Articledetect connection type
Is there a way to detect if an internet connection is behind a proxy or virtual network using vb6?
View ArticleChanging 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[RESOLVED] List files with their icons
I was using a FileListBox to display a list of files from a specific directory but I'd like to display them with the corrsponding icon beside the name, just like in windows explorer. Is there a...
View ArticleRemove Item from FileListBox?
Is it possible to remove a file from the FileListBox without actually killing the file? I've already used multiple wildcards in the .pattern, however not getting the result I want. I want to be able to...
View Article[RESOLVED) 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 ArticleAuto fill texbox
hay all, i have project making database for selling item in mart using Barcode. I am scan the barcode then output will shown in textbox1, then textbox2 will showing the item name, and textbox3 for item...
View Article24DB Low Pass Filtering - SOUND / AUDIO Processing
Hello chaps, I'm looking for a Low Pass Filter to apply to a .WAV Audio Buffer. I've come across this here: LPF 24dB/Oct But I'm having trouble converting it and getting it to work in VB. Can anyone...
View ArticleVB6 SCSI Tape Backup Unit Programming
Hi, This is a new problem that I am trying to solve. I need to start to control a SCSI unit, exactilly an LTO Tape Bakup Unit, which can be SCSI (LVD, HVD, SATA, Fiber Chanel etc.). I was looking on...
View ArticleBad File Mode error?
Hi there everyone. I am working on a newer version for student attendance prog. I have a sub that loads the list of students from the textfile to an array of label captions. Basically each line of the...
View Article