How to Embedded Autodesk Viewer on winform vb.net - vb.net

I need to finish an older project where AutoDesk Viewer is Embedded on a Winform.
This project was done several years ago using what I assumed an older version of Autodesk. I can see on the Reference that they have a AxACCTRLLib.AxAcCtrl.dll. I downloaded autodesk design review 2013. My question is the .dll library for the embedded view has a diferent name?. Because I cannot find any with the same name of library as show above. This project was in a different computer so thats why I had to install the new autocad etc..
Below is a screenshot of the project showing the autodesk viewwer control.
Any Help please I have been researching for a while now without any success

Try add COM reference to c:\Program Files (x86)\Common Files\Autodesk Shared\DwgViewrAcCtrl.dll

Related

What must be done to make net5.0 usable in Visual Studio Community Mac 2019 for VB.NET console projects?

I want to write a cross-platform console application in VB.NET using Visual Studio Community Mac 2019 [VSCM2019]. It has to be able to be run on all platforms that dotnet 5.x currently supports.
When I create a new VB.NET console application in VSCM2019 it defaults to NET Frameworks 4.8 or lower. When I try to change that to net5.x in the project properties, net5.x is not offered in the dropdown list despite the fact that I have installed the latest dotnet 5 sdk.
Is it the case that I must select net5.x when creating the project? If so, where is this done for VB.NET console applications?
Whether or not VB.NET is supported or not, I managed to hack it into submission. I created a net5 C# project, renamed the .csproj file to .vbproj and replaced the .cs file with a .vb file. Instead of opening VS via the .sln file, I opened it via the .vbproj file. It compiled and ran and the project properties reflected the change to VB.NET. I then replaced the .sln by saving the project.

How can I build the documentation for the EPPlus library?

