Run A .bat File Remotely?
Oct 19, 2009I need to run a .bat file on a remote machine and return the result to the local machine. How would I go about doing this?
View 4 RepliesI need to run a .bat file on a remote machine and return the result to the local machine. How would I go about doing this?
View 4 RepliesI have written a conversion (vb6) tool that migrates data (SQL 2008) from one database to another and I make some temporary files (.bak files)I would like to delete after the conversion finishes. The application will not be running on the SQL Server so I need to remotely delete the files. Is there a way to delete a file remotely without having to use an administrative share or the xcmd in SQL Server?
View 2 RepliesI have an MSI that installs silently and I need to install it on remote machines via a VB.NET app. I would rather not use WMI so is there a builtin mechanism to do this?
View 5 RepliesI have a program called "Blue Coat K9 Web Protection" installed on all of the computers, which filter unwanted content on the internet. My problem is that every-time one of the children wish to access a website that has been unintentionally blocked, I have to enter my password to bypass the filter for that page, which can get quite annoying having to run around the house. To access the AdminCP, you have to enter an IP address in the browser on the local machine (127.0.0.1:2372)so you can change the settings.I wish to create a program that will allow me to remotely access the Admin page to unblock any sites needed from my computer.
View 1 RepliesIm using vb.net and developed a project of payroll processing i need to access this project from another system which is connected via LAN by which everyone can use it, but i cant get it this is my connection string which im using .
Public con As New OleDbConnection("Provider=203.94.227.70;Data Source=path\pay.mdb")
I have a VPN server Hosted in 80.234.49.64
For Incoming Connections I have to Login Remotely(RDP) & add User Manualy(username & password)
I Just want to do it remotely(adding users for incoming connection) Through an application. which i want to write in vb.net
How to connect to MS SQL Server 2008 remotely? I have the following code but I can only connect to the server under the local machine network.
[Code]...
I need to connect to AS/400 remotely from VB.net I have this code but I keep getting this error "The 'IBMDA400' provider is not registered on the local machine" on the open statement
Dim conString As String = "Provider=IBMDA400;Data source=62.176.136.104;User Id=xxxxxxx;Password=*****"
Dim con As OleDbConnection = New OleDbConnection(conString)
Dim cmd As OleDbCommand = New OleDbCommand("Select * From Cust", con)
con.Open()
How do I get around this?
I'm working on an app that will allow connection to the sql server database from within the lan or from the internet.
I would like to know how it is possible to detect if a user is connecting via the internent instead of locally.
Any way to remotely login to a computer? This is very useful for computer labs. I know how to shutdown, restart, logoff, and lock a remote computer however I dont know how to remotely log one in.
View 9 RepliesI am working this little project where i need to ping some servers remotely. there's three of them. I need o ping them and per say while they're being pinged to have a command window open with the pinging process going to keep an eye untill it can ping successfully.And since this is for all three servers how do i create a program where it will have all three servers being pinged? [code]
View 6 RepliesIs possible for vb.net to create an oledbconnection based on a url?
We have a program that uses ms access as the back end database, which is stored on a local server. The issue we are having is that our office is split in two locations. The remote users are having unacceptable speed issues since they have to communicate over the vpn. Im trying to find a way to either place the database somewhere that is quickly accessable to both offices, or to create a copy of the database on the remote server and somehow sync the two databases periodically.
I started learning programming using VB.NET a few months ago, so I'm still like a total noob at this, and I'm not experienced enough with the Microsoft Visual Basic Library to get my answer. I have done some Google searches, and still haven't found any relevant answers.
Okay, suppose I want make a VB.NET desktop app. that displays the number "1" in a textbox when a button is pressed... I can easily make that program, but what if I want the program to, on my remote command, display the number "2" instead when the button is pressed?
Is it possible to write code that reads gmail messages? I know that gmail is pretty open about it's SMTP and POP ports and stuff.[code]...
I need some advise as to which options I have to go about this problem.I want to to create a simple application consisting of two text boxes.One for username Second for Password And then a submit button.What I want is when I enter user/pass and press submit.It should only give me a single message "Login Succeeded" or "Login Failed". The forum I trying to login into is : warez-bb.org What are my options to go about this?? I have considered Sockets but thats in VB6.Still,I couldnt get it to work.It doesnt even connect warez-bb on port 80.
View 2 RepliesUsually, when I reset the IIS of a remote server, I have to use "Remote Desktop Connection", log in, and go to DOS , and type "iisreset". Now I'm wondering is it possible to do the exact same thing without using "Remote Desktop Connection" application? Could this be done programmitically and remotely (because the program will not be running on the actual server)? Of course, I'll be providing the username and password within the program.
View 2 RepliesI want to set the color of a text box remotely. I have this code but its not working.
Dim coloroftext = "black"
tb.ForeColor = "color." + coloroftext
I've taken MS 4994A (Intro to VB.net), and am studying for 4995A (Advanced Intro to VB.net)Previous experience with VB6 and C++ tells me that the way to do it would be to create a program that will accept a list of computer names and check the registry one-by-one (I'm open to suggestions, though, of course). If it finds the program we're wanting to remove, it will remove it, then automagically install .net 2.0 and the .net version of the programs that were just removed.
View 1 RepliesI have a VPN server Hosted in 80.234.49.64 For Incoming Connections I have to Login Remotely(RDP) & add User Manualy(username & password)I Just want to do it remotely(adding users for incoming connection) Through an application........which i want to write in vb.net?
View 8 RepliesI have an application in visual basic .net 2008 that allows us to configure our application on different servers, as part of this I need the ability to start/stop windows services on remote machines from the application.I am currently using the following code
[code]...
I tried to access xp to vista system manually, its working,but programatically how to do itike,by selecting view workgroup computers in network tasks and click one computer in workgroup computers.it shows connect to "system name" window, contains username and passwordif i enter username and password.the seleted computer will able to access in registry otherwise i can't able to access that selected system.
View 1 RepliesI'm developing an application that needs to Map a network drive for a domain user logged into a domain PC from a remote location. I have tried numerous different things with different levels of success but none with the required functionality. - First, I used WMI to create a process that would run Net Use with no luck: Net Use would ask for a user name and password to connect to the share instead of using the User's credentials.- Second I generated a script (wshNetwork) that would be copied to the remote PC and used WMI to once again create a process that would run wscript in command prompt to execute the copied script.
The script would run successfully (as evident by code placed to fill in a text file when the script completed) but the network drive was not added.- Third I created a program that would be copied to the user's PC which would map the drive using Windows Network API. Again, I used WMI to execute the program as a proccess with the results the same as the script. The application would run successfully but the drive was not added.- Fourth, I edited the user's registry to add the drive. This worked, however the mapped drive was not usable through Windows Explorer without a reboot.
Unfortunately, one of the requirements of the application is to avoid rebooting the remote PC.I have arguably had the greatest success with the following:- I used WMI to generate a scheduled task on the remote PC that would run a script (wshNetwork), an application (Win API) or the Net Use command to map the drive. All resulted in the drive being properly mapped and visable through windows explorer with the files accessable. However, the new map would be labeled "Disconnected Network Drive" and the drive could not be removed (error: network connection could not be found) and the driver letter could not be used without rebooting the system. Anyone have any suggestions on how I can do this? Unfortunately I can't use wshController to run a remote script because a majority of the PCs on the domain are not configured to use it.
I am trying to remotely connect to servers on a network. However, an exception occurs and I can never connect. The code I am using to connect to the servers does work because I have had someone else test it. The exception is shown below. Is this a setting with VB or with my computer?
System.Runtime.InteropServices.COMException was caught
ErrorCode=-2147220308
HelpLink="C:Program FilesPIPCPISDK..Helppisdk.chm"
Message="The specified time is invalid "
[code]....
I'm designing dekstop application with client server architecture with vb.net with mysql database. My question is how do i remotely kill/close my other application? for example two user are logged to the system, user a want to kick the user b out of the system. Kick/close the GUI and the app not just the connection.
View 9 Replieshow i could remotly make one and make it so i can rezise and move it?
View 3 RepliesIs it possible to send DOS commands, using VB 2008, from one server to another server on the network? Perhaps using the process class?
View 1 Repliesam developing a project in college and i am wondering to capture a screenshot that continuously update so
View 11 RepliesI have a server and a client working with sockets. I run the server at my laptop, sending its internal IP to my Hotmail account and I run my client at my desktop. I enter the internal IP and connect fine! But when I tried to connect with my cousin's PC, which is not in my network, I entered its external IP and the client couldn't connect.
Here is the code for the Server (consists of 2 forms):
Form 1 (Server):
Imports System.Net
Imports System.Net.Sockets
Imports System.IO
Imports Microsoft.Win32
Imports System.Net.Mail
[Code] .....
I'm running a VB.NET application 24 hours a day on a dedicated machine. I'd like to be able to receive status updates and also control/debug the application remotely (i.e. from another computer via the internet).It would be an advantage if the communication was lightweight (in terms of bytes sent and received) so I can control the thing without needing a fast internet connection. Also, I'm running the application from within the IDE at the moment because there are some unhandled exceptions and it's easier to debug this way. It would be nice if I didn't have to compile it and catch all the errors.What is the easiest way to set something like this up, and what do I need to be aware of in terms of security?
Update:To clarify what input I need to give the application - in theory, none. If all went to plan I'd just set the application off and reading some sort of log would be fine. The problem is that it is unstable (mainly because it calls a web service which is very unstable and returns all sorts of weird things) and therefore seems to need constant input on my part.
It was my thinking that the only way I could do this sort of debugging remotely is by catching every error I could, reading the log, and somehow instructing the application to behave properly in future.
My desktop application is developed in VB.Net and can be run through two types of users, one who install it on their local machine and execute locally.
Second type of users will run the application remotely from the server.i.e. Application will install on the server and user will execute that application from client side. Server can be a Citrix Meta Frame or any server accessed through Remote Desktop Connection. I want to maintain single exe for both types of users.
Is there any mechanism/way through which I can come to know programmatically whether application is running locally or remotely?
I have been searching for a good code example that will place a small server program on my server and then allow me to use a client on my pc that will tell the server program to run a batch file on the server.
I thought this would be simple... I am finding it not that easy.
We have a server that users need to execute a command on however we do not want them to have login rights to the server so this will allow them to execute the batch file without having to log in.