hi
Thanks for reply and Sorry for my late response.
The code given in Code Project link was not working well. I have modified that code according to me, it doesn't work. Following is my modified code:
public bool PreFilterMessag e(ref Message m)
{
// Just to see the messages.
Console.WriteLi ne(DateTime.Now + " " + m.ToString());...
User Profile
Collapse
Profile Sidebar
Collapse
Ashish Gupra
Last Activity: Aug 5 '09, 06:18 PM
Joined: Jun 26 '08
Location: Noida, India
-
Problem in using 'ImessageFilter' Interface
Hi,
I want to use 'IMessageFilter ' interface to monitor my Key and mouse events to let me know the idle time of my application.
But this interface nt works fine. 'PreFilterMessa ge' function of this interface shows that in every specified time 'MouseMove' event occurs even if there is not movement in mouse.
Also If i open a Modal form from that application than this interface does not give messages related... -
Does VB.Net not support VB6.0 ocx files
HI,
I want to use some ocx controls of VB6.0 in VB.Net as a reference. It gives error.
Does dot net not support use of OCX Files?
Regards,
Ashish -
Lock a column in ListView control
Hi,
Is it possible to lock a column in ListView control?
I have used following code. But this will not works.
mlvwControl.Col umns("Icon").Au toResize(Column HeaderAutoResiz eStyle.None)
Regards,
Ashish -
-
How weknows the implemented Interface name at run time
Hi,
Is there any method to know the interface name through which the class has been implemented?
Example:
Public Interface I1
Public funcation Test() as string
End Interface
Public Class C1
Implements I1
Public function Test()as string implements I1.Test
msgbox("Hello")
End Function
End Class
Public... -
Reading Information from Program debug databse (PDB) file
Hi All,
I want to create an application as 'Object Browser' in Visual Studio.Net. In which I just want to give it a Dll or PDB file, then it will show the information about references used by this dll and classes (with method, property and variables) in this dll.
Please give me any suggestion to implement such application.
Regrads,
Ashish -
Hi,
In my application these forms are like alerts and i dont know how many alerts occur in a minute. Also alerts get its records for database. So i do not want to get busy my main thread to launch these alerts...
Is there any other solution to avoid using threads?
Also Please lat me know future problem in using thread in such operations.
Regards,
Ashish...Leave a comment:
-
hi,
thanks for reply...
But this is not what i wants. I do not want to bold TextBox1.Text. I just want to manipulate my first string only (i.e. set bold and italic etc.).
Regards,
Ashish...Leave a comment:
-
Formatting String...
hi,
I have following code:
Code:Dim strTest1 as String = "World is not Enough" Dim strTest2 as String = "Hello! World" Me.TextBox1.Text = strTest1 & strTest2
Can any one help me?
Regards,
Ashish -
hi,
thanks for reply..
Now i have solved my problem. I have use the following code:
Private Sub cmdShow_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles cmdShow.Click
Dim thForm As Threading.Threa d
Dim i As Int32
For i = 0 To 20
thForm = New Threading.Threa d(AddressOf ShowForm)
thForm.Start()...Leave a comment:
-
hi,
Thanks for replying me...
But i think this is not a good solution for a bulky application in which several forms are there. Because in this situation i think i have to handle mosue or keyboard activity in each form...
Regards,
Ashish...Leave a comment:
-
Problem in opening form through Threads
hi,
I have created a Windows application. I want to launch a form using thread. But this is not working well.
Following is my code:
[code=vbnet]
Private Sub cmdShow_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles cmdShow.Click
Dim thForm As Threading.Threa d
Dim i As Int32
For i = 0 To 20
thForm = New Threading.Threa d(AddressOf... -
Locking my application
Hi all,
I want to lock my application if user does not interact with the application for specified time period.
Is there any event or method to get that user does not interact/ use application for specific time?
Regards,
Ashish
No activity results to display
Show More
Leave a comment: