Showing posts with label Microsoft. Show all posts
Showing posts with label Microsoft. Show all posts

Sunday, October 13, 2013

How to Exit Explorer in Windows 8

Here’s how to safely Exit Explorer in Windows 8 or Windows 8.1. Now why would you need to do that? Well there are times when it is useful like for programmers that work with Explorer Shell Extensions like our DWG Columns product to show DWG properties in Explorer.

Hold down Shift and Ctrl, right click on an empty area on the Windows taskbar and click on “Exit Explorer”.

A new feature in the Task Manager is the Restart option for Windows Explorer.

If you don’t see Windows Explorer click on More details at bottom left. If Windows Explorer is selected you will also notice that the End Task button at bottom right changes to Restart.

To start Explorer again, press Ctrl+Shift+Esc to start the Task Manager if it is not already running, and use File > Run new task. Type Explorer in the "Create new task" dialog and press Enter.

Now there is the option to use End task on Windows Explorer but if it is as good and clean as the Exit Explorer or not I don’t know. In earlier Windows versions it was not.

Exit Explorer in Windows Vista and Windows 7

Wednesday, July 31, 2013

TransTips 1.2 for AutoCAD released

TransTips 1.2 has been released on Autodesk Exchange Apps.

TransTips plug-in can be used to translate the contents of tooltips in various Autodesk products automatically into one of 43+ languages via Microsoft's Bing online translation service. The translated text is stored in a local cache of XML files, which can also be edited and used by the plugin if you like “better” translations than the automatic ones.

Language supported are the languages Bing Translator supports and as of July 2013 they are: Arabic (العربية), Bulgarian (Български), Catalan (Català), Chinese Simplified (简体中文), Chinese Traditional (繁體中文), Czech (Čeština), Danish (dansk), Dutch (Nederlands), English, Estonian (Eesti), Finnish (suomi), French (Français), German (Deutsch), Greek (Ελληνικά), Haitian Creole (Kreyòl Ayisyen), Hebrew (עברית), Hindi (हिंदी), Hmong Daw (Hmoob Daw), Hungarian (magyar), Indonesian (Indonesia), Italian (Italiano), Japanese (日本語), Klingon (tlhIngan), Klingon (Kronos), Korean (한국어), Latvian (Latviešu), Lithuanian (Lietuvių), Malay (Melayu), Norwegian (Norsk), Persian (Farsi) (فارسی), Polish (Polski), Portuguese (Português), Romanian (Română), Russian (русский), Slovak (slovenčina), Slovenian (slovenščina), Spanish (Español), Swedish (Svenska), Thai (ไทย), Turkish (Türkçe), Ukrainian (українська), Urdu (اردو) and Vietnamese (Việt Nam).

The TRANSTIPS command dialog

The Line command's tooltip translated into Bulgarian

Right-to-left languages such as Arabic and Hebrew are also supported

It also works with toolbars

And inside certain dialogs, such as the one for the all-important OPTIONS command

Version 1.2 news: More tooltips are translated. Language settings are remembered between AutoCAD sessions.

TransTips trial can be used to see if this app fits your needs and when ready to purchase visit TransTips and you can get a license for 2 USD.

If you are interested in other useful AutoCAD helper functions take a look at OffsetInXref, HTools Menu for AutoCAD, UnitCAD for AutoCAD or HVACPAC.

Friday, March 22, 2013

How to pin any document to the Start screen in Windows 8

Windows 8 comes with a completely new Start screen that replaces the start menu. After having tried some freeware that try to mimic the old start menu (that I were not that satisfied with) I have instead started to use the Start Screen and even though I don’t have a touch screen I find it quick and easy to use.

In Windows 8 you can by default pin only some things like programs (.exe) to the Start screen using Windows Explorer. But what if you want to pin a document? It can be done with a simple registry hack. Here is how I right-click on an Excel document and have the Pin to Start option.

Pin to Start

When ready you will find the document or file as a tile on the Start screen.

Copy the text in the box below into Notepad and save it as pintostart.reg. Then double click on pintostart.reg and accept the dialog boxes.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\pintostartscreen]
"MUIVerb"="@shell32.dll,-51201"
"NeverDefault"=""
"Description"="@shell32.dll,-51202"
"MultiSelectModel"="Single"

[HKEY_CLASSES_ROOT\*\shell\pintostartscreen\command]
"DelegateExecute"="{470C0EBD-5D73-4d58-9CED-E91E22E23282}"

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\pintostartscreen]
"MUIVerb"="@shell32.dll,-51201"
"NeverDefault"=""
"Description"="@shell32.dll,-51202"
"MultiSelectModel"="Single"

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\pintostartscreen\command]
"DelegateExecute"="{470C0EBD-5D73-4d58-9CED-E91E22E23282}"

