Click here to Skip to main content
15,887,410 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Update a database structure according to a model Pin
dilkonika30-Jan-15 18:07
dilkonika30-Jan-15 18:07 
AnswerRe: Update a database structure according to a model Pin
Mycroft Holmes30-Jan-15 13:44
professionalMycroft Holmes30-Jan-15 13:44 
GeneralRe: Update a database structure according to a model Pin
dilkonika30-Jan-15 18:16
dilkonika30-Jan-15 18:16 
GeneralRe: Update a database structure according to a model Pin
Mycroft Holmes31-Jan-15 21:09
professionalMycroft Holmes31-Jan-15 21:09 
GeneralRe: Update a database structure according to a model Pin
dilkonika2-Feb-15 4:35
dilkonika2-Feb-15 4:35 
GeneralRe: Update a database structure according to a model Pin
Mycroft Holmes2-Feb-15 11:44
professionalMycroft Holmes2-Feb-15 11:44 
QuestionVB.Net programming Pin
John Schlaff28-Jan-15 16:26
John Schlaff28-Jan-15 16:26 
AnswerRe: VB.Net programming Pin
Richard Deeming29-Jan-15 1:02
mveRichard Deeming29-Jan-15 1:02 
Sounds like you've got an incorrect P/Invoke declaration - something is declared as Integer when it should be IntPtr, or vice-versa.

According to pinvoke.net[^], the correct declaration should be:
VB.NET
<DllImport("user32.dll", SetLastError:=True)> _
Private Shared Function SetCursorPos(ByVal X As Integer, ByVal Y As Integer) As Boolean
End Function


If you're using Windows Forms, there's a managed API which might work better:
https://msdn.microsoft.com/en-us/library/system.windows.forms.cursor.position%28v=vs.110%29.aspx[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


QuestionShellExecute problem Pin
AccessDeveloper28-Jan-15 6:52
AccessDeveloper28-Jan-15 6:52 
QuestionRe: ShellExecute problem Pin
jkirkerx28-Jan-15 8:13
professionaljkirkerx28-Jan-15 8:13 
AnswerRe: ShellExecute problem Pin
AccessDeveloper29-Jan-15 6:45
AccessDeveloper29-Jan-15 6:45 
GeneralRe: ShellExecute problem Pin
jkirkerx29-Jan-15 7:54
professionaljkirkerx29-Jan-15 7:54 
QuestionStringBuilder Pin
KukuhSP28-Jan-15 2:52
KukuhSP28-Jan-15 2:52 
AnswerRe: StringBuilder Pin
Richard MacCutchan28-Jan-15 4:26
mveRichard MacCutchan28-Jan-15 4:26 
GeneralRe: StringBuilder Pin
KukuhSP28-Jan-15 5:16
KukuhSP28-Jan-15 5:16 
GeneralRe: StringBuilder Pin
Richard MacCutchan28-Jan-15 5:27
mveRichard MacCutchan28-Jan-15 5:27 
GeneralRe: StringBuilder Pin
KukuhSP3-Feb-15 5:25
KukuhSP3-Feb-15 5:25 
GeneralRe: StringBuilder Pin
Richard MacCutchan3-Feb-15 6:44
mveRichard MacCutchan3-Feb-15 6:44 
QuestionIp Camera in VB6 Pin
Member 1140477026-Jan-15 21:02
Member 1140477026-Jan-15 21:02 
AnswerRe: Ip Camera in VB6 Pin
Simon_Whale26-Jan-15 22:02
Simon_Whale26-Jan-15 22:02 
GeneralRe: Ip Camera in VB6 Pin
Member 1140477026-Jan-15 22:33
Member 1140477026-Jan-15 22:33 
GeneralRe: Ip Camera in VB6 Pin
Member 1140477027-Jan-15 3:47
Member 1140477027-Jan-15 3:47 
GeneralRe: Ip Camera in VB6 Pin
Simon_Whale27-Jan-15 4:30
Simon_Whale27-Jan-15 4:30 
GeneralRe: Ip Camera in VB6 Pin
Member 1140477027-Jan-15 7:11
Member 1140477027-Jan-15 7:11 
GeneralRe: Ip Camera in VB6 Pin
Member 1140477027-Jan-15 19:51
Member 1140477027-Jan-15 19:51 

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.