Windows Develop Bookmark and Share   
 index > Windows Forms General > Activate mouse double click event manually
 

Activate mouse double click event manually

plz help me.....its very important.......plzzzzzzzzzzz


how can i invoke "mouse double click event " manually,

ie, i want to activate mouse double click event using a code segment, with current location of mouse pointer???


plz anybody answer to me................................
  • Moved byTaylorMichaelLMVPFriday, September 25, 2009 1:34 PMWinForms related (From:.NET Base Class Library)
  •  
Justin Jose  Friday, September 25, 2009 8:43 AM
Public Class Form1
  Dim UIIn As New UIInput
  Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
    Cursor.Position = New Point(CInt(TextBox1.Text), CInt(TextBox2.Text))
    UIIn.LeftMouseDoubleClick()
  End Sub
End Class
Public Class UIInput
  Declare Sub mouse_event Lib "User32" (ByVal Flags As UInteger, Optional ByVal dx As UInteger = 0, Optional ByVal dy As UInteger = 0, Optional ByVal Data As UInteger = 0, Optional ByVal ExtraInfo As Integer = 0)
  Const MOUSEEVENTF_LEFTDOWN As UInteger = 2
  Const MOUSEEVENTF_LEFTUP As UInteger = 4
  Sub LeftMouseClick()
    mouse_event(MOUSEEVENTF_LEFTDOWN)
    mouse_event(MOUSEEVENTF_LEFTUP)
  End Sub
  Sub LeftMouseDoubleClick()
    LeftMouseClick()
    LeftMouseClick()
  End Sub
End Class
  • Marked As Answer byJustin Jose Thursday, October 01, 2009 4:34 AM
  •  
JohnWein  Wednesday, September 30, 2009 8:03 AM
Something like this:

private void Form1_MouseDoubleClick(object sender, MouseEventArgs e) {
// etc..
}

private void button1_Click(object sender, EventArgs e) {
Point pos = this.PointToClient(Control.MousePosition);
MouseEventArgs me = new MouseEventArgs(MouseButtons.Left, 2, pos.X, pos.Y, 0);
Form1_MouseDoubleClick(this, me);
}


Hans Passant.
nobugz  Friday, September 25, 2009 11:21 AM
Thank you....
But this is not i realy need...
My real problem is:

I developed a program to control the mouse pointer of another machine, using "winsocket" communication(Client server concept)
i can move the mouse cursor of a remote(client) machine, but i want to double click and open an aplication of remote machine... (ie mouse click events are needed).

My "client application" is running on that remote machine.

and i am sending my X,Y cordinates from my application in FORM1_MOUSEMOVE event...

In client aplication i got X,Y cordinates also, but i don't know how to activate MOUSEDOUBLECLICK event on that cursor position, from my pc??

what can i do, to double click on remote machine, from my pc????



HELP ME......HELP ME...................HELP ME........................

Justin Jose  Friday, September 25, 2009 12:00 PM
That's a completely different kettle of fish, you should have pointed this out in your OP. The much more generic approach would have been to P/Invoke SendInput() so you could simulate any kind of keyboard or mouse input. Visit pinvoke.net for the required declarations.

Hans Passant.
nobugz  Friday, September 25, 2009 12:23 PM
i can't access pinvoke.net,
so can you give me the needed code segment to double click on an icon programatically??
Justin Jose  Saturday, September 26, 2009 4:14 AM
Hi Justin,

You can get details about pinvoke SendInput from:
http://www.pinvoke.net/default.aspx/user32.sendinput

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Monday, September 28, 2009 6:18 AM
Hi Justin,

My reply just explains nobugz' answer. You do not need to mark it.

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Monday, September 28, 2009 6:45 AM
Thank u.....

But now i have tested this code, but its not working properly.......

what can i do ?

plz help me...

Justin Jose  Monday, September 28, 2009 7:07 AM

Hi Justin,

What is the issue now? Could you provide a code snippet?

Regards,
Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Monday, September 28, 2009 7:08 AM
hi,


Private Declare Function SendMessage Lib "user32.dll" (ByVal hWnd As Integer, ByVal msg As Integer, ByVal wParam As Integer, ByVal lParam As IntPtr) As Integer
' used for button-down & button-up

Public Declare Function PostMessage Lib "user32.dll" (ByVal hWnd As Integer, ByVal msg As Integer, ByVal wParam As Integer, ByVal lParam As IntPtr) As Integer
Public Declare Function SetForegroundWindow Lib "user32.dll" (ByVal hWnd As IntPtr) As Boolean


