Visual Basics Code

  • bluedragon
  • Proficient
  • Proficient
  • bluedragon
  • Posts: 452

Post 3+ Months Ago

I made a program that installed this other program I made but whats the code to automatically restart after the installation is complete?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Lieven
  • Beginner
  • Beginner
  • User avatar
  • Posts: 57
  • Loc: Belgium

Post 3+ Months Ago

You have to call the Windows API Function ExitWindowsEx...

Good example code can be found at
http://www.pbdr.com/vbtips/api/RestrtWn.htm


btw: Google is your friend
  • rjstephens
  • Professor
  • Professor
  • User avatar
  • Posts: 774
  • Loc: Brisbane, Australia

Post 3+ Months Ago

i would recommend avoiding creating your own installer, in any programming language, but especially VB. try inno setup ( http;//jrsoftware.org ) or nullsoft install system ( http://nsis.sourceforge.net )

Make sure you get all the runtime DLLs. DO NOT pull them from your system folders, though. This is a VERY BAD IDEA.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 62 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.