Re: ThisWorkbook populate with Code Q

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Head the module containing the APIs and the code 'Option Explicit' and do
Debug / Compile. It will probably blow in the same place.

What is your OS, 64 bit per chance (not that I could say why that should
matter)

Third time, have you tried returning the hWnd directly from MainWindow as
suggested.

Regards,
Peter T


"Seanie" <seanryanie@xxxxxxxxxxx> wrote in message
news:43a40a02-d599-43a6-8566-6ef1e0c81ca5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Yes, its within the same module.

Error I am getting is on text "findWindow" with message Sub or
Function not defined



.



Relevant Pages

  • Re: Drag and Drop File Name from Windows Explorer into Access Form Textbox
    ... Does your code compile? ... I had also added an "Option Explicit" to the top of Dev's module. ... A2000 and above have the AddressOf operator. ... dragging and dropping a file/folder name from Windows XP Explorer into ...
    (comp.databases.ms-access)
  • Re: Debug Vs Release
    ... > If I compile that code in debug mode then dissassemble the EXE, ... > private static void Main(stringargs) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Getting a stack trace from a running application
    ... Unfortunately, the only infromation they can provide is a memory address, which is pretty useless as it doesn't tell me if my main exe is the culprit or if it's some dll or ocx or whatever. ... If you compile the the program with debug information, the debugger will show the responsible line of your code that caused the error. ...
    (comp.lang.basic.visual.misc)
  • RE: Compile Error: Variable Not Defined
    ... IMO, you should probably leave Option Explicit on, and try to compile all ... you definately need to Compile everything before running ... loginSuccessful = True of the following code. ... declaration is on. ...
    (microsoft.public.access.modulesdaovba)
  • Re: copymemory basic question
    ... I have used that technique before; that is, put a MessageBox in a VC program ... workspace and then debug the program without using the MessageBox or MsgBox. ... > - Compile and save. ... not able to show anything due to the optimization. ...
    (microsoft.public.vb.winapi)