Click here to Skip to main content
16,015,900 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: sending mails from vb.net using Microsoft Outlook Pin
jonathan1520-Jun-05 3:46
jonathan1520-Jun-05 3:46 
GeneralMulti-tasking Pin
manopt17-Jun-05 2:22
manopt17-Jun-05 2:22 
GeneralRe: Multi-tasking Pin
Dave Kreskowiak17-Jun-05 4:37
mveDave Kreskowiak17-Jun-05 4:37 
Generallast record Pin
Manik Nath16-Jun-05 22:41
Manik Nath16-Jun-05 22:41 
GeneralRe: last record Pin
Dave Kreskowiak17-Jun-05 6:28
mveDave Kreskowiak17-Jun-05 6:28 
GeneralRe: last record Pin
Manik Nath17-Jun-05 21:11
Manik Nath17-Jun-05 21:11 
GeneralRe: last record Pin
Manik Nath17-Jun-05 22:59
Manik Nath17-Jun-05 22:59 
Questionhow send message to active window Pin
Anonymous16-Jun-05 19:20
Anonymous16-Jun-05 19:20 
i find active window(FindWindow) using API. but i don't know how pass string (search word) to FindWindow's textbox? when it active. i am using sendmessagebystring API but it changes caption of active windos.
Any help appreciated
Thanks in advance

Private Declare Function GetForegroundWindow Lib "user32" () As Long
Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long
Public Declare Function SendMessageByString Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As Long


Static lHwnd As Long
Dim lCurHwnd As Long
Dim sText As String * 255
Dim caption
lCurHwnd = GetForegroundWindow
If lCurHwnd = lHwnd Then Exit Sub
lHwnd = lCurHwnd
If lHwnd <> hwnd Then
caption = Left$(sText, GetWindowText(lHwnd, ByVal sText, 255))
Call SendMessageByString(lHwnd, WM_SETTEXT, 0&, ByVal "sample")
End If
AnswerRe: how send message to active window Pin
Dave Kreskowiak17-Jun-05 4:33
mveDave Kreskowiak17-Jun-05 4:33 
GeneralRe: how send message to active window Pin
Anonymous20-Jun-05 0:19
Anonymous20-Jun-05 0:19 
GeneralVB6 casting problem Pin
Anonymous16-Jun-05 18:26
Anonymous16-Jun-05 18:26 
GeneralRe: VB6 casting problem Pin
toxcct16-Jun-05 20:51
toxcct16-Jun-05 20:51 
GeneralRe: VB6 casting problem Pin
Anonymous16-Jun-05 22:15
Anonymous16-Jun-05 22:15 
GeneralRe: VB6 casting problem Pin
J4amieC17-Jun-05 0:58
J4amieC17-Jun-05 0:58 
GeneralSOS!!!Dynamic Calculation in Datagrid column Pin
BORN...again!16-Jun-05 17:44
BORN...again!16-Jun-05 17:44 
GeneralRe: SOS!!!Dynamic Calculation in Datagrid column Pin
Christian Graus16-Jun-05 17:53
protectorChristian Graus16-Jun-05 17:53 
GeneralRe: SOS!!!Dynamic Calculation in Datagrid column Pin
lata07mahi16-Jun-05 22:48
lata07mahi16-Jun-05 22:48 
GeneralDataGrid problem Pin
seee sharp16-Jun-05 16:37
seee sharp16-Jun-05 16:37 
GeneralPlotting Graph Pin
Vivek Agiwal16-Jun-05 8:25
Vivek Agiwal16-Jun-05 8:25 
GeneralRe: Plotting Graph Pin
seee sharp16-Jun-05 16:57
seee sharp16-Jun-05 16:57 
GeneralDisplay 'please wait' - lengthy process - winforms Pin
Prasaddp16-Jun-05 7:20
sussPrasaddp16-Jun-05 7:20 
GeneralRe: Display 'please wait' - lengthy process - winforms Pin
Dave Kreskowiak16-Jun-05 7:46
mveDave Kreskowiak16-Jun-05 7:46 
GeneralRe: Display 'please wait' - lengthy process - winforms Pin
Anonymous17-Jun-05 4:32
Anonymous17-Jun-05 4:32 
GeneralRe: Display 'please wait' - lengthy process - winforms Pin
Dave Kreskowiak17-Jun-05 5:26
mveDave Kreskowiak17-Jun-05 5:26 
GeneralOptional parameters cannot have structure types Pin
Charles Sicotte16-Jun-05 5:30
Charles Sicotte16-Jun-05 5:30 

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.