Public Sub SendLeftButtonDblClick(ByVal x As Integer, ByVal y As Integer)
PostMessage(handle, WM_LBUTTONDBLCLK, 0, New IntPtr(y * &H10000 + x))
End Sub


Dim dx As Double = 0
Dim dy As Double = 0


dx = Double.Parse(x) * (65535 / Screen.PrimaryScreen.Bounds.Width)
dy = Double.Parse(y) * (65535 / Screen.PrimaryScreen.Bounds.Height)
Call SendLeftButtonDblClick(dx, dy)





This is the code............

Now i can control mouse pointer of a remote machine, but i cant double click on icon on that machine!!!

How can i do this??

is this code work properly???


Justin Jose  Monday, September 28, 2009 7:14 AM
Hi Justin,

Do you mean you moved the cursor to the icon successfully, but the icon is not double clicked?

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Monday, September 28, 2009 7:34 AM
Yes,

i have created two apps , Client & server,


my server program runs on another machine, from my client program i have send x,y locations to server program(using winsocket), then using the folowing code i can move the cursor in that machine to any location,
Windows.Forms.Cursor.Position = New System.Drawing.Point(Double.Parse(x), Double.Parse(y))

its working.....


but i want to activate click events on that machine, from my client machine.i can tell to my server program that a double clik or a single clik happend in my machine, but how can i manually activate a double click event on a icon, in that machine???/
can u tell me the code for that????

i think you have understand my real problem...

help me plz..........

i am a beginer!!!

Justin Jose  Monday, September 28, 2009 8:02 AM
Hi Justin Jose,

The link I provided includes a VB sample as follows:
Public Class Form4

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        'get the textbox's location
        Dim tbLocation As Point = Me.PointToScreen(Me.TextBox1.Location)
        'nudge it into the tb
        tbLocation.X += 5
        tbLocation.Y += 5
        NativeMethods.DoMouse(NativeMethods.MOUSEEVENTF.MOVE Or NativeMethods.MOUSEEVENTF.ABSOLUTE, tbLocation)
        'click the textbox twice.
        NativeMethods.DoMouse(NativeMethods.MOUSEEVENTF.LEFTDOWN, tbLocation)
    End Sub
End Class

Public Class NativeMethods
    Friend Shared Sub DoMouse(ByVal flags As NativeMethods.MOUSEEVENTF, ByVal newPoint As Point)
        Dim input As New NativeMethods.INPUT
        Dim mi As New NativeMethods.MOUSEINPUT
        input.dwType = NativeMethods.InputType.Mouse
        input.mi = mi
        input.mi.dwExtraInfo = IntPtr.Zero
        ' mouse co-ords: top left is (0,0), bottom right is (65535, 65535)
        ' convert screen co-ord to mouse co-ords...
        input.mi.dx = newPoint.X * (65535 / Screen.PrimaryScreen.Bounds.Width)
        input.mi.dy = newPoint.Y * (65535 / Screen.PrimaryScreen.Bounds.Height)
        input.mi.time = 0
        input.mi.mouseData = 0  ' can be used for WHEEL event see msdn
        input.mi.dwFlags = flags
        Dim cbSize As Integer = Marshal.SizeOf(GetType(NativeMethods.INPUT))
        Dim result As Integer = NativeMethods.SendInput(1, input, cbSize)
        If result = 0 Then Debug.WriteLine(Marshal.GetLastWin32Error)
    End Sub

    Friend Shared Sub DoKeyBoard(ByVal flags As NativeMethods.KEYEVENTF, ByVal key As Keys)
        Dim input As New NativeMethods.INPUT
        Dim ki As New NativeMethods.KEYBDINPUT
        input.dwType = NativeMethods.InputType.Keyboard
        input.ki = ki
        input.ki.wVk = Convert.ToInt16(key)
        input.ki.wScan = 0
        input.ki.time = 0
        input.ki.dwFlags = flags
        input.ki.dwExtraInfo = IntPtr.Zero
        Dim cbSize As Integer = Marshal.SizeOf(GetType(NativeMethods.INPUT))
        Dim result As Integer = NativeMethods.SendInput(1, input, cbSize)
        If result = 0 Then Debug.WriteLine(Marshal.GetLastWin32Error)
    End Sub

    <DllImport("user32.dll", SetLastError:=True)> _
    Friend Shared Function SendInput(ByVal cInputs As Int32, ByRef pInputs As INPUT, ByVal cbSize As Int32) As Int32
    End Function

    <StructLayout(LayoutKind.Explicit, pack:=1)> _
    Friend Structure INPUT
        <FieldOffset(0)> Public dwType As Integer
        <FieldOffset(4)> Public mi As MOUSEINPUT
        <FieldOffset(4)> Public ki As KEYBDINPUT
        <FieldOffset(4)> Public hi As HARDWAREINPUT
    End Structure

    <StructLayout(LayoutKind.Sequential, pack:=1)> _
    Friend Structure MOUSEINPUT
        Public dx As Int32
        Public dy As Int32
        Public mouseData As Int32
        Public dwFlags As MOUSEEVENTF
        Public time As Int32
        Public dwExtraInfo As IntPtr
    End Structure

    <StructLayout(LayoutKind.Sequential, pack:=1)> _
    Friend Structure KEYBDINPUT
        Public wVk As Int16
        Public wScan As Int16
        Public dwFlags As KEYEVENTF
        Public time As Int32
        Public dwExtraInfo As IntPtr
    End Structure

    <StructLayout(LayoutKind.Sequential, pack:=1)> _
    Friend Structure HARDWAREINPUT
        Public uMsg As Int32
        Public wParamL As Int16
        Public wParamH As Int16
    End Structure

    Friend Enum InputType As Integer
        Mouse = 0
        Keyboard = 1
        Hardware = 2
    End Enum

    <Flags()> _
    Friend Enum MOUSEEVENTF As Integer
        MOVE = &H1
        LEFTDOWN = &H2
        LEFTUP = &H4
        RIGHTDOWN = &H8
        RIGHTUP = &H10
        MIDDLEDOWN = &H20
        MIDDLEUP = &H40
        XDOWN = &H80
        XUP = &H100
        VIRTUALDESK = &H400
        WHEEL = &H800
        ABSOLUTE = &H8000
    End Enum

    <Flags()> _
    Friend Enum KEYEVENTF As Integer
        EXTENDEDKEY = 1
        KEYUP = 2
        [UNICODE] = 4
        SCANCODE = 8
    End Enum