Another alternative is Pin to 8 that is a nice freeware with more features:

With our Pin to 8 you will able:

  • to pin ANY file regardless of its type;
  • to pin ANY folder;
  • to pin drive;
  • to pin Control Panel items, all them including some hidden like God Mode/All Tasks, Network Connections;
  • to pin Libraries;
  • to pin Shell Objects like Run command, "Show Desktop", Window Switcher;
  • to pin any folders or files with drag and drop. Drop them on application window.

There is also a manual way by adding a shortcut in this folder:

%appdata%\Microsoft\Windows\Start Menu\Programs

When expanded it may look like this except jtb would be your login name: C:\Users\jtb\AppData\Roaming\Microsoft\Windows\Start Menu\Programs

Only thing is that you need to also pin it. Say you create a shortcut named “Windows 8 manual test” and put it in the folder above. Now press the Windows button and start writing the name of the shortcut and it should show up in the search result.

Right-click on the shortcut and select Pin to Start at the bottom of the screen and the tile should show up on the Start Screen.

Thursday, November 8, 2012

Autodesk’s Official support for Windows 8

Have you started using Windows 8 or plan to do it? If so you may wonder what Autodesk says about support for their products.

Is compatible with ?

Windows 8 Support for Autodesk products

According to KB id TS19048377

Issue

You want to know which Autodesk products are supported on Microsoft Windows® 8.

Note: Unless indicated otherwise, this information applies to the 2013-2010 versions of all Autodesk products. Autodesk product versions of 2009 and earlier are no longer supported and are not included in considerations of Windows 8 compatibility.

Solution

Autodesk intends to support many of our key products on Windows 8 and will add additional products to the list of products supported on Windows 8 as updates and future versions are released. Product Support will provide its best effort to assist customers who have issues with products that are not currently supported.

The Autodesk products listed below have been tested and are confirmed as working correctly on Microsoft Windows 8 operating system:

  • Autodesk 3ds Max 2013
  • Autodesk 3ds Max Design 2013
  • Autodesk Maya 2013
  • Autodesk MotionBuilder 2013
  • Autodesk Mudbox 2013
  • Autodesk Softimage 2013
  • Autodesk SketchBook Designer 2013

Note: This technical solution will be updated as new Windows 8 compatibility information becomes available.

See also Windows 8 and Autodesk product compatibility

Wednesday, September 19, 2012

How to solve problem when setup says AutoCAD is installed

Have you run into a problem when the installer says on Configure Installation that AutoCAD is already installed and trying to clear out remaining folders, files and registry keys does not help? AutoCAD is not installed but still the setup says it is. It might be that you had tried to manually uninstall AutoCAD (or Revit or whatever it is) and failed to do it 100%. What to do?

This trick might help to solve the problem. Note that the GUID (the code at the end in italics) is different for different applications and versions so you might need to search in the parent folder or go through them all to find what you look for.

Locate this folder and delete it with its content. Make a backup if you want to be on the safe side.
C:\Windows\Installer\{5783F2D7-B001-0000-0102-0060B0CE6BBA}

Use regedit, locate this registry key and delete it with its content. Make a backup if you want to be on the safe side.
HKEY_CLASSES_ROOT\Installer\Products\7D2F3875100B0000102000060BECB6AB

After that hopefully you will find that you can run the setup and install AutoCAD or whatever product you had in mind to install. Now you know how to install AutoCAD even if AutoCAD is already installed even though it was just the installer thinking so.

See also Completely clean out traces of AutoCAD installations

Monday, September 10, 2012

Microsoft Expression Web Server error: Web "<Stammweb>" ist ausgelastet.

I recently got a problem to publish from Microsoft Expression Web 4 to my website. Strangely enough the error message shows in German even though the application is English as well as Windows and locale settings.

Microsoft Expression Web: Server error: Web "<Stammweb>" ist ausgelastet. Versuchen Sie es später wieder.

In the connection settings I use FrontPage Server Extensions and I have not changed anything after the point it worked and when it stopped working.

My website host company could not find anything wrong either but after they restarted the server it worked again for me.

Wednesday, April 25, 2012

Google Drive with 5 GB Free Cloud Storage

Google Drive is now available with up to 5 GB free space for cloud storage.

Autodesk’s AutoCAD WS app is available in Chrome Web Store so you can access DWGs and DXFs and they can be opened from within Google Drive.

Only problem is that most everything in the editor is disabled. This will hopefully be fixed soon and also be able to open and save drawings to Google Drive from within AutoCAD WS.

Autodesk’s Pixlr Editor is also available as app to edit images with.

The search in Google Drive is cool. If you have images available to search among Google Goggles technology is used to recognize objects, logos, landmarks, text and much more.

