4,588 Topics
| |
I am confused about this. I am using Unity 2019.3.f1, Visual Studio Code and Visual Studio 2019 community. While attempting to build an ECS enabled game, I have run into these problems. 1. Multiple errors complaining that a namespace symbol can't be located (paraphrasing here, exact errors: CS0103, CS0426, etc.), … | |
First - so I don't get in any trouble - I've posted a similar question on other forums but have not gotten any responses so branching out in my quest for help as well as changing the question a little. Previously I was trying to find out why calling LoadUserProfile(...) … | |
I am trying to pass url parameters to an angular js page for page setup. I was wondering if anyone could tell me whether I am missing something from these two code samples. The following is some code from a game related program that I am writing. The $routeProvider parameter … | |
## Basic workflow of my page ## [Image of Payment page](https://1drv.ms/u/s!Ava3iL9se3C3gTF_XJ_RiBBsWDHs) I have a payment page that has a name textbox (txtName), a PIN textbox (txtPin) and two textboxes (txtPaymentDate and txtPaymentTime) containing payment date and time respectively. The page also has a payment button (btnPay). txtName has a RequiredFieldValidator … | |
I have a class which is sort of like a repository, and every time I write to the zip archive using this command, the prior activity is overwritten. /// <summary> /// Insert file into existing archive file. /// </summary> /// <param name="fullPath"></param> /// <param name="stream"></param> public void InsertIntoFile(String fullPath, Stream … | |
Hi, there! Have a question right here. I've been preparing a project (Periodic table of Elements), so user by clicking on elements can access to another form which showing the element properties. Also, the user can search the element based on name, atomic number, year of discovered, and sign. Don't … | |
There are times when you need to make sure your counter starts at an odd or even number. Even is pretty simple - `counter = counter + modulus(counter)`. If counter is even it stays, if it's odd it gets incremented by 1. Odd is a bit more complicated - `counter … | |
Using a two-dimensional and one-dimensional array, create a program that will display the cost of a Bahamasair ticket given the FROM and TO locations. The cities/towns to use for this program:Nassau, Freeport, harbour island and marsh harbour | |
hi guys i am a new of programming and new of c# i try to learn it , i try to understund how work a listview , i have a file.txt inside of this , i have 4 line . i have creted a form with a listview with 2 … | |
Greetings, my objective is to create a `Dictionary<string, string>` (or `Dictionary<string, List<string>>`), adding elements to it from a `List<string>`. The first string of the list should be the key of the dictionary, the other strings the value. For example: `List<string> list = new List<string>() { "key1", "value_x1", "value_x2", ... };` | |
I have used GroupBy and have got the value as below into individual array but the array consist of 5 sets of same Id so how do group them futhure to get something like expected result below , any idea would be helpful [{ "id": 116, "amgId": 168755, "amgName": "FIT", … | |
Hi, i want to learn how to parse user input and check its validity in c#, for example i want the user to input a specific format : "x,y to x,y" where x is a number and y is a number (entered by the user) like : "1,4 to 3,8" … | |
Hello everyone, I want to put my *string[]* (array uni dimensional) of values in to excel row and every time the first number of this array was different of "500", the program will add another row with the values on the excel sheet. I only have on the program to … | |
| I have 2 textboxes on a form that accept dates. I dont have a drop down box, I just let the user enter the date themselves. I then want to take the dates entered from those two boxes and figure out how many days apart they are. I'm not sure … |
I worked about 2 weeks with OpenTK and I like to know how to texture triangles. I like to give my program, the flexibility to make shapes like triangles, cubes, spheres and to give them different textures (or shaders). I like to give my window a icon, but it says … | |
I am now learning OpenTK. I have some trouble learning how buffers, vectors and how to make more than 2 3d shapes. and if I try to set the texture or shaders, it will change all the shapes to the same textures and shaders. I have read a lot of … | |
| Is there a way to convert an entire string to uppercase? I tried using Char.ToUpper but that only worked for the first character inside the string. I want to convert every single character in the string to uppercase. I'm using it for the state abrivation. For example pennsylavania becomes PA … |
| Inside of my Windows Form Application , I have a textbox that the user can enter numbers into. I also have an add button if they would like to enter a number and then add another they can hit the button. I'm having trouble with figuring out what you can … |
I have been 2 player programming othello. The program checks for possible areas to place piece "O" and flips pieces. I have got the code for "X" ready too but I can't get the program to switch to player2 "X" and execute code associated to it. Can someone help? class … | |
Hi. I want to detect a face and draw line exactly around the face to crop it. I searched a lot and used the EmguCV face detector. but now my code just draw a "rectangle" around the face and if I crop it, I will have a rectangle with a … | |
Hi, everyone i have a question to ask yous all, i have created a text story game on visual studio in the language c# but how to i identify the requirements for the text story game Identifying the requirements for the Text Adventure Game? Like aim, input requirements. output requiremtns, … | |
Hello, how can I insert a single image on the top of a XSL document? I tried this code below: <xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" > <xsl:template match="/"> <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40"> <!-- Styles added.... --> <Styles> <Style ss:ID="Default" ss:Name="Normal"> <Alignment ss:Horizontal="Left" ss:Vertical="Bottom"/> <Borders/> … | |
i dont know if im suppose to post it here or in the C# form, but since im using it in a ASP.NET projet ... i'll write it here. how can i send an SMS from a PC to a phone, and in details please, explaining EVERY step thanks you. … | |
Hello everyone! I'm sorry to bother you all, but I really need your help. I'm an economy and management student at uni, but somewhy I have to deal with programming. We got a task that looks like this: There's a 5x5 sized field where there are 8-8 disks for both … | |
I want to print database value on multiple pages using C# using HasMorePages property. I have worked on the same, but the loop goes infinetly (without stop) and the same data is repeatating on each page, how to solve it? | |
##**What can you tell us about XSD file in C# ?? Explain in Details..**## | |
Compress and fix access data in C#, I have to look for examples on google network but it's not running examples, how to compress and fix data in C# ? | |
hi brothers , i work on a ASP.NET MVC Project, please i try to get a cookie who created already using server side C# , and in a pure HTML page not .CSHTML i talk now about .HTML page , in this page i want to using javascript to read … | |
I have a class A like this: public class Article { public Tag Test1 { get; set; } = new Tag(); } public class Tag { public List<News> Test{ get; set; } = new List<News>(); } I have a list like this: News 1 Tag 1{ News 1 **Tag** { … | |
Hello, i'd like to capture the content of an ext:panel or a screenshot of the whole browser from a client, but i'm having troubles. In localhost, i can do it with CopyfromScreen method, but since the system is in a server and the user acessing it via web, it gives … |
The End.