Posts
 
Reputation
Joined
Last Seen
Ranked #61
Strength to Increase Rep
+14
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
~562.24K 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

948 Posted Topics

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
8K
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
308
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
392
Member Avatar for Mr.M
Member Avatar for Ketsuekiame
0
396
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
265
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
171
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
384
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
257
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
204
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
154
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
194
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
239
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
235
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
Member Avatar for BibhutiAlmighty

If you look at the available constructors for `StreamWriter` you will see that one of them can be used to indicate you want to append to the file.

Member Avatar for BibhutiAlmighty
0
219
Member Avatar for pritaeas

There's a couple of ways. As well as using TLS (standard SSL solution) you can also use Certificate based authentication (effectively enforcing that both client and server have valid certificates) You can also use Username and Password based authentication (including domain authentication if you have that available) The easiest, if …

Member Avatar for Ketsuekiame
0
292
Member Avatar for cuivenion

Has your machine crashed? Has it been forced to power off (battery flat)? Is it starting up from Sleep or Hibernate? All these will cause a lot of disk usage as the machine boots back up. If your drive isn't particularly fast, this could take a while.

Member Avatar for Dimo D
0
521
Member Avatar for zachattack05

They don't get installed into a browser, they're installed in the computers certificate store. (either by user or by machine) Certificate/SSL Certificate no difference. Certificates are produced to a well defined standard and they include a key of a certain size along with descriptor information. That is a certificate. You …

Member Avatar for RichardGalaviz
1
454
Member Avatar for yulbas

You need to add it as an application in IIS. If you upload the code files using FTP, you can use IIS Manager to add the WCF application (as an application) to your website. Note that you must have the HTTP Activation Service enabled on your server in order for …

Member Avatar for yulbas
0
203
Member Avatar for ddanbe

In terms of geometry isn't a dimension simply an axis that is perpendicular to all other axes? Quaternion mathematics for rotation for example. Also I don't believe in time as a dimension but as an artifact of something else. If time were a spatial dimension, why do we get relativity …

Member Avatar for mattster
0
766
Member Avatar for kamalashraf

You need to think about the problem and [how binary searches work](http://en.wikipedia.org/wiki/Binary_search_algorithm). If you understand how binary searches work, then the answer is obvious. The fact you ask this question means you don't grasp the issue, so rather than answering the immediate question, it would be better if you understood …

Member Avatar for rubberman
0
7K
Member Avatar for Ketsuekiame

When you upvote or downvote someone with a comment, if you reverse your vote it doesn't reverse the score you gave them. In my case, I accidentally upvoted someone because I hovered the downvote button and then I [must have] passed over the upvote button when I when I moved …

Member Avatar for Dani
0
554
Member Avatar for kshahnazari

You might be better using a small database like SQLExpress to write your data to rather than a text file. Sharing read/write access is a dangerous game...

Member Avatar for Ketsuekiame
0
305
Member Avatar for ChrisHunter

You could use `Custom item = data.OrderByDescending(obj => obj.Index).FirstOrDefault();` Does the same thing but looks tidier :)

Member Avatar for Ketsuekiame
0
240
Member Avatar for kamilacbe

If you won't include a third library with common functionality/types, you need to re-design your application so that you no longer have the circular dependency. How you do that is down to you as the application designer.

Member Avatar for Ketsuekiame
0
121
Member Avatar for iConqueror

In C# objects and structs are treated differently by what basic type they are. An Object (class) in C# is a reference type and so whenever you pass an instance of that class to a method, you're really only passing a reference to that class. This has the benefit of …

Member Avatar for Ketsuekiame
0
161
Member Avatar for nelsonfaboan.rios
Member Avatar for nelsonfaboan.rios
0
358
Member Avatar for Yorkiebar14

> Ok. I was going to do that as a last resort since multiple people might connect at once and mix up the names. Thanks anyway. You can't. Data comes down each socket from a specific client (unless you're using Broadcast). So if you keep that socket in a particular …

Member Avatar for Ketsuekiame
0
272
Member Avatar for Ketsuekiame

Not sure if it's just me but the home page doesn't work. It's just presenting the background colour but no content. The following is received by the browser: <!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en-US" lang="en-US"> <head> <!-- CSS --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" …

Member Avatar for Dani
1
424
Member Avatar for RikTelner

Depends what you're talking about (again). Unfortunately there are two meanings for "4K". One is the industry standard, 4096x2160 and the other is UHDTV which is 3840x2160. I will continue to assume 4K means 3840x2160 as this is what monitors and TV broadcasts will be. Assuming that you're watching on …

Member Avatar for Ketsuekiame
0
242
Member Avatar for AndrewDBrown

Well it should all work the same way, how are you initiating the "Create New" logical task? It should be as simple as adding the data object to your context and saving, but you will need code logic to handle that case rather than updating existing model data.

Member Avatar for Ketsuekiame
0
251
Member Avatar for AndrewDBrown
Member Avatar for BogdanCov

If the host doesn't have any documentation, find another host. If you pay for a simple development website that uses ASP.NET, they often come with database hosting. i realise you're looking for free but they can have some rather aggressive limitations. Connecting to a SQL instance is done via ConnectionStrings. …

Member Avatar for JorgeM
0
206
Member Avatar for arunkumars

This sounds very much like [Coded UI](https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CDoQFjAA&url=http%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fdd286681(v%3Dvs.100).aspx&ei=CP9-U92UMcm70QWw94GgCQ&usg=AFQjCNGpqAIy_caRWTNBIvSNUFZw6RGzEg&sig2=1oOfTD2C6WZrA-rqYCn5aQ&bvm=bv.67720277,d.d2k) So it might be worth checking that out first. Otherwise, I'd recommend that you decide on what possible actions you can have. Examples might include "EnterURL", "Click Hyperlink", "Submit Form Details" etc. Then whenever a user did something on your built in control, …

Member Avatar for arunkumars
0
474

The End.