Click here to Skip to main content
15,915,501 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Get Top 10 from a search engine Pin
Dave Kreskowiak13-Feb-05 16:59
mveDave Kreskowiak13-Feb-05 16:59 
Generalconcatenating wav files Pin
gilliver12-Feb-05 5:43
gilliver12-Feb-05 5:43 
GeneralRe: concatenating wav files Pin
Dave Kreskowiak13-Feb-05 17:16
mveDave Kreskowiak13-Feb-05 17:16 
GeneralRe: concatenating wav files Pin
gilliver14-Feb-05 4:55
gilliver14-Feb-05 4:55 
Generaluser defined Reports in crystal Reporting Pin
Member 121109012-Feb-05 3:40
Member 121109012-Feb-05 3:40 
GeneralExecutable code from string for a treeview control Pin
ergolabos12-Feb-05 1:32
ergolabos12-Feb-05 1:32 
GeneralRe: Executable code from string for a treeview control Pin
Dave Kreskowiak12-Feb-05 7:03
mveDave Kreskowiak12-Feb-05 7:03 
GeneralExitWindowsEx API Problem !!! Pin
Basavaraj P.Umadi12-Feb-05 0:35
Basavaraj P.Umadi12-Feb-05 0:35 
hello,

i tried to use the ExitWindowsEx() WINAPI in Visual Basic 6,

i use Windows XP OS and i want to reboot my pc after some installation (designed in vb). the parameters include 0 for logoff, 1 for shutdown and 2 for reboot.....

if i use 0 (logoff) it works fine, but when i use 1 or 2 .... it wont execute... enters into err handler...

here is the code...

If ExitWindowsEx(2, 0) = 0 Then<br />
  MsgBox "The system could not REBOOT the machine. !"<br />
End If


previous to this we need to define the function..

Public Declare Function ExitWindowsEx& Lib "user32" (ByVal uFlags As Long, ByVal dwReserved As Long)

plz help me...


- thanks,
Basavaraj P.Umadi
GeneralRe: ExitWindowsEx API Problem !!! Pin
Dave Kreskowiak12-Feb-05 3:20
mveDave Kreskowiak12-Feb-05 3:20 
Questioncan i get vs.net 2005 Pin
Member 172677311-Feb-05 23:05
Member 172677311-Feb-05 23:05 
AnswerRe: can i get vs.net 2005 Pin
Dave Kreskowiak12-Feb-05 3:13
mveDave Kreskowiak12-Feb-05 3:13 
GeneralRe: can i get vs.net 2005 Pin
Anonymous13-Feb-05 5:44
Anonymous13-Feb-05 5:44 
GeneralRe: can i get vs.net 2005 Pin
Dave Kreskowiak13-Feb-05 5:51
mveDave Kreskowiak13-Feb-05 5:51 
GeneralRe: can i get vs.net 2005 Pin
jonathan1514-Feb-05 0:15
jonathan1514-Feb-05 0:15 
GeneralRe: can i get vs.net 2005 Pin
DavidMLevine21-Feb-05 7:55
DavidMLevine21-Feb-05 7:55 
Generalto crystal report in vb.net Pin
mak_chill11-Feb-05 18:26
mak_chill11-Feb-05 18:26 
GeneralDisplay found result on static HTML or excel Pin
Mekong River11-Feb-05 14:46
Mekong River11-Feb-05 14:46 
Generalcalling OleCreatePictureIndirect from VB.NET Pin
LLINF11-Feb-05 14:28
LLINF11-Feb-05 14:28 
GeneralRe: calling OleCreatePictureIndirect from VB.NET Pin
Dave Kreskowiak14-Feb-05 4:47
mveDave Kreskowiak14-Feb-05 4:47 
GeneralHashTable Question Pin
viettho11-Feb-05 8:14
viettho11-Feb-05 8:14 
GeneralRe: HashTable Question Pin
Dave Kreskowiak14-Feb-05 4:39
mveDave Kreskowiak14-Feb-05 4:39 
GeneralAdding ActiveX to Module Pin
Jorgeusa11-Feb-05 7:29
Jorgeusa11-Feb-05 7:29 
GeneralRe: Adding ActiveX to Module Pin
Dave Kreskowiak14-Feb-05 4:35
mveDave Kreskowiak14-Feb-05 4:35 
General.Net Framework Pin
Anonymous11-Feb-05 6:11
Anonymous11-Feb-05 6:11 
GeneralRe: .Net Framework Pin
Dave Kreskowiak11-Feb-05 6:24
mveDave Kreskowiak11-Feb-05 6:24 

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.