Click here to Skip to main content
16,003,417 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Get the proper path name, proper case I mean. Pin
Dave Kreskowiak8-May-08 4:59
mveDave Kreskowiak8-May-08 4:59 
GeneralRe: Get the proper path name, proper case I mean. Pin
AndrewVos8-May-08 5:14
AndrewVos8-May-08 5:14 
AnswerRe: Get the proper path name, proper case I mean. Pin
Dave Kreskowiak8-May-08 5:32
mveDave Kreskowiak8-May-08 5:32 
GeneralRe: Get the proper path name, proper case I mean. Pin
AndrewVos8-May-08 5:39
AndrewVos8-May-08 5:39 
GeneralRe: Get the proper path name, proper case I mean. Pin
AndrewVos8-May-08 6:12
AndrewVos8-May-08 6:12 
Questiongetting input from user Pin
raydona7-May-08 8:11
raydona7-May-08 8:11 
AnswerRe: getting input from user Pin
Dave Kreskowiak7-May-08 8:42
mveDave Kreskowiak7-May-08 8:42 
Questionhow to use SetWindowLong API function calling in Vb.net Pin
brams77-May-08 4:04
brams77-May-08 4:04 
If I use the SetWindowLong in VB, I get the positive return value. Now we are migrating to vb.net and if I tried using SetWindowLong in vb.net, I get negative value. The third parameter in SetWindowLong is dwNewLong, am using delegate here to point to the address of the function I wanted to point to. (for example - AddressOf MyFunction)
I tried using different function definition but no success.
I used following -
Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" _
(ByVal hWnd As Integer, _
ByVal nIndex As Integer, _
ByVal dwNewLong As MyFunction) As Integer

Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" _
(ByVal hWnd As IntPtr, _
ByVal nIndex As Integer, _
ByVal dwNewLong As MyFunction) As Integer

Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" _
(ByVal hWnd As Int64, _
ByVal nIndex As Int64, _
ByVal dwNewLong As MyFunction) As Int64

Can anyone help me with this?
AnswerRe: how to use SetWindowLong API function calling in Vb.net Pin
Dave Kreskowiak7-May-08 7:12
mveDave Kreskowiak7-May-08 7:12 
GeneralRe: how to use SetWindowLong API function calling in Vb.net Pin
brams77-May-08 10:33
brams77-May-08 10:33 
GeneralRe: how to use SetWindowLong API function calling in Vb.net Pin
Dave Kreskowiak7-May-08 10:57
mveDave Kreskowiak7-May-08 10:57 
GeneralRe: how to use SetWindowLong API function calling in Vb.net Pin
brams79-May-08 4:40
brams79-May-08 4:40 
GeneralRe: how to use SetWindowLong API function calling in Vb.net Pin
Dave Kreskowiak9-May-08 5:44
mveDave Kreskowiak9-May-08 5:44 
QuestionLooking for something that replaces the event DataGridView.SelectionChanging Pin
Shimmy Weitzhandler6-May-08 12:21
Shimmy Weitzhandler6-May-08 12:21 
AnswerRe: Looking for something that replaces the event DataGridView.SelectionChanging Pin
Shimmy Weitzhandler6-May-08 12:57
Shimmy Weitzhandler6-May-08 12:57 
Question[Message Deleted] Pin
Macorina6-May-08 10:41
Macorina6-May-08 10:41 
AnswerCross Post. Please ignore Pin
Pete O'Hanlon6-May-08 10:56
mvePete O'Hanlon6-May-08 10:56 
GeneralRe: Cross Post. Please ignore Pin
leckey7-May-08 6:46
leckey7-May-08 6:46 
GeneralRe: Cross Post. Please ignore Pin
Pete O'Hanlon7-May-08 9:10
mvePete O'Hanlon7-May-08 9:10 
GeneralRe: Cross Post. Please ignore Pin
iamstillalive7-May-08 22:56
iamstillalive7-May-08 22:56 
GeneralRe: Cross Post. Please ignore Pin
Pete O'Hanlon8-May-08 0:51
mvePete O'Hanlon8-May-08 0:51 
GeneralRe: Cross Post. Please ignore Pin
Dave Kreskowiak8-May-08 2:56
mveDave Kreskowiak8-May-08 2:56 
GeneralRe: Cross Post. Please ignore Pin
leckey8-May-08 3:02
leckey8-May-08 3:02 
GeneralRe: Cross Post. Please ignore Pin
Pete O'Hanlon8-May-08 1:40
mvePete O'Hanlon8-May-08 1:40 
GeneralRe: Cross Post. Please ignore Pin
leckey8-May-08 3:03
leckey8-May-08 3:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.