- Strength to Increase Rep
- +11
- Strength to Decrease Rep
- -2
- Upvotes Received
- 115
- Posts with Upvotes
- 101
- Upvoting Members
- 68
- Downvotes Received
- 18
- Posts with Downvotes
- 14
- Downvoting Members
- 18
23 year old software developer from Edmonton, Alberta. Right now I am developing embedded FPGA, PLC, and real time OS systems that integrate with .Net (C# and VB.Net) applications for monitoring,recording, and control.
- Interests
- Guitar, Weed, and Learning
- PC Specs
- Hardware changes too fast for me to bother keeping up.
When working with TCP client sockets I often find myself frustrated with the lack of event-driven support. I usually end up writing a whole bunch of code to determine disconnects, reconnecting, etc and I figuired it's time to just write my own class for this stuff. I figuired I'd share … | |
Re: Hardest? Probably the game I made in college. It used a client and a server, a database on the server for storing instant replays which where pushed out after kills (similar to call of duty), and direct 3d. Believe it or not, the hardest part of the whole thing was … | |
Re: It is kind of a headache. I have called C# written dlls in vb6 a few times via com interop. A lot of overhead involved - really lowers overall performance. Plus you need to add a bunch of attributes to your classes and create a seemingly pointless interface that your … | |
Re: [QUOTE=Narue;1703267]That seems kind of silly to me. The point of a checksum is to verify the legitimacy of a file after downloading it. If you're getting the checksum before downloading the file it's no different from taking on faith that the file is legit in the first place.[/QUOTE] Would make … | |
Re: I don't think any native windows console commands support sockets. So making a multi-player game in batch is going to be impossible. I suppose it could be possible to create a file on a shared path on a network, then use batch to read the file and display the scores/etc … | |
Re: Wouldn't this allow the user to enter "....." as a number? I wonder how efficient this would be: [code] private void MyTextbox_KeyPress(object sender, KeyPressEventArgs e) { int aDouble = 0; // Check for the flag being set in the KeyDown event. if (double.TryParse(MyTextBox.Text + e.KeyChar, out aDouble)) MyTextbox.Tag = aDouble; … | |
Re: Are you asking us to do this for you? Or did you have a question? People on this site won't typically do your homework for you. | |
Re: You can't expect your code to do things you don't tell it to do. If you need to remember things, it will need to be saved to some form of media. The simplest form of this would be a textfile. Google reading/writing from textfiles in c#, use your knowledge of … | |
Re: Looks like the internet continues to get cluttered with absolute rubish. | |
Re: The only way to prevent someone from reverse engineering your code is to [B]not give them your program[/B]. This might sound like an oxymoron, but it really isn't. Think about client/server apps - the client only knows its inputs and outputs and not [B]how the inputs got transformed into the … | |
Re: [QUOTE=sknake;989676]Open up visual studio, slap that code in to a form, and hit F5.[/QUOTE] There's no designer code so it won't be that simple... | |
Re: The return statement will not be called if the first if() statement fails (ie the Read() returns false) One way to solve this is to put return ""; at the end (after con.close()) Note that con.close() is not being called if the name is read, since return is called which … | |
| |
Re: Do you know anything about the System.IO.StreamReader class? | |
Re: It's pretty bad practise to simply serialize everything in a class, whether related to the data you want or not. Not only can it be highly inefficient, you can run into issues with 3rd party libs that don't play nicely with the .net object binary serializer (especially interops). Using a … | |
Re: Does your biometric hardware come with an API? Hard to just start telling you how to use something that we know nothing about ;) | |
Re: Hard to say. What controls are you using? Any events you think may be suspect, or low level hooks? If you kill DWM.exe (Aero) does it still happen? | |
Re: It sounds like you are asking homework questions to an assignment that you don't understand. Sounds like you have made all your classes - so are you having troubles implementing them into an application? | |
Re: [This](http://social.msdn.microsoft.com/Forums/en-US/isvvba/thread/05dc2d35-1d45-4837-8e16-562ee919da85) looks like a good place to start. | |
Re: What kind of reports are you generating? HTML? Crystal? Some formats will be easier to work with than others for something like this... | |
Re: Your question doesn't really make a whole lot of sense but I'll take a stab at it. You are asking how to represent Async communication, I think. Seeing as C# is an object oriented language, you will need to represent it as an object (a class) as well. | |
Re: In the DogChorus constructor you are initializing a bunch of members with the same names as the Dog class (which are all private except for Breed) that aren't actually members of the DogChorus class. Perhaps you mean to have 2 objects of type Dog in this class called lady and … | |
Re: Latency is the amount of time it physically takes your data to arrive at your destination - it's based mostly on distance, optimum routing and hardware that must be passed through. The speed is based off of your bandwidth - basically how much your ISP is lending you and can … | |
Re: You are not instantiating a new button into memory. Try using Button newBtn = new Button(); //Set attributes from XML here myForm.Controls.Add(newBtn); | |
Re: Which SendKeys are you using? Is it the .Net wrapper or a WIN32 API call? Have you tried running it as administrator? | |
Re: If you are looking in a special folder you can use the SpecialFolder enumerator to make sure you get the path right everytime: Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) There's quite a few other special folders to note that are represented by that enumerator. | |
Re: This has nothing to do with C#, and everything to do with Active Directory for Windows Server 2003/2008. If you go to 'Server Manager', go to **Roles->Active Directory Domain Services->your.domain.name->Users** you will see a list of users and groups, and when you double click a user and go to the … | |
Re: There's really a lot of ways to do this. One option would be to use an event that other forms can subscribe to: //In form two public partial class Form2 : Form { public class MyFormEventArgs : EventArgs { public string SomeData { get; set; } public MyFormEventArgs(string data) { … | |
Re: If you have a deep wallet, [DevExpress](http://www.devexpress.com/) has some outstanding control suites that I use quite regularly at work. If you don't want to spend any money, you will either have to write them yourself or find a really nice person who has done your work for you. Let us … | |
Re: License keys, online product validation and server-driven content. Oh and code [obfuscation](http://en.wikipedia.org/wiki/Obfuscation_(software)). |