<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use dwgviewrAcCtrl.dll in the client machine without installing DWG trueview on that machine ? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12152242#M7831</link>
    <description>&lt;P&gt;There is no reason not using VS2022, which has 64-bit version. Also as I said, to use AcCtrl.dll from 64-bit AutoCAD with .NET framework, the project has to set to target x64 platform.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 06 Aug 2023 12:05:56 GMT</pubDate>
    <dc:creator>norman.yuan</dc:creator>
    <dc:date>2023-08-06T12:05:56Z</dc:date>
    <item>
      <title>How to use dwgviewrAcCtrl.dll in the client machine without installing DWG trueview on that machine ?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12148035#M7825</link>
      <description>&lt;P&gt;Good morning everybody, i have a question.&lt;/P&gt;&lt;P&gt;I have a project that need to embed DWG viewer control(dwgviewrAcCtrl.dll) into winforms.&lt;/P&gt;&lt;P&gt;I'm using Autocad mechanical 2020 , Visual studio 2019 , DWG trueview 2021 .&lt;/P&gt;&lt;P&gt;The project run well on my machine, but cannot run on the client machine which don't have DWG true view installed.&lt;/P&gt;&lt;P&gt;Is there anyway to run this project without&amp;nbsp; installing DWG trueview on client machine ?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 23:14:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12148035#M7825</guid>
      <dc:creator>trithuongle</dc:creator>
      <dc:date>2023-08-03T23:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dwgviewrAcCtrl.dll in the client machine without installing DWG trueview on that machine ?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12149706#M7826</link>
      <description>&lt;P&gt;Dwg TrueView is a feature-strip-down light version of AutoCAD. AcCtrl.dll wraps some basic AutoCAD's drawing viewing features and expose them as COM component. This DLL can only be installed and used in a computer either AutoCAD or Dwg TrueView is installed (that is, it is dependent on other required AutoCAD components in order to work).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, no, you app that uses AcCtrl.dll requires the computer to have AutoCAD, or TrueView installed (then, you may want to ask yourself: what is the point to run your app to view drawing with a computer that has AutoCAD/TrueView installed?).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 15:23:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12149706#M7826</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2023-08-04T15:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dwgviewrAcCtrl.dll in the client machine without installing DWG trueview on that machine ?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12150538#M7827</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@norman.yuan&lt;/a&gt;&amp;nbsp;&amp;nbsp; Good morning. Thanks for your reply.&lt;/P&gt;&lt;P&gt;The client computer has Autocad mechanical 2020 installed but no DWG true view.&lt;/P&gt;&lt;P&gt;My purpose is that i want to embed the drawing (.dwg) in to winforms for user to view it / rotate / zoom without opening it , then i selected DWG true view's control (dwgviewrAcCtrl.dll ) to do this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is there any way for the client computer with Autocad ONLY can use the developed tool with DWG true view control ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2023 00:19:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12150538#M7827</guid>
      <dc:creator>trithuongle</dc:creator>
      <dc:date>2023-08-05T00:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dwgviewrAcCtrl.dll in the client machine without installing DWG trueview on that machine ?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12150726#M7828</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@norman.yuan&lt;/a&gt;&amp;nbsp;&amp;nbsp;On the otherway, i tried another solution with "thumbnail" by the below code&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;private void GetOuterDWGModelBitmap(string fileName)
{
    //object temp = AcAp.GetSystemVariable("THUMBSAVE");
    string thumbVarName = "THUMBSIZE";
    int oldThumbSize = System.Convert.ToInt32(AcAp.GetSystemVariable(thumbVarName));
    int newThumbSize = 8;
    int imgW = thumbnailPic.Width;
    int imgH = thumbnailPic.Height;
    
    try
    {
	AcAp.SetSystemVariable(thumbVarName, newThumbSize);

	using (Database OuterDB = new Database())
	{
	    OuterDB.ReadDwgFile(fileName, System.IO.FileShare.Read, false, "");
    	    using (Transaction tr = OuterDB.TransactionManager.StartTransaction())
    	    {
		BlockTable bt = (BlockTable)tr.GetObject(OuterDB.BlockTableId, OpenMode.ForRead);
		BlockTableRecord blk = (BlockTableRecord)tr.GetObject(bt["*Model_Space"], OpenMode.ForRead);

		ImageSource imgsrc=Autodesk.AutoCAD.Windows.Data.CMLContentSearchPreviews.GetBlockTRThumbnail(blk);
		srcImage = ImageSourceToGDI(imgsrc as System.Windows.Media.Imaging.BitmapSource);
		if (srcImage == null)
		{
    			tr.Abort();
    			return;
		}
		thumbnailPic.Image = ResizeImage(srcImage, new Size(imgW, imgH));

		tr.Commit();
    	     }
    	}
    }
    catch (Exception ex)
    {
	if (ex.Message == "eFileSharingViolation")
	{
    		MessageBox.Show("File is currently opened by Autocad. Please check again!", this.Text,
       						MessageBoxButtons.OK,
       						MessageBoxIcon.Warning);
	}
    }
    finally
    {
	AcAp.SetSystemVariable(thumbVarName, oldThumbSize);
    }
}

