Click here to Skip to main content
Page 1 of 1,179
Page Size: 10 · 25 · 50


Author filtered by: Dave Kreskowiak [x]
Re: Entity Frame work by Dave Kreskowiak
Forum Message 14 May 2013  
Yeah, so am I, but, you have to "cheat" every now and then! A guide to posting questions on CodeProject
How to rotate button in vb.net by Dave Kreskowiak
Answer 14 May 2013   license: CPOL
In Windows Forms it's a giant pain in the ass. In WPF, it's incredibly easy!I think you're using the wrong application type...
Re: Entity Frame work by Dave Kreskowiak
Forum Message 14 May 2013  
Pete O'Hanlon wrote:I had porridge for breakfast. It was lovely. Oooh, as did I. I mixed in a bit of maple syrup and with a bit of br
Re: Entity Frame work by Dave Kreskowiak
Forum Message 14 May 2013  
And?? Oh well....thanks for telling us.....I guess. When you learn to talk to humans, be sure to let us know!
Forum Message 14 May 2013  
Purge1t wrote:I guess what i'm asking isn't possible. It's not possible because you're trying to violate Object Oriented Programming princ
Forum Message 13 May 2013  
The method shows up. In VB.NET, the default access modifier for a class method is Public. In C# it's private. You'd be better served by not depending on the defaults but explicitly declaring yo
Forum Message 13 May 2013  
That doesn't make sense either as you'd have to manually walk the tree to find the node that is selected. Not very efficient, is it?? The TreeView already has a SelectedNode property which will re
Answer 13 May 2013   license: CPOL
If the application you're looking for is a 32-bit app on a 64-bit system, the registry path will be HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\...
C#
Answer 13 May 2013   license: CPOL
Normally, you DON'T remove threads from the pool. They sit there idle, waiting for work to do so you don't incur the rather large overhead of spinning a new thread up!If you've got questions about a particular library, you contact the author of that library. Just because you saw it in an...
C#
Forum Message 13 May 2013  
That should have been "A node contains a Nodes collection...". A guide to posting questions on CodeProj
Forum Message 13 May 2013  
Not so useful. Actually, pretty limiting in both security and performance. First, it's poor-performing code as it has to be compiled before use, at runtime. Access to variables might also have to
Change Busy Button Colour by Dave Kreskowiak
Answer 13 May 2013   license: CPOL
A button is never "busy" so your question is confusing people.You have a problem. The UI thread will be tied up by your "lot of code" that's running, so changing the color of the button won't do anything until AFTER your long running code because you've tied up the UI thread and it can't...
C#
Setup and Deployment by Dave Kreskowiak
Answer 13 May 2013   license: CPOL
The only way to do it would be to leep a licensing server on your end to maintain and verify license counts.When a user installs the software, they would have to supply a registration key of some kind. This key would then be used to validate that a license for their account is available on...
Answer 13 May 2013   license: CPOL
You're not explaining the problem and how you expect this stuff to work at all.You need admin priv's because you're writing to HKEY_LOCAL_MACHINE. Normal users cannot do that and there is no way around it.
Answer 13 May 2013   license: CPOL
You don't have any code in there to skip any lines, so it's loading all the lines into the ListBox.You have to enumerate the collection of lines, one-by-one, and only add the lines to the ListBox that you want, depending on some condition you didn't specify.The other benefit of loading...
C#
Answer 13 May 2013   license: CPOL
Permission granted! Please, proceed.Or did you mean to ask a question??
Answer 12 May 2013   license: CPOL
The Yahoo SMTP port is 465, not 25.You also need EnableSsl set to true on the SmtpClient object.
Answer 12 May 2013   license: CPOL
You don't need a database to have a DataTable and bind a GridView to it. You just need the DataTable object, to which you can add rows all you want. But, first, you have to define the DataTable. You need to add the columns to it, tell it what type of data they are going to hold, if there's a...
Forum Message 12 May 2013  
Just because it's a "simple" method to make your job easier, doesn't mean it's a good thing to put into the framework. The .NET Framework is already too heavy. That's why it has been split into Fu
Forum Message 11 May 2013  
You don't need it. Yeah, it's called an IDE and compiler. You have to do about the same thing in your code. Create an instance of the compiler and feed it not a string, not an object graph that r
Not an article... by Dave Kreskowiak
Forum Message 11 May 2013  
This is just a code dump. You've got nothing discussing the problem you're solving, the design of the solution, the background concepts, how key parts of the code works, ... nothing. Write the art
Forum Message 11 May 2013  
Damn dyslexic fingers! And I did it twice! Grrrrr A guide to posting questions on CodeProject[
step and stone algorithm by Dave Kreskowiak
Answer 11 May 2013   license: CPOL
WOW!! Just an incredible demonstration of absolutely no patience on your part at all!We're not sitting around (on a weekend mind you!) just waiting for you to post a non-question so we can jump right on it. We all VOLUNTEER our time here and answer questions when we can, NOT WHEN YOU...
C#
Answer 11 May 2013   license: CPOL
You're using string concatentation inside a string.Format call?? WTF? Simplify this so you can read it!string query = string.Format("UPDATE [{0}] SET number={1} WHERE code={2}", tableName, x, txt_code.Text);I would HIGHLY suggest you do not build SQL statements like this, but instead...
C#
Answer 11 May 2013   license: CPOL
You package it up the exact same way to do any other .EXE. You compile your solution, then obfuscate the binaries, then package them up.Oh, please don't use the Setup and Deployment project in VS2010 and below. It's deprecated and no longer supported in VS2012 and above.Use a 3rd party...

Page 1 of 1,179
1 2 3 4 5 6 7 8 9 10


Advertise | Privacy | Mobile
Web03 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid