|
I think you may be taking the wrong approach. IIRC, when an application registers a hot key, Windows notifies the application when the hotkey sequence is triggered. What you seem to want to do is build a master app that directs notifications to other apps. See this[^] recent article.
/ravi
|
|
|
|
|
What I'm actually trying to do is setup fast pathing to an application. IE: If I hit the 1 on my numeric keypad it will go to my email, 2 will take me to Visual Studio, 3 will be my browser, etc.
Glenn
|
|
|
|
|
|
Unless you are doing it yourself in code for the practice and experience just install the MS IntelliType driver and you are done.
|
|
|
|
|
You do not really need any app for that. This should work just fine:
- on the desktop, create one shortcut for every app of interest;
- double-clicking it would already run the app;
- for each such shortcut, right-click and choose properties; now click in the "shortcut key" box and hit the key you want to associate with (or hit DEL to remove).
BTW: I trust there are ways to get this done by code too.
|
|
|
|
|
Hi!!
I need some help...
i cant connect to a a client running on a pc over net..
i got 2 programs one client and one server... running successfully when i give my local IP address...
But when i change the local IP address to External IP address... it not working.. plz help me.. i want it to run over internet...
Thanks in advance...
client:
<code>
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Net.Sockets;
public class clnt {
public static void Main() {
try {
TcpClient tcpclnt = new TcpClient();
Console.WriteLine("Connecting.....");
tcpclnt.Connect("120.56.168.186", 8001); // use the ipaddress as in the server program
Console.WriteLine("Connected");
Console.Write("Enter the string to be transmitted : ");
String str=Console.ReadLine();
Stream stm = tcpclnt.GetStream();
ASCIIEncoding asen= new ASCIIEncoding();
byte[] ba=asen.GetBytes(str);
Console.WriteLine("Transmitting.....");
stm.Write(ba,0,ba.Length);
byte[] bb=new byte[100];
int k=stm.Read(bb,0,100);
for (int i=0;i<k;i++)
Console.Write(Convert.ToChar(bb[i]));
tcpclnt.Close();
Console.ReadLine();
}
catch (Exception e) {
Console.WriteLine("Error..... " + e.StackTrace);
Console.ReadLine();
}
}
}
</code>
Server:
<code>
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
public class serv {
public static void Main() {
try {
IPAddress ipAd = IPAddress.Parse("120.56.168.186"); //use local m/c IP address, and use the same in the client
TcpListener myList=new TcpListener(ipAd,8001);
myList.Start();
Console.WriteLine("The server is running at port 8001...");
Console.WriteLine("The local End point is :" + myList.LocalEndpoint );
Console.WriteLine("Waiting for a connection.....");
Socket s=myList.AcceptSocket();
Console.WriteLine("Connection accepted from "+s.RemoteEndPoint);
byte[] b=new byte[100];
int k=s.Receive(b);
Console.WriteLine("Recieved...");
for (int i=0;i<k;i++)
Console.Write(Convert.ToChar(b[i]));
ASCIIEncoding asen=new ASCIIEncoding();
s.Send(asen.GetBytes("The string was recieved by the server."));
Console.WriteLine("\r\nSent Acknowledgement");
s.Close();
myList.Stop();
Console.ReadLine();
}
catch (Exception e) {
Console.WriteLine("Error..... " + e.StackTrace); Console.ReadLine();
}
}
}
</code>
Can u tell me how shud i use a DNS server... how can i use it to use my program over the internet... plz.. i need to know this.. this is bugging me a lot..
-- Modified Tuesday, August 10, 2010 10:50 AM
|
|
|
|
|
Access to your remote PC is likely being blocked by a firewall.
/ravi
|
|
|
|
|
My client when runs first time.. a firewall exception will be added.. i'll do it myself..
|
|
|
|
|
...and is the address of the remote PC really that PC's address and not the address of the modem?
|
|
|
|
|
|
Can Any body suggest me some white library tutorials
Thanks in Advance
PK
|
|
|
|
|
What is a 'white library'?
|
|
|
|
|
a collection of white papers?
|
|
|
|
|
Well a large collection of books with nothing in them.
So a notebook store.
I'd say a scientology library but that's a collection of sci fi.
|
|
|
|
|
Microsoft introduced a number of interesting technologies with .NET 3.0 including WPF, WCF and WF that have generated a lot of noise. But also quietly included what was a powerful technology, UI Automation (UIA), which slipped under many people’s radar. UIA is a .NET library that allows you to identify UI controls, get their property values and manipulate them on Windows platform. It represents a big step towards having a usable programmatic interface to the Window’s UI. Prior to UIA one could have used the Windows Message API, but it dealt with very low level C functions. As one would expect, functional test automation is a natural way in which such a library can be used. White does that.
|
|
|
|
|
|
Nope
i m talking abt the UI Automation....
white library from dot net
|
|
|
|
|
Hi all,
I feel worriness about my hardware lock (copyright protecter) refrence in my project! imagine that I have a project which refrenced an assembly, as we know assmblies must be registered by regsvr32...
now if someone register cracked assembly what happend?
Is there any way to force project use certain assembly? i heard about crc checking... but no recource for this reason!
pleeeeeaaseeeeeee help me on this
|
|
|
|
|
mersad00 wrote: now if someone register cracked assembly what happend?
That depends on a lot of factors, but in general, it's like stealing a car. There's a huge checklist on security on MSDN, but this would be the most relevant part for the moment;
Strong named assemblies are signed with a digital signature. This protects the assembly from modification. Any tampering causes the verification process that occurs at assembly load time to fail. An exception is generated and the assembly is not loaded.
I are Troll
|
|
|
|
|
Are you talking about C#? Assemblies are not registered with regsvr32. If anything they are registered with gacutil. You do realize that anyone can get the source of a C# DLL using reflector right?
|
|
|
|
|
look for example my application uses lpl.ocx ... well now I want to be sure that this lpl.ocx is the true one like this
assemblycheck c=new assemblycheck;
if(!c.check("lpl.ocx","193718378378937937732"))
actually i need a way to check current assembly used in my application that could check assembly in c# code with digital signed number as I mentioned.
thank you
|
|
|
|
|
MD5 is more often used for verifying that files have not been tampered with. CRC is typically for verifying transmission of data.
Calculate md5 checksum/[^]
|
|
|
|
|
Hi,
Iam unable to display a gif looading image under button click. Pls reply me.
Thanks.
krishna
|
|
|
|
|
then explain the exact specifications, show us what you have done, and tell us what the symptoms are and how they differ from what you want.
|
|
|
|
|
Hi,
I have a login form windows application c#, the login is taking more time to login so i want to load a gif image.
krishna
|
|
|
|