948 Posted Topics

Member Avatar for vishalonne

Cast your sender to a checkbox and see if your array contains that checkbox... private void CheckBoxChanged(object sender, EventArgs e) { CheckBox selectedBox = sender as CheckBox; if(selectedBox == null) { // Somehow a different control type called this method. return; } if(myCheckBoxArray.Contains(selectedBox)) { // Do what you need to …

Member Avatar for tinstaafl
0
166
Member Avatar for Ancient Dragon

I tend to write articles or code snippets in the software sections that make use of this markup, so I must contest your suggestion to remove it from them.

Member Avatar for diafol
0
216
Member Avatar for GhostWolf

It means that the string is "Literal". So you can't use escape strings in it. For example: `Console.WriteLine(@"This\nis a new line");` Output: `This\nis a new line` `Console.WriteLine("This\nis a new line");` Output: `This` `is a new line`

Member Avatar for deceptikon
0
168
Member Avatar for imBaCodes

Actually I disagree. In fact the reverse *may* be true. If you think about "love" in an adult sense, it's driven by several instinctive biological factors. If children, there's an innocence they have; meaning they are not bound like we are as adults. It's more unconditional.

Member Avatar for cproger
2
219
Member Avatar for Ketsuekiame

http://services.parliament.uk/bills/2012-13/enterpriseandregulatoryreform.html Anyone seen this? Pretty much means that rights holders no longer have rights over their own work without registering them on a work-by-work basis. This allows companies to use, sell and sub-licence your works without asking you permission. Might be wise to start taking all your pictures off the …

Member Avatar for mike_2000_17
0
266
Member Avatar for IT_Techno

The DB doesn't care that it's a file. To the DB your content is just an array of bytes. I suggest updating your table definition to include the filetype and possible the filename. That will help you write the file correctly and sort by the filetype you want.

Member Avatar for Ketsuekiame
0
131
Member Avatar for <M/>
Member Avatar for <M/>

You're not a real programmer, you can't program in binary >:( Such are some elitist people. I would argue that people who create website front-ends (purely HTML) aren't programmers, but scripters instead. That's where my line is drawn ^^

Member Avatar for jwenting
0
389
Member Avatar for TUNG810810
Member Avatar for NidhiSree

If you're using `ShowDialog` to display the form and not Disposing after returning, this will cause a memory leak: public DialogResult StartForm() { MyForm form = new MyForm(); // Memory Leak return form.ShowDialog(); } public DialogResult StartForm_Safe() { using(MyForm form = new MyForm()) { DialogResult result = form.ShowDialog(); return result; …

Member Avatar for Ketsuekiame
0
1K
Member Avatar for gouthamarul
Member Avatar for Ketsuekiame
0
126
Member Avatar for jean122

Generally see these going for £15-£20 at car-boot sales (some as low as £10 but they look knackered)

Member Avatar for <M/>
0
349
Member Avatar for waqas.zafar.125

What does it say in the course material you've been studying? To start, i'd capture the mouse position from the moment you receive a mouse down message to the moment you receive the mouse up message and plotting that in data points. You can then either display or translate these …

Member Avatar for Ketsuekiame
0
237
Member Avatar for McLaren

I once had to compile the Chromium source code on a Celeron laptop with 512Mb of RAM. Took 14 hours and the build failed, best 3 days off ever ;)

Member Avatar for Ketsuekiame
0
115
Member Avatar for dougy83

I'm inferring from your code that you're using a `NotifyIcon` with some tooltip text. The limitation actually resides here, as the text for this can be no longer than 63 characters. It's possible to hack around it using reflection, but if you can get it down to 63 characters that …

Member Avatar for dougy83
0
253
Member Avatar for nakedl

Yes, you can download a video just like a file and you can play it using the built in player. Conceptual Framework? I assume this is something you do? But to answer your question, yes, in Android, you can download a video and play it.

Member Avatar for Ketsuekiame
0
108
Member Avatar for austian88

Ok, to compile you need both a solution and a project. 1. Find your code files on disk and copy them somewhere you remember 2. Close the solution you have open 3. File, New.. Project and choose either Winforms or Console depending on what you want to do 4. Right …

Member Avatar for austian88
0
219
Member Avatar for Ancient Dragon

Let's not forget about her drive to meet the "Clean Air Act" closing most of the pits off in the 80's and effectively crippling the country's industrial and manufacturing sector. The UK produced some of the best steel in the world and our mines employed a large proportion of the …

Member Avatar for Agilemind
1
1K
Member Avatar for Jacobah
Member Avatar for zachattack05

The event fires as the first consequence, so you can consider SelectedIndexChanged as the "Changing" event. How are you supposed to know what's going to change and to what value before it happens? At best you'd be able to use the click event but even at that point, presumably you've …

Member Avatar for Ketsuekiame
0
216
Member Avatar for pankajmahor663

How are you recording whether or not the box should be shown again? You should undo this step when you peform and uninstallation.

Member Avatar for pankajmahor663
0
181
Member Avatar for NidhiSree

Just because your parent is disposing, doesn't mean your child control is *currently* disposing. It could happen later, it could have already happened. In most cases a Dispose runs that quickly that you will never pick up the "true" flag. The other possibility is that you have a memory leak …

Member Avatar for NidhiSree
0
143
Member Avatar for Krokcy

Let me ask you, why do you need to convert it to the sub-type, if you don't already know what sub-type you need to deal with? The reason I ask is that, if you don't know what type you're dealing with, how can you call anything that is *specific* to …

Member Avatar for Ketsuekiame
0
258
Member Avatar for riahc3

Rather than your for loop to check for whitespace, you can put all the code into a LINQ statement :) `textBox1.Text = String.Concat(textBox1.Text.Where(c => !char.IsWhiteSpace(c) || c.Equals(' ')));` The need for `String.Concat` arises because the *where* clause returns `IEnumerable<char>` which is unfortunate :( There is probably also an improvement to …

Member Avatar for riahc3
4
468
Member Avatar for peymankop

`if (!(butt as Button).Enabled)` <-- This results as "TRUE" on the first button that is **disabled** so it will display your message.

Member Avatar for Ketsuekiame
0
223
Member Avatar for yibrahim

> Is it ok to use sockets to exchange data between web application and windows application Define "Web Application" > if i used MSMQ is it true that application has to be running under microsoft system. Yes > I want the web application to send message to windows application and …

Member Avatar for Ketsuekiame
0
364
Member Avatar for <M/>

> Don't ask, lol It's already been asked... > As the kids claim, a lot of rules such as harassment, bullying, threatening, etc.... don't ask... Then you should've been punished. Bullying isn't cool. Just going around going "Oh man this maths test is going to be hard omg! Did you …

Member Avatar for G_Waddell
0
279
Member Avatar for xanawa

I'm not entirely sure what the purpose of converting to GUID is trying to achieve. A GUID is a specific format. You cannot pass arbitrary data to it and "convert" it into a GUID. Why do you want to convert your encrypted string into a GUID?

Member Avatar for Ketsuekiame
0
265
Member Avatar for Ketsuekiame

Just thought I'd report that the keyboard shortcuts for the editor don't work in Firefox (20.0.1) It tries to apply it the main menu bar.

Member Avatar for Reverend Jim
0
139
Member Avatar for game06

BASIC -> C++ -> ASM -> Visual Basic (Required at college) -> Delphi -> GLSL/HLSL -> PHP -> PROLOG -> C# :)

Member Avatar for James singizi
0
663
Member Avatar for Octet

It was definitely Obama! The marathon was on TV and Obama is on TV. MUST BE HIM! <-- **This kind of logic is everywhere and random speculation doesn't help.** The problem with the post is that you've attributed it to a type of people. "Jewish" therefore you're painting the picture …

Member Avatar for Octet
0
523
Member Avatar for korathualex

A program can't delete itself because it's currently running. You need to create a Windows Scheduled task to delete the file on the next boot up/shut down. You need to P/Invoke [MoveFileEx](http://msdn.microsoft.com/en-us/library/aa365240%28VS.85%29.aspx) which will mark the file/folder for deletion upon the next boot up.

Member Avatar for Ketsuekiame
0
228
Member Avatar for virusisfound
Member Avatar for IIM

Have you tried the standard browser trouble shooting stuff like clear cache and cookies?

Member Avatar for <M/>
0
199
Member Avatar for dwhvw

Can you post your code to your setup? You simply need to pass the array in as part of the delegate parameter, if you need something more complicated you need either Shared Memory or a Proxy Class (same thing just better managed :) )

Member Avatar for dwhvw
0
165
Member Avatar for kshahnazari

http://www.daniweb.com/software-development/csharp/threads/452703/cant-run-exe-files-thar-write-in-c Use the search function next time.

Member Avatar for Ketsuekiame
0
70
Member Avatar for Sammys.Man

That's a little bit of a backwards way to do it. Follow this kind of logic instead: Foreach row in your DGV (yes you can use the foreach command) Get the value of the cell in the Name column If this value equals the value of the text box -> …

Member Avatar for Sammys.Man
0
162
Member Avatar for dougy83

Can you paste your implementation of your DragDrop event please and any other events you have linked up related to DragDrop operations.

Member Avatar for dougy83
0
716
Member Avatar for virusisfound

I'm not sure what you're asking but I'll guess at that you have a list of questions subdivided by chapters (presumably in a study book) and you want the user to select questions? By looking at the whole problem it seems a little complex, but you need to break it …

Member Avatar for virusisfound
0
740
Member Avatar for Malortje

Do both XML files follow the same schema? It will be close to impossible to merge two different schemas without another schema defining what the merged output should look like. You can't just take two arbitrary XML files and merge them ^^

Member Avatar for Ketsuekiame
0
289
Member Avatar for nikolas.socrates

**Hard Option:** Remove any and all devices from the machine except the Boot drive, GFX Card, RAM and CPU. If it still doesn't work everytime and you have more than one piece of RAM, remove all but one stick and try it in each slot. If it works, try the …

Member Avatar for once.bitten.twice.shyy
0
249
Member Avatar for dinesh012
Member Avatar for Sammys.Man

The columns are 0 index based, not 1 index based. Use column indexes 1 and 5 and you should be fine :)

Member Avatar for Sammys.Man
0
192
Member Avatar for ירון

What AD is trying to say is, if your host app is running in a different directory to your target app, you will need to tell it the correct directory. For example: My C# app is here - `C:\MyProjects\CSharp\CSharpHost.exe` My C++ app is here - `C:\MyProjects\CPP\ProcessCSV.exe` My CSV is here …

Member Avatar for ירון
0
500
Member Avatar for NardCake

> After months of running Windows 8, I recently went back to 7. Somehow, I like 7 better than 8. > > What I liked about 8: > -fast and light > -good search speeds and results > What I disliked about 8: > -lackluster graphical design (IMO)... to be …

Member Avatar for jwenting
0
466
Member Avatar for imBaCodes

The best pickup line in the universe ever is to be good looking and fit. My general experience is that it doesn't matter how nice, genuine or confident you are, women are just as shallow, if not more so than guys.

Member Avatar for <M/>
1
409
Member Avatar for J_Joose

1. Run a Linux Distro 2. Copy your data off the drive to another drive that doesn't have NTFS 3. Format and reinstall If you're using EFS you're pretty screwed

Member Avatar for benmar
0
496
Member Avatar for somjit{}

First Anime I ever saw was Outlaw Star. Still have the DVD box collection :) Cowboy Be-Bop is awesome, and Full Metal Alchemist: Brotherhood is definitely the best (sticks to the manga more faithfully also) I'm currently eating my way through Fairy Tail but it's becoming the same ol' same …

Member Avatar for alyssa.wilkins.77
0
397
Member Avatar for zachattack05

Just because you use Integrated Security doesn't mean every man, woman and child on your domain can still access the database. They still need to be given permission. Even with SQL Studio, if you don't have permission, then you can't access it :) Our servers are configured with "default deny" …

Member Avatar for zachattack05
0
212
Member Avatar for fonzali

I believe code posted here is simply public domain. Etiquette demands you not copy from one source to another, but some people are unscrupulous. I think the only way around this is to include some kind of license in the article (such as GNU or Adobe). That way the entire …

Member Avatar for fonzali
0
188

The End.