How to make vb net application start in center of screen
2014-02-22, 02:56 AM,
#1
Hey guys i would like to know how can my tools/programs i make in visual basic start in center of my screen and not in top left side. Thanks in advance.

I am not going to be outworked. Period. You might have a lot more talent than me, you might be smarter than me, you might be sexier than me. You might be all of those things...but if we get on the treadmill together-there are two points: you're acquiring off first or I'm gonna die. It's seriously that simple.
2014-02-22, 03:03 AM,
#2
Selecr your form and then go on layout, then StartPosition and then select CenterScreen.
2014-02-22, 03:15 AM,
#3
I havent got StartPosition option in Layout i think its because im using theme.

[Image: havent.png]

I am not going to be outworked. Period. You might have a lot more talent than me, you might be smarter than me, you might be sexier than me. You might be all of those things...but if we get on the treadmill together-there are two points: you're acquiring off first or I'm gonna die. It's seriously that simple.
2014-02-22, 03:22 AM,
#4
Nevermind if you use themes or not, you should select form1 (or if you have other forms, not your blablatheme) and then you'll find that option.
2014-02-22, 03:36 AM,
#5
Cannot find that, googling about this and found this:
Me.Top = current.Top + CInt(current.Height / 2) - (Me.Height / 2)
Me.Left = current.Left + CInt(current.Width / 2) - (Me.Width / 2)

But when i type that it says Syntax Error about both "Me"s

I am not going to be outworked. Period. You might have a lot more talent than me, you might be smarter than me, you might be sexier than me. You might be all of those things...but if we get on the treadmill together-there are two points: you're acquiring off first or I'm gonna die. It's seriously that simple.
2014-02-22, 09:17 PM,
#6
Right click your from and select form1 and not your theme, then do what the guy say

[Image: 8vu5.png]
"You don't get another chance, Life is not a nintedo game" -
-Eminem-

Still Paying For Google +1's?
Why Not Delivering Them Yourself?
Start Now!


2014-02-22, 10:20 PM,
#7
Question have been answered, so thread's closed now.


Possibly Related Threads...
Thread Author Replies Views Last Post
  Aeonsofts VB.NET Theme Manager v2.1 lanzye 32 10,319 2017-10-28, 04:51 PM
Last Post: waiphyoe
  How can I make a Quora.com BOT? vincenzot_t 12 770 2017-10-20, 04:44 PM
Last Post: honeydew
  Im a programmer, i can make mobile landings pwnisher 2 366 2017-07-28, 09:16 AM
Last Post: Pachu
  How to make step content in website 5light 0 188 2017-07-24, 11:04 AM
Last Post: 5light
  How to make this code? ngengs 7 903 2016-12-18, 09:51 PM
Last Post: bryan1





About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top