| | |
how my computer will be open
Thread Solved |
•
•
Join Date: Mar 2009
Posts: 821
Reputation:
Solved Threads: 150
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Shell "rundll32.exe shell32.dll,Control_RunDLL"
•
•
•
•
thanks. but, dear tell me about my computer. it works with control panel.
I like that one. Well, you weren't very explicit.But I think this is what you want.
Add the Shell Controls and Automation reference in the Projects/Reference Menu by clicking on that item.
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
dim MyShell as Shell Private sub form_load() set MyShell = New Shell MyShell.Explore &H11 ' For My Computer MyShell.Explore &H3 ' For Control Panel end sub Private sub form_unload() Set MyShell = Nothing end sub()
Hopefully, that's enough to get you going. You can take the code from the form_load event and stick it in the appropriate Command Button.
Once you load the Shell Controls and Automation reference, then you should find all these constants available for your use and you can just use the autocompletion feature of your IDE: just type ssf and then Ctl + Space to see the constants appear in your code window.
These are a list of the constants available for your use:
If you just want to open the start menu, why not just click the start menu button?
These are a list of the constants available for your use:
•
•
•
•
ssfDESKTOP Desktop folder.
ssfPROGRAMS File system folder that contains the items in the Programs folder on the Start menu.
ssfCONTROLS Control Panel folder.
ssfPRINTERS Printers folder.
ssfPERSONAL File system folder that contains the user's documents.
ssfFAVORITES Favorites folder.
ssfSTARTUP Startup folder on the Start menu.
ssfRECENT Folder that contains shortcuts to the user's most recently used documents.
ssfSENDTO Folder that contains the items that are added to the Send To menu.
ssfBITBUCKET Recycle Bin.
ssfSTARTMENU Folder that contains the items that are displayed on the Start menu.
ssfDESKTOPDIRECTORY File system folder that contains the items on the desktop.
ssfDRIVES My Computer.
ssfNETWORK Network Neighborhood.
ssfNETHOOD File system folder that contains items displayed inside the Network Neighborhood.
ssfFONTS Folder that contains the installed fonts.
ssfTEMPLATES File system folder that contains document templates. MSDN
Last edited by hkdani; Mar 16th, 2009 at 1:07 am.
![]() |
Similar Threads
- My Computer will not let me open program from old Cd (Windows NT / 2000 / XP)
- Unable to access my computer, my documents, and control from start bar and run!! (Windows NT / 2000 / XP)
- I have a virus that disables my virus protection and tries to shut down my computer! (Windows NT / 2000 / XP)
- Internet explorer and my computer won't load (Viruses, Spyware and other Nasties)
- Computer is very slow Hijack log (Viruses, Spyware and other Nasties)
- can't open any files... (Viruses, Spyware and other Nasties)
- cant open invader programs trying to track source. (Viruses, Spyware and other Nasties)
- can only open my documents after connecting to internet (Web Browsers)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Convert Case To Random In Vb6
- Next Thread: vb Chat App,Lan work Internet Not?
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






