Retrieve the uniqueidentifier key value for a record
i have DB field Picture datatype = uniqueidentifier , i want to get picture show on web page asp.net C#
Windows RichTextBox Problem
Hi, I am using windows RichText box to create RTF file for RTF input. below is code, RichTextBox RtfContent= new RichTextBox(); RtfContent.LoadFile(FileName,RichTextBoxStreamType.RichText); in last getting RtfContent.RTF to write in file. For some…
How to import Java libraries to Xamarin IDE?
I want to import and interface Java coding libraries into Xamarin IDE. So far, I am having too many issues. I have looked through all the tutorials, but no such luck or any solutions. Users are welcome to provide me some answers as long as it is…
Plot Area color and Selected Item color
I'm working with LineSeries charts and I need to change the background color of the plot area. I'm also trying to change the color of the selected item without success. As it's possible to see in the image, the selected item is red (same item for the…
Press Enter to move to next control
I have a few TextBox on the WinForm. I would like the focus to move to the next control when Enter key is pressed? Whenever a textbox gains control, it will also select the text, so that any editing will replace the current one. "but if the…
MapControl with Winform
Im working with a Winform Application that contains a Host Element with child UserControl with a Mapcontrol. I am able to debug/start the application just fine; however, when I try to publish the application I received the following error when trying to…
Accessing property from multiple Classes (MVVM WPF application)
I have been trying to learn C# by creating a small app. Recently I have been trying to implement SessionEvent for screen lock/unlock to pause the timer. I am having a problem understanding how to access timer from App.xaml.cs. Currently while locking the…
screen capture in multiple monitors
I am using UWP screen capture API. This is very straightforward when we capture single monitor among multiple monitors. Is there any good way of switching monitors to be captured associated mouse/keyboard activity?
Cancel HttpClient on azure function in case the operation takes longer than x minutes
I have an azure function which has been called every 5minutes. The function takes less than a min to respond but sometimes took longer than normal and causes some logical issues in my app. How can I cancel the request if takes more than x min (e.g.…
Continue Speech Recogonization with Custom keyword
Hi , I am going to develop voice recolonization in this i have two custom keyword and more than 20 custom Command. so i have created custom keyword on my studio login and downloaded .table file and i am checking user voice with .table file locally that…
excel export datagrid view with headers
Hello all , i have this below code to export my datagrid view o a CSV format , which i can open in excel later , but the datagrid headers are not getting exported , kindly help me how to include headers of my data grid view while exporting: …
filter datagridview based on textbox value (exact match)
Hello all , In my winform application , i need to filter my datagridview based on my text box text , but as i am using like keyword for matching " the values "Accepted" & "Accepted on deviation" are considered as same ,…
Image.FromHbitmap exception: A generic error occurred in GDI+
I am trying to create bitmap from dib handle in order to show it in picturebox . But i keep getting this error and not sure how to fix this problem. I did search for error in online and most resources points out that the inptr is zero so error pops…
How to find Class/Entity complete namespace where it is used in solution/source code with their line number
Hi folks, I hope you are doing well. I want to write a program in C# that extract Class/Entity complete namespace where it is used in solution/source code with their line number I do research from internet I have found some references but it can't…
How to make a Home-button in UserControl switch a page in MainWindow frame without using mvvm?
Hi there! I am new in wpf and c#. I have now used 2 days on searching the web without any solutions I could implement in a satisfying way. Either I can't make the solutions work or it's the annoying MVVM pattern. At my current learning step it's just…
Migrate .Net 4.x C# Windows Forms Application + C++ DLLs to .NET 5
Hello, I'd like to migrate an application build with .Net Framework 4.7.2/Windows Forms/C# to .Net 5. From the documentation, i don't see so much problems to migrate the elements of this application that are written in C#. But this app also uses some…
How to get something that could uniquely identify a cdrom by c#
I need some c# code that can get something such as serial number or ID that can uniquely identify the fixed cdrom or usb cdrom. Thanks.
MediaSource.CreateFromUri() cannot retrieve the file.
Here is my code........ var mediaPlayer = new MediaPlayer(); mediaPlayer.IsLoopingEnabled = true; var soundPath = "D:\Documents\comunit\WinCom\Phonemar\otCom\bin\x86\Debug\AppX\Assets\Sound\ringing_tone.mp3" try { mediaPlayer.Source =…
How do i fix this error in c#
please Help me ASAP
How to create Cognative Speech Custom Command and download it
As we can create custom keyword in speech Studio and we can train than we can download as .table file on local system. so same way how can we download custom command.