I'm trying to save icon from form code will not work please help?
Hi, I have a form with a icon I'm trying to save that one icon here is the save code I have in my Module Name is OpenSaveTest Code: Public Sub SaveTest() Dim SS As Integer Dim m As Integer SS =...
View ArticleSaving richtextbox as rtftext ( plain text ) but keep text colour ?
Hi all I don't know if want I want to do is possible:- My application loads an RTF file into a rich text box, the RTF would have been made by MS WORD, and there could easily be some line spacing in the...
View Articlesubscript out of range, can't see why
I get <subscript out of range> as a tooltip when debugging this (bold) code. It's probably obvious, but I can't see why. Test() As String and H% are both listed with other (working) variables as...
View Article[RESOLVED] wait code without timer ?
hello i made a Project to check if notepad.exe is not running then will wait until its running :) actually someone helped me with this code :) Code: Private Sub Form_Load() Timer1.Enabled = False...
View Article[RESOLVED] Java To VB
In a Java file I have this Code: public int images_X_Y[] = {0, 0, 119, 166, 183, 147, 235, 133, 288, 118}; Can I do something similar in VB, like this Code: public images_X_Y() As Integer = (0, 0, 119,...
View ArticleIs there a way to search a list for an item, then remove it?
Hi there everyone. I am working on a math game where students can make their own custom game patterns. I am working on a way for students to be able to delete custom patterns down the road. So far I...
View ArticleSelStart At Mouse Position
I have a textbox "txtNum" with the following codes Private Sub txtNum_GotFocus() txtNum.Text = Format(txtNum.Text, "General Number") End Sub Private Sub txtNum_LostFocus() txtNum.Text =...
View Article[ASK]Remove or Disable Menu on MDI Form Icon
hi.. can i now how to disable or remove the menu on MDI Form icon? i use this code but this code just disable MAX Button on MDi Form code from http://www.vbforums.com/showthread.p...=1#post2208777...
View ArticleMinesweeper game expansion problem (VB6)
Hello VB forums. I am currently doing a project for my Computing class in which I need to program Minesweeper in VB6. It's mostly done: the win-state, file-handling, lose-state, tile values, revealed...
View ArticleWebBrowser Control and "DoNotTrack"
I've never played with VB's Webbrowser. That said, like any control I'm sure it uses underlying Microsoft DLL's that most likely are used by (or integral to) Internet Explorer. Currently I modify the...
View Articlehow to enter some text in ListView subitem after double click
is there a way to enter a name or something else in the subitem listview directly? i mean in the rows i double click and then i can add values there tnx in advanced salsa 31
View ArticleMissing records while inserting records into DB.
Hi, I need miising records from the records that are inserted into Database. My VBA excel is uploading one excel. The code follows here.. Set wbkB = Workbooks.Open(Filename:=path) Set varSheetB =...
View Article[RESOLVED] how to enter some text in ListView subitem after double click
is there a way to enter a name or something else in the subitem listview directly? i mean in the rows i double click and then i can add values there tnx in advanced salsa 31
View Article[RESOLVED] Is there a way to append a listbox item name?
Hi there! I am working on a list of items called CustomPatternList. I would like to change some of the items in the list by clicking on a command button. For example, if I click on an item in a...
View ArticleDoes VB 6 Have An Intrinsic 'LastDrive' Function?
Many years ago I used an application, or something, that had a 'LastDrive' function. It could have been anything from DOS to COBOL. Does VB have, or have access to a function that returns the letter of...
View ArticleCrystal Report 8.5 Sub Report
Hey guys, its several months i can not find any solution for this problem, I really need help. I try to ask this question clear and provide everything's you need, although I know its a little confusing...
View ArticleError opening Printer.Port. Bad file name or number!!
I was trying to print to the printer in raw mode for sending control codes. I am not being able to control the printer.height by using printer.print method. The printer is ejecting too much paper. I...
View Article[RESOLVED] Expected : List Seperatos {error in vb6 , visual studio 6 }
So i get this error ( Expected : List seperator ) on line with MID(i) = A(i,j) - A(1,1) I'm a beginner with vb so it would be appreciated if you could explain the problem to me . The strage characters...
View Article[RESOLVED] how to set a timer to some time and display a msgbox when the time...
i have a code that is like stop watch how do i set a timer to lets say 2 minutes and when its finish the a msgbox pop's out Stop Watch.zip Attached Files Stop Watch.zip (1.6 KB)
View ArticleSearching for specific characters in listbox items?
Hi there everyone! I am working on a program where I a have a list of items. The list is called YourList, and some of the items have specific letters in brackets like this (*). I was wondering if I...
View Article