Results 1 to 14 of 14

Thread: VB6-Visio Shapes Layout...Help! Help! Help!

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    4

    Question VB6-Visio Shapes Layout...Help! Help! Help!

    Hiii Folks

    I need to automate Shapes -> Layout Shapes.. -> Style as Circular on every page of a Visio document.

    Although the page object offers a pageobj.Layout property, am unable to pick the layout style. Anyone who has accomplished this feat - PPPlease do help!!

  2. #2
    Member
    Join Date
    Oct 2005
    Posts
    50

    Re: VB6-Visio Shapes Layout...Help! Help! Help!

    Can u tell me..Is it possibile to use shapes of Specific layout of Viso on VB.......Actually I need to use only Fault tree analysis layout of VISO for one of my project which need to develop on VB.I do not know how i can do this.perhaps I think u did sometings in this site.May be u can give me better sugesstion...

    Refaul

  3. #3
    Member
    Join Date
    Oct 2005
    Posts
    50

    Re: VB6-Visio Shapes Layout...Help! Help! Help!

    Can u tell me ...Is it possible to use a specific drawing tool like Faul tree analysis drawing tool of Viso in a VB project.Actually i need to develop a tool which requird the shapes have on this site of VISIO.Perhaps I think u have a better idea about it.

    Refaul

  4. #4
    Frenzied Member
    Join Date
    Aug 2005
    Posts
    1,042

    Re: VB6-Visio Shapes Layout...Help! Help! Help!

    refaul:

    I believe you can do this if you have Visual Basic 6 with Service Pack 6 installed.

    It has an insertable object for Microsoft Visio 11.0 Drawing Control Library and Microsoft Visio Drawing. I think you will want to use the Mricrosoft Visio Drawing object.

    Just right click in the tool box then click on components and in the compnents window click on the tab Insertable Objects. Go down to Microsoft Vision Drawing and put a check mark in the box and click Apply. This adds it to the tool box.

    One hint I could give you is to make your VB form as large as possible before you add the Vision Drawing to your form.

    Good Luck

  5. #5
    Member
    Join Date
    Oct 2005
    Posts
    50

    Re: VB6-Visio Shapes Layout...Help! Help! Help!

    thank u....actually last two or three days i was worried abt that....now feel much better...u supose to me i m a new users of VB....I think in this stage i need som help as from u.......I try ur sugesstion today......any way it will be better if u send a Vb project lik dat......Anyway thank u agin for dat.....I almost search all post of VB fourm here and also som other site....I got u only work in this direction........

  6. #6
    Frenzied Member
    Join Date
    Aug 2005
    Posts
    1,042

    Re: VB6-Visio Shapes Layout...Help! Help! Help!

    refaul:

    I am sorry, but I do not have any applications that I have made with Visio in VB.

    I did not know you could use Visio in VB until I saw your question and then I tried it and it worked.

    Just try it and see if it works for you.

    If you have some other questions, come on back here and maybe someone can answer them for you.

    Good Luck

  7. #7
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: VB6-Visio Shapes Layout...Help! Help! Help!

    I know I dont have any Drawing examples code but I do have a couple of good threads out there that I helped with on automating Visio from VB. Maybe there can offer some insight? Do a search by my username and Visio.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  8. #8
    Member
    Join Date
    Oct 2005
    Posts
    50

    Re: VB6-Visio Shapes Layout...Help! Help! Help!

    May be I need to reinstall VB with Service pack 6.0......I think this creats problem......Tomorrow i will reinstall it and let u inform if furthermore any problem......According to ur instruction i already overcom one of my problem on VB....So i hop this will also work...Thanks for ur co-operation....
    Last edited by refaul; Oct 9th, 2005 at 09:13 PM.

  9. #9

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    4

    Re: VB6-Visio Shapes Layout...Help! Help! Help!

    Folks.. Am glad this thread is gud use to refaul but SilverBlue(n thats MEEEE) is all Blue coz I stil havent figured out the solution for My question!!!

    O ye AIS4U, I pray to thee to bestow thine kind favor in bailing me out too

    Thanks Robdogg, for ur gud Visio threads They helped me out with some other problems

  10. #10
    Member
    Join Date
    Oct 2005
    Posts
    50

    Re: VB6-Visio Shapes Layout...Help! Help! Help!

    Is it possible to control Viso shape Via VB....Folks finally i got VB service pack and also MS viso library on it.....My project lik that If anyone open an Exe file than It shows an window with visio shape than user draw a things using this shape and finaly it save and he can draw another on another new viso layout with using this shape.......

    Thanks Silverblue and all others helping regarding my project

  11. #11
    Frenzied Member
    Join Date
    Aug 2005
    Posts
    1,042

    Re: VB6-Visio Shapes Layout...Help! Help! Help!

    refaul:

    I don't think you can do as you are asking.

    It sounds to me like you are basically trying to include all of the functions of Visio within your VB application. If you could do that then you could just sell your applicatioin or give it away and no one would have to buy Visio.

    I don't think Mr. Gates would like that.

    I think you are limited to creating certain drawings and shapes in Visio and including those in your VB application much the same was as you do with an Access database of Excel workbook.

    You might try a Google search under Visual Basic 6 and Vision and see what you find.

  12. #12
    Member
    Join Date
    Oct 2005
    Posts
    50

    Re: VB6-Visio Shapes Layout...Help! Help! Help!

    Actually I wana to use specific toolbar of Visio in my project,ie Fault tree drawing tool bar...and user can use this tool bar for drawing and for mathmatical analysis it has seperate module.....So i need the viso only for drawing purpose..use only one specific toolbar not whole viso programm....I expect ur sugesstion in this regards...

  13. #13
    Frenzied Member
    Join Date
    Aug 2005
    Posts
    1,042

    Re: VB6-Visio Shapes Layout...Help! Help! Help!

    refaul:

    I said in one of my previous responses " I did not know you could use Visio in VB until I saw your question and then I tried it and it worked."

    I am not a Visio expert, in fact I don't really know anything about it and have only used it just a little.

    That being said, I am still of the opinion that all you can do is to use Visio to draw certain object within your VB6 project. I don't believe you can include the entire Fault tree drawing tool bar in your project so others can use it from within your project.

    The Fault drawing tool bar would be a component of Visio, as would the other tool bars. And, I don't think you can include an entire component in your VB6 project.

    I may be wrong about this, but I really don't know and therefore I cannot give you the information you are hoping for.

    I feel quite certain that there must be some Vision Forums out there on the Web and if you use the major search engines (Google, Yahoo, AltaVista, Lycos, etc., etc.) I think you will be able to find some of them.

    I just went to Lycos.com and typed in Vision Forum and got this returned:
    http://www.tek-tips.com/threadminder.cfm?pid=172
    This is a Vision Forum and very possibly someone there can answer your question.

    Unfortunately, no matter how many Help, Help, Help's you put in your request I cannot help you because I do not know.

    Good Luck

  14. #14
    Member
    Join Date
    Oct 2005
    Posts
    50

    Re: VB6-Visio Shapes Layout...Help! Help! Help!

    One more question ...Is it possible to open a word blank page when I click new from an menu bar of a VB project? Later on I can use this page for drawing My tree using a created VB toolbar.How popup window is created on VB.?It just lik when I click right button on specific shape I can edit the shap information like that.........

    Refaul

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width