9,867,803 members (49,047 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
29,454 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 590
Page Size:
10
·
25
·
50
Author filtered by: Dave Kreskowiak
[x]
Re: Lists of objects without losing class Intelli-sense
by
Dave Kreskowiak
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
General Programming
»
Visual Basic
Re: Converting a string into a method
by
Dave Kreskowiak
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
General Programming
»
Visual Basic
Reading Executible path from Registry
by
Dave Kreskowiak
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\...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Right way to delete the idle threads from a smart thread pool
by
Dave Kreskowiak
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...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Converting a string into a method
by
Dave Kreskowiak
Forum Message
13 May 2013
That should have been "A node contains a Nodes collection...". A guide to posting questions on CodeProj
General Programming
»
Visual Basic
Re: Converting a string into a method
by
Dave Kreskowiak
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
General Programming
»
Visual Basic
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...
General Programming
»
Uncategorised Quick Answers
»
General
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...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Windows
Add, Edit & Delete DSN using MySQL ODBC & VB.NET
by
Dave Kreskowiak
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.
General Programming
»
Uncategorised Quick Answers
»
General
VB
MySQL
VB.NET
ODBC
Only hide the Start button for windows7
by
Dave Kreskowiak
Answer
13 May 2013
license:
CPOL
Permission granted! Please, proceed.Or did you mean to ask a question??
General Programming
»
Uncategorised Quick Answers
»
General
C#
Win32
Skip Reading Specific Number Of Lines (Using StreamReader)
by
Dave Kreskowiak
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.
General Programming
»
Uncategorised Quick Answers
»
General
C#
Error - Sending E-mail from ASP.NET
by
Dave Kreskowiak
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.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Insert multiple record in datatable using dataset in asp.net without database?
by
Dave Kreskowiak
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...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Re: Converting a string into a method
by
Dave Kreskowiak
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
General Programming
»
Visual Basic
Re: Converting a string into a method
by
Dave Kreskowiak
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
General Programming
»
Visual Basic
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
General Discussions
»
Article "Add-In Word - Simple Paste Printscreen"
Re: Baconless Survey Question...
by
Dave Kreskowiak
Forum Message
11 May 2013
Damn dyslexic fingers! And I did it twice! Grrrrr A guide to posting questions on CodeProject[
General Discussions
»
The Lounge
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...
General Programming
»
Uncategorised Quick Answers
»
General
C#
plz help syntax error in update statement im working on c# windows form application and i have an access database
by
Dave Kreskowiak
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...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to package an Obfuscated exe
by
Dave Kreskowiak
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...
General Programming
»
Uncategorised Quick Answers
»
General
VB
msi
VB.NET
Re: Baconless Survey Question...
by
Dave Kreskowiak
Forum Message
11 May 2013
Oddly, peanuts are not a nut (fruit). They are a legume, or you can call them "beans". A guide to post
General Discussions
»
The Lounge
Re: Baconless Survey Question...
by
Dave Kreskowiak
Forum Message
11 May 2013
Ummmm...yeah. I hate to tell you this, but, you ARE wierd. It's OK though. We here at CP are all wierd in some way, so we welcome and accept you unconditionally.
General Discussions
»
The Lounge
Not an article...
by
Dave Kreskowiak
Forum Message
11 May 2013
Articles are like research papers. They discsuss a topic in depth. What problem is being solved? How was the solution designed? What are the background concepts? How does key parts of the code wo
General Discussions
»
Article "Ducascopy Tickdata Downloader"
Adding A New Line To TextBox After Something happens
by
Dave Kreskowiak
Answer
10 May 2013
license:
CPOL
Append a Environment.NewLine and then the use.innertext.
General Programming
»
Uncategorised Quick Answers
»
General
C#
how i can implement message integrity code "MIC " algorithm in c#
by
Dave Kreskowiak
Answer
10 May 2013
license:
CPOL
By reading the specification documentation on the algorithm and writing code to implement it.You REALLY didn't think anyone was going to write the code for you, did you?
General Programming
»
Uncategorised Quick Answers
»
General
C#
ask answers about C#
by
Dave Kreskowiak
Answer
10 May 2013
license:
CPOL
It means the person/account running the code doesn't have permissions to execute whatever WMI function you were trying to use.With a name like "spy", I doubt your intentions are above board.
General Programming
»
Uncategorised Quick Answers
»
General
C#
Regarding GAC ( Global Assembly Cache)
by
Dave Kreskowiak
Answer
10 May 2013
license:
CPOL
You should NEVER place anything in the C:\Windows\Microsoft.NET folders. They are strictly for the .NET Framework. It you have a shared library that's used by more than one application, then you can sign it and put it in the GAC or some other place as your requirements dictates, but NEVER...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
Re: whats the best practice to save service data?
by
Dave Kreskowiak
Forum Message
10 May 2013
There is no such thing as a "best practice" specific to a service for saving "data". It depends on the data and the business requirements for handling it. You also forgot files of other formats an
General Programming
»
C#
Not an article...
by
Dave Kreskowiak
Forum Message
10 May 2013
Task out the screen shots and the code snippets and there's nothing left. Articles are like research papers. They discuss the topic at hand in depth.
General Discussions
»
Tip/Trick "Windows 8 App - Data Storage In Files Using Windows.Storage Namespace"
Out of memory exception was unhandled
by
Dave Kreskowiak
Answer
10 May 2013
license:
CPOL
It has nothing to do with the number of controls on your form. It's more than likely you're creating new drawing objects (Pen, Brush, Graphics, ...) and not disposing them when you're done using them.You can get "OutOfMemory" exceptions for a number of reasons that don't have anynthing to...
General Programming
»
Uncategorised Quick Answers
»
General
C#
User Initiated Real Time Object Tracking System Development
by
Dave Kreskowiak
Answer
10 May 2013
license:
CPOL
First things first.You're so concerned about the UI in this post, but do you have working code that can track an object at all?? That's going to be FAR harder than having the user draw a box with the mouse.The problem you have is that computer vision is in its infancy. How are you...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Java
Error unzip my file in "C:\\Program Files (x86)" , No permissions
by
Dave Kreskowiak
Answer
10 May 2013
license:
CPOL
Users don't have Write permissions to Program Files. It's that way for a reason. You shouldn't be writing anything to any folders under Program Files in your application. The data should be written to more accessible and appropriate locations. Check the Environment.SpecialFolder enum[^]...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Electronics Interfacing DMM M-3860M to serialport communication with the PC
by
Dave Kreskowiak
Forum Message
10 May 2013
There's nothing special here. It's a standard serial port trans/receive app. It doesn't matter what you're talking to or what parameters you're using.
General Programming
»
Visual Basic
Re: VB + SQL Dbase
by
Dave Kreskowiak
Forum Message
10 May 2013
You need the ACE Runtime installed, not all of Access or Office. A guide to posting questions on CodePr
General Programming
»
Visual Basic
Re: Dammit, Tuesday is gonna be a Loonnngggg day.
by
Dave Kreskowiak
Forum Message
10 May 2013
It's all media hype. It's an average month of patches according to the Advanced Notification MS puts out, only 2 Criticial Bulletins. ...and it'll only take 1 reboot to install them all.
General Discussions
»
The Lounge
Re: VB + SQL Dbase
by
Dave Kreskowiak
Forum Message
10 May 2013
How else is the database going to run?? Yes, you have to install the MySQL database engine on the machine.
General Programming
»
Visual Basic
Re: Asked: functions written in C/C++ or other language : Microseconds Delays Timers
by
Dave Kreskowiak
Forum Message
10 May 2013
You're not going to get that in the VB forums... VB6 has been dead for a long time and it's very unlikely you're even going to find a solution that's not wrapped in a class. Here's a thought. S
General Programming
»
Visual Basic
Re: Not an article
by
Dave Kreskowiak
Forum Message
10 May 2013
This wouldn't even make a good tip. You've got no discussion of anything at all. It's just a code dump...
General Discussions
»
Article "Battleship"
underwhelmed...
by
Dave Kreskowiak
Forum Message
10 May 2013
Oh....look.... The 1,000,002nd article on the Factory pattern. yippee. A guide to posting questions on
General Discussions
»
Article "Understand Factory Method Design Pattern"
Not an article...
by
Dave Kreskowiak
Forum Message
10 May 2013
This is just a large code dump. To be an article, you need to supply an in-depth discussion of the problem you're solving, the design of the solution, how key sections of the code works, pros and c
General Discussions
»
Article "Generic Tcp/Ip Client - Threading - Medium (Console, Form, Etc.)"
Re: Help with mutex, cannot get mutex to work
by
Dave Kreskowiak
Forum Message
10 May 2013
No problem. A guide to posting questions on CodeProject[
General Programming
»
C#
Plagiarised!
by
Dave Kreskowiak
Forum Message
10 May 2013
Look, copying someone elses work is never a good idea. Especially since the work you copied is COPYRIGHTED MATERIAL!! :mad: You lifted this straight from the book "Pro LINQ: Language Integrated Q
General Discussions
»
Article "Linq Tutorial For Beginners"
Re: Asked: functions written in C/C++ or other language : Microseconds Delays Timers
by
Dave Kreskowiak
Forum Message
10 May 2013
There's already a class written to do this: Microsecond and Millisecond C# Timer[
General Programming
»
Visual Basic
Re: instance of usercontrol not exposing all properties
by
Dave Kreskowiak
Forum Message
10 May 2013
The point behind a UserControl is to create a custom control with a bunch of other controls as children, all working as parts to solve a common goal. For example, a TextBox and a button next to it
General Programming
»
Visual Basic
Re: instance of usercontrol not exposing all properties
by
Dave Kreskowiak
Forum Message
10 May 2013
That depends on your requirements. Most of the time, you don't need to exposes the ENTIRE set of properties of the constituent control(s). You can supply properties to expose only the control proper
General Programming
»
Visual Basic
published site fails to load- server error 500
by
Dave Kreskowiak
Answer
9 May 2013
license:
CPOL
HTTP error 500 is a general "The code failed or threw an error".There's only about a 1,000 different ways that can fail, so we're going to need more information. Look in the servers Application Event Log to find more.
General Programming
»
Uncategorised Quick Answers
»
General
IIS7
ASP.NET
VB
IIS
VB.NET
Tree view structure in dropdownlist
by
Dave Kreskowiak
Answer
9 May 2013
license:
CPOL
First, it's only "urgent" to you. Unless you're paying out the nose for support, noone cares how urgent you think this is.Second, you're not describing a treeview in your example. It's just a simple list with the occasional header over a sub list. You have a couple of options:1) Just...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Program to find the ocurence of character in a string
by
Dave Kreskowiak
Answer
9 May 2013
license:
CPOL
Sniff, sniff... Yep, smells like homework!Sorry, but the answers you got will probably get you a failing grade in your class. With the level of the assignment you got, there's no way your class covered the methods demonstrated in the answers you got here and the person teaching the class...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Generate PDF based on a Word document
by
Dave Kreskowiak
Answer
9 May 2013
license:
CPOL
Or, you could just do the entire thing in Word. What you're describing is called "Mail Merge" and you can print the entire document to a PDF "printer" without a single line of code.
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
PDF
convert
Word
Multiple port listening on single socket
by
Dave Kreskowiak
Answer
9 May 2013
license:
CPOL
100 posts?? OK, that's weird. I've never heard of any application that listens to 100 ports at the same time, nor any situation where it's justified.You might want to spell out EXACTLY what is going on with these 100 ports. Why do you think you have to use 100 ports? How much data is...
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
Page 1 of 590
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid