9,869,444 members (25,313 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*
12,211 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 489
Page Size:
10
·
25
·
50
Author filtered by: Sergey Alexandrovich Kryukov
[x]
how can i make the website admin to login to his website account from webpage
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
Please see my comment to the question and start here: http://www.asp.net/web-forms/tutorials/security/roles/role-based-authorization-cs[^].—SA
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to rotate button in vb.net
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
The best idea so far is the Solution 4.The right solution for System.Windows.Forms is: create a custom control which behaves like a button and implement rotation property. If you want to rotate to an arbitrary angle, you should also set the property...
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
WinForm
retrieving multiple sockets from one TcpClient
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
You would need to make two connections (or any other number of connections you may need) using two separate instances of TcpClient, which is, basically, a wrapper around an instance of a Socket. Besides, you can do development either on the level of Socket objects, or TcpListener/TcpClient...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Arrays declared as structure members cannot be declared with an initial size
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
Please see: http://msdn.microsoft.com/en-us/library/tey4z3ca%28v=vs.110%29.aspx[^].—SA
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB10
Delegate or delegate
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
No, the keyword delegate and System.Delegate are not the same, not at all.You could be confused with the C# alias keywords. For example "int" is an alias for System.Int32. For delegates, this is not the case.Read the documentation on these type and look through all the cases of using the...
General Programming
»
Uncategorised Quick Answers
»
General
C#2.0
ASP.NET
C#
Overloaded variable type?
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
Makes no sense at all.There is no such thing as "overloading", except ugly and very confusing terminology and some myths. (So many beginner have been confused! It's can be observed on CodeProject.) Methods are "overloaded" because nothing is overloaded. They are just different methods with...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
How to print div in asp web page in windows xp?
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
This article explains how to print using ASP.NET:http://www.c-sharpcorner.com/uploadfile/rahul4_saxena/printing-in-Asp-Net/[^].Note that the server side only provides printable content, and all the detail of printing selection, printing quality and other options totally happens on the...
General Programming
»
Uncategorised Quick Answers
»
General
CSS
HTML
C# Post values from a console application to A web service
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
You cannot get a "simple code" in response to such a vague request. It really depends on the detail of what you want to achieve and your service.However, one thing is obvious: your Web Service application provides some interface to the client application. Your console application is no...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Post
HTTP
SOAP
WebService
Intercepting messages to a window
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
You can intercept messages by installing a Windows Hook. If you need to intercept some messages outside your application, the hook should be global. According to Microsoft documentation, to make it global, you can only install the hook in a native Windows DLL. Please start here:...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
Word file creation error for using COM component
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
For the server-side programming such as ASP.NET, prefer using Open XML SDK instead of Office Interop. Look at this Microsoft article:http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757#kb2[^].Use Open XML SDK:...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
COM
MSWord
aforge.net. in class VideoCaptureDevice, DesiredFrameSize property is not working for me.
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
I never tried AForge.NET DesiredFrameSize, but I don't think it can possibly set any size you may wish. The cameras usually have some set of predefined modes, and some modes have different frame size. If your requested size is supported by one of the available modes, it will work, if not — it...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ImageProcessing
How to prevent hacking from file upload control?
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
There is nothing to prevent. Anyone can upload anything, including some code which would try to hack your site. So what? You should never execute any code, even anything which is harmless. I can imagine that you should show some uploaded content, including, for example, HTML, and HTML would mean...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to extract string between two symbols
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
The problems is solved using grouping. It could look like this: "start_pattern(.)end_pattern" ("end_pattern" is "TTL" in your case). The brackets denote a group. Now, in code, you find the Regex group corresponding the dot in the middle.Please see:...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
RegEx
How to return HWND from a function which is designed to return integer.
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
In most cases, you don't need such case. I can explain: on the user size, there is no arithmetic operations with HWND; they are some abstract pointers; you only get HWND values from Windows API and pass HWND as parameters of other API function, never do any calculations with then on the user...
General Programming
»
Uncategorised Quick Answers
»
General
C++
VC++
Conversion HWND to LPARAM
by
Sergey Alexandrovich Kryukov
Answer
14 May 2013
license:
CPOL
Now it really explains where you may really need such a cast. (I refer to your previous question.) Please see: http://www.cplusplus.com/doc/tutorial/typecasting/[^].—SA
General Programming
»
Uncategorised Quick Answers
»
General
C++
VC++
Error While Uploading the image.
by
Sergey Alexandrovich Kryukov
Answer
13 May 2013
license:
CPOL
Don't write the type Image. Write the full name; either System.Web.UI.WebControls.Image or System.Drawing.Image, depending on which one you really...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
how to view all directories of drive ina listview
by
Sergey Alexandrovich Kryukov
Answer
13 May 2013
license:
CPOL
You should rather use System.IO.Directory.GetDirectories:http://msdn.microsoft.com/en-us/library/c1sez4sc.aspx[^],http://msdn.microsoft.com/en-us/library/6ff71z1w.aspx[^],http://msdn.microsoft.com/en-us/library/ms143314.aspx[^].Also, you should better be aware of one unpleasant...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
WinForm
How to find lightning data using api(lat,lon,Amplitude..etc)
by
Sergey Alexandrovich Kryukov
Answer
13 May 2013
license:
CPOL
You could not answer my simple question so far, even after I asked you 3 times. OK, the site URI was enough for me. Here is the API you tried to keep silence about for such a long time: http://developer.worldweatheronline.com/[^].Sign up, obtain the documentation, and read on what it can do...
General Programming
»
Uncategorised Quick Answers
»
General
.NET
how to get label value using jquery
by
Sergey Alexandrovich Kryukov
Answer
13 May 2013
license:
CPOL
You don't need to use sibling if you already have the id value. Your selector will be just $("#lblSrNo"). You messed up all together.—SA
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
jQuery
how to call vb methods from c#
by
Sergey Alexandrovich Kryukov
Answer
13 May 2013
license:
CPOL
The question makes no sense. You probably don't clearly see the difference between an application and a library.However, quite formally, any assembly can be used as a library: you can reference any valid assembly by another assembly, no matter if it compiled as application or a class...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How can I display color values by each pixel?
by
Sergey Alexandrovich Kryukov
Answer
13 May 2013
license:
CPOL
This is the rare case when you can really use System.Drawing.Bitmap.GetPixel:http://msdn.microsoft.com/en-us/library/system.drawing.bitmap.getpixel.aspx[^].Note that for any more or less massive read or write pixel operations GetPixel/SetPixel cannot be used, as they are prohibitively...
General Programming
»
Uncategorised Quick Answers
»
General
C#2.0
C#
Unnecessary ? comes when i try to create xml dynamically
by
Sergey Alexandrovich Kryukov
Answer
13 May 2013
license:
CPOL
It your XML file contains some Unicode characters beyond ASCII, the console won't show then, replacing them by '?', as usually. You need to make console showing Unicode:Do this:System.Console.OutputEncoding = System.Text.Encoding.Unicode;This is confusing. System.Text.Encoding.Unicode...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Learn c # how can slowly learn the API
by
Sergey Alexandrovich Kryukov
Answer
13 May 2013
license:
CPOL
Nobody can put one's own brain in your head. If you don't understand something in the API, which is quite well documented and simple enough, it means you need to take a step back and learn the basics: working mechanisms of variables, fields, methods, properties, method parameters and so on, how...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
How To Create PrintEventArgs?
by
Sergey Alexandrovich Kryukov
Answer
13 May 2013
license:
CPOL
Wrong question. If you print, you never create this object; the library System.Drawing.Printing always does that when invoking the event. You cannot invoke it in principle. Every event can only be invoked in its declaring type. You cannot even write a derived class and invoke the event declared...
General Programming
»
Uncategorised Quick Answers
»
General
C#
graphics
printing
Change Busy Button Colour
by
Sergey Alexandrovich Kryukov
Answer
13 May 2013
license:
CPOL
Instead of changing color, you should disable the button. Use the property IsEnabled or Enabled — it depends on the exact button type you did not bother to specify. Different UI libraries have different classes under the simple name "Button". When UI is involved, you always need to tag UI...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Page 1 of 489
1
2
3
4
5
6
7
8
9
10
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid