TheSwamp

Code Red => .NET => Topic started by: fxcastil on August 17, 2012, 04:30:17 PM

Title: REFERNCE SETTINGS FOR AUTOCAD 2011 64- BIT (VISUAL STUDIO 2010)
Post by: fxcastil on August 17, 2012, 04:30:17 PM
Can someone provide me a screen capture of their reference settings for ACAD 2011 (64 Bit) .  Here are my references for Acad 2011 (VS2010).  I am also trying to use Office Web Components OWC11 spreadsheet.

 



Title: Re: REFERNCE SETTINGS FOR AUTOCAD 2011 64- BIT (VISUAL STUDIO 2010)
Post by: mohnston on August 17, 2012, 05:32:48 PM
This from the MS site:
Quote
ActiveX Control and COM Add-in Compatibility
Existing 32-bit ActiveX controls, both third-party and Microsoft-supplied, are not compatible with the 64-bit version of Office 2010. For ActiveX controls and COM objects, there are three possible solutions:
If you have the source code, you can generate a 64-bit version yourself,
You can contact the vendor for an updated version,
You can search for an alternative solution.
Native 64-bit processes in Office 2010 cannot load 32-bit binaries. This includes the common controls of MSComCtl (TabStrip, Toolbar, StatusBar, ProgressBar, TreeView, ListViews, ImageList, Slider, ImageComboBox) and the controls of MSComCt2 (Animation, UpDown, MonthView, DateTimePicker, FlatScrollBar).These controls were installed by previous versions of Microsoft Office and are installed by 32-bit Office 2010. An alternative must be found for existing Microsoft Office VBA solutions that utilize these controls when the code is migrated to 64-bit Office 2010. 64-bit Office 2010 does not provide 64-bit versions of the Common Controls.
http://msdn.microsoft.com/en-us/library/office/ee691831.aspx#odc_office2010_Compatibility32bit64bit_ActiveXControlCOMAddinCompatibility

I don't think that control will work on 64 bit systems. It's a shame because it's a nice one.
Title: Re: REFERNCE SETTINGS FOR AUTOCAD 2011 64- BIT (VISUAL STUDIO 2010)
Post by: fxcastil on August 17, 2012, 06:19:45 PM
Quote
I don't think that control will work on 64 bit systems. It's a shame because it's a nice one

Oh yes it will, I can use it in a WindowsFormApllication but I have not got it working in a ClassApplication in AutoCad yet.

You just need to run/install  OWC11.exe and it can then be added to you Control ToolKit and voila.

I have used it in 64bit VS non AutoCadApplications,.