private System.Drawing.Image ImageSourceToGDI(System.Windows.Media.Imaging.BitmapSource src)
{
    Image retImage = null;
    MemoryStream ms = null;
    try
    {
	ms = new MemoryStream();
	var encoder = new System.Windows.Media.Imaging.BmpBitmapEncoder();
	encoder.Frames.Add(System.Windows.Media.Imaging.BitmapFrame.Create(src));
	encoder.Save(ms);
	ms.Flush();
	retImage = System.Drawing.Image.FromStream(ms);
    }
    catch (Exception ex)
    {
	MessageBox.Show("Error : " + ex.Message, this.Text,
	MessageBoxButtons.OK,
	MessageBoxIcon.Error);
    }
    finally
    {
	ms.Dispose();
    }

    return retImage;
}&lt;/LI-CODE&gt;&lt;P&gt;The problem is the quality of thumnail picture when add it to picture box is very not good although i tried to&amp;nbsp;&lt;/P&gt;&lt;P&gt;set the "THUMBSIZE" systemvariable to 8.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trithuongle_0-1691210102148.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1249514iBCE60AE9AA4A00A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="trithuongle_0-1691210102148.png" alt="trithuongle_0-1691210102148.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there any way to improve thumbnail's image quality when embed it to picture box ?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2023 04:36:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12150726#M7828</guid>
      <dc:creator>trithuongle</dc:creator>
      <dc:date>2023-08-05T04:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dwgviewrAcCtrl.dll in the client machine without installing DWG trueview on that machine ?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12151179#M7829</link>
      <description>&lt;P&gt;When AutoCAD is installed, there is AcCtrl.dll is available, as dwgvieweAcCtrl.dll is with TrueView installation. They both are the COM control of the strip-down version of AutoCAD with dwgviewrAcCtrl.ll exposes a bit of more AutoCAD's viewing features.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since your target users/computers are all have AutoCAD installed, thus Acctrl.dll should be available. SO you can use AcCtrl.dll, instead of dwgviewrAcCtrl.dll. As I said, I am not sure the differences of available drawing viewing features between the two, but it would be the same in terms of the visual effect of showing drawings as showing in AutoCAD. I guess you are using 64-bit AutoCAD, so, before adding AcCtrl.dll control to your Win Form, make sure your VS project targets x64 platform, not Any CPU/x86.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, depending how the purpose of showing drawing that is not currently loaded into AutoCAD, using either dwgviewrAcCtrl.dll or AcCtrl.dll could be a bit of too much over headed. One of my articles might give you another option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://drive-cad-with-code.blogspot.com/2022/10/extract-entity-image-from-side-loaded.html" target="_blank" rel="noopener"&gt;https://drive-cad-with-code.blogspot.com/2022/10/extract-entity-image-from-side-loaded.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The quality of the image generated as the article described is quite well when done one entity at a time. But I would think it would also to relatively good when done with a few more entities together; but with a crowded group of entities, you have try to see.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just to be warned, since the code in the article uses Autodesk.AutoCAD.Internal namespace, you would take the risk of the code being broken without official warning (but it has been there for quite long).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2023 14:12:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12151179#M7829</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2023-08-05T14:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dwgviewrAcCtrl.dll in the client machine without installing DWG trueview on that machine ?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12151818#M7830</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@norman.yuan&lt;/a&gt;&amp;nbsp; Thank for your reply. So the second solution that you provided worked !&lt;/P&gt;&lt;P&gt;The graphic is better now like below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trithuongle_1-1691291408794.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1249662i765AD0D21D08C06C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="trithuongle_1-1691291408794.png" alt="trithuongle_1-1691291408794.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;On the other side, the first solution that use AcCtrl.dll at "C:\Program Files\Common Files\Autodesk Shared"&amp;nbsp;&lt;/P&gt;&lt;P&gt;will force my Visual studio 2019(32bits) shutdown. I'm finding the way to solve this also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once again, thank you alot for your solution.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2023 03:15:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12151818#M7830</guid>
      <dc:creator>trithuongle</dc:creator>
      <dc:date>2023-08-06T03:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dwgviewrAcCtrl.dll in the client machine without installing DWG trueview on that machine ?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12152242#M7831</link>
      <description>&lt;P&gt;There is no reason not using VS2022, which has 64-bit version. Also as I said, to use AcCtrl.dll from 64-bit AutoCAD with .NET framework, the project has to set to target x64 platform.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2023 12:05:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12152242#M7831</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2023-08-06T12:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dwgviewrAcCtrl.dll in the client machine without installing DWG trueview on that machine ?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12153476#M7832</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@norman.yuan&lt;/a&gt;&amp;nbsp;@Thanks for your reply. I just quicktested with vba in autocad by reference to acctrl.dll ,it worked perfectly . So i wonder if the VS 2022 is compatible with objectarx 2020 sdk ? Cause i knew that the sdk is compatible with VS2019 or VS2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks again!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 08:04:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12153476#M7832</guid>
      <dc:creator>trithuongle</dc:creator>
      <dc:date>2023-08-07T08:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dwgviewrAcCtrl.dll in the client machine without installing DWG trueview on that machine ?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12154040#M7833</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@norman.yuan&lt;/a&gt;&amp;nbsp; Good evening!&lt;/P&gt;&lt;P&gt;Finally i can insert the AcCtrl into winform.&lt;/P&gt;&lt;P&gt;But there 's still a problem that when i tried to change the drawing source.&lt;/P&gt;&lt;P&gt;It seem that the child autocad that AcCtrl hold will get crash (the main autocad app is still alive) like below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trithuongle_0-1691417142557.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1250113iE74DAF562BE2E607/image-size/medium?v=v2&amp;amp;px=400" role="button" title="trithuongle_0-1691417142557.png" alt="trithuongle_0-1691417142557.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        //Help method to load dwg to AcCtrl:
        private void LoadDwgFile(string fileName)
        {
            try
            {
                if (this.axAcCtrl.Src != null)
                {
                    this.axAcCtrl.src=null;
                }

                if (System.IO.File.Exists(fileName))
                {
                    this.axAcCtrl.src=fileName;
                }
                else
                {
                    MessageBox.Show("Drawing file is not exist!", formOwner ,
                                      MessageBoxButtons.OK,
                                      MessageBoxIcon.Warning);
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error : " + ex.Message, formOwner ,
                                       MessageBoxButtons.OK,
                                       MessageBoxIcon.Error);
            }
        }&lt;/LI-CODE&gt;&lt;P&gt;So is there anyway for AcCtrl to change the source without generating the crash window above ?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 14:09:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12154040#M7833</guid>
      <dc:creator>trithuongle</dc:creator>
      <dc:date>2023-08-07T14:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dwgviewrAcCtrl.dll in the client machine without installing DWG trueview on that machine ?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12154402#M7834</link>
      <description>&lt;P&gt;Assume you have 64-bit AutoCAD installed (who has not, this days?), and also use 64-bit VS2022, did you do as I noted in previous post: set the VS project to target x64 platform, NOT x86, or Any CPU!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just did:&lt;/P&gt;
