User Profile

Collapse

Profile Sidebar

Collapse
Ashish Gupra
Ashish Gupra
Last Activity: Aug 5 '09, 06:18 PM
Joined: Jun 26 '08
Location: Noida, India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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());...
    See more | Go to post

    Leave a comment:


  • Ashish Gupra
    started a topic Problem in using 'ImessageFilter' Interface
    in .NET

    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...
    See more | Go to post

  • Ashish Gupra
    started a topic Does VB.Net not support VB6.0 ocx files
    in .NET

    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
    See more | Go to post

  • Ashish Gupra
    started a topic Lock a column in ListView control
    in .NET

    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
    See more | Go to post

  • Thanks,

    This will works...

    -- Ashish
    See more | Go to post

    Leave a comment:


  • 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...
    See more | Go to post

  • 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
    See more | Go to post

  • 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...
    See more | Go to post

    Leave a comment:


  • Ashish Gupra
    replied to Formatting String...
    in .NET
    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...
    See more | Go to post

    Leave a comment:


  • Ashish Gupra
    started a topic Formatting String...
    in .NET

    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
    Now i want to set 'strTest1' as bold and italic. But String class have no such property.

    Can any one help me?

    Regards,
    Ashish
    See more | Go to post
    Last edited by DrBunchman; Jul 8 '08, 11:51 AM. Reason: Added code tags - Please use the # button

  • 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()...
    See more | Go to post

    Leave a comment:


  • Ashish Gupra
    replied to Locking my application
    in .NET
    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...
    See more | Go to post

    Leave a comment:


  • Ashish Gupra
    started a topic Problem in opening form through Threads
    in .NET

    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...
    See more | Go to post

  • Ashish Gupra
    started a topic Locking my application
    in .NET

    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
    See more | Go to post
No activity results to display
Show More
Working...