|
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
|
|
|
|
|
Hi Friends,
This is Dayakar,
I created one project and setup that project
I loaded the setpup in some other system
Now i want to create a shortcut for that project after setup is compled in some othersystem
how can i achieve this
|
|
|
|
|