remote

WM_WTSSESSION_CHANGE message is not being received consistently

Hey, I have a program that needs to minimize itself when a person starts a RDC connection to the machine. My program calls WTSRegisterSessionNotification when it starts up and I also added a WM_WTSSESSION_CHANGE case inside my main WindowsProc function. For some reason in Windows 7 this logic intermittently works, and in Window...

Remote File Read

Hi All, How can I read a text file resides in a remote machine? There is no share exists in that machine and I am not allowed to create any share or file in the remote machine. Also I am not allowed to run any client program in the remote machine. My program is a ASP.net in C# residing in a IIS webserver. For linux machine we used ssh c...

header readfile in remote server PHP

My site is Downloading one file using this code: $flv = **filename** $ch = curl_init($flv); curl_setopt($ch, CURLOPT_NOBODY, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); //not necessary unless the file redirects (like the PHP example we're...

What TCP protocols are usable for client to client communication?

Manytimes clients ask for features like instant messaging (IM) and other client-to-client (P2P) communication for their web apps. Typically how is this done in normal web browsers? For example I've seen demos of Google Wave (and Gmail) that are able to IM from a regular browser. Is this via HTTP? Or does XmlHttpRequest (AJAX) provide the...

Getting error when using WPF CSLA Remote server

Hi, I am running a WPF app with a remote server setup but getting "The remote server returned an unexpected response: (400) Bad Request" . This is definitely a request size issue since I tried reducing the data size being sent and the call worked fine. From my configuration it looks like I have 2 Gigs set up, but it behaves like only ...

Trouble Stepping Into Web Service...

Hi. I am wondering what is the best way to step into my Web Service? When I compile my code the application hangs when it gets to a web service method. If i try to set a break point and step into the service's code, it won't let me - catching "The operation has timed out". Things I have tried: 1) My SVC file has Debug="true" 2) M...

How do I install Windows Service on remote server

How do I install Windows Service (msi package) on a remote windows server and configure its Logon options. Thanks and Regards, Selwyn ...

WPF application visiblity afte remote desktop

Hi, i have a WPF application that sits on top of all other windows. 99% of the time it works perfectly however if i dial into my computer from another location using remote desktop and then close the connection and go back to the original computer, my application is not visible. checking the running processes i can see that it is still r...

Remote Shutdown without (!) RPC Service

There are different ways of shutting down a computer remotely. Here are three I know of: Invoking the Shutdown method of the Win32_OperatingSystem class through a remote WMI connection Using the Microsoft Windows shutdown.exe Letting your (whatever).exe copy itself to the systemfolder on the target machine, register itself as a servic...

How to walk a directory over a local network using PHP?

How can i list the contents of a windows share using PHP? $SearchFolder = "\\\\192.168.1.100\\pdfoutput\\"; if (is_dir($SearchFolder)) { if ($Directory = opendir($SearchFolder)) { while (($File = readdir($Directory)) !== false) { if(filetype($SearchFolder.$File) == "file") { $this->Attachments[] = n...

Calling a remote Java program on iSeries from RPG

I'm looking to invoke a Java program from RPG running on Iseries V5r4. The remote program is a web service client (performing a postcode lookup), running in Websphere. Ideally I'd like to call it direct from RPG? is that possible? or do I have to create a java program to run on the iSeries and use RMI or something to call the remote j...

Restarting service from a client computer without rights

I have already created the program to restart a SQL database but it only works if the client has the rights. This is going to be done on a local network from a client computer when they can't get a person that has the password on the phone. Any thoughts I'm currently using the servicecontroller to start and stop database. When I don't ha...

Keeping remote repository in sync through a rebase

I have a situation where I will have to rebase a topic branch to a master. That's fine, it's the normal rebase case and works great. The complication is when I'm trying to get this process to be in sync on a bare remote repository. e.g. o--o--o origin/master \ o--o origin/topic o--o--o clone/master - tracking origin/m...

How to get the content of a remote page with JavaScript?

I have a URL of a remote page from a different domain which I have to download, parse, and update DOM of the current page. I've found examples of doing this using new ActiveXObject("Msxml2.XMLHTTP"), but that's limited to IE, I guess, and using new java.net.URL, but I don't want to use Java. Are there any alternatives? ...

Reading a remote file using Java

Hi all, I am very new to java, and have been struggling with it. I am looking for an easy way to get files that are situated on a remote server. For this I created a local ftp server on my windows xp, and now I am trying to give my test applet the following address: try { uri = new URI("ftp://localhost/myTest/test.mid"); File mid...

Communicating with a driver over a network in Windows

How could I communicate with a driver from a usermode application over a network? I can't have the driver communicate with a local usermode application which then communicates with the remote application because that wouldn't work for what I'm doing. I was thinking of using named pipes but I'm not sure if that would work over a network. ...

Best practice for java web services and remote exception

I am writing a web service. So I have: public interface MyService extends Remote { public void service1(); } public class MyServiceImpl implements MyService { public void service1() { /* do something that sometimes throws an exception */ } } I was reading about RemoteException. Should I wrap all the code in service1() in a try..c...

Accessing Remote Kernel Objects In Windows

Is it possible to access kernel objects on remote computers? I was reading that you could access remote kernel objects by using a symbolic link to \Device\Mup\server\object but I am not sure if that would work. Thanks for the help! ...

How to run Red5 applications on a remote server?

I've got a really nasty problem... I wrote a Red5 app and so on and it is running perfectly on my local computer. Now the problem occurs => How can I make this program work on a remote server? Local : Mac OS X 10.5 - Red5 0.63 Server: CentOS 5 - Red5 0.90 Maybe it's because of the version difference. But I can't test Red5 0.90 loc...

Access iTunes library on Mac from iPhone app

Is there a way I can connect to the iTunes library on Mac from my iPhone app. The functionality which is available in Remote app from apple. I beleive this is something to do with bonjour programming. Can anyone provide me any head start and point me in the right direction to look for? Thanks ...