Click here to Skip to main content
15,885,278 members
Home / Discussions / Visual Basic
   

Visual Basic

 
RantRe: PROJET Pin
Smithers-Jones4-Mar-09 4:57
Smithers-Jones4-Mar-09 4:57 
AnswerRe: PROJET Pin
0x3c04-Mar-09 5:52
0x3c04-Mar-09 5:52 
AnswerRe: PROJET Pin
Dave Kreskowiak4-Mar-09 6:15
mveDave Kreskowiak4-Mar-09 6:15 
AnswerRe: PROJET Pin
EliottA4-Mar-09 6:58
EliottA4-Mar-09 6:58 
QuestionCrystal Report from multiple tables? Pin
Davehurhangee4-Mar-09 1:57
Davehurhangee4-Mar-09 1:57 
QuestionAdd "select all checkbox to header column of datagrid" Pin
chandrubngit4-Mar-09 0:19
chandrubngit4-Mar-09 0:19 
AnswerRe: Add "select all checkbox to header column of datagrid" Pin
Eddy Vluggen4-Mar-09 2:11
professionalEddy Vluggen4-Mar-09 2:11 
QuestionSelecting text using mouse Pin
FISH7863-Mar-09 18:57
FISH7863-Mar-09 18:57 
Hello,

Could Someone help...

I would like a certain number of lines and a certain section of text copied from an external application's window.

Trying to parse the section after getting the text from the window has been a nightmare.

However I am having a problem of highlighting text using the mouse event.

Here is as far as i have been able to go
REM ////////This activates the window
Call SendMessage(hwnd, WM_ACTIVATE, 1, 0&)
REM This is setting the cursor to the correct position i want from
SetCursorPos e + 25, b + 305
mouse_event MOUSEEVENTF_LEFTDOWN, 0&, 0&, 0&, 0&
???????????????????????????????????
REM There is something missing here which i haven't been able to
figure out.

What I need here is from the current position i need text highlighted for a rect size of from lets say.. Top = 125 Bottom = 250
Right = 350 and Left = 150...I might have the top and left mixed up...but you get the idea...

I only need text highlighted from this section and copied to the clipboard.

???????????????????????????????????
SetCursorPos e + 25, b + 307
Call SendMessage(hwnd, WM_LBUTTONDOWN, 1, 0&)
mouse_event MOUSEEVENTF_MOVE, 0&, 0&, 0&, 0&
Tried the send keys but didn't work...
REM SendKeys ("^A")
REM 'SendKeys ("^C")
Call SendMessage(hwnd, WM_LBUTTONUP, 1, 0&)
AnswerRe: Selecting text using mouse Pin
Dave Kreskowiak4-Mar-09 4:18
mveDave Kreskowiak4-Mar-09 4:18 
GeneralRe: Selecting text using mouse Pin
FISH7864-Mar-09 4:28
FISH7864-Mar-09 4:28 
GeneralRe: Selecting text using mouse Pin
Dave Kreskowiak4-Mar-09 6:20
mveDave Kreskowiak4-Mar-09 6:20 
GeneralRe: Selecting text using mouse Pin
FISH7864-Mar-09 6:55
FISH7864-Mar-09 6:55 
Questiongenerate exe file in vb.net Pin
wafaajaradat3-Mar-09 17:48
wafaajaradat3-Mar-09 17:48 
AnswerRe: generate exe file in vb.net Pin
Andy_L_J3-Mar-09 17:55
Andy_L_J3-Mar-09 17:55 
AnswerRe: generate exe file in vb.net Pin
Dave Kreskowiak3-Mar-09 18:02
mveDave Kreskowiak3-Mar-09 18:02 
Newsto Dave Kreskowiak Pin
wafaajaradat3-Mar-09 18:11
wafaajaradat3-Mar-09 18:11 
GeneralRe: to Dave Kreskowiak Pin
Christian Graus3-Mar-09 20:08
protectorChristian Graus3-Mar-09 20:08 
GeneralRe: to Dave Kreskowiak Pin
Dave Kreskowiak4-Mar-09 4:07
mveDave Kreskowiak4-Mar-09 4:07 
AnswerRe: generate exe file in vb.net Pin
Smithers-Jones4-Mar-09 4:24
Smithers-Jones4-Mar-09 4:24 
QuestionE_NoInterface Error Pin
BINOVAR3-Mar-09 15:04
BINOVAR3-Mar-09 15:04 
AnswerRe: E_NoInterface Error Pin
Dave Kreskowiak4-Mar-09 6:24
mveDave Kreskowiak4-Mar-09 6:24 
GeneralRe: E_NoInterface Error Pin
BINOVAR4-Mar-09 18:47
BINOVAR4-Mar-09 18:47 
GeneralRe: E_NoInterface Error Pin
Dave Kreskowiak5-Mar-09 1:10
mveDave Kreskowiak5-Mar-09 1:10 
QuestionOption group in VB2008? Pin
Sonhospa3-Mar-09 10:16
Sonhospa3-Mar-09 10:16 
AnswerRe: Option group in VB2008? Pin
DaveAuld3-Mar-09 10:27
professionalDaveAuld3-Mar-09 10:27 

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.