|
See here[^] if it helps you
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Dijkstra's algorithm - Wikipedia[^]
You have the Pseudocode for the algorithm there. There are external links to the actual implementation of the algorithm at the bottom of the page.
BTW, PLZ UZE GOOGLE.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
I have set up a click once application that receives user specific parameters entered in a web page via URL parameters. For most users, this is working, but a few users complain that the application is not working. Apparently, the application is getting NULL for the user parameters in this case. What could be causing this? A problem with the application or some setting in the user's network?
|
|
|
|
|
Hi,
We are using Javascript to generate dynamic controls. Here, we used encodeURIComponent to encode. The problem is that when we enter the % in the searchtext, it is not getting encoded in the mozilla. Here we are maintaining the viewstate for this text. So, when we are redirecting the home page to search page, we are encoding the text for security. But the % character is not encoding in the mozilla because mozilla takes % if there is any space in the text. So, it is including this % to the URL. So, How to encode the % character in the Mozilla.
|
|
|
|
|
|
So what is the problem you have with C#?
|
|
|
|
|
The problem is that i just want to encode the special character like % in the mozilla using Javascript. For that we used encodeURIComponent, but it is not encoding the %. So, the viewstate is failing. now what i want is that how to encode this type of special characters when we are using mozilla?
I tried something like string is converted to ASCII and then encode that ascii value.
Could you tell me how it works with EncodeURIComponent(textbox1.value)
Or any suggestion for this problem for mozilla???
|
|
|
|
|
|
Hi,
The problem is that when we enter the % in the searchtext, it is not getting encoded in the mozilla. Here we are maintaining the viewstate for this text. So, when we are redirecting the home page to search page, we are encoding the text for security. But the % character is not encoding in the mozilla because mozilla takes % if there is any space in the text. So, it is including this % to the URL. So, How to encode the % character in the Mozilla
|
|
|
|
|
Hello,
i have an asp application developped by a company for our company.
the database is sql2000 and there is a lot of tables and views and sp and SF.
My problem is that when creating a new subscription(inserting into sql2000) the query take about 3 to 5 minutes,of corse there something illlogical.
Note 1: the DB has a size about 2 GB.and there is a lot of record in each tables about 17000 record
Note 2: number of tables about 300. views are very complicated and about 500 views...
Any idea plz
10x best regards
dghdfghdfghdfghdgh
|
|
|
|
|
ellllllllie wrote: lot of record in each tables about 17000 record
Thats not a lot of records per table.
ellllllllie wrote: creating a new subscription(inserting into sql2000)
I assume by this you mean when inserting records. I suggest you use the showplan option in query analyzer to see what is causing the problem. It should be pretty obvious from the showplan where the bottleneck is.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
showplan optin in query analyzer in sql2000 is the same in sql2005
dghdfghdfghdfghdgh
|
|
|
|
|
Yes, it is. So which part of your query showing a high % use? Thats the bit you need to address.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hey there a lot of SP called when i try to make a new subscription, can i monitor them.?
dghdfghdfghdfghdgh
|
|
|
|
|
I am developing an windows application where i am using CODE check digit calculation i need to calculate check digit so how can i do that check digit calaculation.
|
|
|
|
|
|
Dixy wrote: which code u want
CODE digit check, of course (seriously, I have no clue either, maybe some cheque validation or something)
|
|
|
|
|
|
|
Dixy wrote: // TODO: might not be correct. Was : Exit For
I was just thinking it is not possible to write such C# code from scratch
|
|
|
|
|
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
There are many different ways of doing this. The only one I've ever used is the one used for mobile(cell) phones for the last IMEI digit.
That one's called the Luhn Algorithm[^]. It's pretty simple to implement - I've done it in jscript, C# and VB.
Dave
|
|
|
|
|
I've just noticed yu asked a very similar but more specific question[^] yesterday. Was the answer you received not good? It's received one vote of 5 so I assume it was what you were looking for in which case why are you posting the same (or remarkably similar) question again?
Dave
|
|
|
|
|
Hi I am creating two threads in my main method.
One: UI Thread which runs the UIMethod.
Second: Background Thread which runs the BackGroundMethod.
Now in the BackGroundMethod, I am calling several other methods which create many many threads and do lot of background work.
How can I know in the Main Method, when all of the entire threads created have terminated?
If I use Join method, then it would wait only for the BackgroundMethod to finish and not all the threads in the BackGroundMethod.
Can anyone help me on this??
|
|
|
|
|
ptr2void wrote: If I use Join method, then it would wait only for the BackgroundMethod to finish and not all the threads in the BackGroundMethod.
Ok- you should take a look at signaling methods like Monitor.Pulse() and Monitor.Wait() . Read this[^]. Also take a look at WaitHandles[^]. It is the way which you can use to communicate across threads.
|
|
|
|