VB from a menu

Discussion in 'AutoCAD' started by cpetersen, May 14, 2004.

  1. cpetersen

    cpetersen Guest

    I'm trying to run VB (*.dvb) from a menu

    Have any thoughts ON WHAT I'VE DONE WRONG

    [Set Layer Color]^C^C-vbarun Z:/1-GeoDesign-Acad-Menu/GeoDesign/GeoDesign-VB/GeoDesignIncSetLayerColor.dvb"!ThisDrawing.Set_LayerColor;
     
    cpetersen, May 14, 2004
    #1
  2. Hi,

    The inverted commas are wrong.

    [Set Layer Color]^C^C-vbarun
    "Z:/1-GeoDesign-Acad-Menu/GeoDesign/GeoDesign-VB/GeoDesignIncSetLayerColor.d
    vb!ThisDrawing.Set_LayerColor";

    As you have no spaces in your path,filename etc it may work without the
    inverted commas.


    --

    Regards


    Laurie Comerford
    www.cadapps.com.au
    Z:/1-GeoDesign-Acad-Menu/GeoDesign/GeoDesign-VB/GeoDesignIncSetLayerColor.dv
    b"!ThisDrawing.Set_LayerColor;
     
    Laurie Comerford, May 14, 2004
    #2
  3. Hi Matt,

    The terminology is totally interchangeable in my mind. I was not aware that
    it would not be in general use . I just wrote the first terms I thought of
    at the time.

    Reflecting on your comment I should have used "quotation marks".


    Laurie Comerford
    CADApps
    www.cadapps.com.au

    marks referred to anything other than quotation marks.
    message news:40a41b4c_2@newsprd01...
     
    Laurie Comerford, May 14, 2004
    #3
  4. cpetersen

    Mark Propst Guest

    Aren't you from "DownUnder" ? Isn't everything upside down down there?
    :)

     
    Mark Propst, May 15, 2004
    #4
  5. cpetersen

    wivory Guest

    LOL!!

    |-D

    Good one Mark. (I'm allowed to laugh - I'm from down here too!)

    Wayne Ivory
    IT Analyst Programmer
    Wespine Industries Pty Ltd
    (Down Under)
     
    wivory, May 17, 2004
    #5
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 (here). After that, you can post your question and our members will help you out.