I am using C# with .Net 1.1.
I would like to open a modal dialog box using the functionality of ShowDialog, but I only want the parent form to be disabled for input. I would like the other...
My application opens to Form1 when loading. Form1 has two tabs and many controls, one of them is a text box - txtPolNumber.
I am trying to set the cursor focus inside the text box when the...
HI experts!
I need to create a multidimentional array that won't contain initialization. I've been readiing and the best way to do this is using ArrayList. How can I implement this in my cod...
Hi,
I have a class MyBaseClass, from which my other 2 classes (MyChildClass1 and MyChildClass2) inherit.
Now I have an object myTag.
How do I do a check the type of myTag so that it w...
On my Windows service written in C#, there is a method that makes an app domain and then loads some assemblies for that app domain (all of these are inside a thread).
Im trying to add the f...
Currently I am using a DataTable to make an Excel Spreadsheet with Math Berseth's class from here http://mattberseth.com/blog/2007/04/export_gridview_to_excel_1.html
This works fine, but no...
I am using a text box to capture a percentage value. Example. .95676
I am using the following code to parse the string into a floating point number.
string pctValue = txtPctValue.txt /...
Here's the situation... I've got a VS.2005 C# WinForms application in which I needed a way to display a powerpoint PPS or a MSWord document inside a form window... after a very large amount of...
I am trying to copy some files with a backgroundWorker, and want the progressBar and a label to be updated during the process. I can't figure out how to do this though, and wanted to ask if a...
Microsoft has a good sample of how to pull of datagrid sorting here: http://msdn.microsoft.com/en-us/library/0868ft3z.aspx.
However, their samples uses the click of a button. I want the use...
I am getting the following error during during compilation:
c# Cannot implicitly convert type 'long' to 'int'. An explicit conversion exists (are you missing a cast?)
Morning guys and gals,
I have a question i could really use some help with, it has been bothering me all weekend.
I have the following XML:
-------------------------------------------...
I have an application and I am trying to code it so that when I have a session timeout and a user clicks in the application they get redirected to a session timeout web page. This page has a b...
As in this question I have describe: http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_23443634.html
After I fix the code as Bruce_1975 suggest I have the Exception handled:
Cr...
I need a few evaluation strings. I need one that evaluates a code the first digit is either J K L M or D followed by 5 numbers.
I also need one that will validate a credit card number eith...
I'm getting this error: Input string was not in a correct format.
this is the code...
This is the line that failes:
DataRow drFiltered = ds.Tables[0].Rows.Find(tagname);
tagname i...
Hello,
I have not enough knowledge on multithreading so I need help on a specific behavior I should obtain on C#.
I have a scanning function that several threads calls after dedicated ev...
Experts,
Does anyone have a simple, straight forward solution for maintaining checkbox state in datagrid using c# asp.net 1.? I've looked online for samples, but none of them really worked...
Hello.
Goal: change datagrid cell forecolor/backcolor depending on cell value.
After some browsing I found plenty answers that simply don't fit class structure that VS2003 gives to a C# ...
Hi,
How to encrypt password using SHA256 ?
my input password is "4231"
And output storage key is "0x0D8443883FF99D44DA3BCC5AC719FE26D4B148A1B847059B20A9922591561A5B" (in database)
could...
What is the easiest way to create a "File, Print"
event that will print everything that is on my C# 2008
WInForm, similar to the Print function when on
a webpage or in Microsoft Word/etc ?
I would like to take a textbox and basically inside it will be an ascii string that represents hex .. i..e
string bla = "A4 A6 AF AF A6 A7 A3 AE A7 A7 B6 A2 A0 A6 AE B6 A2 A6 A6 AF A0 A2 A6...
Hello,
Problem: I want to add an image watermark (like an image in the background) on the first page of a pdf when it is uploaded to a site that I coded in .Net 2.0
Attempted Solution: ...
Hi Guys n gals,
I have the following C# application that I plan to use to read an XML file every 20 minutes and then add the results into a MySql database.
This all works fine, my proble...
I create notify icon in a windows service, then install that service and run it - the icon show up in the tray if i do the following steps only
My Computer - Manage - Services and Applicatio...