|
Then you'd use the SDK for PhotoShop to create the plugin. Not some screwed up method of "remote controlling" another application.
|
|
|
|
|
hay can you help me
i saw code here : http://www.codeproject.com/KB/IP/ListNetworkComputers.aspx
can somebody help me to make software which turns off comp on the network
i mean when i run it i select comp. and turn it off
|
|
|
|
|
If I read your question right, you want to
1) Scan your network, and find all computers on it.
2) Select a computer from this list.
3) Power down this computer, as if you were sat in front of it and gave the "shut down windows" command.
Is this correct?
Why would you want to do that?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Don't know. But I could have some fun at work with that....
Regards,
Rob Philpott.
|
|
|
|
|
I'm already having some fun myself. I'm not shutting down the "targets" workstation, but locking it while he's using it is turning out to be very funny!
|
|
|
|
|
Dave, you're a bad guy.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
So you liked it too?
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
You mean - you liked it too? Great minds and all that, Luc...
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Try this code[^] - I haven't tested it myself.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
You could try using the Remote Shutdown tool[^] from your code.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Hi,
I'm looking for a way to convert a Doc file into an image object with c#.
I need this project in order to create an application that will enable the user to give evaluations on paperworks originated by MS Word.
My goal is to create a panel that will enable the user to view the doc as an image and paint on it.
My thinking was to create two panels, MainPanel and ChildPanel. The ChildPanel will be hosted by the MainPanel.
The MainPanel backgroud will be an image of the Word document and the user will be able paint on the ChildPanel.
I use Main and Child panels so I can have it as layers, so if the user like to make changes to his evaluations he can do so by erasing/adding changes to the child panel without altering the main document.
tnx
Leeoz
|
|
|
|
|
Hi all,
I am trying to show the current files which have been opened on my system in my program ...Plz guide me about it.Is there any API for showing the current files opened on my system?
|
|
|
|
|
Use OpenFiles.exe[^] to get the information.
जय हिंद
modified on Saturday, June 13, 2009 4:41 AM
|
|
|
|
|
d@nish wrote: EnumWindows in User32.dll might help as well.
From the doc: The EnumWindows function enumerates all top-level windows on the screen ...
The OP's requirement is to find all the files that are opened. I don't see how EnumWindows() can help.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Corrected.
जय हिंद
|
|
|
|
|
Hello!
You can go through the code provided with this article: Listing Used Files[^]
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
|
|
I don't believe there's a repeat property. There IS an event that gets fired when the player changes state, you can catch the state for the track ending, and start it again.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
|
void MediaPlayer_PlayStateChange(object sender, AxWMPLib._WMPOCXEvents_PlayStateChangeEvent e)
e.NewState is what you want, and the values come from an enum, they will be an int in .NET. I'm sorry, a quick google is not getting me the state values.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Hi all,
In C#.Net, how to choose printer from the window printer list and config the printer selected (e.g. color, page size,...) just like those commercial software packages does when user print document ?
Thanks
|
|
|
|
|
|
See also the PrintPreview control and dialog and the PageSetupDialog, if you want to make things like the commercial packages.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Im trying to make an app, that i can download my mails from my account.
For the test i have 4 mails, total 200kb. When i download the mails, it takes 30 secs.. aprox.. A LOT! and i dont know how to improve the velocity.
Thanks!
The code that i use to download is this:
ns = networkstream from a TCP, buffer 8192.
private string getemailtest2(int indexservidor)
{
StringBuilder resp1 = new StringBuilder();
bool begin = true;
int compa = 8193;
System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding();
while (true)
{
byte[] dataaleer = new byte[8192];
if (ns.DataAvailable || begin)
{
int a = ns.Read(dataaleer, 0, 8192);
}
resp1.Append(enc.GetString(dataaleer).Trim('\0'));
if (begin)
{
compa = Int32.Parse(resp1.ToString().Split(' ')[1]);
begin = false;
}
int leng = enc.GetBytes(resp1.ToString()).Length;
if (leng >= compa)
{
if (!ns.DataAvailable)
{
break;
}
}
}
return resp1.ToString();
|
|
|
|