End Class

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Monday, September 28, 2009 10:26 AM
Is this code works properly in VS2005???



I have copied the code from the link which you given....


But i got 15 errors when tries to compile it!!!

Can you plz check this code in your system & tell me the result??

Justin Jose  Monday, September 28, 2009 11:56 AM
Hi Justin,

Based on my understanding, the root cause of the error is that some namespaces are not imported properly. Could you please post the error information?

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Wednesday, September 30, 2009 2:09 AM
i used the following codes:


Imports System.Runtime.InteropServices
Public Class Form1
<DllImport("user32.dll", SetLastError = True)> _
Private Shared Function SendInput(ByVal nInputs As Integer, ByRef pInputs As INPUT, ByVal cbSize As Integer) As Integer
End Function

Private Declare Function SendInput Lib "user32.dll" (ByVal cInputs As Integer, ByRef pInputs As INPUT, ByVal cbSize As Integer) As Integer
Private tb As New TextBox
Private WithEvents but1 As New Button

Sub New()
InitializeComponent()
tb = New TextBox : tb.Location = New Point(10, 10)
but1 = New Button : but1.Location = New Point(10, 40)
but1.Text = "example"
Me.Controls.Add(but1) : Me.Controls.Add(tb)
End Sub

Private Sub DoMouse(ByVal flags As NativeMethods.MOUSEEVENTF, ByVal newPoint As Point)
Dim input As New NativeMethods.INPUT
Dim mi As New NativeMethods.MOUSEINPUT
input.dwType = NativeMethods.InputType.Mouse
input.mkhi.mi = mi
input.mkhi.mi.dwExtraInfo = IntPtr.Zero
' mouse co-ords: top left is (0,0), bottom right is (65535, 65535)
' convert screen co-ord to mouse co-ords...
input.mkhi.mi.dx = newPoint.X * (65535 / Screen.PrimaryScreen.Bounds.Width)
input.mkhi.mi.dy = newPoint.Y * (65535 / Screen.PrimaryScreen.Bounds.Height)
input.mkhi.mi.time = 0
input.mkhi.mi.mouseData = 0 ' can be used for WHEEL event see msdn
input.mkhi.mi.dwFlags = flags
Dim cbSize As Integer = Marshal.SizeOf(GetType(NativeMethods.INPUT))
Dim result As Integer = NativeMethods.SendInput(1, input, cbSize)
If result = 0 Then Debug.WriteLine(Marshal.GetLastWin32Error)
End Sub

