Questions tagged [vshost32]

13 questions
6
votes
2 answers

VSHost crash, REGDB_E_INVALIDVALUE loading Specific Project

Whenever I load a solution in Visual Studio with a specific project set as the startup project, I get a VSHost32.exe crash. If I keep on going and launch the application, I get a COMException: {"Invalid value for registry (Exception from HRESULT:…
jcelgin
  • 1,164
  • 11
  • 21
5
votes
2 answers

Any idea what can cause "vshost32.exe has stopped working" in Visual Studio 2013?

A C# WPF application I am working on contains many calls to an unmanaged external DLL. All calls to the DLL work as expected when running the application normally (i.e. outside the Visual Studio debugger). However when debugging from within Visual…
YetMoreStuff
  • 930
  • 1
  • 9
  • 16
4
votes
5 answers

vshost32.exe crash when calling unmanaged DLL

I'm using a VS 2005 app to interface against an unmanaged (Fortran) DLL. When I run the compiled executable straight from the command line, everything is fine - the DLL can be accessed, and I can work with the functions in the DLL. Unfortunately,…
Mike
  • 4,542
  • 1
  • 26
  • 29
4
votes
0 answers

Microsoft.VsHub.HttpHost64.exe memory usage issue

I was happily debugging some C# code in Visual Studio 2015 when I started to notice that a VsHub related process (Microsoft.VsHub.HttpHost64.exe) was going bananas with memory consumption and slowing my whole system. and even after I close the…
Raul Kist
  • 331
  • 3
  • 8
3
votes
1 answer

GetWindowText() function is not executing correctly at all times

I'm writing a small application where I wish to get the URL from the Chrome browse. In order to first check if the Chrome browser is open or not I use the following code: IntPtr WindowTitleTextPtr = GetForegroundWindow(); StringBuilder…
HaggarTheHorrible
  • 7,083
  • 20
  • 70
  • 81
3
votes
4 answers

Visual Studio 2012 - vshost32-clr2.exe has stopped working

I'm creating a WinForm Application in C# using Visual Studio 2012 and I'm getting an error when I debug it : vshost32-clr2.exe has stopped working I already searched but most results are for Visual Studio 2010 and lower and I get similar solutions…
CudoX
  • 985
  • 2
  • 19
  • 31
2
votes
0 answers

published ms visual studio 2012 not working

I've created a C# project and wanted to publish it. As working in MS Visual studio 2012, I followed the 'How to publish : http://msdn.microsoft.com/en-us/library/31kztyey.aspx '. So i selected all the right folders on my file share device, and it…
1
vote
1 answer

c# Multithreading Issue / vshost32-clr.exe has stopped working

I'm new to both c# and multi-threading and I've recently hit a bit of a roadblock in the tool I'm writing. The tool is designed to generate and launch a bunch of HttpWebRequests. Right now it's working fine single threaded, but as soon as I started…
1
vote
2 answers

How to determine application run under Visual Studio vshost or not?

I have an app build in Release Mode. I want when I run app by Visual Studio (F5 key), variable is_vshost have have value true, and if I rebuild app and open it directly in Windows Explorer, it have value false. How I can do that? Thank!
NoName
  • 7,940
  • 13
  • 56
  • 108
0
votes
0 answers

OLEDB connection crashing when attempting to open an excel file for insert

I am using OLEDB to read information from one excel file and output it to another file in a different format. While the queries executed on the first excel file return properly, when I attempt to execute an insert query on the second file,…
0
votes
0 answers

Background Sound Windows Forms

I am trying to play a song in the background of my windows form aplication. I tried this: System.Media.SoundPlayer sound = new System.Media.SoundPlayer(); sound.Stream = Properties.Resources.K_39_NAAN___Wavin_39_Flag; sound.PlayLooping(); But…
Roboneter
  • 867
  • 2
  • 13
  • 24
0
votes
2 answers

VS2012 C# - vshost32 has stopped working

I have a windows form application which is basically a PDF viewer. I used the Adobe PDF Viewer COM component for this project. The program works but I'm having an issue when I click the close button on the top right of the form after I open a pdf…
aresz
  • 2,589
  • 6
  • 34
  • 51
0
votes
1 answer

Visual Studio runs project in 'Release' mode but not 'Debug' mode

I am at a complete loss as to what is going on. This issue came out of nowhere. I checked the output window, which gave me this bit of information: MyApplication.vshost.exe: Managed (v4.0.30319)' has exited with code -1073740771 (0xc000041d) Looks…
Kashif
  • 865
  • 2
  • 12
  • 33