4,588 Topics

Member Avatar for
Member Avatar for Curious Gorge

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.), …

Member Avatar for AndreRet
0
15
Member Avatar for Shaitan00

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(...) …

Member Avatar for Pooja_20
0
6K
Member Avatar for MagnusTheRed90

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 …

Member Avatar for MagnusTheRed90
0
135
Member Avatar for priyamtheone

## 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 …

Member Avatar for priyamtheone
1
473
Member Avatar for MagnusTheRed90

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 …

Member Avatar for MagnusTheRed90
0
96
Member Avatar for l1bero

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 …

Member Avatar for rproffitt
0
164
Member Avatar for tinstaafl

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 …

Member Avatar for holisticgroup19
3
4K
Member Avatar for islandgirl242

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

Member Avatar for Reverend Jim
1
314
Member Avatar for faustf

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 …

Member Avatar for tinstaafl
0
1K
Member Avatar for AlexHy

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", ... };`

Member Avatar for tinstaafl
0
221
Member Avatar for kamilacbe

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", …

Member Avatar for pritaeas
0
251
Member Avatar for Adm666

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" …

Member Avatar for tinstaafl
0
473
Member Avatar for xxText

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 …

Member Avatar for tinstaafl
0
173
Member Avatar for photo123

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 …

Member Avatar for pritaeas
0
288
Member Avatar for Vin vin

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 …

Member Avatar for Vin vin
0
645
Member Avatar for Vin vin

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 …

Member Avatar for Vin vin
0
329
Member Avatar for photo123

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 …

Member Avatar for rproffitt
0
179
Member Avatar for photo123

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 …

0
118
Member Avatar for NKR13

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 …

0
215
Member Avatar for soroush68

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 …

Member Avatar for roycpo
1
4K
Member Avatar for xfrankie1997x

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, …

Member Avatar for rproffitt
0
442
Member Avatar for VRamone

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/> …

Member Avatar for rproffitt
0
306
Member Avatar for "ICode"

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. …

Member Avatar for anand9796
0
2K
Member Avatar for Gacso

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 …

Member Avatar for Reverend Jim
0
341
Member Avatar for Prachi_5

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?

0
227
Member Avatar for Prahlad4145
Member Avatar for dongtrien

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# ?

0
175
Member Avatar for T3STO

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 …

Member Avatar for madCoder
0
1K
Member Avatar for Rushabh Verma

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** { …

0
231
Member Avatar for VRamone

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 …

Member Avatar for rproffitt
0
298

The End.