|
What if you connect a TCP socket to that IP and then check the RemoteEndPoint?
It's a wild guess, but it could work.. or actually, it shouldn't. But if it does anyway, then it's cool.
|
|
|
|
|
Dear All,
I have developed an windows service application which works perfect, i have another application which starts that service.
i want to have an animated icon for this application in system tray.
i can set non animated ico file as the icon, but i am looking to add animated icon
in system tray. any ideas please?
i have seen much applications where they have animated icon in tray.
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Add imagelist control to your application
add icons to this image list
now you can get the NotifyIcon value from this imagelist by icon index ...
I know nothing , I know nothing ...
|
|
|
|
|
thx dude i really appreciate urs..
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Take a look at Animating Shell Tray Icon with - C#[^]. Judging by the title, it might have the answer.
Do you want to know how I found this?
Yes that's right I Googled!
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Henry Minute wrote: Do you want to know how I found this?
Yes that's right I Googled!
I think it looks like we all need to get used to a world where people think its easier to be a programmer than it is to use a mind-boggling search engine search as Google
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Sad, but true!
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
In his/her defense - that article is rated pretty low, I probably wouldn't have paid a great deal of attention to it if I'd found it.
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)
|
|
|
|
|
That might well be true.
The fact remains, however that a search on either Google or even 'bing' gives multiple hits. I simply pointed the OP at that one because it was on the first page returned, and I noticed that it was on CodeProject.
The OP stated that he/she had seen other apps that did it, so the chances of there being no hits was pretty remote.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Don't get me wrong - I agree toatally!
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)
|
|
|
|
|
Hello,
Do someone can help to found Microsoft Arabic Word Breaker because i need to install it for searching arabic pages while useing the index service of microsoft.
regards.
dghdfghdfghdfghdgh
|
|
|
|
|
|
Hi All,
I have an application that reads .csv data. My problem is that the is a value that is not read, it will read the number before the comma, but this is one number.
How do i make the app read the full number, e.g.: 1,093?
if (_lineItem == 12)
{
// the rows that will be added into the
// specified columns
dt.Rows.Add(new object[] { _dateParse, _casinoname, _line[3].Replace("\"", "").Replace("," , "")});
}
_lineItem++;
Thank you,
|
|
|
|
|
Can you post sample data from your csv file?
And do you have any idea how large the number would be ie minimum or maximum value?
जय हिंद
|
|
|
|
|
By sample you mean the fileds that is going to the app?
If so here is the data.
Day Visitors
Sunday, May 3, 2009 1,245
The app reads the Visitors Colomn.
|
|
|
|
|
ok that does not look like a CSV to me. Are you sure it's not tab delimited? If you want to parse that data i would suggest you split it using the index of the forth space value, which if that is all the data you have per line you can use LastIndexOf...
string visitors = line.Substring(line.LastIndexOf(' '));
...something like that anyway
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Do you know what CSV stands for?? Comma Seperated Values. So, if you put numbers formatted with commas in them into the CSV file, the reader will interpret it as two seperate values. You will have to jump through some custom written parsing logic that you have to write to detect this situation and reparse the line correctly. Or, go back to the export application as have it use a different delimiter, such as a Tab character, or not to format the numbers with commas.
|
|
|
|
|
Use Excel object in c# to read data from csv files. If there are fields that have comma in them, then they must be in double quotes.
Ahsan Ullah
Senior Software Engineer
MCTS 2.0
|
|
|
|
|
<fres:feinsearchresponse xmlns:fres="http://api.feinsearch.com/apiresponse">
- <fres:searchresults>
- <fres:searchresult>
<EIN>320095501</EIN>
</fres:searchresult>
</fres:searchresults>
</fres:feinsearchresponse>
“You will never be a leader unless you first learn to follow and be led.”
–Tiorio
"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
|
|
|
|
|
Using eyes and brain.
I think you would like to rephrase your question.
|
|
|
|
|
I mean how can i parse it.,
“You will never be a leader unless you first learn to follow and be led.”
–Tiorio
"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
|
|
|
|
|
One simple Google search returned these[^] many results. Are none of them fitting your needs?
जय हिंद
|
|
|
|
|
Actually it is output from a webservice but now i want to parse it. how do i ?
is this will work
XmlTextReader reader = new XmlTextReader("C:\\links.xml");
while (reader.Read())
{
XmlNodeType nodeType = reader.NodeType;
switch (nodeType)
{
case XmlNodeType.Element:
Console.WriteLine("Element name is {0}", reader.Name);
if (reader.HasAttributes)
{
for (int i = 0; i < reader.AttributeCount; i++)
{
reader.MoveToAttribute(i);
Console.WriteLine("Attribute is {0} with Value {1}: ", reader.Name, reader.Value);
}
}
break;
case XmlNodeType.Text:
Console.WriteLine("Value is: " + reader.Value);
break;
}
}
“You will never be a leader unless you first learn to follow and be led.”
–Tiorio
"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
|
|
|
|
|
Mogaambo wrote: is this will work
you'll never know until you've tried it!
regards
|
|
|
|
|