Jump to content

64 bit VBA conversion question


emarshall

Recommended Posts

I recently upgraded to a Windows 7 64-bit machine, and after downloading and installing the VBA module for Civil 2011 and running a routine, this error came up

 

"(Compile error: Function or interface marked as restricted, or the function uses an Automation type not supported in Visual Basic)"

The line of code is

txtSelectTab = ShowFileOpenDialog("*.txt", "Tab delimited Ascii", "Select input file:", "C:\", ThisDrawing.HWND)

with HWND highlighted, so i'm assuming that's the problem.

I'm not much of a coder, I didn't write this particular application, but I would like to fix it if anyone can help.

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...