How To Search For A File(text) In Remote Computer
Jul 19, 2009i wanted to search a text file in a remote computer.
View 2 Repliesi wanted to search a text file in a remote computer.
View 2 RepliesI need to copy a file from a local computer to a remote computer on the network, if i try to use File.Copy without logon i get the following error:"Logon failure: unknown user name or bad password."How do I provide user name and password for file copy?
View 2 RepliesI'm trying to develop a windows application where i can get connected to remote server and look for process state going in remote server.We have many remote servers where automatic installation of software going on. We have an xml file(installstatus.xml) where it tells us at what stage the installation is (Example : Inprogress , Completed, Failed.)
So our aim is to develop a windows application where i can get connected to that servers and look for their installation status(may be we can use installstatus.xml to look for installation status). Every time i connect to a server, the server information should get stored in XML file(i want to create a xml file where all the servers list i connect to should get stored)
The UI at left side should will have list of servers i can connect to. When i get connected to server, at right side of UI, i want to display the status of installation (In progress, failed , completed).
I get all Computers name from ldap and I wish to search a file at remote machine and copy it at any desitination. so I have following question1.How can we connect remote machine if they have user name and password?
View 1 RepliesI'm trying to copy a file to a remote computer using the IO.File.Copy method. When I attempt to copy the file, the method throws an UnauthorizedAccessException exception, which is understandable because I am not able to supply logon credentials. My question is: I have the logon credentials (Computer name, username, password) so how can I copy the file to the remote system without resorting to an overkill API call (namely WNetUseConnection)?
View 7 RepliesI use this code to open noatpad on remote computer, but this open just a process without show the noatpad:
strComputer = "computer name"
strCommand = "notepad.exe"
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\" & strComputer & "
ootcimv2")
[code].....
I have a batch file in a remote machine. I also have a vb.net application in some other machine. Now all i need is to execute the batch file of that remote machine from this vb.net application. One thing you must know is that the batch file cannot be executed unless and untill i log in to that remote machine and execute it.So all these while everytime I needed to run the batch file, I had to log in to that remote machine and then execute it.Now I want the same through the VB.net application.
View 1 RepliesI have currently developed an application to hide/unhide files. I used it to delete all hiden viruses, etc. Now I want to develop something else such as File finder, I have done lots of research and my own coding sucked.
All I am wonder, is whether it is possible to get a piece of code that allows you to search your whole computer for a simple item, or search in directories given by you.
I tried to get os version of remote computer using ip address with WMI ,It shows "RPC server unavailable" error.If anybody have solution for getting remote system information without WMI in vbnet,
View 1 RepliesI need to make VB 08 scan for a random file for example "something.txt, .exe ext." how can I make it scan for that something any were on the hard drive? And the I could declare its path in a variable correct? if I am not specific enough I still don't know every thing about VB.
View 2 RepliesI want to find the computer which are connected with my computer via lan connection using vb.net code. actually a have a mini project in network connection setting.
View 1 RepliesWe have an VB.NET VS 2005 application that goes out and connects to remote computers on the network to gather information about the running services, processes, etc.
However, not all of the computers and servers are Windows boxes, and this is causing us some grief.
Is there a way in VB .NET to determine if a computer is running a Windows OS before trying to make a connection to it?
I have a VB.Net application that I wrote and want to run it from a remote computer. It runs fine on both computers but not visible on the remote's screen. The program is in the task bar and can be run or closed remotely. Just can't see the GUI
View 11 Replies2 remote computer by using vb.netcan u tell me some that relate with this ?
View 9 RepliesWhat is the best way to GAC dll on remote computer with Impersonation to an admin account?
View 1 RepliesI am wondering how to copy a file from one remote computer to another remote computer. I assume that I need to supply credentials for the connection, however I can't find anything about how to do that.
I can copy files from one place to another on my local box -I just don't have a clue about the remote stuff.
Is it possible to freeze a remote computer? thru the ip address.
freeze computer meaning temporarily disable the mouse and keyboard of that remote computer
can anybody told me how to lock remote computer using Vb.Net2005
View 3 RepliesI know I can sniff my local network but Is it possible to sniff to remote computer ip from my machine and watch the data its receiving ?
the reason I'm asking this question is because someone successfully upload file to our website server and tried to hack it.
the only way I can think of is that someone sniffing our ftp port and grabs the ftp password when I'm deploying our website to the server.
I can make users to my own computer.....but i don't know how can i do this to a remote computer same way Here is my code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Try
Dim proc As New Process
proc.StartInfo.FileName = "net.exe"
[code]....
1.A User is created in users account(control-panel>users account).......but i want to create only the users account in incoming connection(vpn incoming connection)
2.I want to do it in a remote pc>>for example a pc ,which ip is 113.120.34.54,user: administrator,password: 12345
can i do it same way that i followed to create user in my local PC?
How do I play a WAV file while the computer is reading aloud a text file? It uses Text to Speech synthesis and I need a laughter wav to play when the computer comes across something funny in the line.
View 2 Repliesi'm working in VB.net to create a program that checks the text in a remote text/html file against a local text file, and if the do not match, the program then does something. I keep getting an exception and i can't figure it out.
Here are the details of the exception:[code...]
I'm not at all used to working in VB, and i'm not sure if i did that HTML right either, so that could be the problem.
I'm using asmx web service to lock a folder on remote computer! When I run web service on local machine everything working fine, but when I run it on remote computer nothing happen, folder on remote computer stay unlock! I supose that I need to set security permission for this web service on remote computer, but i don't know where! So, what I need to enable executing this service on remote computer?
View 5 RepliesI am making a client/server project where the server can send a String variable to client but for now i'm starting with a simpler code. I was able to code a bit but now i'm having a problem with this UnauthorizedAccessException. It seems that I am not authenticated but i was able to put the admin username and its password. This is my problem.. Here's my code...
[Code]...
I was thinking will it be possible to get a disk space of a remote and local machine using asp.net 2008?
View 2 RepliesI am trying to set up an "AT" job to export some registry keys on a remote computer, the problem is that DOS command requires a time to run. I want to get the system time of the remote computer so i can schedule it to run 1 minute from the time i send the command.
Is there any way to get the system time of a remote computer with VB.Net code?
Can you use System.Management to get CPU and memory information from a remote computer?
View 4 Replieswas thinking will it be possible to get a disk space of a remote and local machine using asp.net 2008
View 6 RepliesHere is what I am doing: I have several servers that are used to run a piece of software. The software is started using a scheduled task. I can have up to three instances of the software running using three scheduled tasks, and three logged in users. Currently I am using a separate program running on two additional servers to make sure these two additional users are logged in, the scheduled task will not run if the user is not logged in. This separate program uses a saved Remote Desktop Session to make sure the users are logged in.
[Code]...
I need to have a PC talk to a Mac (apple) over a network (or alternately the internet, SSH, whatever works) in such a way as to open a shell window on the Mac to execute a number of commands to have it talk to a UNIX box and transfer files from a device attached to the Mac to the UNIX box where it can then be accessed later on in an shared area (SAMBA) by the PC.
The Mac has a fixed IP and I can have it configured to open the appropriate ports, but I would like to minimize any potential security issues.
Part of the reason why is the copy time is significantly lower. Copying from the PC to the shared area takes over 90 minutes vs about 10 for the Mac. No doubt this has to do in part to translation and network overhead.
So I need to
1) Connect
2) Open Shell window
3) Execute commands
4) exit Shell window
5) Disconnect.