Windows Forms

How to run Script Windows Power Shell in C#
7/18/2024 3:30:36 AM  3.27K

To run a PowerShell script from a C# Windows Forms Application, you can use the System.Management.Automation class to execute PowerShell.exe and pass the argument.

Read more
How to Open and Read Excel Files in VB.NET
7/18/2024 3:26:25 AM  26.76K

To open and read Excel files using ExcelDataReader, ExcelDataReader.DataSet in VB.NET Windows Forms Application, you need to follow these steps

Read more
How to Upload and Display Image In PictureBox Using C#
7/17/2024 4:22:34 AM  9.87K

To upload and display an image in a PictureBox control in a C# Windows Forms Application, you can follow these steps.

Read more
How to Upload Image to Server in C#
7/17/2024 4:22:06 AM  12.75K

To upload an image to a web server in a C# Windows Forms application, you can use the HttpClient class or RestSharp to send a POST request with the image data as a multipart form data.

Read more
How to Hide and Show desktop icons in C#
7/17/2024 4:20:34 AM  8.96K

To hide and show desktop icons programmatically in a C# Windows Forms Application, you'll need to manipulate the Windows Shell through interop services.

Read more
How to send mail using Gmail SMTP Server in C#
7/17/2024 4:15:40 AM  14.68K

Sending email using Gmail's SMTP server in a C# Windows Forms Application involves using the SmtpClient class from the System.Net.Mail namespace.

Read more
How to Create Material MessageBox in C#
7/17/2024 4:14:21 AM  14.62K

Creating a Material Design-styled MessageBox in a C# Windows Forms Application using Material Skin involves using a custom dialog form with Material Skin controls.

Read more
How to Send free SMS Message in C#
7/17/2024 4:13:11 AM  8.29K

To send free SMS messages using ipipi.com in a C# Windows Forms Application, you'll follow a similar approach to the one outlined earlier.

Read more
How to Print RDLC Report without Report Viewer in C#
7/17/2024 2:03:28 AM  30.98K

To print an RDLC report without using the Report Viewer control in a C# Windows Forms application, you can follow these steps.

Read more
How to Encrypt and Decrypt ConnectionString in App.config file in C#
7/17/2024 2:02:37 AM  36.51K

Encrypting connection strings in app.config or web.config in C# is a common practice to secure sensitive information such as database credentials.

Read more