Form uygulamsında dosya veya uygulama buldur(t)ma
Merhabalar. Oluşturduğum form uygulaması üzerinden yine kendi kodladığım bir uygulamayı yol belirtmeden açtırmak istiyorum. Kısacası yolunu bilmediğim uygulamanın yolunu buldurup o uygulamayı aç-tır-mak istiyorum. Teşekkür ederim.
ToolTip show doesn't work in dialog for a pictureBox
Hello, I'm trying to set the tooltip with an autopopupdelay of 5000 and reshowdelay of 0 (for showing it permanently as long as the cursor is on the pictureBox). .Net 4 I can use the ToolTip.SetToolTip but when i use the show method…
Struct list
All, Firstly people may realise that I posted a similar question here https://video2.skills-academy.com/en-us/answers/questions/223984/struct-inheritence.html As far as I can work out this is a separate issue. If it's the same issue then I've made a mistake.…
Change gridview padding left for all rows except the column header
Can i simply change it only for the header? (If the header text is bold, the row text is too much on the left side.) The following doesn't work: for (int i = 0; i < gvTitles.Rows.Count; i++) { gvTitles.Rows[i].DefaultCellStyle.Padding =…
Struct inheritence
All, I have a struct that I would like to define in a base class and access it from classes that inherit from it I've seen that I can't use protected with a struct. I would appreciate help with two questions: a) I think it is because Structs are…
C# prevent multiple instance of console application running
I got a code which prevent multiple instance of console application running. help me to understand the below code' [STAThread] static void Main() { using(Mutex mutex = new Mutex(false, "Global\\" + appGuid)) { if(!mutex.WaitOne(0,…
Deprecation related to OrganizationServiceProxy class and Discovery Service
According to the below link, OrganizationServiceProxy class is deprecated. https://video2.skills-academy.com/en-us/power-platform/important-changes-coming I have used the OrganizationServiceProxy class in the connector written in C# that has used the…
Only every third object is consumed in BlockingCollection<string>(ConcurrentQueue<string>)
Hi. I'm building a multi-threaded simulator and need to create and consume ID's in an orderly fashion. I am doing this in C# and Core 3.1 and it is a WPF application. Please note that I am just learning about multi-threading AND queues, so it is…
IDE Buggy ! errors un-reported AND non-errors reported
for the last month and a half (two updates) my IDE has been driving me bonkers. it often reports 'errors' that are not errors. after wasting time trying to figure out what its problem is, I eventually kill the VS2019-IDE and launch it again to…
Cannot find 'aapt.exe' - latest version of Visual Studio 2019 and Xamarin installed
Hello, I have the latest version of Visual Studio 2019 community edition installed. A couple of days ago I installed Xamarin and Android SDK by following the instructions given in this course material "Xamarin Tutorial - Hello World in 10…
C# version wise new features
Sorry to ask you Microsoft has any pages where they mention c# version wise all new feature till latest version 9? Thanks
Can I catch the lost focus (deactivation) of a PowerPoint slideshow window due to a hyperlink click?
how to catch the lost focus (deactivation) of the current slideshow. In my slideshow a slide has a hyperlink. When the link is clicked, the default browser is opened to the respective page and, of course, my slideshow losses the focus. When the browser…
[Bug] and [CRASH] App Crashes on startup on High Sierra. Runs fine on higher operating systems
I already raised this issue on the Xamarin.Forms github site and attached a repro project..... https://github.com/xamarin/Xamarin.Forms/issues/13071 But I've NOT had a reply. Supporting High Sierra is quite critical.
Casting data in a data table returns string rather than type inserted
I have a custom class that holds the value of a cell which is put into a data table using the following command: table.Rows.Add(error[i].GetValues()); GetValues() returns an array of a generic class: DataParcel<KeyType, DataType, ParentType>. …
Ignore JSON types
Hi, I am using MySQL at backend and I have problems with two fields when using System.Text.Json The fields are mobile which has a value for example = 026547388 and is_admin which has 0 or 1 (representing true or false in MySQL) When I use the…
The name 'parantheses' does not exist in the current context
New to c# and doing a little project for calculating compound interest. I have no clue how to fix this though.
[SerialPort] How can I auto detect SerialPort parameters if I know SerialPort name?
Known: Port Name. Unknown: Baud Rate Parity; Data Bits; Stop Bits. Is it possible to auto detect SerialPort parameters in case if they may be differ from the default?
Xamarin.Forms to add Body using Http GET verb
As I have tried to send data in HTTP GET verb from Postman Here is the screenshot which I am trying to achieve<Br> Postman As data is received using the above process sending with the JSON Body. I have also sent the Bearer Token in the…
HTTPS download and Upload
Hello, We are trying to implement HTTPS protocol for getting a file from a device and putting a file on a device. We are currently using .net framework 4.5 and it is a WPF application. We need to use the below two cipher suites on TLS: …
c# Pause listening to COM port
Hello, I am trying to write a Windows form program to listen to a COM port and intercept the data stream. I have managed this, but I would now like to add the option to pause the listening. I am using the CLOSE() option, but his then also makes my…