On the topic of online storage. If you used Microsoft’s SkyDrive the storage is dropped to 7 GB but if you want you can reclaim your previous 25 GB if you log in now. Another cloud storage option is Dropbox (with a minimum of 2 GB free storage) that is quite popular but will probably get it tougher with the competition. One thing Dropbox has is version control of the files. Microsoft has a chart comparing the services.

Monday, April 23, 2012

No source available in Visual Studio debugging AutoCAD .NET code

AutoCAD 2011 through AutoCAD 2013 is being in progress migrating to fiberless operation. See Wikipedia for more about Fibers.

This affects ARX application using acedCommand (replaced with acedCommandS and acedCommandC), acedCmd (replaced with acedCmdS and acedCmdC) as well as ARX or .NET application using AcApDocManager functions to create, close or activate documents. If P/Invoke has been used to access acedCommand in .NET API, it will not work.  Finally LISP *error* handlers using the (command) function. In most cases you simply have to replace (command) from within an *error* handler with calls to the new (command-s) function. Worth knowing is that (command-s) is significantly faster than (command). A limitation with (command-s) is that “pause” tokens cannot be used and the expression must represent complete commands..

AutoCAD 2011 introduced two variables FIBERWORLD and NEXTFIBERWORLD to help programmers to test and migrate code.
FIBERWORLD = 1 if Fibers are being used.
Change NEXTFIBERWORLD to 0 to disable fibers and 1 to enable fibers. Close and relaunch AutoCAD, or close all the current documents in AutoCAD and then open/new one.

If breakpoints in custom forms being opened using ShowModalDialog or ShowDialog cannot be hit when debugging .NET addins in Visual Studio 2010 the workaround is to set AutoCAD to run in fiberless operation (FIBERWORLD = 0). When you try to debug you may see this message in Visual Studio: No Source Available. No symbols are loaded for any call stack frame. The source code cannot be displayed.

The problem that you may have with FIBERWORLD = 0 is that the Ribbon is not working, you may get strange crashes and have other issues. If you cannot type any commands you may need to disable and enable the command line using the application menu and search for command. If you need to work on a specific drawing it can help to load it automatically from within the Visual Studio debugger as the open command may break the command functionality.

When ready remember to set back AutoCAD to run in fiber mode again.

Sunday, March 11, 2012

Extract zip files in VB.NET

Here is one way to extract zip files. The example is done in VB.NET using the Shell COM.

Declarations needed:

Imports System.IO
' Add COM reference "Microsoft Shell Controls And Automation"
Imports Shell32

Code snippet:

Dim ZipFile As String = "D:\temp\files.zip"
Dim ZipDir As String = "D:\temp\files\"
Dim Shell As Shell32.IShellDispatch2
Dim ShellFolder As Shell32.Folder

If File.Exists(ZipFile) Then
    Shell = CType(CreateObject("Shell.Application"), IShellDispatch2)

    If Not Directory.Exists(ZipDir) Then Directory.CreateDirectory(ZipDir)
    ShellFolder = Shell.NameSpace(ZipDir)
    If ShellFolder IsNot Nothing Then
        ShellFolder.CopyHere(Shell.NameSpace(ZipFile).Items)
    End If
End If

One downside with this approach is that a dialog box can show up while extracting the zip file.

Other ways to Zip and Unzip in C#, VB, any .NET language is using DotNetZip (recommended) or SharpZipLib as well as SevenZipSharp for 7z (7-zip). There is also the GZipStream Class that comes with .NET Framework but only works with .gz files. System.IO.Packaging.ZipPackage is available in .NET Framework 3 and newer but is not straightforward to use and not recommended.

Friday, February 17, 2012

Software Vendor Audits are Increasing

Gartner has recently published the study “The Software Vendors That Are Auditing Now and What to Do About It”.

At Gartner's IT Financial, Procurement and Asset Management Summits in September 2011, they asked 228 attendees about software vendor audits. That survey revealed that 65% of respondents reported at least one software vendor audit in the previous 12 months, up from 61% the year before. Back in 2007 only 35% of respondents had been audited.

The vendors doing most audits were IBM, Adobe, Microsoft, Oracle and SAP and during recent years the audits has increased. Other vendors mentioned were McAfee, Attachmate, HP, Autodesk and VMware. Even WinZip Computing was included (if you can’t afford or want to pay for WinZip there is the 7-Zip open source).

Gartner recommends that CIOs and IT managers should proactively look at SAM and license compliance as ongoing disciplines, to manage audits and improve financial responsibility and accountability, rather than leaving them as audit-driven projects when it may be a case of too little, too late. There is also the recommendation to identify the significant financial risks facing from software license compliance issues to help justify investment in the software asset management (SAM) discipline.

One solution that can help with companies SAM is JTB World’s JTB FlexReport.

