Posts
 
Reputation
Joined
Last Seen
Ranked #61
Strength to Increase Rep
+13
Strength to Decrease Rep
-3
94% Quality Score
Upvotes Received
384
Posts with Upvotes
300
Upvoting Members
156
Downvotes Received
18
Posts with Downvotes
16
Downvoting Members
13
120 Commented Posts
~548.96K People Reached
About Me

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
Favorite Tags
Member Avatar for najiawad0
Member Avatar for tanatos.daniel

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

Member Avatar for bir_924
2
6K
Member Avatar for rigz

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

Member Avatar for Sunny_17
0
11K
Member Avatar for judithSampathwa

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.

Member Avatar for Renathu
0
7K
Member Avatar for KushMishra

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 …

Member Avatar for Cody_6
0
4K
Member Avatar for KushMishra

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 …

Member Avatar for Elpat14
1
2K
Member Avatar for AmrMohammed

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 …

Member Avatar for Taz_1
0
5K
Member Avatar for KushMishra

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 …

Member Avatar for Alex_45
0
8K
Member Avatar for Ketsuekiame

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 …

Member Avatar for Franz_1
2
303
Member Avatar for Curious Gorge

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

Member Avatar for triumphost
0
378
Member Avatar for Mr.M
Member Avatar for Ketsuekiame
0
381
Member Avatar for Mr.M

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 …

Member Avatar for Mr.M
0
245
Member Avatar for Vignesh Kumar

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

Member Avatar for Ketsuekiame
0
167
Member Avatar for Darth Vader

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.

Member Avatar for Vignesh Kumar
0
2K
Member Avatar for DaveTran

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 …

Member Avatar for Chris_33
1
2K
Member Avatar for Ancient Dragon

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 …

Member Avatar for 45ish
0
1K
Member Avatar for RikTelner

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 …

Member Avatar for RikTelner
0
2K
Member Avatar for Ketsuekiame

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

Member Avatar for overwraith
15
1K
Member Avatar for Ketsuekiame

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 …

Member Avatar for Pavel_47
3
5K
Member Avatar for ddanbe

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.

Member Avatar for kplcjl
0
381
Member Avatar for ddanbe

Make sure you're running it in Debug mode. In Release this could have been optimised away because you're not using the variable.

Member Avatar for ddanbe
0
252
Member Avatar for mark261511

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 …

Member Avatar for Ketsuekiame
0
203
Member Avatar for BegginerLance

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 …

Member Avatar for BegginerLance
0
149
Member Avatar for sanjeewa.abeywardana

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 …

Member Avatar for Ketsuekiame
0
190
Member Avatar for PulsarScript

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 …

Member Avatar for ddanbe
0
2K
Member Avatar for ddanbe
Member Avatar for ddanbe
0
236
Member Avatar for Dani

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

Member Avatar for Dani
0
2K
Member Avatar for ddanbe

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

Member Avatar for xrjf
0
1K
Member Avatar for ZER09
Member Avatar for Ketsuekiame
0
230
Member Avatar for mike_2000_17

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 …

Member Avatar for mike_2000_17
0
1K