Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

cowsarenotevil

Form location doesn't exist (Visual Basic)

This topic is 5488 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m making a rather simple program as a break from my large game that probably won''t ever work properly, and I decided that it would be easier to use Visual Basic. So far everything has gone smoothly (which isn''t saying much because it''s hardly started) but I now am stuck. Thid tells me that I should be able to move the form at runtime with code, but when I make an attempt the location, left, and top members are nowhere to be found. Keep in mind that I have basically no expierience using Visual Basic but I''m fine with C/C++. Oh, and don''t tell me to rewrite the whole thing in some other language. I''ll just ignore you.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
uh how about Form1.left...

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by cowsarenotevil
Oh, and don''t tell me to rewrite the whole thing in some other language. I''ll just ignore you.


friendly little bovine

Share this post


Link to post
Share on other sites
Heh, i''m just glad to hear someone being semi-rabid about using vb, instead of NOT using it.

On another note, here''s code copied and pasted from one of my vb 6.0 projects that moves its forms about.

frmLogin.Left = 2970
frmLogin.Top = 3120
frmLogin.Show

That''s actually done from within another form... but still.

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
quote:
Original post by cowsarenotevil
Oh, and don''t tell me to rewrite the whole thing in some other language. I''ll just ignore you.


friendly little bovine


I just don''t want the common reply of: "VB sucks and can''t do anything. You should reprogram the whole thing in C, even though it would take several hundred lines just to initialize the window the way you want it."

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!