JTB FlexReport is a report tool for applications using the FlexNet / FLEXlm (flexlm license manager), IBM LUM (IBM License Use Management), SPLM (Intergraph SmartPlant License Manager), SLM/Sentinel LM/Sentinel RMS, LM-X, Solidworks SNL License Manager, T-Systems license manager product LICMAN, Primavera from Oracle or 12D software licensing.

See also our free JTB FlexReport LT that can easily be distributed within your company to anyone that needs to see current usage of FlexNet/FLEXlm based products.

Wednesday, February 1, 2012

Autodesk to cease support of Windows Vista

Still using Windows Vista? If you plan on using Autodesk 2013 products on Vista read this:

Microsoft Windows Vista Support FAQ by Autodesk

Beginning January 1, 2012, Autodesk will have formally ceased support of the Microsoft Windows Vista Operating System for all new (and upgraded versions) of its products and services released in 2012.

Currently shipping versions and previous versions of our software (delivered prior to January 1, 2012) will continue to be supported on this operating system.

Why is Autodesk ending support for Windows Vista in 2012?

Microsoft ended sales support for Vista in 2011, and will end mainstream support in 2012. Our research and customer engagement on this topic has shown that an overwhelming majority of our installed base has already moved off of this operating system. Customers looking to upgrade their hardware and operating system have indicated Microsoft Vista is not a viable option given the availability of Windows 7.

UPDATE: A week after this post Microsoft extended support for Vista. ref Will Autodesk follow?

Where can I find information on Microsoft’s planned support for its Operating Systems?

You can find information on Microsoft’s Windows lifecycle (both sales and support) here: http://windows.microsoft.com/en-us/windows/products/lifecycle

Why are you ending support for Windows Vista when XP, an older operating system, is still supported?

Through Autodesk’s research and customer engagement, there is still a large population of customers utilizing this Operating System in their work environments. We will work with our customers in the coming 12-24 months to understand their transition plans and make a support decision about Windows XP when it is appropriate to do so.

If I upgrade my Windows Vista computer to Windows 7, will my existing 2012 licensed products still work?

If you are intending to upgrade your Operating System, it is recommended that you reinstall your Autodesk products once that upgrade is complete. Your existing product license is still a valid, but the product will need a new authorization code to work with the new operating system once installed.

If I choose to buy a new computer with Windows 7, can I reinstall my 2012 products on the new computer or will I have to buy new licenses?

Yes, you can continue to use your current Autodesk products with this new operating system. Once installed, you will have to obtain a new authorization code.

How do I migrate my older licensed Autodesk products to a Windows 7 computer? I lost the install discs and serial numbers a while ago.

Please contact the reseller or company where you originally purchased the Autodesk software for a copy of the product and your original serial number. If you are on Autodesk Subscription you can just go to the Subscription website and access the previous three versions of the product.

When will Autodesk support Windows 8?

Depending on Microsoft’s own release schedule for this new operating system, Autodesk will test its product line with Windows 8 and release a support statement when it is appropriate to do so.

Will the Autodesk software/application I recently purchased (i.e. 2012 version) work on Windows Vista even though Autodesk is ceasing support for this Operating System?

Yes, the current Autodesk product line (version 2012) will continue to be supported on Microsoft Vista. Support will cease for new versions of Autodesk products released beginning January 1, 2012.

How does this ‘ending support’ affect me and the products that I currently own (version 2012 and earlier)? I am still on Windows Vista and do not have the ability to migrate to other Windows OS.

Autodesk will continue to support you and your existing, purchased products on Windows Vista in alignment with our current product support policies.

What do I do if I run into issues with Autodesk products on Windows Vista? Who do I contact for support?

You can continue to utilize your existing Autodesk support channels for Windows Vista issues for Autodesk products/versions which have shipped prior to January 1, 2012. For new versions of Autodesk software shipping after this date, please refer to the Autodesk Discussion Forums for peer-to-peer support if you decide to install these Autodesk products on the Windows Vista operating system.

I’m running Microsoft Vista with my Autodesk Products – can I still purchase apps and plug-in’s from Autodesk Exchange beyond January 1, 2012?

If you are installing apps from Autodesk Exchange, please check with the supplier/developer of the app for system and product requirements pertaining to Microsoft Vista support for your particular Autodesk product(s).

Via Microsoft Windows 7 and Windows Vista Compatibility

Saturday, November 26, 2011

Outlook not Moving Messages Solution

Problem: I had problem in Microsoft Outlook 2010 that not all selected emails were moved using either Quick Steps or Move.

Typically I reply to an email and mark it to be followed up and then select both the one in the Inbox and the one in Sent Items and move them to another folder. I either select the emails by expanding the conversation or through a search. Drag and drop is no problem but using Move or Quick Steps from the Ribbon does not work.

