Restart Services Using Http?
Feb 24, 2009Is it possible to create a webform that can restart the windows services of an IIS server?
View 4 RepliesIs it possible to create a webform that can restart the windows services of an IIS server?
View 4 RepliesAnyone know anymore .DLL Files that are like this?
HTTP client component for communicating with HTTP servers. [URL]
Im looking for something that acts like Web Browser Control But it is not. It should be like HttpWebRequest Class But handle the stuff properly like a Web Browser Control Does.
So i found Chilkat HTTP .NET
I have the following column values in my table Sample values:
[URL]
I want to have 2 variables having the links and content separate - example:
[URL]
I guess it can be done via String functions or regular expression.
What is ado.net synchronization services and how to use these services
View 1 RepliesIm trying to create a software which can post into yahoogroups.I've done trying to log in yahoomail but my problem is when I am going to post in yahoogroups, I am turning back in to yahoo log in page.
Here's my code so far:
Quote:
Imports System.IO
Imports System.Net
Imports System.Text
[code]....
How can i restart the a frm?
View 4 RepliesIf 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 RepliesThis is what i have so far, but i just wanted to how to execute this on a remote pc.[code]
View 5 RepliesI'm new to VB.NET and trying to write a program that prompts the user for a server name and then restarts the IIS on that machine. [code]
View 1 RepliesMy applicaiton has several forms with textboxes. I need to make Save settings button and Load settings button. I have module that stores a lot of variables. Saving these variables was easy. Now i want to load these settings. In each form_load event is written code, which fill textboxes with variables from module file, also some forms create databases which are defined in module file..
View 2 RepliesIs 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 RepliesAm having a problem with session id. I wanna know if it is possible to restart the session id with vb.net... lets say...enter a web application and my
[Code]...
Is there a way to restart a windows application written in dot net using dot net code
I mean the application should exit and restart itself, on click of a button
I am making a program that takes a time input from the user or a countdown amount and when that time comes it will shutdown or restart or log off the computer. I know how to make the timing code and everything else but i don't know how to shutdown or restart or log off.
View 1 RepliesPublic Function RsReDir()
'function to restart dns redirector - working as of 12-11-08'
Dim plist As Process() = Process.GetProcesses()
[code].....
Public Function RsReDir() 'function to restart dns redirector - working as of 12-11-08'
Dim plist As Process() = Process.GetProcesses() 'Get and parse list of processes to plist'
For Each p As Process In plist 'parse each entry in plist as p process'
Try
If p.MainModule.ModuleName.ToLower() = "dnsredir.exe" Then p.Kill() 'If module name of process matches "dnsredir.exe" then kill p'
Catch
[code]....
i would like to kill and restart dnsredir.exe file but the code doesnt' seem to work?
I dont know use application.restart() in vb.net i dont found this command
View 2 RepliesI have a database with a simple table (userid, username). The userid field is int and autoincrement is set to true. When I add 2 records to the table, the user id will be 1, 2.
View 5 RepliesIs this the way to restart bw after timer has counted down?
Timer1.Interval = 30000 '30sec
Dim timercountdown As Double = Timer1.Interval / 1000
ToolStripStatusLabel2.Text = Nothing[code]....
I would like to know if it's possible to stop | start | restart service as a User with a vb program?
The reason is that for some reason, I have to restart some service for a special application on certain station but the people who use them are log on as Admin and I can't go there each time or use vnc.
How do I restart an installed SQL Server service? I've used that code for this, but it didn't worked. I think it won't find the exact service name. So it doesn't work.
[Code]...
I'm trying to restart Word from within vba code.I've written code to change the startup path and want to restart to take effect.I do this by:
Call Shell (Application.Path & Application.PathSeparator & "WINWORD.EXE")
Application.Quit
this seems to work.my questions are:Is this save?Is there a way to extract the executable name from the Application object? so I don't have to rely on the name being "winword.exe" Application.Name gives me "Microsoft Word", not the exe name.
I'm using my.settings to store different communication parameters. After changing parameters, for several reasons, it's easier to restart the application then to re-initialize all objects/variables/etc using program code.
When I change my.settings and use save to save them. When I quit the application and manually start it again, the newly saved settings are used.
When I use either .restart, or application.exit in combination with process.start. The application will use the old values for my.settings.
If I read up on .restart there's a remark mentioning that it will restart the application using the initially used settings.
Before restarting the application, I manually checked if the new settings were really save to the user.config file, and they were.
My question: Is there a way to restart the application using either .restart, or application.exit in combination with process.start which will use the newly saved my.settings values?
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.
I'm trying to have my web browser simulate the reloading of the webpage without having to refresh the page. For example, if a user loads a web page, then they lose internet connection and they want to refresh the page they could just click a button to reload all the contents of the webpage including scripts to their original settings.
View 2 RepliesAlright, I've successfully deployed AppFabric, and everything was working nicely until we started getting an intermittent exception on the website[code]...
At first I suspected the server was running low on memory (throttled state), but I eventually concluded that wasn't the issue. In the event-log, I found DistributedCacheService.exe crashed every now and then, and it led me to a simple method of re-producing the error on my local development environment[code]...
Is there a VB.NET code that I can use to make the computer sleep, restart, logoff, and maybe switch user too?
View 3 RepliesIs it possible to restart your application with a button press?
View 1 RepliesI 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 RepliesI want to display a prompt to the user as such: "Program requires Administrator privileges to continue, click OK to restart the program with administrator privileges". The question is how can I restart my program so that it asks for them?
View 7 Replies