I just downloaded the EPPlus library from GitHub. That's a library for working with Excel files in C#. The only documentation provided is a Sandcastle Help File Builder project (EPPlusDoc.shfbproj). I downloaded Sandcastle, opened the project in Visual Studio 2017 and ran it. I got an error message saying "BUILD FAILED: You must specify at least one documentation source in the form of an assembly or a Visual Studio solution/project file. The project shows two documentation sources: EPPlus.dll and EPPlus.xml. What do I have to do to build the documentation for this library?
(And why the heck didn't the developer just provide a simple .chm file instead of making me go through this exercise myself?

Visual Studio 2012 - Custom prerequisites are not appearing in the Properties > Prerequisites dialog box

I've created my first Office Add-in using Visual Studio. It targets the 4.0 .Net framework and was created using the new VS 2012. I need to distribute/install this project on various 32-bit XP and 64-bit Windows 7 computers around the office. So I configured the project to be installed on XP (which was my first speed bump because I didn't realize VS 2012 needed an update in order to make a solution that was XP compatible). Now that I have a valid win32 application, I am getting another error:
The following error occurred attempting to install 'C:\filepath...\Import Contacts.vsto':
"No application is associated with the specified file for this operation."
After doing some digging, I think I need to install the Microsoft Visual Studio Tools for Office Runtime on the client computer. To do this, I would like to use the prerequisites properties for the project. So I read up on creating custom prerequisites using some noteworthy sites (e.g, Creating Bootstrapper Packages, Application Deployment Prerequisites, Adding Custom Prerequisites, and Creating a Bootstrapper package for Office 2013 in Visual Studio 2012). I created the files according to that last URL (even though I'm not sure it pertains to the package I need just yet), but it is not appearing in the dialog box under Project > Properties > Publish > Prerequisites
If you read the article, it says the VS prerequisites dialog box should automatically update once I restart VS 2012, which I did but to no avail. I know I'll need to use this feature again in the future, so I would really like to know what I'm doing wrong and fix this. Please help! And I promise to quickly give the ACCEPT to whoever helps me fix this problem! Thank you in advance.
I didn't have any problems following the directions given in the web page and got the bootstrapper added to the Prerequisites dialog. However, there are plenty of possible ways to get it wrong. Some possibilities:
Triple-check the folder you added these files to. Be sure that you picked Program Files (x86) on a 64-bit version of Windows and not Program Files. And be sure that you now see the added VSTOR40 folder along with the other existing bootstrapper folders, like ReportViewer and VBPowerPacks.
You do not have write permission to this folder, UAC prevents copying files there. Be sure that you managed to copy them from, say, an elevated command prompt. Right-click the Command Prompt shortcut and click "Run as Administrator".
If you created the .xml files with Notepad then make sure you didn't accidentally saved them with the .txt extension. If necessary, put Explorer in "programmer mode" so you can see the filename extensions. Control Panel + Folder Options, View tab, untick the "Hide extensions for known file types" checkbox. If you now see product.xml.txt then rename the file to product.xml, same for package.xml.txt
If you created the .xml files with Notepad then be sure to save the file in UTF-8 encoding. File + Save As, Encoding combobox.
For all those who still may face similar issue I think that I found the cause of this issue. It seems that copying folder with custom bootstrapper package (and all necessary files in it) does not "refreshes" the list of available packages. Only when i went through this walkthrough and manually created folder in %Programfiles%\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\ for sample package from this walkthrough my package has shown

vb6 project saying crviewer9.dll is missing

I have a fairly old project in vb6. And when I am trying to open this project it says:
crviewer9.dll could not be loaded
so I presume I need crystal report 9 runtime, but I could not find any source to download this.
I checked Business Object site and downloaded the run time zip files but they do not have dll files.
I did find some links which 'claim' that they have crviewer9.dll files but I am not sure whether I can just download from those sites and nothing bad is going to happen.
I have installed visual studio 6, which contains vb6.
If there is anyone who has any idea how to rectify this or know where I can get this dll from please let us know.
And,
Merry Christmas!
Not sure this will help or not, but I have an older VB6 project that I inherited. It requires me to load "CRRedist2005_x86.msi" on the machine that will produce the reports. Perhaps you can find something similar to that on your machine. (It might just register the needed DLL). Did you happen to try registering the DLL via regsvr32.dll to see if that works?
Crystal Reports 9 is no longer available. However, the last version of Crystal that did have support for VB Active X controls, Crystal Reports 11, is still available from Business Objects. As of this writing (November 2012) it is still possible to get a copy of Crystal 11 by special request. You should be able to convert your CR9 VB project to a CR11 project fairly easily.
The Visual Studio redistributable files mentioned in the other answer to this question won't help you if your getting the error in the headline of this question.
Finally found it myself . In the path C:\Program Files\Common Files\Crystal Decisions\2.0\crystalreportviewers\ActiveXViewer I extracted avtiveXviewer.cab and replace it with my existing files in the same folder . Then I registered crviewer9.dll in cmd going to the same path usind cd and then using regsvr32 crviewer9.dll .Finally it is done .

How can i store multiple .ico files into a .DLL file

How can i store multiple .ico files into a .DLL file that can be opened and read from just like SHELL32.dll.
i am using it for a few .ico files that i am making that a few of my friends might want to use also, and it would be much nicer to use a .dll like SHELL32.dll.
i have:
office 2007 (the built in VB)
Visual studio 2010 express
i might still have some old verstion
of BASIC (command prompt programming)
i have windows 7 home premium 64bit
Create a DLL project in VS10. Edit resources. Add as many icons as you want.
Visual Studio should have a resource compiler that can bundle icons into exe or dll formats. You could probably use a wizard of some kind to create a new dll project, and then just stuff that with the icons.
Visual Studio Express might not be as capable. As an alternative, if you are up for it, MinGW has a resource editor, and MinGW is free.
I am not sure about the limited resource editing capabilities of VS2010 express, as I remember it was painful to add version information to resources under C++ Express Edition.
My quick research resulted in GConvert to be a suitable program that is unfortunately not free.
You could do that very easily using resource compiler tools like Resource Hacker or Resource Tuner. You can save them in .dll or .res formats