.Dwg inage display in small size

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shaiful
    New Member
    • Oct 2007
    • 89

    .Dwg inage display in small size

    Hi all,
    I have a problem, that how to i display the image of AutoCAD .dwg file such as " C:\test.dwg" file will display on the form, how i do that and what is the process? pls describ, Thx advance, Shaif
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    You are using any control or trying to display directly on the form itself.

    Comment

    • shaiful
      New Member
      • Oct 2007
      • 89

      #3
      Many thx for asking me? any easiest way i prepare. I mean it is VB 6.0, so pls advice easy way, thx

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        Originally posted by debasisdas
        You are using any control or trying to display directly on the form itself.
        What about my question ?

        Comment

        • QVeen72
          Recognized Expert Top Contributor
          • Oct 2006
          • 1445

          #5
          Hi,

          Open PropertySheet of the Form,
          Go to : Picture, Browse and select the Path of the file..

          Regards
          Veena

          Comment

          • shaiful
            New Member
            • Oct 2007
            • 89

            #6
            Originally posted by debasisdas
            You are using any control or trying to display directly on the form itself.

            Hi Deb, Just knocking you again after long time regarding .dwg file display on vb form. I using Image control in that moment, But this contorol doent support .dwg file to display. If if you have any suggession please, I would be greatly appriciated .

            Comment

            • vdraceil
              New Member
              • Jul 2007
              • 236

              #7
              Hi shaiful,you cant use .dwg files as such in your form. I'm a mechanical engineering student,so i know autocad. In autocad you have options to export your model to a .jpg format. Do that and comfortably use it in your form.

              Comment

              • shaiful
                New Member
                • Oct 2007
                • 89

                #8
                Originally posted by vdraceil
                Hi shaiful,you cant use .dwg files as such in your form. I'm a mechanical engineering student,so i know autocad. In autocad you have options to export your model to a .jpg format. Do that and comfortably use it in your form.

                Hi Many thx 4 ur reply. ya u r right i can do that way only make .bmp file however in that way i need to open .dwg file once and apply export function, but in my module i want ditectly disply the file? or is there any way to export withour opening CAD file?

                Comment

                • vdraceil
                  New Member
                  • Jul 2007
                  • 236

                  #9
                  Originally posted by shaiful
                  Hi Many thx 4 ur reply. ya u r right i can do that way only make .bmp file however in that way i need to open .dwg file once and apply export function, but in my module i want ditectly disply the file? or is there any way to export withour opening CAD file?
                  what u can do is open autocad by code,send virtual keystrokes which would export the file and then close autocad by code(do all these using api functions)..but this way is tedious..i can assure u that if u r determined enough u can make it for sure.

                  Comment

                  Working...