VB School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB Expert!

Join 307,172 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,571 people online right now. Registration is fast and FREE... Join Now!




Open My computer

 

Open My computer

lakhanmahajan

6 May, 2008 - 10:38 PM
Post #1

New D.I.C Head
*

Joined: 4 May, 2008
Posts: 22


My Contributions
When I click on Button Then My computer is opened

User is offlineProfile CardPM
+Quote Post

 
Reply to this topicStart new topic
Replies(1 - 7)

anand_the_great

RE: Open My Computer

7 May, 2008 - 12:07 AM
Post #2

New D.I.C Head
*

Joined: 15 Apr, 2008
Posts: 47



Thanked: 1 times
My Contributions
Hello.
Please let us know what is your purpose of this, so that we can have an idea of how to help you.
It looks like you were given a project to do "A" but you don't know, and you are doing another way "Z". So if we know your objective it can be benificial to all.
User is offlineProfile CardPM
+Quote Post

no2pencil

RE: Open My Computer

7 May, 2008 - 12:21 AM
Post #3

i R L33t Skiddie, k?
Group Icon

Joined: 10 May, 2007
Posts: 13,499



Thanked: 303 times
Dream Kudos: 2875
Expert In: Goofing Off

My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

code.gif
User is offlineProfile CardPM
+Quote Post

anand_the_great

RE: Open My Computer

7 May, 2008 - 12:27 AM
Post #4

New D.I.C Head
*

Joined: 15 Apr, 2008
Posts: 47



Thanked: 1 times
My Contributions
QUOTE(anand_the_great @ 7 May, 2008 - 01:07 AM) *

Hello.
Please let us know what is your purpose of this, so that we can have an idea of how to help you.
It looks like you were given a project to do "A" but you don't know, and you are doing another way "Z". So if we know your objective it can be benificial to all.



Hello.
Please let us know what is your purpose of this, so that we can have an idea of how to help you.
It looks like you were given a project to do "A" but you don't know, and you are doing another way "Z". So if we know your objective it can be benificial to all.
User is offlineProfile CardPM
+Quote Post

sam_benne

RE: Open My Computer

7 May, 2008 - 12:46 AM
Post #5

D.I.C Addict
Group Icon

Joined: 16 Jan, 2008
Posts: 645



Thanked: 8 times
Dream Kudos: 400
My Contributions
Have a look at shell in google that might help.
User is offlineProfile CardPM
+Quote Post

jjsaw5

RE: Open My Computer

7 May, 2008 - 03:56 AM
Post #6

I must break you
Group Icon

Joined: 4 Jan, 2008
Posts: 2,664



Thanked: 25 times
Dream Kudos: 125
My Contributions
QUOTE(anand_the_great @ 7 May, 2008 - 03:27 AM) *

QUOTE(anand_the_great @ 7 May, 2008 - 01:07 AM) *

Hello.
Please let us know what is your purpose of this, so that we can have an idea of how to help you.
It looks like you were given a project to do "A" but you don't know, and you are doing another way "Z". So if we know your objective it can be benificial to all.



Hello.
Please let us know what is your purpose of this, so that we can have an idea of how to help you.
It looks like you were given a project to do "A" but you don't know, and you are doing another way "Z". So if we know your objective it can be benificial to all.



Don't double post!!! You even did it in the same thread.
User is offlineProfile CardPM
+Quote Post

jp26198926

RE: Open My Computer

4 Nov, 2008 - 09:54 PM
Post #7

New D.I.C Head
*

Joined: 30 Sep, 2008
Posts: 1



Thanked: 1 times
My Contributions
hello,, guys..

i have the same question..i am beginner in vb6
i wrote a program in vb6 and
i want to open "My Computer" when i click the command button..

thanks in advance




User is offlineProfile CardPM
+Quote Post

born2c0de

RE: Open My Computer

4 Nov, 2008 - 10:16 PM
Post #8

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 4,550



Thanked: 98 times
Dream Kudos: 2825
Expert In: J2ME, 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
You need to pass ::{20D04FE0-3AEA-1069-A2D8-08002B30309D} as a parameter to explorer.exe to start My Computer.

Here's an example on how to do this in VB6:
vb
Shell "explorer ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", vbNormalFocus

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 07:01PM

Live VB Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month