4,588 Topics
| |
I want to use C# do to a necessary mass emailing of hundreds of receiving email addresses. I have a gmail account and I believe my message will be better received if it comes from my personal gmail account instead of from one of my website's email accounts. But if … | |
How Do I Package and install a Released compiled version version of my .Net Framework? Do I bundle the contents of the Release folder or just the EXE's and DLL's? Do I need to include the app.config and packages.config? Do I need to create an installer somehow? | |
Using the Microsoft.SharePoint.Client namespace in a C# code, I am trying to access a SharePoint List but I am getting a 403. Is it because the Microsft List I am trying to access is on a different computer on the internet and the program has to be on the same … | |
Hi What is wrong in my this backup code it always not working and gives me an error SqlConnection con = new SqlConnection(@"Data Source=(LocalDB)\MSSQLLocalDB; AttachDbFilename=D:\repos\mysales\WindowsFormsApp4\Database1.mdf; Integrated Security=True; "); string database = con.Database.ToString(); if (textBox1.Text == "") { MessageBox.Show("Please Enter Backup File Location"); } else { string cmd = "BACKUP DATABASE … | |
My .NetFramework version does not work with my Microsoft.SharePointClient.dll version. Which vershions should I use? I am trying to add some CSOM functionality to my C# program such that I will be allowed to do CRUD operations on a Microsoft List (aka SharePoint List). Assuming you know what CSOM and … | |
This is not really a question, since I can make it work. It's just something I have not seen before and I think it is odd. I'm writing some unit tests. One test works fine, but when I change a parameter for another test, it gives an error. The parameters … | |
The choice of programming language for developing a Ludo game will depend on the specific needs of the project, the skills of the development team, and the target platform. Here are some of the programming languages that can be used for Ludo game development: **C++:** C++ is a high-performance programming … | |
In Unity 3D, utilizing the Starter Assets package, I am trying to swap the mesh on the Starter Asset character that I duplicated in the scene. I unpacked a prefab so that I could utilize the mesh filter of the new prefab that I imported. I realized that there are … | |
I'm New In c# and want to create a windows service here what I'm trying public TestService() { InitializeComponent(); timeDelay = new System.Timers.Timer(); timeDelay.Elapsed += new System.Timers.ElapsedEventHandler(WorkProcess); } public void WorkProcess(object sender, System.Timers.ElapsedEventArgs e) { string process = "Timer Tick " + count; LogService(process); count++; } protected override void OnStart(string[] … | |
There has been a noticeable increase in people asking where to start C# recently. So I have been across a couple of forums and pulled together a list of some useful links and resources. # Web Tutorials # [Home and Learn Tutorial](http://www.homeandlearn.co.uk/csharp/csharp.html) [CodeProject Tutorial P1](http://www.codeproject.com/Articles/219869/Object-Oriented-Programming-in-Csharp-NET) [CodeProject Tutorial P2](http://www.codeproject.com/Articles/222295/Object-Oriented-Programming-in-Csharp-NET-Part-2) [CodeProject Tutorial … | |
how to convert from vb.net to C# ? | |
Hello I want to print some data that appear in Form. I print some data( image, labels....) then at point y = 415, I will print all rows of datagridview, at here all is right, but when i want to print rows that need more page, i had wrong result, … | |
I wonder if there is any solution to drop an oracle table trigger using c# windows application project | |
A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You’re to write an application to assign seats on each flight of the airline’s only plane (the capacity of the plane is 10 seats of the same … | |
My program worked earlier this year before Windows 10 put and update and suddenly it doesn't work anymore. I have a separate laptop that didn't get the update and it works perfectly. Can someone please tell me what I need to do to get it to work? Ive tried everything … | |
I have used Magick.NET to detect all the edges using Canny Edge Detection which basically converts an image to a binary version where the edges are in white and the rest of the image black However I have failed in using the library HoughLine method to detect rectangles or squares … | |
I have tried the following code to reconstruct image without logo by first converting the image to a binary inverse where the logo appears to be white and the rest of the image black then using inpainting function to reconstruct the original image without the logo part. This is for … | |
When I try to install webview2 package from nuget I get this output: Retrieving package 'Microsoft.Web.WebView2 1.0.1418.22' from 'nuget.org'. Adding package 'Microsoft.Web.WebView2.1.0.1418.22' to folder 'C:\Users\pc\Desktop\VS 2015 projects\dbtest\packages' Added package 'Microsoft.Web.WebView2.1.0.1418.22' to folder 'C:\Users\pc\Desktop\VS 2015 projects\dbtest\packages' Install failed. Rolling back... Package 'Microsoft.Web.WebView2.1.0.1418.22' does not exist in project 'webview2' Removing package 'Microsoft.Web.WebView2.1.0.1418.22' … | |
Repo: https://github.com/Charles-CarM/Battleship I am currently building my battleship console application in C#. I have prior experience building projects with Vanilla JS and in React. I went through a tutorial on C# and could grasp most of the concepts pretty well. I have jumped into project building because I know this … | |
I designed each server and client as seperated projects but they both has the classes in same namespaces When I try to deserialize i get this: Unable to find assembly 'RentACar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.' Here is my class i want to send objects as packets using System; using System.Collections.Generic; using … | |
In C# ArgumentException is an existing class that derives from Exception; you use it when one or more of a method’s arguments do not fall within an expected range. Write the application SwimmingWaterTemperature containing a variable that can hold a temperature expressed in degrees Fahrenheit. Within the class, create a … | |
Hello, I've been programming for at least 5 years now, but I've only done freelance programming projects for pay. I was wondering what to expect from a company position as a software QA tester using C#. What kind of skills are important that aren't immediately obvious, and will it be … | |
Working on a game for a friends daughter for her 6th birthday. Its a scrolling game where the player will be Snoopy and they'll be flying around on his doghouse collecting Woodstock (Which are flying around the screen) for each level (There will be 4 levels). At the end of … | |
I need a quick solution that will convert HTML doc to PDF and still maintain the same look and feel with pre-populated data and also maintain links in the PDF doc. Any solutions? | |
Hey guys I managed to get some code what works fine but it uses console application I have tried to convert it by hand and change things around to get it to work but with no avail! I'm certain it should be simple but I may be wrong :( Thanks … | |
We have a pipeline which builds, tests and outputs some artefacts to nuget. After an initial push of the existing codebase (C#), the tests fail in the pipeline where .ToString() is called on a DateTime object, it returns mm/dd/yyyy rather than the UK format dd/mm/yyyy as per our local developer … | |
Picture box picture control is not working using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApp3 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } Color a0; Color a1; Color a2; Color a3; private ColorDialog … | |
Hello guys am trying to implement Info Cards using the IInfoCard and IInfoCardFactory and IInfocards interfaces. If you know how to complete the methods of these interfaces to make a program show the forms for the respective categories, then you might just be the guy to help me. I have … | |
Hello guys, am trying to access the windows in-built adapter from C# library known as Bluetooth LE (Low Energy). I have installed the nuget package and when I try to run my code, I get the error that **Unhandled exception. System.ArgumentException: [Plugin.BluetoothLE] No platform plugin found. Did you install the … |
The End.