I have panel control that have 3 labels now what i want when i click on button then panel control will get copied to clipboard in image format along with its controls and when i paste it in pa...
trying to convert a SelectedValue to an interger -- getting the following error message:
int tmpDropDownList1 = Convert.ToInt32(DropDownList1.SelectedValue);
Input string was not in a co...
I am currently implementing a Virtual Mode with Just-In-Time Data Loading in the Windows Forms DataGridView Control ( http://msdn2.microsoft.com/en-us/library/ms171625(VS.80).aspx ),
but need...
Hi,
I need to develop a way of displaying a shoe-print shaped mouse cursor, it needs to be scalable and rotatable. I think this will involve some form of polygon (Point[]). Please see the a...
Hi All,
I was trying to set panel1.AutoScroll to my Custom Panel. But this doesnt work.
I have attched the code snippet.
Thanks
Adib
I'm working with some serial device programming with .net 2.0 and I'm using C#.
My question is how can I write the code to ensure that all the data in the serial port gets read into a buffe...
goodevening.
I am having a bit of a problem connecting to my local SQL Server instance when I have no network connection. The server is running on my own computer- and connecting to it is n...
Hi all,
is there a better way of doing this?
// Add each module
int Counter = 0;
foreach (xxx.yyyRow row in tblTable.Rows)
{
Object.Elements[Counter] = GetOtherObjectById(row.ID)...
Hello,
I develop with vs2005 in c#.
I have 1 checkboxe that allow user to specify some delivery notification options when I send an email.
My object has one property with the code below...
How do I get the differece in "mm:ss" of 2 timespans in C#
Time1 = "06:00 AM"
Time2 = "06:10 AM"
It must also automatically calc the correct span when it is
Time1 = "11:55 AM"
Time2 = "0...
Hi,
I am new to ASP.NET.
I have created App_Code folder and placed a class file. Then, I am trying to call it from my site.master.cs.. How do I do that?
my class file called - DSClass.c...
Hi,
I have a Desktop C# application form, form contain button that call other form. I want to be able to detect if the other form is already shown and displayed if yes then Close it .. Els...
I want to open tabPage3 of TabControl when a window form load. eg,
tabPage1 | tabPage2 | tabPage3 | tabPage4 | tabPage5
-------------------------- | |--------------------...
Good Day -
I am trying to find some .NET 2.0 methods for reading and writing Registry values. Do such methods exist or is there some way to home-grow this?
Thanks
What assemblies and using statements must be added to a Dev Studio 2005 project to enable the:
Microsoft.SqlServer.ReportingServices2005.Execution or
Microsoft.SqlServer.ReportingServices20...
Experts,
Please help me to correct this code.
Codes to insert new record.
=====================================================================================
string oConn, ...
I am developing a portable c# windows application using a MSDE and need to syncro to the main database when the laptop is connected to an internet connection. I dont want the Syncro button to...
Hi... I am trying to Load Specific Forms from a DLL. I'm using a Database Table for my Refence and I've tried saving the Name of the Form, but struggle to loop through the Different Forms with...
I'm converting a .net 2003 C++ program to .net 2005 C# application. there is a ntohl function in C++ that will automatically reverse the tcp/ip order to host byte order (from big indian to li...
How many loops does a break statement break? I.e. in case of
for
while
for
break
does break break out of all 3 loops?
Thanks
Can someone tell me what's wrong, bcos my head is burning at the moment and I can't look at it anymore:
/// <summary>
/// Tests if the passed lines intersect.
/// ...
I need to write a simple C#.net GUI that does not accept user input. It should not be event based. Instead, the Windows Frame should open and a long calculation should periodically output data...
Hi experts,
I have a small WinForms application that contains
- a DataGridView,
- a BindingNavigator,
- a BindingSource and
- a Textbox
The DataGridView shows commodities coming from...
Hi,
I have a datalist with a label in it.
My problem is...
if (DL_Career_Products.Items.Count > 0)
{
foreach (DataListItem di1 in DL_Car...
Hi,
I have used breakpoints to test this. For some strange reason both statements are executed! Even when the file exists or it doesnt.
Any idea??
introlux