Solved

Forms in Visual Basic in XP

Posted on 2004-03-21
6
214 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now