&lt;P&gt;1. created a simple Win Form EXE with a single form;&lt;/P&gt;
&lt;P&gt;2. add AcCtrl by rigt-clicking "Choose Item..." in the Tool Box window;&lt;/P&gt;
&lt;P&gt;3. Drag the AcCtrl control onto the Form&lt;/P&gt;
&lt;P&gt;4. Add one-line of code:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;        private void Form1_Load(object sender, EventArgs e)
        {
            axAcCtrl1.src=@"C:\Temp\Test.dwg";
        }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;5. Hit F5 to run.&lt;/P&gt;
&lt;P&gt;Here was what I got:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="normanyuan_0-1691417311969.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1250117iD9FD0EE8BE657356/image-size/medium?v=v2&amp;amp;px=400" role="button" title="normanyuan_0-1691417311969.png" alt="normanyuan_0-1691417311969.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;At this time, if you go to "Task Manager" to see the process detail, you would see, besides the EXE running, there is also an "AutoCAD Application" process runs as background process. As you can see, this would effectively eats up a lot of computer resources just for the purpose of showing the "picture of drawing" in better visual quality. The bad thing with using AcCtrl is the lack of necessary API being exposed. For example, if you use it in an EXE, when the EXE end, the Acad application in the background could/would remain running, which could cause issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would avoid to use AcCtrl just for viewing drawing as picture with better visual quality whenever possible, and fortunately, I have never needed to, so far.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 14:20:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12154402#M7834</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2023-08-07T14:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dwgviewrAcCtrl.dll in the client machine without installing DWG trueview on that machine ?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12157030#M7835</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@norman.yuan&lt;/a&gt;&amp;nbsp;Thank for your reply, I also tested alot with both solution that you provided, i have to admit that&amp;nbsp;&lt;/P&gt;&lt;P&gt;the AcCtrl is really lack of document/ information about using this control. I also found the old post from Kean Walmsley&amp;nbsp;&lt;A href="https://www.keanw.com/2008/03/embedding-autoc.html?fbclid=IwAR3F3saDhoIGWM6jDI797ZzQQUt6Gp4kZLOhVgu-sg5xbfeBTgZ0aUa0dcA" target="_blank"&gt;https://www.keanw.com/2008/03/embedding-autoc.html?fbclid=IwAR3F3saDhoIGWM6jDI797ZzQQUt6Gp4kZLOhVgu-sg5xbfeBTgZ0aUa0dcA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or the help in Autocad2024&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-D2D6F91A-DC86-43F3-8637-AAF6AF2254F6" target="_blank"&gt;https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-D2D6F91A-DC86-43F3-8637-AAF6AF2254F6&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I folowed these and made a form with AcCtrl embeded. At the first time the control suceeded to load the drawing.&lt;/P&gt;&lt;P&gt;But problem is when i change the axAcCtrl.src=[ another drawing link] =&amp;gt; the control will generate the message box like below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trithuongle_0-1691503947498.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1250652iF4042E75A809DDC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="trithuongle_0-1691503947498.png" alt="trithuongle_0-1691503947498.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then if i close the error message, the form become freeze(unable to move or do anything).&lt;/P&gt;&lt;P&gt;By the way, at the beginning my purpose is to let the client can see the drawing's content without opening it by normal way, then they can pan/ zoom or even&amp;nbsp;change the view to Isometric. So i thought about using AcCtrl.dll or DwgTrueView...vv&lt;/P&gt;&lt;P&gt;But i think the AcCtrl.dll's control is really lack of documents or help. For temporary solution,now i'm continuing with "Utils.GetBlockImage". but&amp;nbsp; i really appreciate that if there is any way to fix above problem with AcCtrl.dll&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 14:33:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-use-dwgviewracctrl-dll-in-the-client-machine-without/m-p/12157030#M7835</guid>
      <dc:creator>trithuongle</dc:creator>
      <dc:date>2023-08-08T14:33:01Z</dc:date>
    </item>
  </channel>
</rss>

