Quantcast
Channel: .NET Framework Class Libraries forum

Code Window

Work on a project on the Design View and double click on the object so I could write statements on the the code window. Then I get a blank page, where I can not write anything. The usual scrin with...

View Article


Arrays of UserControls

Hi,How can i Create and call arrays of userControls?For example:HeaderPanelUserControl[] panelHeader = new HeaderPanelUserControl[]; this.Controls.Add(panelHeader[]);and then:panelHeader[0].Visible =...

View Article


How to fix error LNK2001 unresolved external symbol _main

Hi,How to fix error LNK2001 unresolved external symbol _main??????????????????Build started... 1>------ Build started: Project: Arithmetic Calculator, Configuration: Debug Win32 ------...

View Article

Device identification values

Hello! I was not sure where to post this because it doesn't fit any of the suggested forum categories. I am looking for a way for my app to uniquely identify the devices which it runs on.Specifically,...

View Article

form 1 errors

hey how to solve errors on form 1vb regarding to maleradio class design

View Article


Request aborted: Could not create SSL/TLS secure channel

Hi everyone,First, some background: I'm maintaining a content filter that was built with C# / .NET 4.6.1 / .NET StandardI'm currently running into an issue where .NET fails to open a secure channel to...

View Article

Fixes for 0x800f0922 don't work or trigger 0x80070003

I attempted to use the suggested fix for the 0x800f0922 error found at URL #1 below. I found my way to the question located at URL #2, and eventually found my way to URL #3, where I realized that part...

View Article

PLEASE Help me Understand EXAMPLE for RunAsClient

Hi All, I downloaded the example code for NamedPipeServerStream.RunAsClient from the MS docs: https://docs.microsoft.com/en-us/dotnet/api/system.io.pipes.namedpipeserverstream.runasclient?view=net-5.0...

View Article


Image may be NSFW.
Clik here to view.

XmlElement.Attributes is dropping namespaces

Hi all;If you prefer as a fiddle - click here.In my debugger, I have an XmlElement.OuterXml of:<?xml version="1.0"?><p:sldmc:Ignorable="p14 a14 p15 p16 a16 thm15 adec ahyp...

View Article


Visual Studio 2017 C++\CLI assembly not signed using platform v90

Good morning,I'm trying to convert several project developed with Visual Studio 2008 to the newest 2017 IDE version. Some project are mixed mode assembly developed with C++\CLI.I have to preserve the...

View Article

(c#) Every third line of the Text file from lowercase to uppercase

Hello everyone, This code below is used to convert Text files from lowercase to uppercase ... I would like the code to convert every third line of Text file (starting from the first line), from...

View Article

TimeSpan.FromMilliseconds seems not to work consistently

Dear MS Team,  In C# if I create a TimeSpan based on the number of milliseconds, sometimes the length of the interval is not correct.  Is this intentional? If so, can you provide the rationale behind...

View Article

RFC 2822 support in System.Net.Mail.MailMessage

Does System.Net.Mail.MailMessage support complete RFC 2822 standard? In other terms, do SMTP emails sent using System.Net.Mail.MailMessage are RFC 2822 compliant? 

View Article


ACTIVATING MDI CHILD

In a MDI environment let 'view' be an MdiChild.I tried: ActivateMdiChild(view) - does not workInstead both view.Select() and view.Activate() work, and I do not see any difference between the two.Can...

View Article

"bindingRedirect" in web.config does not work (but in machine.config is does)

Hello everybody,I'm using the "bindingRedirect" element in my web.config to allow updates of my referenced assembly without recompiling my website. But I still receive the same error:Could not load...

View Article


Image may be NSFW.
Clik here to view.

System.InvalidOperationException: 'After a 'SetterBaseCollection' is in use...

Hi Team, I have defined a style for Button in App.Xaml as given below.    <Application.Resources>       <Style TargetType="Button" x:Key="buttonStyle">           <Setter...

View Article

ICollection.CopyTo() vs. ArrayList.ToArray()

Dear all,I want to convert a ICollection instance to a normal array. But then I realized these two ways will give me a Array object.Just curious, which one is better (efficient in memory or faster).I...

View Article


Parsing tnsnames.ora in c#

Hi experts,I am trying to parse tnsnames.ora file in c# to return the connections entries in the .ora file to list of collection in c#, I've tried the following code but it doesnot give me all the...

View Article

Can someone help me please. I keep getting this message on startup.

I keep getting this message on startup. "Unhandled exception has occurred in your application. if you click continue the application will continue and ignore this error and attempt to continue. If you...

View Article

[Announcement] ".NET Framework Class Libraries" Forum will be migrating to a...

This ".NET Framework Class Libraries" Forum will be migrated to a new home onMicrosoft Q&A!We've listened to your feedback on how we can enhance the forum experience. Microsoft Q&A allows us to...

View Article


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>