Hiding Activated Window Applications?

G

Guest

I use a form with an bound OLE object to activate an embeded Visio Drawing.
These drawings are embed in a table OLE Object. I am using Access 2000 with
xp sp2+ os.

I use VBA code to cycle through a table and for each Visio Object, I open it
by using the Activate and a Verb = 2. This opens up a Visio Access Windows
application and then I make the changes and close. The process repeats.

I need help in hiding all of this from being displayed on my screen. I
tried hiding the Visio Windows using the api ShowWindow trying hiding it, but
it doesn't work.

Any suggestions would be appreciated.

Thanks,

Gary
 
D

Dave Patrick

You might try something like;

DoCmd.OpenForm "frmSomeform", , , , , acHidden


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I use a form with an bound OLE object to activate an embeded Visio Drawing.
| These drawings are embed in a table OLE Object. I am using Access 2000
with
| xp sp2+ os.
|
| I use VBA code to cycle through a table and for each Visio Object, I open
it
| by using the Activate and a Verb = 2. This opens up a Visio Access
Windows
| application and then I make the changes and close. The process repeats.
|
| I need help in hiding all of this from being displayed on my screen. I
| tried hiding the Visio Windows using the api ShowWindow trying hiding it,
but
| it doesn't work.
|
| Any suggestions would be appreciated.
|
| Thanks,
|
| Gary
 
G

Guest

I already did that. That hides the form that has the bound OLE object.

When I activate the Visio drrawing from the table, the Visio Window pops up.

I need to have the Visio Window open to do the changes (like layer selection).

Is there a way to hide it, but still allow me to do the changes and close it??


Thanks,

Gary
 
D

Dave Patrick

OK, I'm with you now. I'd ask them here about that one.

http://www.microsoft.com/communitie...104-7aab-4af6-b627-a1f613c5f11f&lang=en&cr=US

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I already did that. That hides the form that has the bound OLE object.
|
| When I activate the Visio drrawing from the table, the Visio Window pops
up.
|
| I need to have the Visio Window open to do the changes (like layer
selection).
|
| Is there a way to hide it, but still allow me to do the changes and close
it??
|
|
| Thanks,
|
| Gary
 
G

Guest

I also check the link you had. I didn't see anything related to my problem.
The link was the a newsgroup.

Was the link suppose to address my problem.

Or you are check around where you are??


Thanks,


Gary
 
D

Dave Patrick

Yes, they'll be more experienced people there as far as Visio objects are
concerned.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I also check the link you had. I didn't see anything related to my
problem.
| The link was the a newsgroup.
|
| Was the link suppose to address my problem.
|
| Or you are check around where you are??
|
|
| Thanks,
|
|
| Gary
|
|
| "Dave Patrick" wrote:
|
| > OK, I'm with you now. I'd ask them here about that one.
| >
| >
http://www.microsoft.com/communitie...104-7aab-4af6-b627-a1f613c5f11f&lang=en&cr=US
| >
| > --
| >
| > Regards,
| >
| > Dave Patrick ....Please no email replies - reply in newsgroup.
| > Microsoft Certified Professional
| > Microsoft MVP [Windows]
| > http://www.microsoft.com/protect
| >
| > "Gary" wrote:
| > |I already did that. That hides the form that has the bound OLE
object.
| > |
| > | When I activate the Visio drrawing from the table, the Visio Window
pops
| > up.
| > |
| > | I need to have the Visio Window open to do the changes (like layer
| > selection).
| > |
| > | Is there a way to hide it, but still allow me to do the changes and
close
| > it??
| > |
| > |
| > | Thanks,
| > |
| > | Gary
| >
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top