Message 1 of 2
Close/Disable resolution startup popup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
AutoCAD returns an error message on start up: "AutoCAD Error Aborting: "AutoCAD requires 1024 x 768 resolution or higher to run."
I have some codes to start up an AutoCAD instance in other app:
AcadApplication acAppComObj;
const string strProgId = "AutoCAD.Application.23.1";
// Get a running instance of AutoCAD
try
{
acAppComObj = (AcadApplication)Marshal.GetActiveObject(strProgId);
}
catch // An error occurs if no instance is running
{
try
{
// Create a new instance of AutoCAD
acAppComObj = (AcadApplication)Activator.CreateInstance(Type.GetTypeFromProgID(strProgId), true);
}
catch
{
// If an instance of AutoCAD is not created then message and exit
return;
}
}
.......
Is there some api to close or disable this popup dialog while I am starting up a cad instance?