Results 1 to 6 of 6
  1. #1
    ViittO's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    168
    Reputation
    10
    Thanks
    25
    My Mood
    Psychedelic

    [Help] start location

    how would i manually select the start position of my form?
    for example:
    "100, 50"

  2. #2
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    I wrote a little sub for you:

    Code:
    Public Class Form1
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            moveform(500, 450)
        End Sub
    
        Private Sub moveform(ByVal x As Integer, ByVal y As Integer)
            Me.Location = New System.Drawing.Point(x, y)
        End Sub
    End Class



  3. #3
    /b/oss's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    13,651
    Reputation
    795
    Thanks
    3,547
    Quote Originally Posted by Blubb1337 View Post
    I wrote a little sub for you:

    Code:
    Public Class Form1
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            moveform(500, 450)
        End Sub
    
        Private Sub moveform(ByVal x As Integer, ByVal y As Integer)
            Me.Location = New System.Drawing.Point(x, y)
        End Sub
    End Class
    you.... i wanted to say tht /close this?

  4. #4
    Sixx93's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    673
    Reputation
    21
    Thanks
    250
    My Mood
    Cool
    damn... beated in time..... uff xD

  5. #5
    /b/oss's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    13,651
    Reputation
    795
    Thanks
    3,547
    Quote Originally Posted by Sixx93 View Post
    damn... beated in time..... uff xD
    grrr blub next time i'll beat you :P

  6. #6
    Threadstarter
    Advanced Member
    ViittO's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    168
    Reputation
    10
    Thanks
    25
    My Mood
    Psychedelic
    NICE!!
    it works..thanks!
    /solved

Similar Threads

  1. [HELP] Start Up
    By Golden. in forum Visual Basic Programming
    Replies: 11
    Last Post: 07-27-2010, 08:26 PM
  2. [Help]Get location
    By Kyouki in forum Call of Duty Modern Warfare 2 Coding / Programming / Source Code
    Replies: 6
    Last Post: 07-26-2010, 04:15 AM
  3. [HELP]Start Process/program in Resources
    By [Project Recon]Porhaxn in forum Visual Basic Programming
    Replies: 9
    Last Post: 06-20-2010, 10:10 AM
  4. (Help) Picture Location Problem
    By slayerboyxx in forum General
    Replies: 5
    Last Post: 05-26-2010, 07:50 AM
  5. [Help]Starting a process[solved]
    By nathanael890 in forum Visual Basic Programming
    Replies: 4
    Last Post: 03-30-2010, 05:43 PM