Solution: I wondered if it was some bug moving multiple emails but eventually found that “Don’t move flagged messages” in Outlook Options under the heading Conversation Clean Up was checked. When I unchecked it I got the emails moved as expected, problem solved.

Don’t move flagged messages

Sunday, August 21, 2011

How to remove all Autodesk products from Windows

Sometimes this is needed. I’ve done it many times both on my machines and on users machines.

How to remove all Autodesk products from a Windows system

From Autodesk’s Knowledge base: TS45252

Issue

A previous attempt to install or uninstall an Autodesk® product failed to successfully complete and now you are unable to install or reinstall an Autodesk product on your system.

Solution

In these cases, it is strongly recommended that you clean your system by uninstalling all Autodesk products and supporting applications (add-ins, utilities, enablers, etc.), and by removing related files and settings before attempting to reinstall. The end result is a clean system on which you can install your new Autodesk product.

Before you begin
  • These procedures are intended to completely remove Autodesk products and related support files from your computer including customization files such as menus, AutoLISP, PGP files, etc. If you wish to preserve any existing customization, you must manually back up those files before executing the procedures that follow.
  • Before you starting uninstalling your Autodesk products, we recommend you restart your system to ensure that any pending Windows OS updates get applied first.
  • Some options are presented differently depending on the version of Windows you are running. The following procedures include descriptions for the Windows® 7, Windows Vista®, and Windows XP operating systems. Follow the appropriate  instructions for your operating system.

For most Windows-based Autodesk products, the process of uninstallation is handled through the Windows Control Panel:

  1. From the Windows Start menu, open the Control Panel.
  2. Select “Uninstall a program” (Windows 7/Windows Vista) or “Add or Remove Programs” (Windows XP).


Windows 7 / Window Vista


Windows XP

The first thing to note is that each Autodesk product is listed separately and must be uninstalled separately.


List of installed applications

Even though you may have installed all of the products in a suite in a single installation, each individual Autodesk product and related add-in, enabler, bonus pack, or other supporting application must be uninstalled separately.


Uninstall peripheral applications

If you're going to uninstall a product, you should uninstall the related peripheral applications before uninstalling the main application. For example: if you're going to uninstall 3DS Max Design, you should first uninstall the FBX add-in for 3DS Max Design. Uninstall this and any other related add-ins and then uninstall the main applications. This also applies to modules such as the VBA enabler, Subscription Advantage packs, and Autodesk material libraries.

Note: When uninstalling the Autodesk material libraries it’s important to remember that these libraries are shared across all Autodesk products and should not be removed unless you are removing all Autodesk products from the system.

  1. Select the product to be uninstalled and click the “Uninstall/Change” link (Windows 7/Windows Vista) or the “Change/Remove” button(Windows XP).
  2. In most cases this will launch an uninstaller for the selected component, allowing you to uninstall it from the system.

Repeat this process for all add-ins and supporting applications before beginning uninstall of the main Autodesk products.

When uninstalling the material libraries, it's best to uninstall from largest to smallest. Begin by uninstalling the medium resolution image library–assuming that library is installed on your system–followed by the base resolution image library, and then the Autodesk material library.


Uninstall Autodesk products

Once you have uninstalled all peripheral applications, you can begin uninstalling the main Autodesk products:

  1. Select the product to be uninstalled and click the “Uninstall/Change” link (Windows 7/Windows Vista) or the “Change/Remove” button(Windows XP).
  2. At this point, the Autodesk installer will open in maintenance mode offering you the options to: Add or Remove Features, Repair or Reinstall, or Uninstall the selected product. 


    AutoCAD 2011 installer in Maintenance Mode
  3. Click the Uninstall option and click Next to confirm that you want to remove the product from your computer (if you are prompted to remove shared files, click Yes to All).
  4. After the Uninstall is complete, click Finish to close the installer.

Repeat steps 1-3 for each Autodesk product to be uninstalled.

Note: The uninstall procedure for some Autodesk products may require you to restart the computer when the uninstall has completed. If this is the case, restart the computer as instructed, return to the Control Panel and continue removing any remaining Autodesk products.


Delete remaining Autodesk product files and folders

Warning: The following steps instruct you to delete folders at locations that would affect all installed Autodesk products. These steps assume you have previously uninstalled all Autodesk products and related peripherals and that it is safe to remove those folders.

1. Using Windows Explorer, locate and delete the installation folder for each Autodesk product that was uninstalled in the previous procedures, e.g.,  "C:\Program Files\AutoCAD 2010" or "C:\Program Files\Autodesk\AutoCAD 2012".

2. Delete the folder, "C:\Program Files\Common Files\Autodesk Shared"
Note: These locations may be different if your OS is configured to store the Program Files folder on a drive other than C: or if you installed your Autodesk product to another drive and folder name.