Private Sub DoKeyBoard(ByVal flags As NativeMethods.KEYEVENTF, ByVal key As Keys)
Dim input As New NativeMethods.INPUT
Dim ki As New NativeMethods.KEYBDINPUT
input.dwType = NativeMethods.InputType.Keyboard
input.mkhi.ki = ki
input.mkhi.ki.wVk = Convert.ToInt16(key)
input.mkhi.ki.wScan = 0
input.mkhi.ki.time = 0
input.mkhi.ki.dwFlags = flags
input.mkhi.ki.dwExtraInfo = IntPtr.Zero
Dim cbSize As Integer = Marshal.SizeOf(GetType(NativeMethods.INPUT))
Dim result As Integer = NativeMethods.SendInput(1, input, cbSize)
If result = 0 Then Debug.WriteLine(Marshal.GetLastWin32Error)
End Sub

Private Sub but1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles but1.Click
'move to the textbox, click it to focus, keydown some chars...
' get textbox location in screen co-ords
Dim tbLocation As Point = Me.PointToScreen(Me.tb.Location)
' nudge it into the tb
tbLocation.X += 5
tbLocation.Y += 5
' move to the TB. it is a MOVE event, and we use ABSOLUTE co-ordinates
DoMouse(NativeMethods.MOUSEEVENTF.MOVE Or NativeMethods.MOUSEEVENTF.ABSOLUTE, tbLocation)
' click the TB
DoMouse(NativeMethods.MOUSEEVENTF.LEFTDOWN, New Point(0, 0))
' release the mouse
DoMouse(NativeMethods.MOUSEEVENTF.LEFTUP, New Point(0, 0))
' the key codes are virtual keycodes (see mdsn)
' I'm using a shortcut to save space - casting chars to ints
' if you want to change case, you need to send a shift key with the letter...
' sbq: I found the routine VkKeyScanA very helpful converting from
' characters to virtual key codes. Look it up in the MSDN. I declared it
' as shown below. It returns the key code in the low byte and the additional
' keys to be pressed while transmitting in the upper byte (e.g., shift, ctrl, alt):
'
' Private Declare Function VkKeyScanA Lib "user32" Alias "VkKeyScanA" (ByVal cChar_Renamed As Byte) As Short
'
Dim message As String = "HELLO WORLD"
For Each c As Char In message
Dim key As UInteger = Convert.ToInt16(c)
DoKeyBoard(0, key) ' key down is 0 - no flag...
DoKeyBoard(NativeMethods.KEYEVENTF.KEYUP, key)
Next
DoKeyBoard(0, Keys.Decimal) ' example using keys enum which I think matches the VKEY values
DoKeyBoard(NativeMethods.KEYEVENTF.KEYUP, Keys.Decimal)
End Sub

End Class

Public Class NativeMethods

<DllImport("user32.dll", SetLastError:=True)> _
Friend Shared Function SendInput(ByVal cInputs As Int32, ByRef pInputs As INPUT, ByVal cbSize As Int32) As Int32
End Function

<StructLayout(LayoutKind.Explicit, pack:=1, Size:=28)> _
Friend Structure INPUT
<FieldOffset(0)> Public dwType As InputType
<FieldOffset(4)> Public mi As MOUSEINPUT
<FieldOffset(4)> Public ki As KEYBDINPUT
<FieldOffset(4)> Public hi As HARDWAREINPUT
End Structure

<StructLayout(LayoutKind.Sequential, pack:=1)> _
Friend Structure MOUSEINPUT
Public dx As Int32
Public dy As Int32
Public mouseData As Int32
Public dwFlags As MOUSEEVENTF
Public time As Int32
Public dwExtraInfo As IntPtr
End Structure

<StructLayout(LayoutKind.Sequential, pack:=1)> _
Friend Structure KEYBDINPUT
Public wVk As Int16
Public wScan As Int16
Public dwFlags As KEYEVENTF
Public time As Int32
Public dwExtraInfo As IntPtr
End Structure

<StructLayout(LayoutKind.Sequential, pack:=1)> _
Friend Structure HARDWAREINPUT
Public uMsg As Int32
Public wParamL As Int16
Public wParamH As Int16
End Structure

Friend Enum InputType As Integer
Mouse = 0
Keyboard = 1
Hardware = 2
End Enum

<Flags()> _
Friend Enum MOUSEEVENTF As Integer
MOVE = &H1
LEFTDOWN = &H2
LEFTUP = &H4
RIGHTDOWN = &H8
RIGHTUP = &H10
MIDDLEDOWN = &H20
MIDDLEUP = &H40
XDOWN = &H80
XUP = &H100
VIRTUALDESK = &H400
WHEEL = &H800
ABSOLUTE = &H8000
End Enum

