Click here to Skip to main content
15,905,686 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Use sendMessage and Findwindow with VBscript Pin
Member 1200693326-Jun-18 17:14
Member 1200693326-Jun-18 17:14 
GeneralRe: Use sendMessage and Findwindow with VBscript Pin
Dave Kreskowiak26-Jun-18 17:26
mveDave Kreskowiak26-Jun-18 17:26 
GeneralRe: Use sendMessage and Findwindow with VBscript Pin
Member 1200693327-Sep-18 3:43
Member 1200693327-Sep-18 3:43 
GeneralRe: Use sendMessage and Findwindow with VBscript Pin
Dave Kreskowiak27-Sep-18 4:18
mveDave Kreskowiak27-Sep-18 4:18 
QuestionUsing Icons stroed in the Shell32.dll Pin
Quecumber25611-Feb-06 7:00
Quecumber25611-Feb-06 7:00 
AnswerRe: Using Icons stroed in the Shell32.dll Pin
Dave Kreskowiak11-Feb-06 8:33
mveDave Kreskowiak11-Feb-06 8:33 
GeneralRe: Using Icons stroed in the Shell32.dll Pin
Quecumber25611-Feb-06 12:39
Quecumber25611-Feb-06 12:39 
GeneralRe: Using Icons stroed in the Shell32.dll Pin
Dave Kreskowiak11-Feb-06 15:29
mveDave Kreskowiak11-Feb-06 15:29 
You don't!! You use the Extract icon method to get the icons out of the file, just like Shell32 does. Shell32 won't pick the icon for your, but it will tell you what type each drive is. You then have to use that information to pick the icon to show.

What do you need to determine the drive type? Easy! Call the Win32 Api function <a href="http://msdn.microsoft.com/library/en-us/fileio/fs/getdrivetype.asp?frame=true" rel="nofollow">GetDriveType</a>[<a href="http://msdn.microsoft.com/library/en-us/fileio/fs/getdrivetype.asp?frame=true" target="_blank" rel="nofollow" title="New Window">^</a>], or <a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/RealDriveType.asp?frame=true" rel="nofollow">RealDriveType</a>[<a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/RealDriveType.asp?frame=true" target="_blank" rel="nofollow" title="New Window">^</a>].

You can find the P/Invoke Declares on P/Invoke.net if you have trouble figuring it out, or you could just ask...


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome


-- modified at 21:29 Saturday 11th February, 2006
QuestionVBA - how to import outlook express to access Pin
keita0011-Feb-06 1:49
keita0011-Feb-06 1:49 
AnswerRe: VBA - how to import outlook express to access Pin
Dave Kreskowiak11-Feb-06 8:18
mveDave Kreskowiak11-Feb-06 8:18 
QuestionCrystal Report Problem Pin
Sajid Sheikh Ali11-Feb-06 1:18
Sajid Sheikh Ali11-Feb-06 1:18 
QuestionData Grid View Pin
Sajid Sheikh Ali11-Feb-06 1:13
Sajid Sheikh Ali11-Feb-06 1:13 
AnswerRe: Data Grid View Pin
Dave Kreskowiak11-Feb-06 8:06
mveDave Kreskowiak11-Feb-06 8:06 
Questioncrystal reports Pin
microuser_200010-Feb-06 22:19
microuser_200010-Feb-06 22:19 
AnswerRe: crystal reports Pin
alien viper10-Feb-06 22:30
alien viper10-Feb-06 22:30 
GeneralRe: crystal reports Pin
microuser_200011-Feb-06 1:06
microuser_200011-Feb-06 1:06 
QuestionProblem to call .KBD in VB6 Pin
justzain10-Feb-06 20:24
justzain10-Feb-06 20:24 
AnswerRe: Problem to call .KBD in VB6 Pin
progload11-Feb-06 12:07
progload11-Feb-06 12:07 
QuestionPOPING NEW FORM THROUGH Timers. Pin
blucas200510-Feb-06 19:47
blucas200510-Feb-06 19:47 
AnswerRe: POPING NEW FORM THROUGH Timers. Pin
Dave Kreskowiak11-Feb-06 8:03
mveDave Kreskowiak11-Feb-06 8:03 
GeneralRe: POPING NEW FORM THROUGH Timers. Pin
blucas200511-Feb-06 22:16
blucas200511-Feb-06 22:16 
GeneralRe: POPING NEW FORM THROUGH Timers. Pin
Dave Kreskowiak12-Feb-06 2:10
mveDave Kreskowiak12-Feb-06 2:10 
Questionhow to get username of the system in net work Pin
mamatharaghu10-Feb-06 19:08
mamatharaghu10-Feb-06 19:08 
AnswerRe: how to get username of the system in net work Pin
Dave Kreskowiak11-Feb-06 7:56
mveDave Kreskowiak11-Feb-06 7:56 
GeneralRe: how to get username of the system in net work Pin
mamatharaghu12-Feb-06 19:36
mamatharaghu12-Feb-06 19:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.