Forum: C# Nov 4th, 2008 |
| Replies: 3 Views: 1,822 Hi
Please follow the MSDN link http://msdn.microsoft.com/en-us/library/aa363480(VS.85).aspx
This is gives the basic idea of windows message on hardware changes, but not give the full solution. |
Forum: C# Nov 4th, 2008 |
| Replies: 2 Views: 699 Hi,
You may Use regular expression (Regex), for string searching. |
Forum: C# Oct 10th, 2008 |
| Replies: 2 Views: 1,537 Hi,
In C#, we use colon ( : ) to extend from one class. Java language uses this extends keyword to inherit from a class.
If u have doubt like this, try it practically with these two types.... |
Forum: C# Oct 3rd, 2008 |
| Replies: 3 Views: 3,650 Hi, You may use low level key hooks to prevent this. but it is somewhat tedious. |
Forum: C# Oct 1st, 2008 |
| Replies: 15 Views: 5,536 Hi,
Which version of .NET Framework you are using? FormClosing is new to .NET Framework 2.0. Or Specify what difficulty you are facing while implementing the above code. |
Forum: C# Sep 27th, 2008 |
| Replies: 2 Views: 728 Hi, You may start your Voice Application by writing code using SAPI SDK. Try this in Google. You can download SAPI SDK from Microsoft Website. |
Forum: C# Sep 18th, 2008 |
| Replies: 8 Views: 1,589 Hi,
Array size can be specified dynamically like
int[] AnArray;
int iSize = 10;
AnArray = new int [iSize];
So user can control the length |
Forum: C# Sep 5th, 2008 |
| Replies: 3 Views: 908 Hi, I found two errors, It may be typo mistake
1.
if(m_Login = null |= StrPassword = null)
can be changed as
if(m_Login == null || StrPassword == null)
___
2.
String StrSql = "Select... |
Forum: C# Sep 4th, 2008 |
| Replies: 3 Views: 499 Ok, Try out your assignment, If you face any difficult then post here |
Forum: C# Aug 29th, 2008 |
| Replies: 4 Views: 3,532 Hi, Why dont consider the MaskedTextBox control ?. This MaskedTextBox gets formatted input from the user |
Forum: C# Aug 26th, 2008 |
| Replies: 4 Views: 5,443 Use MaxLength of TextBox to restrict your input only 4 character. or use MaskedTextBox for input only digits. |
Forum: C# Aug 25th, 2008 |
| Replies: 3 Views: 1,884 If you know the location of exe on client machine then also it is not possible. I think if such script in your webpage it may be blocked by browser.
I am not exact. but this is should not be... |
Forum: C# Aug 25th, 2008 |
| Replies: 4 Views: 5,443 Hi,
means you have to allow only 4 digits?
or
you mean, when you press '4'
If so, put quote before 4 in
if(e.KeyChar == 4) |
Forum: C# Aug 25th, 2008 |
| Replies: 1 Views: 1,730 Hi,
Set uiMode property of windows media player to none
axWindowsMediaPlayer1.uiMode = "none"; |
Forum: C# Aug 24th, 2008 |
| Replies: 15 Views: 3,596 Ya Nice,
>>To Clip the Cursor, you have to Capture it First. To do use Cursor.Capture = true in button1_Click.
>>Another thing is to set the Bounding Rectangle of the Clipping area.
... |
Forum: C# Aug 24th, 2008 |
| Replies: 15 Views: 3,596 Hi, your above code will work when you move the mouse over groupBox1, it will show the X and y position of the Mouse
From your question, I think you want to restrict the Mouse Cursor only... |
Forum: C# Aug 24th, 2008 |
| Replies: 2 Views: 2,965 Hi,
> Create new instance of the Form using new Keyword
> Show the form using Form.Show() method
To set the value of the control in another form, you have to provide public method to... |
Forum: C# Aug 23rd, 2008 |
| Replies: 2 Views: 966 Hi,
To do this use NotifyIcon Control. When your form is minimized then Set NotifyIcon control Visible to True and Use Show In Task bar property of the Form. |
Forum: C# Aug 23rd, 2008 |
| Replies: 3 Views: 1,884 Hi,
I think it is not possible for security reason. |
Forum: C# Aug 23rd, 2008 |
| Replies: 4 Views: 3,845 Hi,
> Press Print Screen
> Now Clipboard contains the Screen Image
use following code to save the image
if (Clipboard.ContainsImage())
{
Image screenshot =... |
Forum: C# Aug 23rd, 2008 |
| Replies: 3 Views: 562 Sorry, for the previous post,
I actually i made a typo mistake
I meant to say
Hi, I think it is possible, but i dont know how...
but i typed
but i know how... |
Forum: C# Aug 23rd, 2008 |
| Replies: 2 Views: 1,472 Hi,
pictureBox1.Paint is an Event, not a Function. It is similar to Button.Click, Form.Load ... etc.. So
pictureBox1.Paint();
is wrong.
You can simply call... |
Forum: C# Aug 20th, 2008 |
| Replies: 3 Views: 562 Hi, I think it is possible, but i know how... |
Forum: C# Aug 19th, 2008 |
| Replies: 10 Views: 3,146 Hi, Use the following syntax to add Column at runtime
DataGridView1.Columns.Add ( string ColumnName, string ColumnCaption)
If your Combobox values are unique then use ComboBox selected value as... |
Forum: C# Aug 17th, 2008 |
| Replies: 6 Views: 934 My above code uses Dot Net Framework 2.0. You may be earlier version.
Add just handler for FormClosing Event Handler.. Or Other Event which is occuring when form is Closing. |
Forum: C# Aug 17th, 2008 |
| Replies: 5 Views: 1,046 Yes, I agree
but you can change the condition like
No & 1 == 1 means Odd
otherwise Even |
Forum: C# Aug 15th, 2008 |
| Replies: 3 Views: 1,957 Hi,
This is working but sometimes u need to close the form then ..
Make a boolean variable. then check it for close operation.
Try
bool bUserClose = true;
private void... |
Forum: C# Aug 15th, 2008 |
| Replies: 6 Views: 934 Between is used in WHERE Clause for a range
SELECT Fields FROM Table WHERE
ConditionalField BETWEEN #StartDate# AND #EndDate#
I give example for BETWEEN/AND for ACCESS SQL
SELECT... |
Forum: C# Aug 15th, 2008 |
| Replies: 5 Views: 1,046 I think Bitwise & operator can be useful.
No & 2 == 0 means Odd
and
No & 2 == 2 means Even
(here No is any number)
Is this correct?
I think it also using condition but different... |
Forum: C# Aug 14th, 2008 |
| Replies: 6 Views: 934 Use BETWEEN Clause in Query
Exe file automatically created when you compile the solution according to debug version or release version.
Form1 class resides in which class is important ...... |
Forum: C# Aug 13th, 2008 |
| Replies: 2 Views: 2,149 Why dont you try DataGridView control instead Combobox with columns? |
Forum: C# Aug 11th, 2008 |
| Replies: 2 Views: 416 HI,
You are describing about your User Interface design. It can be achieved in any languge (It may be VB.NET or C#.NET ....). i dont know how far you are familiar with the programming language. ... |
Forum: C# Aug 11th, 2008 |
| Replies: 2 Views: 477 Have you used SplitContainer.BackgroundImage property? |
Forum: C# Aug 11th, 2008 |
| Replies: 5 Views: 1,576 Hi, You have to add values dynamically to the second combo box that is in the SelectedIndexChanged event of ComboBox1. |
Forum: C# Aug 9th, 2008 |
| Replies: 1 Views: 761 Hi, I am not having clear idea about animation. But I think animation like character, in GDI + may not good. Instead you can try DirectX. Have ever heard about DirectX? I think it is best for... |
Forum: C# Aug 9th, 2008 |
| Replies: 2 Views: 1,244 Hi, Also try DataGridView Control to add the Questions and Answer. |
Forum: C# Aug 9th, 2008 |
| Replies: 1 Views: 1,588 Hi, It is working for Mouse Not for Keyboard Cursor. Use DataGridView.CurrentCell it represents the active cell. |
Forum: C# Jul 31st, 2008 |
| Replies: 5 Views: 5,924 I think the Format of the Date is not correct or It may contains invalid date so the exception happens.
If you give the input as "20/8/2010", is this working?
I think year is the only the... |
Forum: C# Jul 30th, 2008 |
| Replies: 1 Views: 728 Hi, I think there is no ZipInputStreams and ZipOutputStream in Dot Net Libraries. It is available in some third party Libraries.
Please Visit
http://www.icsharpcode.net/OpenSource/SharpZipLib/
... |
Forum: C# Jul 30th, 2008 |
| Replies: 5 Views: 5,924 First Parse the Text into DateTime object. Then compare the DateTime objects
string sDateTime = "20/8/2010"; // yearTextBox.Text
DateTime textDateTime = DateTime.Parse(sDateTime) ;
... |