Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
4 Views

Annoying problem with VS Integration

Dear All,

I am using Intel Parallel Studio XE 2019 Composer and VS 2017 Community. Recently I am not able to edit my projects in VS. During launch of VS 2017 a dialog box is shown saying

"The Windows Forms Designer Package did not load correectly ..."

Then when I try to edit a project, right click Properties, I get another message saying

"Error HRESULT E_FAIL has been returned from a call to a COM component".

I am not sure if these messages are related to each other. I am simply not able to work. I would appreciate any help.

Thank you very much for your time in advance.

Best regards,

Baris.

 

0 Kudos
6 Replies
Highlighted
Black Belt
4 Views

I would uninstall both Intel

I would uninstall both Intel Parallel Studio and Microsoft Visual Studio, delete the Program Files (x86)\Visual Studio 15.0 folder, reboot, then reinstall Visual Studio and then Intel Parallel Studio. The Windows Forms Designer Package is part of VS, not the Intel product, and these errors suggest a problem with the underlying VS install.

Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran
0 Kudos
Highlighted
Beginner
4 Views

Dear Steve,

Dear Steve,

I followed the steps you proposed. Unfortunately the same problem still persists...

0 Kudos
Highlighted
Black Belt
4 Views

Did you delete the Visual

Did you delete the Visual Studio directory before reinstalling? Have you updated VS to 15.0.11?

Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran
0 Kudos
Highlighted
4 Views

Baris,

Baris,

You may also want to check to see if your PATH environment variable is too large resulting in it getting truncated (and some paths missing or truncated).

See:

https://answers.microsoft.com/en-us/windows/forum/all/cant-edit-environment-variable-over-2047/ac713...
https://software.intel.com/en-us/articles/limitation-to-the-length-of-the-system-path-variable

It is not unusual for old versions of installed programs that have been uninstalled to have left their modifications to the PATH environment variable in place. You might want to check this using a CMD prompt window

Jim Dempsey

 

0 Kudos
Highlighted
4 Views

Try this program

Try this program

program PATHcheck
    implicit none
    integer, parameter :: pathLengthLongerThanPossible = 1000000
    character(len=pathLengthLongerThanPossible) :: EnviornmentPATH
    logical :: found
    integer :: EnviornmentPATHlength, status, semicolon
    call GET_ENVIRONMENT_VARIABLE("PATH",EnviornmentPATH,EnviornmentPATHlength,status,.true.)
    if(status /= 0) stop "No PATH???"
    do while(EnviornmentPATHlength > 0)
        semicolon = index(EnviornmentPATH,";")
        if(semicolon == 0) semicolon = EnviornmentPATHlength + 1
        if(semicolon == 1 .or. EnviornmentPATH(1:1) == " ") then
            EnviornmentPATH = EnviornmentPATH(2:EnviornmentPATHlength) ! squish out leading ";" and " "
            EnviornmentPATHlength = EnviornmentPATHlength - 1
        else
            inquire(directory=EnviornmentPATH(1:semicolon-1), exist=found)
            if(.not. found) print *,EnviornmentPATH(1:semicolon-1)
        endif
        EnviornmentPATH = EnviornmentPATH(semicolon+1:EnviornmentPATHlength)
        EnviornmentPATHlength = len_trim(EnviornmentPATH(1:EnviornmentPATHlength-semicolon))
    end do
end program PATHcheck

Jim Dempsey

0 Kudos
Highlighted
4 Views

Note,

Note,

You may need to run this in a few different environments:

a) In the default environment (Normal CMD window), PATH run from within MS VS is different
b) In MS VS
c) From Windows Explorer (you will need to add a PAUSE statement at end of program)

Jim Dempsey

0 Kudos