<Flags()> _
Friend Enum KEYEVENTF As Integer
EXTENDEDKEY = 1
KEYUP = 2
[UNICODE] = 4
SCANCODE = 8
End Enum
End Class

Justin Jose  Wednesday, September 30, 2009 4:06 AM
But it shows following errors when tries to compile it:


Error 1 Name 'SetLastError' is not declared. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 4 30 WindowsApplication1

Error 2 Type 'INPUT' is not defined. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 5 82 WindowsApplication1
Error 3 Type 'INPUT' is not defined. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 8 101 WindowsApplication1
Error 4 'mkhi' is not a member of 'WindowsApplication1.NativeMethods.INPUT'. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 24 9 WindowsApplication1
Error 5 'mkhi' is not a member of 'WindowsApplication1.NativeMethods.INPUT'. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 25 9 WindowsApplication1
Error 6 'mkhi' is not a member of 'WindowsApplication1.NativeMethods.INPUT'. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 28 9 WindowsApplication1
Error 7 'mkhi' is not a member of 'WindowsApplication1.NativeMethods.INPUT'. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 29 9 WindowsApplication1
Error 8 'mkhi' is not a member of 'WindowsApplication1.NativeMethods.INPUT'. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 30 9 WindowsApplication1
Error 9 'mkhi' is not a member of 'WindowsApplication1.NativeMethods.INPUT'. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 31 9 WindowsApplication1
Error 10 'mkhi' is not a member of 'WindowsApplication1.NativeMethods.INPUT'. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 32 9 WindowsApplication1
Error 11 'mkhi' is not a member of 'WindowsApplication1.NativeMethods.INPUT'. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 42 9 WindowsApplication1
Error 12 'mkhi' is not a member of 'WindowsApplication1.NativeMethods.INPUT'. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 43 9 WindowsApplication1
Error 13 'mkhi' is not a member of 'WindowsApplication1.NativeMethods.INPUT'. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 44 9 WindowsApplication1
Error 14 'mkhi' is not a member of 'WindowsApplication1.NativeMethods.INPUT'. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 45 9 WindowsApplication1
Error 15 'mkhi' is not a member of 'WindowsApplication1.NativeMethods.INPUT'. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 46 9 WindowsApplication1
Error 16 'mkhi' is not a member of 'WindowsApplication1.NativeMethods.INPUT'. C:\Documents and Settings\ADMINISTRATOR\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 47 9 WindowsApplication1

Justin Jose  Wednesday, September 30, 2009 4:07 AM
Public Class Form1
  Dim UIIn As New UIInput
  Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
    Cursor.Position = New Point(CInt(TextBox1.Text), CInt(TextBox2.Text))
    UIIn.LeftMouseDoubleClick()
  End Sub
End Class
Public Class UIInput
  Declare Sub mouse_event Lib "User32" (ByVal Flags As UInteger, Optional ByVal dx As UInteger = 0, Optional ByVal dy As UInteger = 0, Optional ByVal Data As UInteger = 0, Optional ByVal ExtraInfo As Integer = 0)
  Const MOUSEEVENTF_LEFTDOWN As UInteger = 2
  Const MOUSEEVENTF_LEFTUP As UInteger = 4
  Sub LeftMouseClick()
    mouse_event(MOUSEEVENTF_LEFTDOWN)
    mouse_event(MOUSEEVENTF_LEFTUP)
  End Sub
  Sub LeftMouseDoubleClick()
    LeftMouseClick()
    LeftMouseClick()
  End Sub
End Class
  • Marked As Answer byJustin Jose Thursday, October 01, 2009 4:34 AM
  •  
JohnWein  Wednesday, September 30, 2009 8:03 AM

Hi Justin,

You need to import the name space below:
Imports System.Runtime.InteropServices
You also need to change the mkhi to mi in the DoMouse method and change mkhi to ki in the DoKeyBoard method.

Please read JohnWein’s reply. His code is more terse.

Regards,
Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Wednesday, September 30, 2009 10:17 AM
Thank you.......

Thank you very much.....


Its working properly....

Justin Jose  Thursday, October 01, 2009 4:35 AM

You can use google to search for other answers

Custom Search

More Threads

• how can i close a form from another form?
• Welcome back Ken
• creating mail from .net application
• getting the next id...
• how to perform operations from main()
• TreeView scrolling up
• unsolved mysteries: rich text box troubles VS.NET2003
• ActiveX control issues
• How to run a dos command in the Window Forms
• Problem Adding Item