Search:

Type: Posts; User: Vexslasher

Page 1 of 11 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    5
    Views
    670

    Re: PictureBoxes Overlapping

    Try this.
    Private Sub movetruck()
    For i = 0 To 9
    If TrucksR(i).Left < 900 Then
    TrucksR(i).Left += 5
    Else
    Randomize()
    ...
  2. VS 2010 Re: How to stop my program from requiring administrative privileges.

    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...
  3. VS 2010 Re: how to dynamically updating number label with textbox changes

    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...
  4. VS 2010 Re: how to dynamically updating number label with textbox changes

    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...
  5. Re: Picturebox (or other) with overlayed next/previous arrows

    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...
  6. Replies
    4
    Views
    674

    Re: Problem sending a pic to a picturebox.

    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...
  7. VS 2017 Re: Tabbed Form - Code Management Advice Needed, In Visual Studio

    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...
  8. Re: please help me. this is the vb.net code I don't no how i can do to solve my probl

    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.
  9. Replies
    7
    Views
    1,430

    Re: VB Picture box

    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...
  10. Replies
    1
    Views
    686

    Re: VB PictureBox Movement

    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...
  11. Re: Need your opinions about the program the I'll create!!

    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...
  12. Replies
    4
    Views
    3,582

    Re: Open in new window

    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",...
  13. Re: Best way to indicate a change on a Windows Form?

    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.
  14. Replies
    7
    Views
    1,280

    Re: My screen has shrunk !

    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...
  15. Re: VB2010 - how play midi from file and resource?

    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...
  16. Replies
    5
    Views
    801

    Re: IsNaN in VB help

    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...
  17. Replies
    3
    Views
    749

    Re: School project a little guidance?

    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...
  18. Replies
    7
    Views
    4,707

    Re: ranking textboxes

    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...
  19. Re: Adding occurrences of an array to a text box? (Simple Dice Game)

    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...
  20. Replies
    12
    Views
    1,943

    Re: how to cancel an event

    Dim AutomaticMode As Boolean
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    If AutomaticMode = True Then
    Automatic.Checked = True
    ...
  21. Replies
    7
    Views
    4,707

    Re: ranking textboxes

    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...
  22. Replies
    6
    Views
    1,005

    VS 2015 Re: Listing saved txt files

    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...
  23. Replies
    2
    Views
    1,730

    Re: Mounting ISO As A Virtual Drive In VB.NET

    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...
  24. Replies
    4
    Views
    1,664

    Re: Basketball Timer

    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
  25. VS 2010 Re: On form2.closing show form1 problem help?

    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
  26. Replies
    1
    Views
    575

    VS 2013 Re: Beginning of MaskedTextBox

    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...
  27. VS 2010 Re: I can't multiply more than 2 values help? read desc

    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.
    ...
  28. Replies
    11
    Views
    1,270

    VS 2010 Re: How to use Round in this code:

    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
  29. Replies
    5
    Views
    909

    Re: Help making a dice game

    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...
  30. Replies
    1
    Views
    2,873

    Re: Help me To close all open IE from vb.net

    For Each p As Process In Process.GetProcesses
    If p.ProcessName.ToLower.Contains("iexplore") Then
    p.Kill()
    End If
    Next
  31. VS 2010 Re: Comma conversion to dot help? read desc

    This will convert all your commas to dots.
    TextBox1.Text = TextBox1.Text.Replace(",", ".")
  32. VS 2010 Re: Is there anyway to make program for downloading YouTube MP3?

    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. ...
  33. Replies
    6
    Views
    1,234

    Re: InApp keyboard

    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...
  34. VS 2013 Re: Trying to submit web form from within VB

    It might be easier to give you the proper solution if you could provide the URL that you are working with.
  35. Replies
    6
    Views
    1,234

    Re: InApp keyboard

    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...
  36. VS 2010 Re: Is there anyway to make program for downloading YouTube MP3?

    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...
  37. Replies
    11
    Views
    1,532

    VS 2010 Re: extract number from text

    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...
  38. Replies
    8
    Views
    2,562

    Re: Get Video URL

    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...
  39. Replies
    11
    Views
    1,532

    VS 2010 Re: extract number from text

    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...
  40. Replies
    11
    Views
    1,532

    VS 2010 Re: extract number from text

    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
    ...
Results 1 to 40 of 432
Page 1 of 11 1 2 3 4



Click Here to Expand Forum to Full Width