|
Probably not a CRC32, as it's only 2 bytes, but who knows..
Maybe Fletcher-16?
|
|
|
|
|
hello all,
Application.Run(new Form1());
How can i start an application so that other instance don't start of the same application.
regard,
sohail
|
|
|
|
|
hi ,
have a look to this link it will help u
link
|
|
|
|
|
There are several articles here on CP that cover that in a number of ways.
|
|
|
|
|
mention please...!
|
|
|
|
|
|
At the top of the page you will see a box labelled Search. Type single instance into this box. Select Articles / Quick Answers in the dropdown next to it. Click the Go! button.
|
|
|
|
|
Thanks you all
|
|
|
|
|
Message Closed
modified 23-Nov-14 6:58am.
|
|
|
|
|
Don't point out or raise comments on anyone like that. This question is not just learning for me it can save any other person's time. you are not a child my dear.
|
|
|
|
|
Sohial A Rana wrote: you are not a child my dear.
But it seems you are a child asking others to search for you.
|
|
|
|
|
i know every type of problem can be solved via search engine. if every problem solve by searching then why people raise questions here?
|
|
|
|
|
Sohial A Rana wrote: i know every type of problem can be solved via search engine. if every problem solve by searching then why people raise questions here
|
|
|
|
|
Sohial A Rana wrote: i know every type of problem can be solved via search engine. if every problem solve by searching then why people raise questions here?
People come here only if they do not find the information through search engines. Google gave me 1,76,000 results for "C# Single instance", the top two of which are CP articles. If you had even tried this, you wouldn't have posted this question here.
|
|
|
|
|
Do you have trouble clicking the Search button ?
|
|
|
|
|
|
I have done it. Thanks for all
|
|
|
|
|
Try using Mutex for inter process communication it is best and as easy as needs only 3 lines of code
|
|
|
|
|
|
Hi!
I am getting this error when I try to assign a value to a class property called country that is in a class called advert
advert class
public class Advert
{
private Country _country;
public Country Country
{
get { return _country; }
set { _country = value; }
}
}
country class
public class Country
{
private string _CountryName;
private string _UrlSafeCountryName;
private string _CountryCode;
public Country()
{
this.CountryName = "";
this.CountryCode = "";
this.UrlSafeCountryName = "";
}
public string CountryName
{
get
{
return _CountryName;
}
set
{
_CountryName = value;
}
}
public string UrlSafeCountryName
{
get
{
return _UrlSafeCountryName;
}
set
{
_UrlSafeCountryName = value;
}
}
public string CountryCode
{
get
{
return _CountryCode;
}
set
{
_CountryCode = value;
}
}
}
in my DAL where i get error
advert.Country.CountryName = (string)oReader["CountryName"];
not sure if i am doing it correctly? please help
|
|
|
|
|
Message Closed
modified 23-Nov-14 6:58am.
|
|
|
|
|
and possibly first instantiate advert also (advert = new Advert() )
Nah... What's up, Doc?
CCC's solved : 1
|
|
|
|
|
private Country _country = new Country();
should solve your issue!
♫ 99 little bugs in the code,
99 bugs in the code
We fix a bug, compile it again
101 little bugs in the code ♫
|
|
|
|
|
Hello,
i want to open google chrome and then i want to pass keyword say "Codeproject.com".
I have used process class to open chrome, but how do i use sendkeys() to it.
Process newprocess = new Process();
newprocess.StartInfo.FileName = "chrome.exe";
newprocess.StartInfo.Arguments = "www.google.com";
newprocess.Start();
SetForegroundWindow(newprocess.MainWindowHandle);
SendKeys.SendWait("CodeProject.com");
Please help me its urgent.
Thank you in advance.
|
|
|
|
|
krinaljariwala wrote: Please help me its urgent.
Not here it isn't.
Have you tried going to google, put your search in and clicking the search button? It puts your search in the url, and you could do the same rather than trying to use the very dodgy method of sendkeys.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|