|
you asked this just four hours ago. asking a stupid question without describing what exactly your problem is, won't get you an answer.
asking for "the code" will definitely get you no answer!
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
i'm using first time code project i don't know how to ask a qestion properly.actually the problem is my project is in vb6.0 now we r changing to c#.net .in vb project backend is ms-access in that text is encrypted.that text will be appear oriya in c#.net.that's y i'm trying to converting .i take one windows application one textbox n button in the textbox i write english word wen i clicked on the button that word will be changed to oriya language.i searched in google but the xamples r coming but those r webapplications.
|
|
|
|
|
Ok, welcome to codeproject. Click my signature link, it will tell you the rules. A few key points to remember;
-we are not employees and you are not the boss, if you want code write it, or go to www.rentacoder.com and pay for it.
-never ask for code, never.
-this forum is more for specific problems, if you get stuck compiling and can't figure out an error, questions about specific methods or algorithms
|
|
|
|
|
easy...
string newText = TextDecrypt.DecryptText(myText, "oriya");
TextDecrypt can be found in the System.WTF namespace.... maybe im mistaken thou
If only MySelf.Visible was more than just a getter...
A person can produce over 5 times there own body weight in excrement each year... please re-read your questions before posting
|
|
|
|
|
Bad question. Game over. Try again.
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
[My articles]
|
|
|
|
|
CPallini wrote: Bad question. Game over. Try again.
Fixed it.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Thanks.
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
[My articles]
|
|
|
|
|
kanthgadu wrote: i want to decrypt the text(means anytype of text)in to oriya language in c#.net wat's the code
That's easy. The code is the one on the front of your credit card, along with the security number on the back. Once you've sent it to me and I've subtracted my fee from your card, I'll send you the code.
|
|
|
|
|
Hey.
I have a program that calls some functions which navigates my webbrowser.
The problem is just, that it only navigates to the last functions homepage.
My main function is like this:
private void goToSites()
{
gotosite1();
gotosite2();
gotosite3();
// And so on
}
My gotosite function looks like:
private void gotosite()
{
webBrowser1.Navigate("http://mysite1.com);
webBrowser1.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(
delegate
{
//my code to do when the site is loaded
} );
}
But this aint working at all. It only loads the site from the last function in the goToSites function.
Does anyone have any idea how I can solve this?
If I can make a function that doesnt return back to the caller at all, it would could solve it as well..
I hope some of your guys can help me 
|
|
|
|
|
Far as I'm concerned it navigates to all of them, but obviously, how do you want to display 3 websites in the same browser window at the same time?
var question = (_2b || !(_2b));
|
|
|
|
|
I dont want them to display in the same time.
First I wants to load the site from function1, then when it has been for about 5sec in the browser, show the site of function2 in about 5sec, and then show the site of function3 in 5 sec, and so on.
Not in the same time.
Just one for one.
|
|
|
|
|
Off course it loads only the last function. You are not blocking the program flow between the function calls.
Well, what do you want to accomplish?
Navigate 1
Wait
Navigate 2
Wait
Navigate 3
Wait
?
Calin
|
|
|
|
|
Yes, exactly something like that.
How can I write such a block ?
Any smart commands?
|
|
|
|
|
you may add Thread.Sleep(5000); after each call. In this way the flow will pause for 5 seconds after calling the navigate.
Calin
|
|
|
|
|
I already have tried that.. The problem is just that it stops the whole program in the 5sec, and also the navigating. So the navigating or the anything else in the program aint running while the sleep is on.
|
|
|
|
|
Then, try to call gotosite from a new thread.
Thread navigateThread = new Thread(new ThreadStart(gotosite));
navigateThread.Start();
Calin
|
|
|
|
|
Haven't tried that. But I found another way to solve it.
I did found this Wait function:
void Wait(int timervalue)
{
// set the timer for the number of ms desired
WaitF.Interval = timervalue;
// enable the timer and set the timerelapsed flag to false
WaitF.Enabled = true;
_timerElapsed = false;
while (_timerElapsed == false)
{
Application.DoEvents();
}
}
By creating a little wait i am now avaible to use webbrowser1.Isbusy()
while (webBrowser1.IsBusy == true)
{
Application.DoEvents();
}
|
|
|
|
|
I have assigned from a data source Display Member as "Client Name" & Value Member as "Client ID" to a combo box.
Now for a query i need to pass the Client ID value as parameter but all i am getting is Combobox.Text/ Combobox.SelectedItem/.. as Client Name.
How can i get the value of ClientID for the Selected Client Name from the Combobox.
Please Help.
|
|
|
|
|
hi
try with SelectedValue
regards
|
|
|
|
|
Didn't Worked... I already did..
Please tell me any way to extract this value...
|
|
|
|
|
Favorite saying down in my dept: "Works on my machine, i don't know how you manage it!".
var question = (_2b || !(_2b));
|
|
|
|
|
ComboBox.SelectedValue
is my best guess.
----
man i really should refresh this page more.
var question = (_2b || !(_2b));
|
|
|
|
|
Hello!
Is there anything something like HttpWebRequest.Close(), but in .NET 2.0?
What's it for? I need to close HttpWebRequest. I know that when I am creating new HttpWebRequest .NET keeps the connection, but is there any way to close it?
|
|
|
|
|
You may set Connection property = "Close"
Calin
|
|
|
|
|
Yes I can, but I get exception:
System.ArgumentException: Keep-Alive and Close may not be set with this property.
But I found this:
"The "ArgumentException" will be thrown if we directly set the Connection to "Close" or "Keep-Alive". And after some further dig into the HttpWebRequest's code, I think we should use the "KeepAlive" property instead of the "Connection" property to set the Connection header. For example:
use webrequest.KeepAlive = false;
use webrequest.KeepAlive = true;
And that's it!
I forgot that KeepAlive is set to 'true' as default So when I've changed it to 'false' the connection is closing while the request and response is handled
Thank you very much 
|
|
|
|