Create A Remote Runspace In Program?
Jan 28, 2010How do I create a remote runspace in vb.net? I want to run a powershell script (actual script is created in my code in a txtbox object) on a remote windows server.[code]...
View 5 RepliesHow do I create a remote runspace in vb.net? I want to run a powershell script (actual script is created in my code in a txtbox object) on a remote windows server.[code]...
View 5 Repliesis it possible to create application for my mobile phone Sony Ericsson to remote control my program using Bluetooth connection which have simple functions?I have came across one program that is able to do that which is floAt's Mobile Agent. It can control from media player, powerpoint slides and even mouse cursor movement.
View 10 RepliesHow would i create a remote control device so i could access any pc with this software and view there screens, share files, etc.
View 2 RepliesI am trying to find the way to create RDP session on remote computer using VB and net framework.
Because my company is using RDP(not a console session), some processes that have window that is to show logs and event must be executed on the screen.
However there is a lot of computers, I have to find some solution that is to execute remotely.
The problems that I encounter are as below.
1. if there is no session(in case of restarted) - I have to create session.
2. if there is session - I have to get appropriate sessionID
3. Remote execution - to execute remotely on the session.
I'm using System.Management to start a process on a remote target via WMI like this:
InputParameters("CommandLine") = "executable here"
OutputParameters = ManagementClass.InvokeMethod("Create", InputParameters, Nothing)
This kicks off the process and my code continues to run, but I need a way of monitoring that process and not doing anything else until it finishes. Is there a simple solution? I'm hoping there's something similar to Process.WaitForExit like there is when creating a local process.
I need to create a folder on a remote machine (The machine name and UNC path are stored in an Access 2007 database. Once the folder is created, I need to share it out with Everyone:Full Control Permissions?
View 3 RepliesI need to create a application that will allow me to connect to remote computers and find out the os like w2k or xp so i can run the right scripts for that os.be able to input add an ip or computer name and pass it all scripts like bat, vba and psexec.
I would like to be able to put all util files and scripts in a single dir and have the selected from 2 or 3 differant dropboxs ie... bat's in one droplist and vba's in an other dropbox ect...
have preselected buttons to perform basic function:
1. who is logged on
2. what OS and service pack info
3. connect with netmeeting or remote desk top
4. run a remote command on remote desktop IE.. open with my user account a CMD, Control Panel, Explorer, Explore Network Connections.
have the app ping the pc first to verify connectivity, then execute the script or bat.
I'm using ReportExecutionService to create file on a different server on the network. The application does the required job if I run it locally, but fails to create file when I publish it. The error I get is- Access to the path '\servernameapth..xyz' is denied. The folder has full access to Domain users. Here is my code to create a report file on a different server via an ASP.net app.
[Code]...
I was wondering can I make a program that I can send to other computer so i can access their screen. is this something that can be done in visual basic? i ask how to do this because Verizon did this to me the other day i saw him moving the mouse around and checking the connection but of course i had to accept this and it showed me a thing saying he was off when he was done.
View 1 RepliesI don't understand how I can get this to work!!!
Dim co As ConnectionOptions = New ConnectionOptions()
co.Username = "username"
co.Password = "password"
[Code]....
Is it possible to create a folder on a remote machine that has no previously shared folders? I can do this...
vb
Dim fname As String = "\10.1.x.yDocumentsMyFolderName"
IO.Directory.CreateDirectory(fname)
[code].....
I am making a remote shutdown program. Here is the code for the local program that will be checking to see if there is a shutdown:
Imports System.Net
Public Class Form1
Public WithEvents Downlad_Message As WebClient[code]....
creating remote desktop connection in vb.net using Microsoft Terminal Services(msrdp.ocs). The main objective is to remote monitor clients without interrupting them or knowing they are monitored.
View 5 Repliesi'm developing a program that must be able to create, delete and edit files or folders on a remote web address such as [URL]
View 2 RepliesI've developed a simple program and in it I 'copy-pasted' some code which makes a copy of the program executable in a particular path (docs folder) and sets registry to start the executable in windows start-up only.. Everything is working absolutely fine in my PC. But when I sent the exe to my friend's PC. Then the antivirus in her PC detected it as a trojan!
[Code]....
Lately, ive been using winsock quite a lot. I made a chat application, and now i want to make a remote desktop program. I dont want a half asses one, where u can press buttons that send info to the server, but i want to have a client server relationship where you see the screen, have control to the keyboard, and the mouse. Any tips on how i can go about this?
View 1 RepliesConnection between program and an remote SQL server. most of the hits were on VB6 and as you might see in the title I use VB.NET 2008, so let's begin:
[Code]...
I would to create an application that will allow me to monitoring in real-time the screen on a remote computer, I dont want to keylog, or control mouse,ot keyboard, just watch what they do at real-time.
View 6 RepliesI think it should be something related with "Local Security Policy".
View 1 RepliesI'm looking to write a custom program in VB.NET / C++ / C# that would allow me to monitor a system's vitals over a Remote Desktop Connection. I'm only looking for tips on how to implement a connection like this in code (eg. is it just a simple object or call to a WScript function? or is it much more sophisticated?). As to the specifics of operation after making the connection, I have that figured out based on another program which shares some similar features. This doesn't have to go through an RDP connection, I'm definitely looking for better ways. Reason I mention RDP is because I currently do this manually over an RDP connection, but I don't wanna have to constantly open the window.
View 1 RepliesInserting remote image onto windows form in vb.net?
View 1 RepliesI am tasked to write a new program to remote into our tech support computers to help them out while they are trying to remote into their computers to see what is up if they are having problems. I was asked to be able to not move their mouse if they were in Word, Excel, in an application writing a problem ticket,
View 1 RepliesI'm trying to execute a program on a remote machine using this code
Dim objProcess As New System.Diagnostics.Process
objProcess.StartInfo.FileName = "cmd.exe"
objProcess.StartInfo.Arguments = " /c PSExec /accepteula \NTAPPMTMIGL01 -u $AdminUsrLocal -p tjdsi44 c:winntMicrosoft.NETFrameworkv2.0.50727gacutil.exe"
[code]....
If I use it, it works since I'm an admin but if someone else use it, I got "The system cannot find the file specified."Is there any other program I can use that can impersonate, I've already tried xcmd.exe but it doesm't work either.
I am trying to make a vb.net program which will perform WMI queries to check for remote computer's name and OS. I manage to do the first query of name using the code below..
[Code]...
I am getting error "Local variable 'query' is already declared in the current block. (BC30288)".I understand that I am using same name for the object variable for performing subsequent query. Is there a way in which I can dispose the variable completely and reuse it again for querying the new required WMI detail? My search in the net couldn't give me any clue as of how to clear the variable and use it again. The issue is with two variables "query" and "searcher". Is it only possible that I should give unique names to each query object variable as I might add more queries later on?
I have created a program that allows me to remotely access computers on my network (not all done by me i found some code online) however i want to modify that program to allow me to connect to computers not on my network. How can i go about doing this? My program consists of a client and a server. When the server runs it listens for the client on the client side i enter the IP address and it connects so i can send remote commands to the remote system.
View 4 RepliesI am using VB 2008 Express and have created an application that connects to a SQL database to populate a datagrid.The application is working properly on my computer but will not on others 'remote connection permissions' error.After some googleing I found that the express version is crippled to only work on local machines that use a database.If I purchase Visual Studio 2008 Standard Edition, import and rebuild my application, will my application be able to run properly on other PC's?
View 7 RepliesI have a windows app in vb.net , i am trying to read a xml file from my server(url...).I am able to read abc.xml . now i have a requirement to show abc.xml in a rich text box in vb.net and then i have to show node and its value in combobox. I am able to do this with a directory(suppose that file is in C:/abc.xml)[code]...
View 1 RepliesI'm developing a remote control program that uses a mysql database as the bound beetween the server and the client.The only problem is that cause of mysql being really varnuable to crashes i made it in a way that it checks for information every 10 seconds so things doesnt get messy. [code] For some reason after 10 seconds the connection is mysteriously aborted and the reader gives a fatal error.How can i extend the time limit to >10 seconds ?
View 3 RepliesFirstly, I have the utmost respect for programmers & IT professionals. I'm a newby/wanna-be. I'm looking for help on developing a small program/script that helps me with the task I have detailed below. I am NOT submitting this as homework. This is work-related, but I'm NOT asking you to do my job. I'm taking this as an opportunity to learn more about programming by doing a task that I need done. I'm very interested in core concepts, steps, and your advice on how best to tackle this task (which tools, language, etc.)
[Code]...
Rather than use an Entry name of an existing VPN connection, is it possible to connect to a remote network by creating a temporary connection on the fly by using the remote IP/Host name, username and password?
View 6 Replies