|
I've had a look through the MessageBox.Show code in Reflector and there doesn't seem to be anything obnoxious there. Maybe if I had more to play with I could solve it but get your coding done first, thats the main priority, then we can tackle MS
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
How can i use a masked textbox column in a datagridview for date
================================================================
I am working with Visual studio 2005 and c# 2005.
I have a datagridview which contains a date column and will accept value as 26-04-2006.Initially value will be 00-00-0000.When we press any key it will check value which we entered is number or not.if it is number then it will check for other conditions like
1 the day is greater 32 or not?
2 the month is greater than 12 or not?
3 the year is greater than 2006 or not?..like that.
we have to find in keypress event and cancel each character if it fails.
when we do backspace each value must changed to zeros..
I used masked textbox in datgridview for this but i am facing so many issues for that..
When we editing it will not work properly..the values are getting overlapped with the grid contents and all..i created the masked textbox dynamically in editcontrolshowing event..
if anybody did the same pls help me it is very urgent..
If you have any other solution that are also welcome
thanks in advance,
lee ju
|
|
|
|
|
hello guys,
iam a c# beginner can any one help me how to emmbedd two forms into
a single form.
tahnkyou in advance
|
|
|
|
|
How do you mean?
---
b { font-weight: normal; }
|
|
|
|
|
When i use oledb.oledbconnection,i connect to SQL Server with this connection string :Provider=SQLOLEDB.1; Persist Security Info=False;User ID=sa;Initial Catalog=MDLABS;Data Source=SQL;
But when i use sqlclient sql connection , i cannot connect to sql server.
my sqlclient connection string is
Persist Security Info=False;User ID=sa;Initial Catalog=MDLABS;Data Source=SQL;
What is missing?
|
|
|
|
|
Providing the error you get may go some way to helping people answer your question.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
ex.message = Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
|
|
|
|
|
pretty straightforward error message don't you think? A timout implies that the connection worked fine, but timed out on whatever operation you asked of it!
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
J4amieC wrote: A timout implies that the connection worked fine, but timed out on whatever operation you asked of it!
Unless it was a connection timeout
|
|
|
|
|
Even if it was, that error message implies that the connection string was correct in syntax, but that the connection or operation timed out. I should have been more specific.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. "
how to configure server for remote connections
-- modified at 14:55 Thursday 27th April, 2006
|
|
|
|
|
|
Hi
I have one application i.e webapplication i created setup for that and i loaded in some other system now i want one shortcutkey on the desktop such that when i clicked that shortcutkey automatically it will run the program
|
|
|
|
|
|
Hi,
I am working on C#. I want to know how to display an image one by one at certain interval of time in broswer.Please send me the solution.
Regards
Praveen
|
|
|
|
|
tjpraveen23 wrote: Please send me the solution.
How much do I get for it?
Seriously if you want people to help here then you must ask them a specific problem, we cannot write complete applications for people (unless of course we're paid for it ) since we are giving up our free time to help you, just be grateful for that, we can be a miserable bunch if provoked.
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
Hello Ed,
I have number of .jpg images as a input.
My user requirement is to display these images one after the other so that its look like playing a video.
One simple solution is to link image one after the other and display it with specific time.
Please suggest me to implement the above solution in C#?
Regards
Praveen
|
|
|
|
|
All you need for a simple solution is a PictureBox for displaying the picture, a timer for changing the pictures that's it.
If you create an array of strings to hold the filenames and another variable to hold the index of the picture that's currently being displayed then the code in the timer's Tick event can be something like this:
private void timer_Tick(object sender, EventArgs e)
{
this.index = ((this.index++) % (this.images.Count));
this.pictureBox.Image = Image.FromFile(this.images[this.index]);
}
Et voila!
Of course this is a quick and dirty solution, you should be able to expand on it.
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
hello ,
i am creating a client server application for a firm in bangalore. i actually want to take backup of server database and restore them through C# programming.i am using dotnet2003 and sqlserver2000. this cannot be upgraded for some partucular reasons.
plz help.
thanks in advance
|
|
|
|
|
This might be useful, also try searching google.
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
i want to create custom toolbar/menu bar using C# .net
add-in shared extensibilites project type with integrated
visio 2003 but problem is that when i added first time
custom toolbar after open visio then result right.next time
i was modify the codes after check result,then not display
and an other available any custom toolbar/menu bar in visio
not present plz solve my problem.
thnx Ali J
Ali J
|
|
|
|
|
hello guys
i am a begginner in c# i need a help on hoew to call a text from a textbox
and make it as a input to yhe another textbox . i ahve given the code and i have underlined the imp part.
eg:
string[] numbers =
{
"123-123-1345",(here i want to get a text from a text box)
};
string sPattern = "^\\d{3}-\\d{3}-\\d{4}$";
foreach (string s in numbers)
{
if (System.Text.RegularExpressions.Regex.IsMatch(s, sPattern))
{
System.Console.WriteLine(" - valid");
}
else
{
Close();
}
}
, kindly help
|
|
|
|
|
if the textbox was called MyTextBox the code would look like:
string[] numbers = <br />
{<br />
"123-123-1345",MyTextBox.Text<br />
};
pretty intuative huh?
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
hello guys
i am a begginner in c# i need a help on hoew to call a text from a textbox
and make it as a input to yhe another textbox , kindly help
|
|
|
|
|
textbox2.text=textbox.text;
coolsweety
|
|
|
|