Retrieving a price stream via WebSocket in C#. - page 9

 
Maxim Dmitrievsky:

It's just some free stuff like avast.)

Anyway, it doesn't matter, they can be a bit of a pain. As you see, I'll have to run several separate programs to get quotes for different characters... But at least I can already use it, thanks :)

You can also open several widget pages with the right symbols in one program.

 

By the way, it shows a virus in the executable when the folder is opened

 
Maxim Dmitrievsky:

By the way, it shows a virus in the executable when the folder is opened

So delete the obj and bin folders and build the project.
 
Event:
So delete obj and bin folders and build the project.

When building this error occurs, maybe there are some components missing in Visualstudio? I have the 2015 version.

and the last version with a bad widget compiles fine )

Поток 0x160c завершился с кодом 0 (0x0).
"WidgetQuote.vshost.exe" (CLR v4.0.30319: WidgetQuote.vshost.exe). Загружено "C:\Users\dmitrievsky\Desktop\WpfWidgetQuote__1 (2)\WpfWidgetQuote\bin\Debug\WidgetQuote.exe". Символы загружены.
"WidgetQuote.vshost.exe" (CLR v4.0.30319: WidgetQuote.vshost.exe). Загружено "C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll". Невозможно найти или открыть PDB-файл.
"WidgetQuote.vshost.exe" (CLR v4.0.30319: WidgetQuote.vshost.exe). Загружено "C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_ru_b77a5c561934e089\mscorlib.resources.dll". Сборка модуля выполнена без символов.
"WidgetQuote.vshost.exe" (CLR v4.0.30319: WidgetQuote.vshost.exe). Загружено "C:\Users\DMITRI~1\AppData\Local\Temp\VisualStudio.XamlDiagnostics.11480\WpfXamlDiagnosticsTap.dll". Невозможно найти или открыть PDB-файл.
"WidgetQuote.vshost.exe" (CLR v4.0.30319: WidgetQuote.vshost.exe). Загружено "C:\WINDOWS\assembly\GAC\Microsoft.VisualStudio.OLE.Interop\7.1.40304.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.OLE.Interop.dll". Сборка модуля выполнена без символов.
 
Maxim Dmitrievsky:

When building this error occurs, maybe there are some components missing in Visualstudio? I have the 2015 version.

The last version with a bad widget compiles fine )

I already wrote:

you need in the line(MainWindow.xaml file)

<WebBrowser Name="WB" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Top" LoadCompleted="WB_LoadCompleted" Source="M:\website-widget-vwap_files/website-widget-quote-vwap-flex.html"/>

specify correct path to "website-widget-vwap_files" folder in "Source" property

The path must not be relative!

 
Event:

I've already written:

you have to in the line(MainWindow.xaml file)

<WebBrowser Name="WB" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Top" LoadCompleted="WB_LoadCompleted" Source="M:\website-widget-vwap_files/website-widget-quote-vwap-flex.html"/>

specify correct path to "website-widget-vwap_files" folder in "Source" property

The path must not be relative!

Yep, all ok now )