User Profile

Collapse

Profile Sidebar

Collapse
j2associates
j2associates
Last Activity: Jan 29 '08, 02:05 PM
Joined: Aug 3 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hello,

    Use the following declaration instead:

    Declare Function EnumThreadWindo ws(ByVal threadId As Integer, ByVal callback As EnumThreadWindo wsDelegate, ByVal lParam As IntPtr) As Integer

    Note that VB6 Longs are VB.Net Integers. Good Luck!
    See more | Go to post

    Leave a comment:


  • j2associates
    started a topic Service Started and Then Stopped
    in .NET

    Service Started and Then Stopped

    Hello all,

    I was creating a Windows service and it was working. After I uninstalled it using InstallUtil /u, made changes and reregisterd it, I get a message about the Service Started and then Stopped. This thread discusses the same thing but I didn't know how to add to it: http://www.thescripts. com/forum/thread420371.ht ml#

    Thanks!
    See more | Go to post

  • How do you handle AddressOf MethodName in old Win32 API code

    Hello All,

    When a Win32 API method allows AddressOf MethodName to be resolved to a Long, how do you handle that in .Net? See example code below which works fine in VB but throws an error when I try to convert it.

    Old VB Code

    Declare Function EnumThreadWindo ws Lib "user32" (ByVal dwThreadId As Long, ByVal lpfn As Long, ByVal lParam As Long) As Long

    Public Sub MySub(ByVal hWnd...
    See more | Go to post

  • What combobox windows message can I trap in WndProc as user moves within dropped list

    Hello all,

    When a combo box is in the dropped state and I move the mouse up and down within the list to highlight different rows, what message is being sent that I can trap by WndProc? Thanks in advance for any ideas and/or suggestions!
    See more | Go to post
No activity results to display
Show More
Working...