Solved

Forms in Visual Basic in XP

Posted on 2004-03-21
6
215 Views
Last Modified: 2013-11-25
Sorry to bother you with such a trival matter but I am new at this and this  is my first question.   I went to word, tools, macro, visual basic editor, insert userform.  I created a form, named it and saved it and created some buttoms ect.. using some VB and ran it.  I want to attach the document  (the word file)  in a lotus notes data base so it will open and the form will be there .  When I open word and click on the document name a blank document continues to show?  My question is where is my form and how do I save it as a form to be attached somewhere else?  Is it possible?
0
Comment
Question by:AuroraNL
  • 2
6 Comments
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 10645862
Aurora...   Great question for the first try...  But I think you will get a better response if you post it in the VB section...  Those guys really know their business..  You might get some responses here too, since many of these XP experts are well versed in VBS, but it may be faster to go there..

If you want to do this, just ask a question in Community Support..  They will be glad to help you move it over..

FE
0
 
LVL 4

Expert Comment

by:jcoppin
ID: 10646344
Check your macro security settings,
Tools-->Macro-->Security
set it to either medium or low. medium will prompt you to run the macro, low will not.

Do you have administrative privillages on your workstation?
0
 
LVL 1

Accepted Solution

by:
MADisonMAN earned 250 total points
ID: 10653573
Either set the macro security setting or place the code in either AutoNew or AutoOpen modules to show the form. Your form is still  saved with the document but you have to called from some module.

The auto macros in Microsoft Word are:
AutoExec
AutoNew
AutoOpen
AutoClose
AutoExit

http://support.microsoft.com/?kbid=211659
0
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 10667175
Glad to see you got an answer..  Knew one of these experts could help you here..

FE
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question