Hi im currently creating a program and for it to work I need it to reboot after the user clicks Yes but I dont know what the code would be to make it reboot the machice.
Im using Microsoft Visual C++ 2005 Express Edition.
Please give me the code or a direct link not a whole website.
How to make it reboot the machine?
why not just make life easier and prompt the user to manually restart there computer for the changes to take effect.
I find it damned annoying as a software user if a program automatically reboots my system.
you willl endf up with happier end users and your life in coding a little easier, and may be more sales from word of mouth if done correctly.
Reply:You can use the following statement:
WinExec ("RUNDLL32.EXE shell32,SHExitWindowsEx 2", SW_SHOWNORMAL);
Thanks,
Gabriel Topala
http://www.gtopala.com
Thursday, July 30, 2009
Windows vista/laptop question?
i just bought a new laptop and i am in the process of deleting things that i know i don't need, but the stupid salespeople put on anyway (i.e. dvd burners.. there are like 3 of them on here!)..
however i was hoping someone could tell me what this is:
"microsoft visual C++ 2005 redistributable"
i want to delete it because its taking up like 600 mb but i dont want it to be something important.. HELP!!
Windows vista/laptop question?
Hi there
Luckily i was one of the beta testers for XP / Vista, so can answer your question honestly. You can uninstal Visual C++ 2005 as its only need if programming. Its not a required item, just takes a lot of space. I also use a Vista laptop and its not installed, so it is not required.
I work in Internet tech support too and deal with wireless internet, so feel free to ask me any questions at all. Feel free to add me to Yahoo.
Rodney
Reply:do not delete
it will crash all your software
Reply:Visual C++ is just a programmer tool...for programming geeks like myself...you dont need it, so you can safely delete it, but if it makes you feel better...set up a system restore point before you do it....
Reply:It's used by programs that need C++ libraries to function. I would leave it if I were you. Also, it's not generally computer salespeople that put software on the laptops, it's generally the manufacturers.
Reply:It's probably there for a reason, just leave it. 600MB isn't that big if you have a brand new laptop.
Reply:You should be able to delete the program with no problem at all...it is just a program for computer geeks to make tweaks in the system..Also 600 MB is not that much space...it is very small...what do you think is bigger...1 GB or 600 MB...1 GB..and there is 1024 MB in one GB..so you should be fine if you dont delete it...I got some games that are 3000 MB which is 3 GB...and I have a 100 GB HD and my laptop works just fine and it doesnt have vista on it..you should be fine...RAM is what you need..if you are worried about speed problems
dogwood
however i was hoping someone could tell me what this is:
"microsoft visual C++ 2005 redistributable"
i want to delete it because its taking up like 600 mb but i dont want it to be something important.. HELP!!
Windows vista/laptop question?
Hi there
Luckily i was one of the beta testers for XP / Vista, so can answer your question honestly. You can uninstal Visual C++ 2005 as its only need if programming. Its not a required item, just takes a lot of space. I also use a Vista laptop and its not installed, so it is not required.
I work in Internet tech support too and deal with wireless internet, so feel free to ask me any questions at all. Feel free to add me to Yahoo.
Rodney
Reply:do not delete
it will crash all your software
Reply:Visual C++ is just a programmer tool...for programming geeks like myself...you dont need it, so you can safely delete it, but if it makes you feel better...set up a system restore point before you do it....
Reply:It's used by programs that need C++ libraries to function. I would leave it if I were you. Also, it's not generally computer salespeople that put software on the laptops, it's generally the manufacturers.
Reply:It's probably there for a reason, just leave it. 600MB isn't that big if you have a brand new laptop.
Reply:You should be able to delete the program with no problem at all...it is just a program for computer geeks to make tweaks in the system..Also 600 MB is not that much space...it is very small...what do you think is bigger...1 GB or 600 MB...1 GB..and there is 1024 MB in one GB..so you should be fine if you dont delete it...I got some games that are 3000 MB which is 3 GB...and I have a 100 GB HD and my laptop works just fine and it doesnt have vista on it..you should be fine...RAM is what you need..if you are worried about speed problems
dogwood
What are/Do I need these programs?
I'm going through my control panel add/remove programs so I can make some room on my computer, and I don't know what all the programs are so here are some I don't know, just tell me what they are and if I need them on my computer, thanks. Oh also what are other ways to get more room on my computer?
1. Adobe Flash Player 9 ActiveX
2. Adobe Reader 8
3. Conexant HD Audio
4. DivX Codec
5. DivX Content Uploader
6. DivX Convertor
7. DivX Player
8. DivX Web Player
9. ESU for Microsoft Vista
10. HP Customer Experience Enhancments
11. HP Easy Setup FrontEnd
12. HP Photosmart Essential 2.0
13. HP QuickPlay 3.2
14. HP Total Care Advisor
15. Microsoft .NET Framework 1.1
16. Microsoft Visual C++ 2005 Redistibutable (2 of this one)
17. MSCU for Microsoft Vista
Also do documents take up room on my computer? and how much room? Because I could go through old ones.
* And if I uninstal Microsoft Works when I have OpenBook will I not be able to open my documents
What are/Do I need these programs?
The adobe you need for opening pdf's. The Divx you need for dvd playback and recording. Most of the HP ones you can get rid of, but you might need them later. I am not sure what the others are. Documents do take up room, but not very much. I don't know about the openbook question but if it opens documents, you can probably uninstall works and use it instead. The adobe flash player is used for playing some games and is required for some websites.
To free up room, you can do disk cleanup and defragment. Videos and pictures take up the most room and audio files take up a lot of room.
Reply:9 15 16 and 17 are essential for windows. 4 i would keep 5-8 are pretty much just another media player not needed. 3 is your audio. 10-14 are junk. 1 and 2 are worth keep many documents use adobe. documents are data so yes they take up room amount depends on how much info and type.
1. Adobe Flash Player 9 ActiveX
2. Adobe Reader 8
3. Conexant HD Audio
4. DivX Codec
5. DivX Content Uploader
6. DivX Convertor
7. DivX Player
8. DivX Web Player
9. ESU for Microsoft Vista
10. HP Customer Experience Enhancments
11. HP Easy Setup FrontEnd
12. HP Photosmart Essential 2.0
13. HP QuickPlay 3.2
14. HP Total Care Advisor
15. Microsoft .NET Framework 1.1
16. Microsoft Visual C++ 2005 Redistibutable (2 of this one)
17. MSCU for Microsoft Vista
Also do documents take up room on my computer? and how much room? Because I could go through old ones.
* And if I uninstal Microsoft Works when I have OpenBook will I not be able to open my documents
What are/Do I need these programs?
The adobe you need for opening pdf's. The Divx you need for dvd playback and recording. Most of the HP ones you can get rid of, but you might need them later. I am not sure what the others are. Documents do take up room, but not very much. I don't know about the openbook question but if it opens documents, you can probably uninstall works and use it instead. The adobe flash player is used for playing some games and is required for some websites.
To free up room, you can do disk cleanup and defragment. Videos and pictures take up the most room and audio files take up a lot of room.
Reply:9 15 16 and 17 are essential for windows. 4 i would keep 5-8 are pretty much just another media player not needed. 3 is your audio. 10-14 are junk. 1 and 2 are worth keep many documents use adobe. documents are data so yes they take up room amount depends on how much info and type.
How can i generate random labels with a FOR loop?
How can i generate label controls in Visual C++ 2005 over a Form with a FOR loop? I have an matrix table M[i][j] (i, j to n, with random n) that i want to show over that Windows Form. Thanks!
How can i generate random labels with a FOR loop?
Hello.
I don't know the code with visual c++, instead I'll tell you how to do that in vb.net but the concept is the same.
For i as integer = 0 to 10
dim myLabel as new Label
myLabel.Text = "Whatever"
myLabel.Name = "myLabelName" %26amp; i
myTable.Rows.Add(myLabel)
Next
Hope this helps,
Regards.
Wassim.
How can i generate random labels with a FOR loop?
Hello.
I don't know the code with visual c++, instead I'll tell you how to do that in vb.net but the concept is the same.
For i as integer = 0 to 10
dim myLabel as new Label
myLabel.Text = "Whatever"
myLabel.Name = "myLabelName" %26amp; i
myTable.Rows.Add(myLabel)
Next
Hope this helps,
Regards.
Wassim.
Problem with Microsoft Visual Studio 2005. I'm not able to get all of the languages that I paid for. Help!
I need to know how to get all of the languages in this suite to function? They are C#, C++, VisualBasic, J# and the SQL database. The only one that I could ever use was C++. I was told by Microsoft that the .Net 2.0 framework is crippled, and they can't repair or replace the suite of software. Now that I'm out of all that money what can I do?
Problem with Microsoft Visual Studio 2005. I'm not able to get all of the languages that I paid for. Help!
Are you making this up? Seriously, if you paid for VS 2005 (or if you had the money to pay for it), you would have to know how to click on file-%26gt;new project or solution or whatever it's called, and browse the list on the left hand side.
And what's this about Microsoft telling you 2.0 is crippled?
Problem with Microsoft Visual Studio 2005. I'm not able to get all of the languages that I paid for. Help!
Are you making this up? Seriously, if you paid for VS 2005 (or if you had the money to pay for it), you would have to know how to click on file-%26gt;new project or solution or whatever it's called, and browse the list on the left hand side.
And what's this about Microsoft telling you 2.0 is crippled?
How do I make it into a exe?
In Microsoft Visual C++ 2005 Express Edition how do I make my project into a .exe file that I can use?
How do I make it into a exe?
Compile your program and make sure it compiles fine.
Click on Build-%26gt;Publish from your Menu Item.
OR
when you compile your program, and you go inside the debug folder of your project you will also find a .exe file there of your program.
Reply:http://www.techtutorials.net/
http://www.good-tutorials.com/
http://www.digitaljuice.com/
http://www.tutorialkit.com/
http://www.codestyles.com/
http://www.sitecube.com/website/promo_bw...
Reply:Tutorials are free on this subject from Microsoft.
Reply:on the menu bar there is an item labeled "Build". Click there and select "Build Solution" .... or just press F7.
Reply:sharpen two sides of it and mount it on a wooden handle......sorry ...i thought you said an axe......
redbud
How do I make it into a exe?
Compile your program and make sure it compiles fine.
Click on Build-%26gt;Publish from your Menu Item.
OR
when you compile your program, and you go inside the debug folder of your project you will also find a .exe file there of your program.
Reply:http://www.techtutorials.net/
http://www.good-tutorials.com/
http://www.digitaljuice.com/
http://www.tutorialkit.com/
http://www.codestyles.com/
http://www.sitecube.com/website/promo_bw...
Reply:Tutorials are free on this subject from Microsoft.
Reply:on the menu bar there is an item labeled "Build". Click there and select "Build Solution" .... or just press F7.
Reply:sharpen two sides of it and mount it on a wooden handle......sorry ...i thought you said an axe......
redbud
A really really prompt answer is needed here?
Is XNA and Direct X the same, or do I need both for constructing a game with Visual C# 2005 Express Edition?
A really really prompt answer is needed here?
XNA is a toolset which probably can make use of DirectX, but no, they aren't the same thing. XNA uses .NET 2.0, but that doesn't mean you'll absolutely need DirectX.
A really really prompt answer is needed here?
XNA is a toolset which probably can make use of DirectX, but no, they aren't the same thing. XNA uses .NET 2.0, but that doesn't mean you'll absolutely need DirectX.
Subscribe to:
Posts (Atom)