Search:
Type: Posts; User: Vexslasher
Search:
Search took 0.03 seconds.
-
Try this.
Private Sub movetruck()
For i = 0 To 9
If TrucksR(i).Left < 900 Then
TrucksR(i).Left += 5
Else
Randomize()
...
-
My guess is that your trying to access a location that requires elevated rights you may want to consider using this location if your saving or modifying files...
-
You said you were using a textbox but from your images I can see that is not the case your using a numericupdown which is probably better then a textbox for this but the codes are a little different...
-
I don't know exactly what is going on with your codes but hopefully my code will be what you are looking for.
Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles...
-
I think I know what your talking about. I made a code for you to use for this. It will require two buttons Button1 and Button2 make sure the Visibility property on both of these buttons is set to...
-
Well if you just trying to get a few images into picture boxes then you could do something like this. The CurDir() will provide the folder that your program is being run from.
Private Sub...
-
You could just put all their codes into regions like this. Then you can collapse the ones you don't need to deal with at the moment.
#Region "Tab1"
'Subs Here
#End Region
#Region "Tab2"
'Subs...
-
Also malicious coding is not allowed here, so if your intent is to create something to harm it's users you wont find help here.
-
I have tried to simplify this for you. I have taken jmcilhinney code which is well written and just added in a little to it and changed it so you don't need to add a timer to your design.
You will...
-
You will need a TextBox1 and a PictureBox1 for these codes to work.
If you input 5 into the textbox the picturebox will move 5pix to the left x2 then 5pix to the right x2 there is a .5 sec delay...
-
Well you could just have a group for users who have used their 10 minutes and a group that hasn't yet. And when they have used their 10 minutes they are moved to the other list and with their...
-
If you are trying to open a new blank window with a web browser outside of your vb.net application you can accomplish that like this.
For Internet Explorer
Process.Start("IExplore.exe",...
-
I usually just have all mine save separately when they are changed. It's a lot of code but it helps prevent that lag when closing.
-
Here is a code that will provide you with all of your possible screen sizes then you could just get the biggest one from the list. Looks like you will need 2 buttons and a listbox for this code to...
-
I have a way of playing the MID/MIDI from a resource or from a local file.
I have used these codes so that I could have music and sounds in games at the same time and going with the MID files is...
-
If your only wanting them to input numbers then you could just do away with the ability to use letters and special characters.
This will make the write.text only be allowed to have digits 0-9 and...
-
This does what you mentioned with the 4th column and also added a delay for when each item is added so it is not a instant look at everything.
Imports System.IO
Imports System.Threading
Public...
-
Oh I'm sorry I did integers instead of doubles here I changed them for you it should work with those types of numbers like you provided now. I'm sorry I didn't notice my error sooner.
Private Sub...
-
Here is how I would do this.
Dim RND As New Random
Dim itemlist As New List(Of Integer)
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
If...
-
Dim AutomaticMode As Boolean
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
If AutomaticMode = True Then
Automatic.Checked = True
...
-
This should do the trick you will have to modify it slightly to work with the names you have set your textboxes to though, I just did it this way to save me some time so I wouldn't have to repeat the...
-
You will need 2 listboxes and 1 button
Imports System.IO
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
'loads the selected item...
-
You might be able to use this library DiscUtils it may be able to do something like what your trying to accomplish however it's C# based so some converting would need to be done.
I maybe wrong but...
-
Here is a video that covers this a little better for you. I didn't make this video but it covers making your own controls quite well.
https://www.youtube.com/watch?v=rY3nDOaD878
-
Try this in your form2.closing instead.
Private Sub Form2_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing
Form1.Show()
Me.Dispose()
End Sub
-
For 1 MaskedTextBox to do this use this code.
Private Sub MaskedTextBox1_Click(sender As Object, e As EventArgs) Handles MaskedTextBox1.Click
MaskedTextBox1.SelectionStart = 0
End Sub...
-
You may want to consider adding NCalc to your project you would have to download it and add the reference then you can import it with Imports Ncalc
After doing that you can use codes like this.
...
-
Your very close you just needed to convert it from an integer to a string so that the textbox can accept the information.
TextBox1.Text = Math.Round(Val(TextBox1.Text), 2).ToString
-
142293
It sounded simple enough so I made it for you.
updated: fixed the wording for the odds it was saying lose when it was a win. I just rushed through making this so I didn't notice and had...
-
For Each p As Process In Process.GetProcesses
If p.ProcessName.ToLower.Contains("iexplore") Then
p.Kill()
End If
Next
-
This will convert all your commas to dots.
TextBox1.Text = TextBox1.Text.Replace(",", ".")
-
You could just alter the MsgBox on line 7 to include the saved location. If you wanted to open that folder you can do that like this. ...
-
I was working with that code from before and I removed the lower cased section and instead just added a "caps lock" button this way it's more like a normal keyboard. I also made it so that you will...
-
It might be easier to give you the proper solution if you could provide the URL that you are working with.
-
Here is one that I found that was broken I fixed it so that the lowercase and upper case letters work but the numbers are still broken but dunno if they are needed or not. It auto-generates the...
-
Well I had some free time so I made this for you.
Features
This will download a YouTube video from a link provided by the user to .mp3. It will show percent and display percent in a progressbar...
-
I did a little research and figured out how the Regex codes work a little better today and now I have come up with a better solution for this. It produces the same results as my last post but this is...
-
I'm not sure how they are getting that link, when I checked the source it doesn't have anything like that in there.
You can see the source like this.
Dim sourceString As String = New...
-
I think this may have been more of what you are after it's not perfect but the results it gives I think is what you are wanting. If my first post wasn't already what you were after.
Private Sub...
-
I'm not sure exactly what your wanting but I think this is in the right direction towards your goal.
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
...
|
Click Here to Expand Forum to Full Width
|