3. Delete the following user profile folders (substitute your login name for %username%):

Windows 7/Windows Vista

  • C:\Users\%username%\AppData\Roaming\Autodesk
  • C:\Users\%username%\AppData\Local\Autodesk
  • C:\ProgramData\Autodesk

Windows XP

  • C:\Documents and Settings\%username%\ Application Data\Autodesk
  • C:\Documents and Settings\%username%\Local Settings\Application Data\Autodesk
  • C:\Documents and Settings\All Users\Application Data\Autodesk

Windows 7 and Windows Vista: Depending on your system settings, Windows Explorer may not automatically display all the subfolders under the Users folder. If you cannot locate these folders by navigating to the folder, copy and paste the above folder locations into the Windows Explorer address bar.


Windows Explorer address bar


Delete remaining Autodesk product entries from the Windows registry

Warning: Improperly editing the Windows registry could render your operating system unusable. Microsoft provides a wealth of critical information that you need to know about the registry in the Microsoft Knowledge Base at http://support.microsoft.com/support.

Use the Microsoft® Registry Editor at your own risk and only after backing up the registry. Instructions on backing up your registry can be found in the following Microsoft Knowledge Base articles:

Additional information about the registry is available in the Help topics in the Microsoft Registry Editor.

  1. Log on to the workstation as a member of the local Administrators group.
  2. Launch the Run dialog by typing [Windows key] + R (Windows 7/Windows Vista) or clicking Start > Run (Windows XP).
  3. In the Run dialog, enter REGEDIT in the “Open” edit field and click OK.
  4. In the Registry Editor, locate and delete the following subkeys:
    - HKEY_CURRENT_USER\Software\Autodesk
    - HKEY_LOCAL_MACHINE\Software\Autodesk 

    Deleting a subkey in the Registry Editor
  5. Close the Registry Editor.
  6. Restart the computer.

Before reinstalling any Autodesk products

At this point, each of the previously installed Autodesk products—along with residual files, folders, and registry settings—should now be gone from the system and you are almost ready to start installing (or reinstalling) your Autodesk products. Before you begin, we recommend you perform the following tasks to help ensure a successful installation:

  1. Reboot your computer. You should really do this even if you have not been prompted to reboot. Restarting your system before installation helps ensure that any pending Windows OS updates get applied before you starting installing your Autodesk products.
  2. In Windows Explorer, delete the contents of your Windows Temp folder, but do not delete the Windows Temp folder itself. You can locate the Temp folder by entering %TEMP% in the Address bar of Windows Explorer.
  3. Close all running applications. Some applications—Microsoft Outlook, for example—can interfere with the installation process. So, before you begin installing, it's just a good idea to shut down other applications that are running.
  4. Disable any virus-checking software running on your system. Virus-checking applications may block certain activities detected as suspicious, e.g., accessing the registry or adding/removing/updating DLL files, even though these activities are common when installing or removing programs. Not only can it slow down the installation process, but it can actually introduce corruption. So make sure that your virus checking software is turned off before you install, and make sure you turn it back on when you're complete.

Several anti-virus programs can be disabled by right-clicking its system tray icon and selecting Disable from the shortcut menu (for more information about disabling your anti-virus software, refer to the vendor of that software). In some cases, disabling the anti-virus application from the system tray may not be sufficient and it may be necessary to use the task manager to end the process for the anti-virus software that is still running.

To verify that an anti-virus program is not still running in the background:

  1. Press [Ctrl] + [Alt] + [Delete].
  2. Click Task Manager.
  3. On the Processes tab of the Task Manager, select the process for the anti-virus program and then click “End Process”.

You are now ready to install your new Autodesk products on the clean system.

More Information

For more information on uninstallation techniques, please refer to the following solutions:

Tuesday, July 12, 2011

API enhancements for Windows in KB2533623

With this week’s update you may find the Update for Windows 7 for x64-based Systems (KB2533623) and is available for Windows Vista, Windows Server 2008, Windows 7 and Windows Server 2008 R2.

Microsoft has released new API enhancements for Windows to help developers correctly and securely load external libraries. For more information, visit the following Microsoft webpages describing these three APIs.

SetDefaultDllDirectories
Specifies a default set of directories to search when the calling process loads a DLL. This search path is used when LoadLibraryEx is called with no LOAD_LIBRARY_SEARCH flags.

AddDllDirectory
Adds a directory to the process DLL search path.

RemoveDllDirectory
Removes a directory that was added to the process DLL search path by using AddDllDirectory.

Microsoft has also released a Microsoft security advisory about this issue for IT professionals. The security advisory contains additional security-related information. To view the security advisory, visit the following Microsoft website: http://www.microsoft.com/technet/security/advisory/2269637.mspx

