try something like this:
Dim HadFocus As String
Private Sub TextBox1_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.LostFocus, TextBox2.LostFocus, TextBox3.LostFocus, TextBox4.LostFocus, TextBox5.LostFocus
Dim tb As TextBox = sender
HadFocus = tb.Name...
Orca is the next generation of vb.net and I don't know if it will run on xp,w2k or not. vb 2005 is the latest release right now and if free to download and use. Orca is not a release yet but will be vb 2007(8,9,10?).
If your company is going to upgrade to 64 bit in the near future than wait, as...
Use textboxes for your name,etc. If you do not want some changing it then set the ReadOnly property to true. If ok to change then set the ReadOnly property to false.
I don't remember what exacally what I answered before but I created an image list in vb6 and converted it to vb 2005. I added a button to the form and ran the following code to save all the images in the old activex image list. It works. If you want to see the images as they are converted then...
Do a build, which compiles the program into the release folder. Then run your program in the debug mode and point to your .exe in the release folder. ie
ProcInfo.Arguments = "c:\vbPrograms\myProgram\bin\release\theProgram.exe
This just shows 25 but change to 255.
Private Sub Form6_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim NewLocation As New Point
Dim NewSize As New Point(75, 23)
For i As Integer = 0 To 25
Dim newButton As New...
Use the Process method.
Dim ProcInfo As ProcessStartInfo = Nothing
ProcInfo.FileName = "c:\folder\editbin.exe"
ProcInfo.Arguments = "c:\folder\YourProgram.exe"
ProcInfo.CreateNoWindow = False
Process.Start(ProcInfo)
Try this. I am using vb 2005 express but it should be about the same.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'=========================================
' Save images in an ImageList...
I'm not that good with regular expressions but you might want to try this.
Dim myMatches As MatchCollection
Dim myRegex As New Regex("\d+")
Dim successfulMatch As Match
myMatches = myRegex.Matches(TextBox1.Text)
successfulMatch = myMatches(0)
Dim...
Go to this site:
http://www.devcity.net/PrintArticle.aspx?ArticleID=94
Near the bottom is a section called "Method 7: Flip-Flop Form1 and Form2"
Hope this helps,
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.