Hi,
I'm relatively new to programming and I have a pretty basic question that needs answering. I have a windows form that has two buttons. When the user presses one button code executes in a long while loop. I would like to allow the user to exit the while loop by pressing the other...
Hi,
I'd like to prompt the user to select a directory to save a file into. I think that I can use the SaveFileDialog to do this, but how do I set it up so that only the directory is selected (ie. I don't have to bother about file types etc.) Anyhow, my C# book says it's possible, but...
That linked helped, but it was confusing. What I was looking for, for anyone who's interested is the method BitConverter.ToInt(); which allows one to select a subsection from a byte array and the convert it to an Int.
Hi.
I have a Byte array that I'd like to convert to long ints. Is there a quick way of doing this.
essentially I'd like to take bytes: bytearray[0], bytearray[1], bytearray[2], bytearray[3] and combine them to form one int32 (here bytearray[3] has the lsb and [0] the msb).
There must be...
Hi,
I was wondering. I'd like to use a function that I have written in c++ in c#. I was planning on doing this using a dll, and have basically gotten that set up, but I was wondering how I should go about addressing the input variables in C#. Specifically, my function looks like this in...
Hi,
I am in the middle of creating my first app in C# and am hung up on an area I suspect is actually really simple. I have a Windows form and am running an event, loading data that I am retrieving from files the users selected. Because the user selects multiple files at once, I need to be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.