Insecure Library Loading Could Allow Remote Code Execution.

The update in Microsoft Knowledge Base Article 2533623 implements Application Programming Interface (API) enhancements in Windows to help developers correctly and securely load external libraries. This update for Windows is available in the "High Priority" Updates category for customers who have not already received the update through automatic updating.

Developers can help to ensure their programs load DLLs properly to avoid "DLL preloading" or "binary planting" attacks by following the guidance provided in Microsoft Knowledge Base Article 2533623 to take advantage of the API enhancements provided by this update.

Thursday, July 7, 2011

Windows Live Essentials 2011 build 15.4.3538.0513

Inside Windows Live informs about the new Windows Live Essentials 2011 build 15.4.3538.0513 released 2011-07-06 and you can get it at http://explore.live.com right now.

Here are a few things mentioned:

  • Mail: We fixed a sorting issue in the Sent items folder and improved the upload reliability and instrumentation in Photo mail.
  • Messenger: We fixed a couple of stability issues and made various changes for improved voice and video quality. We fixed an issue that was causing sound to be lost after upgrading, and we improved performance when displaying the MSN Today page in the main window.
  • Photo Gallery: We implemented various bug fixes for crashes related to launching Photo Gallery through Autoplay and facial recognition.
  • And more: We made many other usability, performance, and stability improvements across the suite of Windows Live Essentials apps.

Unfortunately these other bugs are not fixed yet: Windows Live Writer 2011 picture quality bug and Windows Live Writer 2011 bug and wish.

I had to uninstall the previous version of Windows Live Essentials 2011 due to some problem with Windows Live ID Sign-in Assistant and then I had to restart before succeeding.

If you get this error it might help to just restart the computer: Windows Live Essentials couldn’t be installed. It looks like another program is preventing the installer from working. Error: 0x80070643 Source: wllogin-amd64

Wednesday, June 29, 2011

Office 2010 Service Pack 1 Error 0x8024002D

Office 2010 Service Pack 1 (SP1) is now available and when I installed it via Windows Update I got the error 0x8024002D. First time it just failed to install. I then tried again and got a dialog box asking for an MSI file so I browsed for it. Still it didn’t work so I tried again and got asked about another MSI file. After a few tries it finally worked out. Problem solved.

(Checking the log file in %TEMP% I saw this: Error 1706. Setup cannot find the required files.  Check your connection to the network, or CD-ROM drive.    For other potential solutions to this problem, see SETUP.CHM.")

Strange that the files could not be found because they were available. I had them on an external hard drive, maybe that confused the installer.

This KB article might otherwise help.

On the topic I found that I had to rebuild the whole Index, something I’m not so happy about.

Here are some highlights of SP1:

Excel 2010 SP1 Improves the overall stability, performance and backward compatibility with earlier versions by addressing bugs that affect lots of users.

Outlook 2010 SP1 includes Office 365 support.

Outlook 2010 SP1 can be set to always use the default sending account.

Outlook 2010 SP1 Fixes an issue in which the snooze time does not between appointments.

PowerPoint 2010 SP1 The default behavior for the Use Presenter View option is changed to display the slide show on the secondary monitor, and display the notes on the primary monitor.

For complete list of improvements see this KB article including details for Word 2010 SP1 and OneNote 2010 SP1.

Friday, June 24, 2011

Sheet Set Manager performance issue with Windows 2008 R2 server with SMB V2 active

This is for users of AutoCAD or any AutoCAD vertical together with Sheet Set Manager (SSM) having DWG files stored in a Windows 2008 R2 server with SMB V2 active. It seems to be unrelated to the AutoCAD version. Should affect AutoCAD LT 2012 too.

As soon we open a Sheet Set from the server, Process Explorer shows that the process AdcomFolderWatch.dll uses until 50% CPU utilization, and the Network traffic goes up and stays at ~5 Mbps, even after closing all drawings in AutoCAD).

This issue only affects the systems having SMB Ver.2 active, like Windows 2008 Server R2.

The Autodesk development team is working actively in trying to fix this issue, but for instance, the only way to avoid it is to enable SMB 1. See How to Disable SMB 2.0 on Windows Vista/2008

Via Up and Ready

See also Slow Sheet Set Manager solution and Sheet Set Manager performance tips as well as the Sheet Set Manager Editor SSMPropEditor.

Friday, June 10, 2011

.NET code problem on Windows Server 2003 solved

I spent several hours hunting down a problem a customer had with JTB FlexReport on Windows Server 2003 SP2. The solution was in the end a single row. Things worked fine on Windows XP, Windows Vista, Windows Server 2008, Windows Server 2008 SP2  and Windows 7, but for some reason it failed on Windows Server 2003.

In the code I narrowed down that this call failed but I could not figure out why:

