Forum: C# 21 Hours Ago |
| Replies: 1 Views: 110 Use System.Windows.Forms.SendKeys.SendWait method,
Process myProcess = new Process();
myProcess.StartInfo.FileName = @"notepad.exe";
... |
Forum: C# 16 Days Ago |
| Replies: 1 Views: 204 Create/Define report parameters. Take a look at this article - http://www.codeproject.com/KB/vb/MicrosoftReports.aspx |
Forum: C# 19 Days Ago |
| Replies: 12 Views: 428 Hi,
Please follows these steps:
1. Create a sub-class of System.Data.DataSet
Example,
namespace test
{ |
Forum: C# 21 Days Ago |
| Replies: 8 Views: 320 Welcome annaqah.
Handle Paint (http://msdn.microsoft.com/en-us/library/system.windows.forms.control.paint.aspx) event of Form and use GDI classes to draw a vertical line onto the Form.
... |
Forum: C# 34 Days Ago |
| Replies: 4 Views: 631 Hi danny.
You have to handle formclosing event along with singleton (http://hashfactor.wordpress.com/2009/03/31/c-winforms-create-a-single-instance-form/) - single instance of Form. |
Forum: C# Nov 5th, 2009 |
| Replies: 3 Views: 178 You are developing a email client. I think you will find some more information from this link - http://anmar.eu.org/projects/sharpwebmail/ |
Forum: C# Nov 5th, 2009 |
| Replies: 4 Views: 347 Take a look at this article - http://www.c-sharpcorner.com/UploadFile/harishankar2005/Reflectionin.NET12032005045926AM/Reflectionin.NET.aspx |
Forum: C# Nov 4th, 2009 |
| Replies: 3 Views: 441 Reset the stream position before instantiate the reader.
xmlStream.Position = 0;
XmlReader reader = XmlReader.Create(xmlStream);
reader.MoveToContent();
..... |
Forum: C# Oct 16th, 2009 |
| Replies: 6 Views: 969 For checkBox, use Checked and CheckState property.
List and ComboBox; use SelectedValue property. |
Forum: C# Oct 7th, 2009 |
| Replies: 6 Views: 233 If your are working with asp.net web application then it is easy and fast in asp.net using httpmodule.
Read this article -... |
Forum: C# Sep 30th, 2009 |
| Replies: 25 Views: 948 Setup and Deployment system won't help you to set expire date/time or some restrictions of an application. You have to write some code. Please have a look at... |
Forum: C# Sep 29th, 2009 |
| Replies: 25 Views: 948 Serkan, we are in need of your help.
@VibhorG,
Here is a great link (suggested by serkan:) ) - http://www.simple-talk.com/dotnet/visual-studio/getting-started-with-setup-projects/ |
Forum: C# Sep 29th, 2009 |
| Replies: 25 Views: 948 You have to add Custom Action, User Interface, and Setup Registry.
Take a look at http://msdn.microsoft.com/en-us/library/9cdb5eda.aspx |
Forum: C# Sep 24th, 2009 |
| Replies: 4 Views: 266 Here is a service provider - http://portforward.com/. You will find some useful details. |
Forum: C# Sep 24th, 2009 |
| Replies: 4 Views: 291 @linkpraveen - I meant to say that "Value Types" goes into class and "Reference" Types goes into HEAP.
I think you misinterpret the post #2.
Take a look at this blog -
... |
Forum: C# Sep 24th, 2009 |
| Replies: 10 Views: 532 To perform database actions, you must have to learn ADO.NET (http://msdn.microsoft.com/en-us/data/aa937699.aspx) class library. |
Forum: C# Sep 22nd, 2009 |
| Replies: 18 Views: 973 OwnerDraw listview; It expands escape seq,. chars.
....
listView1.OwnerDraw = true;
listView1.DrawItem += new DrawListViewItemEventHandler(listView1_DrawItem);
}
void... |
Forum: C# Sep 15th, 2009 |
| Replies: 12 Views: 1,702 Here is my contribution,
NameValueCollection query = System.Web.HttpUtility.ParseQueryString("A=10&B=20&C=30");
Console.WriteLine(query["A"] + " " + query["B"] + " " + query["C"]); |
Forum: C# Sep 14th, 2009 |
| Replies: 8 Views: 493 string[] ar = listBox1.SelectedItems.Cast<string>().ToArray<string>(); |
Forum: C# Sep 13th, 2009 |
| Replies: 3 Views: 673 Use DateTime.TryParseExact (http://msdn.microsoft.com/en-us/library/ms131044.aspx) |
Forum: C# Sep 13th, 2009 |
| Replies: 4 Views: 292 Use NOT BETWEEN @p1 and @p2. |
Forum: C# Sep 11th, 2009 |
| Replies: 18 Views: 797 Please correct me if I am wrong. Do you want to have a list of installed programs? |
Forum: C# Sep 9th, 2009 |
| Replies: 3 Views: 502 Yes, it's a GDI+ (http://msdn.microsoft.com/en-us/library/system.drawing.aspx). |
Forum: C# Sep 9th, 2009 |
| Replies: 5 Views: 773 DataTable (http://msdn.microsoft.com/en-us/library/system.data.datatable.aspx) class.
DataTable dt=new DataTable();
dt.Columns.Add("Col1",typeof(int)); |
Forum: C# Sep 8th, 2009 |
| Replies: 5 Views: 253 First of all you must read about .NET Framework (http://www.microsoft.com/NET/) and then go for C# Language. (http://msdn.microsoft.com/en-us/vcsharp/aa336809.aspx)
.NET Framework Conceptual... |
Forum: C# Sep 7th, 2009 |
| Replies: 5 Views: 565 ddanbe,
There is no magic with number 32. You know the algorithm of binarySearch very well. BinarySearch searches an entire one-dimensional sorted Array for a specific element, using the... |
Forum: C# Aug 31st, 2009 |
| Replies: 2 Views: 238 Read Overview of ADO.NET (http://msdn.microsoft.com/en-us/library/h43ks021(VS.71).aspx)
And don't miss this one :
Learning ADO.NET (http://msdn.microsoft.com/en-us/data/aa937699.aspx) |
Forum: C# Aug 31st, 2009 |
| Replies: 11 Views: 1,176 Hotkeys Binding in C# Windows Application (http://20.targetprocess.com/2006/10/hotkeys-binding-in-c-windows.html) |
Forum: C# Aug 28th, 2009 |
| Replies: 12 Views: 465 Try it with your datasource object (DataTable) and also expression columns. For example,
DataTable dt=new DataTable();
dt.Columns.Add("Qty",typeof(int));
... |
Forum: C# Aug 17th, 2009 |
| Replies: 9 Views: 435 >the command for the form can be used in console? What are differences between this two? is this the better approached?
The console project template adds the necesary items needed to create a... |
Forum: C# Aug 12th, 2009 |
| Replies: 5 Views: 948 Icon class is there.
System.Drawing.Icon c = new Icon(@"c:\app\mapp\p1.ico");
pictureBox1.Image = c.ToBitmap(); |
Forum: C# Aug 8th, 2009 |
| Replies: 9 Views: 281 Read this article - DataGridView Tips and Tricks
(http://www.emmet-gray.com/Articles/DataGridView.htm) |
Forum: C# Aug 7th, 2009 |
| Replies: 18 Views: 566 DangerDev,
Use backslash character to form a path and OP wants to create a textstream not a byte stream. |
Forum: C# Aug 4th, 2009 |
| Replies: 6 Views: 435 Good point @nmaillet. Use boolean (volatile) instance variable to control a thread.
public class Best
{
volatile bool flag=true ;
Thread thread;
public Best()
{
... |
Forum: C# Aug 3rd, 2009 |
| Replies: 8 Views: 417 You may get some ideas from this link - http://pdevelop.sourceforge.net/ |
Forum: C# Jul 28th, 2009 |
| Replies: 15 Views: 1,024 MD5 and SHA are Hashing algorithm. |
Forum: C# Jul 27th, 2009 |
| Replies: 7 Views: 310 Danny,
In .net framework , types system falls into two categories:
1. Value types (simple types (int,char etc - they are also struct),struct & enum)
2. Reference types - (classes,interfaces,... |
Forum: C# Jul 25th, 2009 |
| Replies: 2 Views: 708 Link -
http://www.icsharpcode.net/OpenSource/SharpUSBLib/default.aspx
http://libusb-win32.sourceforge.net/ |
Forum: C# Jul 23rd, 2009 |
| Replies: 5 Views: 440 You missed Read() method.
if (dataReader4.Read())
var=dataReader4.IsDBNull(0);
} |
Forum: C# Jul 20th, 2009 |
| Replies: 13 Views: 723 Hi dany,
OP's demand is sorting an array elements using insertion sort algorithm.
int i, j, t;
....
for (i=1; i<n; i++)
{
j=i;
t=a[j];... |