Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 95,280 VB Programmers for FREE!. Ask your question and get quick answers from Dream.In.Code experts. There are 1,416 online right now! We're the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a VB Expert

Register to Make This Box Go Away!


new commands?

 
Reply to this topicStart new topic

new commands?, old dont work :( see inside

Alkis
post 12 Apr, 2006 - 01:05 PM
Post #1


New D.I.C Head

*
Joined: 4 Apr, 2006
Posts: 34


My Contributions


guys, i just got Visual studio 2005

but to my great surprise some of the old commands doesnt work!!

for example, i always used "unload me" to unload a form b4 i move to another in VB6

now what? i found the "me.close" but it closes the whole program sad.gif

oh guys please help me, tell me the new commands sad.gif

another example, when i wanted to make a form to be showed and until it closes no other form to be able to take focus, i used "frmAForm.show 1"

but now u can only use ".show" the "1" cant be used!!! crazy.gif

i am so sad, i feel totally noob sad.gif sad.gif

plz help me and thx a lot

This post has been edited by Alkis: 12 Apr, 2006 - 01:08 PM


--------------------
IPB Image
If you cant keep up, dont step up!
User is offlineProfile CardPM

Go to the top of the page


Amadeus
post 12 Apr, 2006 - 01:17 PM
Post #2


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 11,539



Thanked 5 times

Dream Kudos: 25
My Contributions


VS 2005 is based on the .NET framework..meaning that it is VB.NET, to my knowledge. this is a substantially different language than VB6, which is no longer supported.

Some of the differences are listed here:
http://www.thescarms.com/vbasic/VB6vsVBNet.asp
but there are thousands more...


--------------------
IPB Image
Caesar si viveret, ad remum dareris.
User is offlineProfile CardPM

Go to the top of the page

Alkis
post 12 Apr, 2006 - 01:19 PM
Post #3


New D.I.C Head

*
Joined: 4 Apr, 2006
Posts: 34


My Contributions


QUOTE(Amadeus @ 12 Apr, 2006 - 12:09 PM)
VS 2005 is based on the .NET framework..meaning that it is VB.NET, to my knowledge. this is a substantially different language than VB6, which is no longer supported.

oh FUCK!

it looks rly like VB6 and it works like it though

but yeah i see this net framework everywhere, u r right

what do u mean "its NO longer supported"?? sad.gif sad.gif


--------------------
IPB Image
If you cant keep up, dont step up!
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 12 Apr, 2006 - 01:26 PM
Post #4


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 11,539



Thanked 5 times

Dream Kudos: 25
My Contributions


QUOTE

what do u mean "its NO longer supported"?? 

It just means that Microsoft will no longer be releasing any updates for VB6, or be developing in it themselves. They will also not take any overt steps to ensure that future operating systems (which they say will be built using .NET) are compatible with applications written in VB6.

Having said that, XP is VB6 compatible, and Vista will be as well. There is still a very large VB6 development community out there, and many of them do not like the .NET version...I expect it will be quite some time before VB6 is gone, so not to worry! smile.gif


--------------------
IPB Image
Caesar si viveret, ad remum dareris.
User is offlineProfile CardPM

Go to the top of the page

jayman9
post 12 Apr, 2006 - 02:39 PM
Post #5


Student of Life

Group Icon
Joined: 26 Dec, 2005
Posts: 5,963



Thanked 10 times

Dream Kudos: 500

Expert In: C#, VB.NET, Java

My Contributions


To close only the form that you created and not the main form, which will close when you use the Me.Close().

Replace the 'Me' with the name of the form you are closing. This will keep the application running, allowing you to continue working in your application.

Example

CODE

yourForm.Close()


--------------------
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 12 Apr, 2006 - 08:07 PM
Post #6


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 11,539



Thanked 5 times

Dream Kudos: 25
My Contributions


For a free eBook on VB.NET/2005, see this post from skyhawk133:
http://forums.dreamincode.net/showtopic15666.htm
Among the topics covered are new functionality and cross overs.


--------------------
IPB Image
Caesar si viveret, ad remum dareris.
User is offlineProfile CardPM

Go to the top of the page

skyhawk133
post 12 Apr, 2006 - 10:22 PM
Post #7


Head DIC Head

Group Icon
Joined: 17 Mar, 2001
Posts: 14,096



Thanked 29 times

Dream Kudos: 1600

Expert In: Web Development

My Contributions


This book is probably better:


http://msdn.microsoft.com/vbrun/staythepat...B6/default.aspx

QUOTE
Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET


--------------------
User is offlineProfile CardPM

Go to the top of the page

Alkis
post 13 Apr, 2006 - 06:06 AM
Post #8


New D.I.C Head

*
Joined: 4 Apr, 2006
Posts: 34


My Contributions


Guys thank u all for ur help, i will search over the links u give me and i hope to hind the new commands so i can be able to change my code acording to the new vb

btw, i dont like vb6 cuz the progs u make look like windows 95 or 98, they dont look like xp sad.gif

so i gues si prefere the visual basic 2005.. thanks a lot everyone! biggrin.gif smile.gif


--------------------
IPB Image
If you cant keep up, dont step up!
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 7/3/08 11:23PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month
-->