Restart Computer To Mac Partition In VB 2008?
Aug 15, 2011
I have to create this program for school to restart a bootcamped mac back onto mac from windows with an application made in visual basic.So I need my computer to restart which I have successfully completed. Now I just want to find out how to get the application to make my computer restart on the Mac Partition ( E: ).
View 1 Replies
ADVERTISEMENT
Jun 21, 2010
Im writing a program (has been a little while) which will gather files off my computer and make a new partition the right size to store them.I would like this to be automated since it would help if I use it on friends machines.is there a way for me to create a partition from using vb.net and api's etc rather than having to downloading partition manager each time.
View 4 Replies
Jun 8, 2009
If I had a command button and I wanted it to shutdown or restart there computer when they want to.can I just use a simple shell command?
View 2 Replies
Feb 11, 2012
Is there any code I can put in my VB.NET application that restarts someone computer when it runs? No external EXEs or DLLs.
View 3 Replies
Jan 16, 2009
i am looking for a command to shutdown/restart my computer when i press a button. can anyone tell me the code?
View 25 Replies
Dec 24, 2009
I'm trying to create a way for the User of my application to Log Off, Shutdown, or Restart the PC.
The idea is that User can more quickly access these options from my application and if they choose, force these actions instead of waiting for the OS to respond.
Here's how I'm trying to do it:
CODE:
Log Off works just fine. It's shutdown and restart that doesn't work. From the research that I've done, the Consts seem fine and the function obviously works correctly because Log Off works. I am running the application as an administrator, so that should affect it.
View 5 Replies
Mar 31, 2009
Problem:When my computer restarts my mapped drive appears under My Computer. When I try to use it from code I get errors. If I open the mapped drive by double clicking it, and then try the code, it works. What I discovered is that when my computer starts the status, using net use, is
[code]...
View 5 Replies
Feb 21, 2009
Below is my timer code, click the buttons it start and stops.
What I want to do is retreive a elapsed time from a db say 01:40:00
and make the timer start from that value as opposed to starting over again if the application crahes. how to set the saved time and start from that point.
Public Class Form1
Private stopwatch As New Stopwatch
Private Sub counter_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles counter.Tick
[Code]....
View 6 Replies
Dec 21, 2009
How do you share files from one computer to another that are connected in one wireless internet connection? I mean, it's possible using shared folders this means it could be possible in vb.net too..
View 1 Replies
Jan 19, 2011
I use this to delete cookies
System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 2")
works fine I checked the folder myself it deletes all .txt files.
But here Is the problem lets say I log into hotmail, Clicked the button to Clear my cookies. And navigate to log in page again, It will navigate me straight to inbox just as if I have cookies but the folder doesn't have .txt cookies file. just (index.dat). Is this means we must restart the program to this to take effect? (Works if you restart it) If so, how can I turn off webbrowser1 for a sec and turn it back? or something like that just to make sure it takes effect without me reopening the program.
View 9 Replies
Nov 1, 2009
How do i make it so when i close my client the server will restart listening and allow another client to connect.
View 3 Replies
Mar 9, 2011
how you could let you're programme remember which checkboxes were checked the last time and which weren't. So, for example: I've checked two out three checkboxes in my form (form1) at moment x, I closed the programme and reopend it at moment y and the same checkboxes are still checked.. (doesn't care if I have to press a button first..)
View 7 Replies
Nov 30, 2011
I'm coding an application, it gets you some info and then saves in a .txt file like every 10 seconds on a timer. Testing the app, everything goes okay, on "accidental" application exit it goes well doesn't "corrupt" the file that I'm saving. But on "accidental" system restart the file just turns blank. 0kb, nothing in it. I don't get it. Here's my code about the file I'm talking about, it's a simple streamwrite function.
[Code]...
View 20 Replies
Dec 25, 2010
I want to write a source code in vb.net to do following things:
1)To give security to the folder on pen drive.
2)To partion the pen drive.
[Code]...
View 1 Replies
Dec 24, 2010
i want to partition my pen drive using vb.net.i just wanted to know that is it possible to partition pen drives using vb.net.i want this to happen in the way that we can secure one partition using password!
View 3 Replies
Jan 27, 2011
I have some old VBscript code to kill a windows process but am having trouble gettign it working. here is the code
[Code]...
View 6 Replies
Dec 28, 2009
My main form has a timer that monitors idle time in my app: no mouse movements and no clicks.If the idle time reached 3 seconds, in *this example below*, then I want to show frmRestart, which will call the UnloadAllFormsExcept(Me) function from frmMain.When three idle seconds are reached, frmRepeat starts to show on the screen but never does!! I just see the border of the form and nothing else. My mouse goes into "thinking" mode forever.[code]
View 5 Replies
Apr 14, 2012
I'm using my.settings to save the load time of the solution. When my.settings.load_time value is changed and use my.settings.load_time.save() to save them. When I quit the application and manually start it again, the newly saved settings are used.
When I use either application.restart. The application will use the old values for my.settings.
My question is.. Is there a way to restart the application using either application.restart which will use the newly saved my.settings values?
View 7 Replies
Mar 15, 2009
i need to ask about 2 things1st. how i can create ftp drive i mean to add new partition connected to ftp server2nd. why it's to hard to find codes for vb.net any document with all codes and commands list?
View 2 Replies
Feb 11, 2010
I'm looking for some code that will reload a form, so its like a Restart Level button which when clicked will reset the form to its original look.
View 1 Replies
Jun 26, 2010
Is there any way of accessing a file on a partition that has no drive letter (such as a hidden or recovery partition)?
View 1 Replies
Jun 4, 2012
trying to calculate the partitions for 8 portions, and putting in select statement for row number,something like,
If Not (dstotal.Tables(0).Rows(0)("totalrecord") = 0) Then
dPartition = CInt(dstotal.Tables(0).Rows(0)("totalrecord")) / 8
End If
[code]....
View 2 Replies
Feb 2, 2012
I am working on some USB (flash drive) software which i want to make portable and always accessible on USB i know .net is not good for this because much users don't have framework installed but users who use this software have it installed and i just love VB.net :)
So what i want to do is to create a hidden partition on this USB device where software will store some info and itself. The software and data it stores is 6MB so i would also like to know the suggestions from you what size of this hidden partition can and i should make.
But:
how do i read from hidden partition through .net?
(i did never confront with this till now...) how i make hidden partition through .net?
I want this because users i working this for usually format their drives and that way they delete the software too, so hidden folder and encrypting doesn't help me in this.
View 1 Replies
Oct 31, 2011
I am new to VB and playing with a program to display disk info attached to my PC. I have used WIN32_DiskDrive & WIN32_LogicalDisk to gather info regarding volumes, disks and partitions.
What I want to find how is how to relate the Device Index and Partition # back to a volume (ie with a drive letter).
View 2 Replies
Jun 12, 2011
I am not the original author of this software project and the code is poorly documented. I am mainly a Java/C++ developer.The program displays the tree structure and allows files and folder to be selected. The program is getting errors with FileSystemTreeView when trying to return nodes on a system with a reserved partition.Here is what is happening: tree.SelectedNode = tree.Nodes(0) 'returns error with system reserved partition.calling, GetDriveList() will properly return all the drive letters - and not throw an error. Only when trying to get a tree.Node() or tree.load() is the error occurring.
View 3 Replies
Mar 19, 2012
i have a task to create a TCP Server (a program that is listening on its network card interfaces for incoming data stream).I have search on the internet and i found that i can use two methods : Socket or TCPListener class.I have created an example for Socket class, but i wondering how could i test it? I need to check that if another computer in the network send some string data to the listener computer , then this message should be displayed.Here is the example from microsoft that i am using for TCP Server using Socket:
Public Shared Sub Main()
' Data buffer for incoming data.
Dim data = nothingc[code]....
But it does not work because of the PORT setting.If in the TCP Server i have "Dim localEndPoint As New IPEndPoint(ipAddress, 0)" the client crashes, but if i change the port from any (0) to 11000 for example,the client works fine.Do you know why?
Later edit2:Maybe i should have started with this question:Which method is recommended for my scope?asynchronous or synchronous method ?
View 2 Replies
Jan 29, 2009
I am developing a computer application designed to monitor the network and CPU statistics on a computer remotely. The monitored computer would have my program installed and the monitoring computer would display, in a form, the information being sent from the remote client.The application does not send any information regarding packets, user names, passwords, etc. It is solely meant for monitoring CPU performance and Network resources remotely.
What would be the best method to send this information over to my host machine?I am programing in Visual Studio 2008 on windows XP. The client machine is also XP. I know this sounds a little shady, but it is required for my little business (http://www.iquorum.net) to monitor what and when something happens on our machines when I and my employees are away.
View 2 Replies
Jul 11, 2009
I am trying to dial a computer from another computer using Modem for sending files and messge.Follwoing is the code done in dialing computer
Text1.Text = "Test string from App1 "
Number$ = InputBox$("Enter phone number:", "Number$")
If Number$ = "" Then Exit Sub
Temp$ = Status
[code].....
But after the dial tone, i am getting the exception "CTL_E_GETNOTSUPPORTED " at the line MSComm1.Output = Text1.Text?
View 6 Replies
Feb 4, 2011
i have encountered a problem, i want to access the data coming to the computer from the in-built bluetooth module of a computer on windows platform, this data has been sent by a remote bluetooth module say a by an autonomous device (just like a bluetooth mouse connecting to the computer). The to be sent is in the form of numbers and i need these to manipulate on the computer.
View 6 Replies
Jun 12, 2010
I have a desktop computer with a cable connection on the back that allows me to watch TV on the computer using Windows Media Center. I had the idea of writing a program that would access this feed and send it to another computer (laptop) via my network. That way I would be able to watch TV from anywhere that my network spans. I have no idea if this is possible or how I would even do it,
So I have three questions.
1: Is it possible?
2: How would I go about access the feed?
3: How would I send it over the network?
My original thought was doing it in Flash, but I'm not very good at Flash so I wanted to do it in VB.Net.
View 2 Replies