Click here to Skip to main content
15,867,895 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRe: Application.Doevents Pin
Sonia Gupta16-May-07 19:29
Sonia Gupta16-May-07 19:29 
AnswerRe: Application.Doevents Pin
Christian Graus16-May-07 20:59
protectorChristian Graus16-May-07 20:59 
QuestionBLOCKING EXTERNAL HARD DRIVE ACCESS Pin
pronobesh16-May-07 18:14
pronobesh16-May-07 18:14 
AnswerRe: BLOCKING EXTERNAL HARD DRIVE ACCESS Pin
Sathesh Sakthivel16-May-07 18:27
Sathesh Sakthivel16-May-07 18:27 
QuestionBLOCKING EXTERNAL HARD DRIVE ACCESS Pin
pronobesh16-May-07 18:14
pronobesh16-May-07 18:14 
QuestionBindingContext??? Pin
keninfo16-May-07 11:15
keninfo16-May-07 11:15 
AnswerRe: BindingContext??? Pin
klaydze16-May-07 18:58
klaydze16-May-07 18:58 
QuestionEnumChildWindows? Pin
Knoen16-May-07 10:21
Knoen16-May-07 10:21 
Im trying to enum the childwindows of a application, but when i use the EnumChildWindows in the Windows 32 api i get "A protected area of the memory could not be read"

How is it supposed to be done?

This is what i have so far.

<br />
<br />
' Inside main function<br />
     Call EnumChildWindows(ProcessInfo.Handle, AddressOf EnumFunc, 0)<br />
<br />
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''<br />
' The enum func<br />
    Public Function EnumFunc(ByVal hwnd As Integer, ByVal lpData As Integer) As Integer<br />
        Dim lResult As Integer<br />
        Dim sWndName As String<br />
        Dim szClassName As String<br />
<br />
        EnumFunc = 1<br />
        szClassName = Space(MAX_PATH)<br />
        sWndName = Space(MAX_PATH)<br />
<br />
        lResult = GetClassName(hwnd, szClassName, MAX_PATH)<br />
        szClassName = Left(szClassName, lResult)<br />
<br />
        GetWindowText(hwnd, sWndName, MAX_PATH)<br />
        sWndName = Left(sWndName, lResult)<br />
<br />
        Debug.Print(sWndName + Chr(13))<br />
<br />
    End Function<br />
<br />
   ' Deligate<br />
  Public Delegate Function EnumFuncDeleg(ByVal hwnd As Integer, ByVal lpData As Integer) As Integer<br />
<br />


Any ideas?

-Thanks
AnswerRe: EnumChildWindows? Pin
Christian Graus16-May-07 14:27
protectorChristian Graus16-May-07 14:27 
Questioninitializer for crystalDecisions.crystalreports.engine.crpe threw exception Pin
steve_rm16-May-07 9:42
steve_rm16-May-07 9:42 
AnswerRe: initializer for crystalDecisions.crystalreports.engine.crpe threw exception Pin
Dave Kreskowiak16-May-07 9:48
mveDave Kreskowiak16-May-07 9:48 
QuestionRe: initializer for crystalDecisions.crystalreports.engine.crpe threw exception [modified] Pin
steve_rm16-May-07 10:38
steve_rm16-May-07 10:38 
AnswerRe: initializer for crystalDecisions.crystalreports.engine.crpe threw exception Pin
Dave Kreskowiak16-May-07 15:23
mveDave Kreskowiak16-May-07 15:23 
Questionhow to display XML file content in treeview Pin
manavya16-May-07 9:24
manavya16-May-07 9:24 
AnswerRe: how to display XML file content in treeview Pin
Dave Kreskowiak16-May-07 10:04
mveDave Kreskowiak16-May-07 10:04 
QuestionUser's Manual .... Pin
kindman_nb16-May-07 8:30
kindman_nb16-May-07 8:30 
AnswerRe: User's Manual .... [modified] Pin
Dave Kreskowiak16-May-07 9:27
mveDave Kreskowiak16-May-07 9:27 
QuestionMissmach type Pin
Vimalsoft(Pty) Ltd16-May-07 6:55
professionalVimalsoft(Pty) Ltd16-May-07 6:55 
AnswerRe: Missmach type Pin
Dave Kreskowiak16-May-07 7:56
mveDave Kreskowiak16-May-07 7:56 
GeneralRe: Missmach type Pin
Vimalsoft(Pty) Ltd16-May-07 19:50
professionalVimalsoft(Pty) Ltd16-May-07 19:50 
AnswerRe: Missmach type Pin
nlarson1116-May-07 7:59
nlarson1116-May-07 7:59 
GeneralRe: Missmach type Pin
Dave Kreskowiak16-May-07 8:21
mveDave Kreskowiak16-May-07 8:21 
GeneralRe: Missmach type Pin
nlarson1116-May-07 8:24
nlarson1116-May-07 8:24 
GeneralRe: Missmach type Pin
Vimalsoft(Pty) Ltd16-May-07 20:24
professionalVimalsoft(Pty) Ltd16-May-07 20:24 
GeneralRe: Missmach type Pin
Dave Kreskowiak17-May-07 2:44
mveDave Kreskowiak17-May-07 2:44 

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.