Search Results

Showing results 1 to 40 of 47
Search took 0.05 seconds.
Search: Posts Made By: adatapost ; Forum: C# and child forums
Forum: C# 21 Hours Ago
Replies: 1
Views: 110
Posted By adatapost
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
Posted By adatapost
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
Posted By adatapost
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
Posted By adatapost
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
Posted By adatapost
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
Posted By adatapost
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
Posted By adatapost
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
Posted By adatapost
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
Posted By adatapost
For checkBox, use Checked and CheckState property.
List and ComboBox; use SelectedValue property.
Forum: C# Oct 7th, 2009
Replies: 6
Views: 233
Posted By adatapost
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
Posted By adatapost
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
Posted By adatapost
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
Posted By adatapost
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
Posted By adatapost
Here is a service provider - http://portforward.com/. You will find some useful details.
Forum: C# Sep 24th, 2009
Replies: 4
Views: 291
Posted By adatapost
@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
Posted By adatapost
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
Posted By adatapost
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
Posted By adatapost
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
Posted By adatapost
string[] ar = listBox1.SelectedItems.Cast<string>().ToArray<string>();
Forum: C# Sep 13th, 2009
Replies: 3
Views: 673
Posted By adatapost
Use DateTime.TryParseExact (http://msdn.microsoft.com/en-us/library/ms131044.aspx)
Forum: C# Sep 13th, 2009
Replies: 4
Views: 292
Posted By adatapost
Forum: C# Sep 11th, 2009
Replies: 18
Views: 797
Posted By adatapost
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
Posted By adatapost
Yes, it's a GDI+ (http://msdn.microsoft.com/en-us/library/system.drawing.aspx).
Forum: C# Sep 9th, 2009
Replies: 5
Views: 773
Posted By adatapost
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
C#
Views: 253
Posted By adatapost
1
Re: C#
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
Posted By adatapost
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
Posted By adatapost
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
Solved: C# Hotkeys
Views: 1,176
Posted By adatapost
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
Posted By adatapost
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
Posted By adatapost
>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
Posted By adatapost
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
Posted By adatapost
Read this article - DataGridView Tips and Tricks
(http://www.emmet-gray.com/Articles/DataGridView.htm)
Forum: C# Aug 7th, 2009
Replies: 18
Views: 566
Posted By adatapost
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
Posted By adatapost
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
Solved: C# Intellisense
Views: 417
Posted By adatapost
You may get some ideas from this link - http://pdevelop.sourceforge.net/
Forum: C# Jul 28th, 2009
Replies: 15
Views: 1,024
Posted By adatapost
MD5 and SHA are Hashing algorithm.
Forum: C# Jul 27th, 2009
Replies: 7
Views: 310
Posted By adatapost
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
Posted By adatapost
Link -
http://www.icsharpcode.net/OpenSource/SharpUSBLib/default.aspx
http://libusb-win32.sourceforge.net/
Forum: C# Jul 23rd, 2009
Replies: 5
Views: 440
Posted By adatapost
You missed Read() method.

if (dataReader4.Read())
var=dataReader4.IsDBNull(0);
}
Forum: C# Jul 20th, 2009
Replies: 13
Views: 723
Posted By adatapost
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];...
Showing results 1 to 40 of 47

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC