CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 51

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Location
    Step Into(F11)
    Posts
    465

    [RESOLVED] Opening corresponding vsd file from vbIde

    i simple want when user will click visio icon from the vbIDE.The corresponding Visio File Should
    Open.means for FrmpurchaseOrder if there is any Purchaseorder.vsd .it should open at click.
    Kindly let me know the idea.Any help would be highly appreciated.Kindly find the attachment also.
    Last edited by firoz.raj; December 27th, 2009 at 03:31 AM.

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Opening corresponding vsd file from vbIde

    You can SHELL() any app. If you can have Visio load a file, you can create a command to open both
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Opening corresponding vsd file from vbIde

    Find the command parameter list for VISIO (check online first)

    if you can enter on the command line, things will SHELL() the same way.

    Code:
    visio.exe MyFile.vsd
    I have Visio 14 (from Office 2010) so I can't help with details that would work with old versions
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Opening corresponding vsd file from vbIde

    Doesn't have much to do with VB6, though.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #5
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Opening corresponding vsd file from vbIde

    You should be able to use SHELL() to open the .VSD file, with no other parameters. If you use ShellExecute(), you can specify the program to open the file with. Visio should be the default in this case
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  6. #6
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Opening corresponding vsd file from vbIde

    Put in your Installation disk, and BROWSE for the file. It's part of Visio
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  7. #7
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Opening corresponding vsd file from vbIde

    firoz.raj, I have edited the thread and removed the [Resolved] part. I did notice however that this was the third time that this thread needed this type of edit. Please, if a thread is not resolved, do not mark it as such. If a thread has been resolved mark it as such. And, if a thread has been resolved, do not ask new questions in it again, start a New Thread.

    Thanx

    Hannes

  8. #8
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: [RESOLVED] Opening corresponding vsd file from vbIde

    Well one would think that you should do a search for Msxml 6 and see if you can download it.

    btw why do you attach jpgs of the error message after you have already posted what the error was? Not much point in doing that. Basically just a waste of bandwidth and server space.
    Always use [code][/code] tags when posting code.

  9. #9
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: [RESOLVED] Opening corresponding vsd file from vbIde

    Search for "ms xml 6 download site:microsoft.com"

    http://www.microsoft.com/downloads/d...displaylang=en
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  10. #10
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: [RESOLVED] Opening corresponding vsd file from vbIde

    I just followed the link and it works fine, took less than 30 seconds to download all four files. Could be your connection or maybe you just picked a bad time.
    Always use [code][/code] tags when posting code.

  11. #11
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: [RESOLVED] Opening corresponding vsd file from vbIde

    Pay someone to remove viruses and spyware. If you can't, just redo the OS.

    Everything works better!
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  12. #12
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: [RESOLVED] Opening corresponding vsd file from vbIde

    So why not install the previous version rather than a BETA version?
    Always use [code][/code] tags when posting code.

  13. #13
    Join Date
    Dec 2008
    Location
    Step Into(F11)
    Posts
    465

    Question Re: [RESOLVED] Opening corresponding vsd file from vbIde

    sorry i am asking a question in resolved post.can anybody tell me ?how should i get user internet usage percentange report.in ISA Server 2006 .let me know please.
    Attached Images Attached Images  

  14. #14
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: [RESOLVED] Opening corresponding vsd file from vbIde

    Not only are you asking in a thread that is mark resolved but your question has nothing to do with the topic.
    Always use [code][/code] tags when posting code.

  15. #15
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: [RESOLVED] Opening corresponding vsd file from vbIde

    This is the Visual Basic 6 forum, not the ISA Forum. Microsoft has one.

    You could try Chit-Chat
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Page 1 of 2 12 LastLast

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

Featured