Database db = DatabaseFactory.CreateDatabase();

I got this error using Microsoft Enterprise Library 2.0:

Object reference not set to an instance of an object.

I was wondering if it had to do with the Enterprise Library version but I got this error using Microsoft Enterprise Library 5.0:

Activation error occured while trying to get instance of type Database, key ""

I then wondered if the problem was that I had one .exe made by VB.NET and a DLL made by C#, or that it was running as a Windows Service, or that some code had been upgraded all the way from VB6 etc.

Eventually I was able to scale away a copy of my program to just a few rows and still had the problem. Then I created a similar program from scratch and got it running. I could then start to compare the two file by file using DiffMerge and eventually I was able to find that in app.manifest I had to add the following:

<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>

just before <trustInfo

Now that I found the solution I looked up more details and found that reading any configuration settings from the applications .config file is not working. I also found that it actually is due to a bug in Windows Server 2003. Calls to System.Configuration.ConfigurationManager.AppSettings return null. In Windows Server 2003, if the application has the following SxS manifest, then CLR will not use the application config file even if it exists. This bug does not exist in Windows XP, Windows Vista or Windows 7. Application config file is not used if the application has certain SxS manifest and Lesson Learned: Missing language attribute in ‘assemblyidentity’ element can cause SxS (SideBySide) application loading failure on Windows XP and Server 2003

Monday, May 30, 2011

DPI scaling issue with AutoCAD 2012

2012: AutoCAD framework issues when running at high DPI scaling

Issue

You are running an Autodesk 2012 product on a system whose screen resolution is scaled to 150% and you are seeing abnormalities in the standard buttons and ribbon controls including:

  • A detached and floating red A (upper left corner)
  • The X button to close AutoCAD (upper right corner) does not work
  • Many ribbon controls do not perform as expected

Solution

Autodesk 2012 products may exhibit these issues on systems where the screen scaling is set to 150%. You can work around this by setting the screen resolution of your system to 96 DPI (or 100%).

An alternative method is to right-click on the AutoCAD icon, select the Properties settings, and select the option to "Disable display scaling on high DPI settings."

(When I tried this the Compatibility Settings where disabled and grayed out. I found that this only works for 32-bit programs and not for 64-bit programs. Too bad.)

Applies to:
AutoCAD 2012
AutoCAD Architecture 2012
AutoCAD Civil 3D 2012
AutoCAD Electrical 2012
AutoCAD LT 2012
AutoCAD Map 3D 2012
AutoCAD Mechanical 2012
AutoCAD MEP 2012
AutoCAD P&ID 2012
AutoCAD Plant 3D 2012

Via TS17063118

Wednesday, April 20, 2011

AutoCAD 2012 and .NET Framework 4.0

.NET Framework 4.0 is required by applications like AutoCAD 2012, AutoCAD Architecture 2012, AutoCAD Civil 3D 2012, AutoCAD LT 2012, AutoCAD Map 3D 2012, AutoCAD Mechanical 2012, Autodesk 3ds Max 2012, Autodesk 3ds Max Design 2012, Autodesk Inventor 2012

Autodesk’s Knowledge Base TS16436702 provides more details:

Problem

Many of the Autodesk 2012 products require the installation of Microsoft .NET 4.0. In many cases .NET 4.0 will automatically be installed by the Autodesk 2012 installer however there are system-specific conditions where .NET cannot be installed by the Autodesk installer and will need to be installed manually.

This typically happens on systems running Windows XP without certain Windows updates or Vista and Windows 7 systems that are not up-to-date. In cases where a manual installation of .NET 4.0 is required, you will see the following alert dialog when you click the Install button to begin the the installation process:

Clicking the Update button will automatically terminate your Autodesk product installer and begin the .NET 4.0 installation.

Solution

To ensure that the Autodesk product installation is not interrupted by .NET 4.0 installation requirements, we strongly recommend manually installing Microsoft .NET 4.0 before beginning installation of your Autodesk 2012 product.

Note: This is especially important for systems that will be receiving an Autodesk 2012 product via silent installation of a deployment. Deployments will not check for .NET 4.0 and will not install if .NET 4.0 is not present on the system.

Microsoft .NET 4.0 is available on the Autodesk 2012 product media in the following location:

\3rdParty\NET\4\wcu\dotNetFramework\dotNetFx40_Full_x86_x64.exe

If you do not have access to the original Autodesk 2012 product media, you can download the Microsoft .NET 4.0 installer at the following location (refer to the Microsoft-supplied readme and documentation for additional information and prerequisites):

Microsoft .NET Framework 4 (Web Installer)

After .NET 4.0 has been installed, you must reboot your computer. You should perform this step even if you are not prompted to reboot. After your system has restarted, you can begin the installation of your Autodesk 2012 product.


Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner