Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


SendMessage call



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> Visual Basic Forum
View previous topic :: View next topic  
Author Message
cleopard



Joined: 08 Jan 2007
Posts: 2
Location: Mossville, IL

PostPosted: Mon Jan 08, 2007 3:34 pm    Post subject: SendMessage call Reply with quote

There's a program I help support that's written in VB, and it's been having a problem printing (labels, in this particular application) on one guy's PC, but no where else. It dies when it goes into a call to SendMessage and doesn't return; I'll elaborate:

l = SendMessage(HWND_BROADCAST, WM_WININICHANGE, 0, "windows")


where Public Const HWND_BROADCAST = &HFFFF
Public Const WM_WININICHANGE = &H1A

and

Declare Function SendMessage Lib "user32" _
Alias "SendMessageA" _
(ByVal hwnd As Long, _
ByVal wMsg As Long, _
ByVal wParam As Long, _
lParam As String) As Long


What could there be wrong that might cause problems on one PC, but is OK everywhere else? Thanks for any input.

Confused
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> Visual Basic Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap