- Strength to Increase Rep
- +13
- Strength to Decrease Rep
- -3
- Upvotes Received
- 384
- Posts with Upvotes
- 300
- Upvoting Members
- 156
- Downvotes Received
- 18
- Posts with Downvotes
- 16
- Downvoting Members
- 13
Developer from England working in the healthcare sector. Currently working in Web Development, but I'm pretty much an all-rounder covering; ASM/C++/OpenGL & Direct X/C# and various web development languages.
- Interests
- Computer Gaming, Animé and Cars
- PC Specs
- i7 2600K @ 4.8Ghz, nVidia Titan, 32Gb RAM, 8Tb Storage + 256Gb SSD
Re: http://www.gamedev.net is going to be your best free resource. | |
Re: It's because you're making the buttons appear and disappear. When you move your mouse over them, your mouse "leaves" the form window and enters the button window, causing your `Form2_MouseLeave` method to execute, causing your buttons to become invisible. This causes your mouse to "enter" the form window, causing `Form2_MouseEnter` … | |
Re: [QUOTE=rigz;1629233]Yah that is the good thing about it but im just a beginner :) and those WinExec were just explored through net..Anyone suggestions?[/QUOTE] Whatever website told you WinExec was a good idea, please burn it in a fire :) Use a loop like jonsca suggested with a conditional to set … | |
Re: OP: [url]http://www.daniweb.com/forums/post1251316.html#post1251316[/url] That post is the correct way to do this. Please ignore the MaskedTextbox control. It is nothing but a nuisance for anything but input. Using Ed's method is quick and easy. | |
Re: An error like that could mean something blew up in the Window constructor for your WPF Form. (Could be a method or child method or child constructor, there's a lot of possibilities) I would do a debug step through so you can see exactly where in your code it leaves … | |
Re: Create a `TcpClient` and connect to the POP3 server, open a `NetworkStream` that uses the client and download all the data available. You can then parse this using the POP3 specification. You can parse this data into a class for storage (file or database) In your client application you need … | |
Re: Firstly, you only set your active release mode to 32bit, if you were trying to compile in debug mode, you're likely to have built in 64bit. Registering a 32bit DLL in the 64bit framework won't work either, you'll need to register it with the 32bit framework. Finally (and probably the … | |
Re: No it is a bug. [This Hotfix should work](http://support.microsoft.com/kb/2464222) Unfortunately, it means that you need to include this hotfix with your application redist. Edit: Reading the bug report there is a workaround - Add the style as a dynamic resource reference or add it as a static resource to the … | |
Now, before you say it already exists (because it does) I found that those didn't really have the generic ability to find any control on a form, regardless of containers. So, here you have a piece of code which will find any control on a form and will also search … | |
Re: If you want to program for MS Windows, and you want a desktop application that's not using something like OpenGL or DirectX, then you really don't want C++. The framework for Windows UI apps in C++ is MFC, which...I don't even want to go there, the nightmares never stop... However, … | |
Re: Don't re-invent the wheel :) [VB SysInfo control](http://vb.mvps.org/samples/SysInfo/) | |
Re: If you're in kernel mode (driver level) then this will register a method that will be executed when a new process on the machine starts. If you want to do the same thing in C# you can use WMI. Use the `ManagementEventWatcher`, execute a query against `Win32_ProcessStartTrace` and register a … | |
Re: IE != Visual Studio browser control. It's a very thin shim only really used for rendering pure HTML. If you want more advanced functionality I would look at using [WebKit](http://webkitdotnet.sourceforge.net/basics.php) or [Chromium](https://www.teamdev.com/dotnetbrowser). | |
Re: The web browser control is based on Internet Explorer. If the web page doesn't work in IE, it won't work in your WebControl either. | |
Re: It might be a bit extreme, but where you set isFinished, could you just [icode]return;[/icode] and exit the method? Otherwise, you will need a second boolean check. [code] if (!isFinished) { // If the level has arrived at the current destination node and not at the final node // Destination … | |
Re: Speaking of quantum theory, there is a conciousness hypothesis that consciousness is the result of a collapsing quantum waveform. *shrugs* not sure I could prescribe to this... <--- Edit: I can't even find the article anymore, my Google fu is weak today. It was published as a scientific paper for … | |
Re: If you really really want to go ahead with C# as your single language, you should look up [TAO GL](http://en.wikipedia.org/wiki/Tao_Framework) Without making the COM calls to the Windows API yourself, this is about as good as it gets. If I were you, pick up an existing game engine (Unity/Unreal) and … | |
## Why am I Here? ## This question is not as philosophical as it sounds, but it's one worth answering. I am here because I want to help people understand programming and help make us all better programmers. Sometimes I have questions to ask, sometimes I have answers to give. … | |
This "FakeWebClient" will allow a C# application to send and receive cookies as part of the request. This behaviour is not available by default. Please note that on line 35 there is a possible NullReferenceException, I managed this at a level higher but you may wish to handle it in … | |
Re: Actually we use a similar construct here; it's great for doing something X times but be warned that there are three levels of indirection and a delegate object construction plus the delegate invocation. It has an impact when you get into large numbers. | |
Re: Make sure you're running it in Debug mode. In Release this could have been optimised away because you're not using the variable. | |
Re: If you have an image in code then you should be able to get the byte array out of the object that contains the data. It might be called `GetBytes()` or something. In any case, look for a method which will give you a byte array. I also noticed that … | |
Re: Have a try at doing it first. If you enjoy it then there's no problem! Right? :) If you get stuck come back with what you've done and what your *specific* problem is. Then we can help. Doing your work for you is cheating at best and plagiarism at the … | |
| Re: Ok so the only way this would really provide security is if you used some unknown password (referred to as salt) to generate the hashes. Otherwise, anyone would be able to modify the table and then generate the hash to make it look like it hadn't been tampered with. Using … |
Re: In C# you can think of all classes as references (pointers) Like ddanbe said above, if you *really* want the pointer, you can use the `unsafe` keyword and then use it like C++. A more safe way is to marshall it out into an `IntPtr` object, but this is generally … | |
Re: Depends what you want to do with it. What scenarios are you looking for? | |
Re: > What if only those members who are selected and participate in the thread get to vote on either a single member or all members get a cut. Again too easy to game. If I post in the thread with 4 accounts and my main account, it means I can … | |
Re: Was that a challenge? ;) EDIT: Done :) using Common; using System; using System.Collections.Generic; using System.Linq; namespace StringSplitTest { public class MainClass : IExecutionClass { const string str = "abc,123.xyz;praise;end,file,clear"; public bool Execute(params object[] programData) { SplitStringByNonAlphanumerics(str).ForEach((s) => Console.WriteLine(s)); return true; } public List<string> SplitStringByNonAlphanumerics(string stringToSplit) { return stringToSplit.Split(stringToSplit.Where(c => … | |
Re: Try setting the order weights to a negative number in your base class. | |
Re: I would like to add that this is not only DW exhibiting the issue (for me). This also occurs is Battlelog (for Battlefield 4). Because of the size of the application involved, the problem is extremely exaggerated compared to the problem with DW. It is enough to bring my entire … |