208 Topics

Member Avatar for
Member Avatar for complete

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 …

Member Avatar for rproffitt
0
16
Member Avatar for Nishi_2

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 …

Member Avatar for Gulshan_6
0
701
Member Avatar for Aya_962

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 …

Member Avatar for pritaeas
0
384
Member Avatar for Olive34

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 …

Member Avatar for toneewa
1
117
Member Avatar for Onion13

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 …

Member Avatar for Onion13
1
144
Member Avatar for TimTheCoder

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 …

Member Avatar for rproffitt
0
233
Member Avatar for TimTheCoder

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 …

Member Avatar for rproffitt
0
82
Member Avatar for hapiscrap
Member Avatar for humblepi3

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 …

Member Avatar for humblepi3
0
252
Member Avatar for Mighty_2

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 …

Member Avatar for Dani
0
145
Member Avatar for Onion13

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 …

Member Avatar for Onion13
1
228
Member Avatar for mtyide

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?

Member Avatar for Dani
0
151
Member Avatar for 민성

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 …

Member Avatar for pritaeas
0
59
Member Avatar for TimTheCoder

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 …

0
63
Member Avatar for complete

This is using C# coded using Microsoft Visual Studio 2019 Professional I have an XML file used as a configuration in my program that I am coding. The executable reads and writes to the XML file. So I would naturally like to have an automatic process where the XML file …

Member Avatar for pritaeas
0
48
Member Avatar for complete

How do I set a system-wide _ifdef? This is using Microsoft Visual Stuedio version 2019 with C#. If I want to add specialized code to a project shared by multiple software developers that is designed for my selfish tests and evaluation, how do I manage a # definition inside the …

Member Avatar for rproffitt
0
44
Member Avatar for Clif40RD

Hi I have a `.Net Core Blazor` server project and I'm making use of the Repository pattern for data access. Initially, I had registered the repository as a scoped service. While testing I noticed that if I quickly switched pages for e.g. by clicking on the navigation menu, while the …

Member Avatar for rproffitt
0
183
Member Avatar for complete

In a C# solution, how do I add an .EXE project to a solution of DLL project's? This is using Microsoft Visual Studio Professional. I have been handed a solution file which contains three projects. But all three projects generate DLL files. It is kind of unique because I have …

Member Avatar for tinstaafl
0
161
Member Avatar for kim_boto

I have a Datagridview with two columns. First one is Marks of the student and second one is grade. When I enter marks in Datagridview I want the grade column to automatically fill the respective grading system value. Greater than 80 - A Greater than 60 - B Less than …

Member Avatar for rproffitt
0
105
Member Avatar for complete

I am starting a new coding job with a new client. The problem I am having is that a lot of issues with namespaces that can not be found or maybe missing directives or an assembly reference. This, I think, is a common thing. So I am wondering where I …

Member Avatar for rproffitt
0
56
Member Avatar for Adm666

i made a little crm app that has the Entities : Contact, Campus, Sub Campus, the contact has lookup fields for campus and sub campus. (each sub campus is related to only one campus) im supposed to make a plugin in C# that on contact creation it fills the campus …

Member Avatar for rproffitt
0
123
Member Avatar for kamilacbe

Hi, I'm trying to desirealise the json data from a external file where i want to read the key and fetch another dictionary value based on key please letme know if i can read dictionary inside dictionary , I have tried using DIctionary<string,object> where as am looking for Dictionary <string,Dictionary<string,string>> …

Member Avatar for pritaeas
0
102
Member Avatar for Onion13

Making a scrolling space shooting video game in C# where the player will fight one on one with their opponent. I was able to figure out how to make the missile go up if the opponent was above the player. But, I can't seem to make it work if the …

Member Avatar for tinstaafl
1
279
Member Avatar for Prudence_1

1.2 Convert the following classes to valid C# classes: SemiDiode + ForwardV {get; set; }: Double +ReverseV (get; set; }: Double +BreakdownV {get, set; }: Double + Semi Diode) + SemiDiode(forwardV: Double, reverseV: Double, breakdownV: Double) +ToString(): String Laser LED wavelength: Int32 -color: String +Wavelength {get; set; } : Int32 …

Member Avatar for Schol-R-LEA
0
991
Member Avatar for Onion13

I kind of figured out how to put a pause in my 2d game when the player shoots. The problem is that when the player shoots once, the game will continue to shoot continously, even after the player has stopped shooting. Can someone please help me? void Bullet()//draws the players …

Member Avatar for Onion13
0
195
Member Avatar for MagnusTheRed90

Hello, so I have a more complex class in another file, but I have duplicated my trouble on a simpler class which I will show to you. I am trying to base64 encode a path via cipher text, either a good idea or a bad idea. Anyway, I am noticing …

Member Avatar for JamesCherrill
0
69
Member Avatar for questionpond

Created a stored procedure as REST web service and return values as 1 and how to consume in Client applciation in c#. please help me how to send parameters through HTTP POST uisng HTTP client .

Member Avatar for rproffitt
0
47
Member Avatar for Onion13

Working on a game and I made a separate class to handle the players enemies (Its a scrolling type 90s game). I know if I use picturebox and put it on form1 I can say for example.... enemy1.Left > 90; My question is how would I do something like that …

Member Avatar for rproffitt
0
368
Member Avatar for Onion13

Would someone explain to me how to use bitmap. I have a video game I am working on so I added images using resourcesrx and wanted to use bitmap to display where they will appear on form1. I saved the image as player.

Member Avatar for rproffitt
0
38
Member Avatar for Onion13

Made progress on my game and now I need to make the second boss bounce up and down. I figured out how to make the boss go down, but once it touches the lower wall, it stops and won't bounce (move up). void BossMove() { if((BOSS.Top + 10) <(this.Height - …

Member Avatar for rproffitt
0
57

The End.