9,867,109 members (48,956 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*
1,159 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 47
Page Size:
10
·
25
·
50
Author filtered by:
Zoltán Zörgő
[x]
Add input text field which allows numeric values only
by
Zoltán Zörgo
Answer
13 May 2013
license:
CPOL
You could use masked input, like this: http://digitalbush.com/projects/masked-input-plugin/[^].And don't forget to validate on server side too!
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
HTML
What's this mysql trigger error!!
by
Zoltán Zörgo
Answer
13 May 2013
license:
CPOL
You need to specify delimiter! See here: http://www.freemindsystems.com/blog/post/mysql-triggers-a-practical-example[^]
General Programming
»
Uncategorised Quick Answers
»
General
SQL
MySQL
c# application write to browser window
by
Zoltán Zörgo
Answer
13 May 2013
license:
CPOL
As I understand, you want to automate a browser. Well, automating all browsers is complicated, but you can target some:Internet Explorer: http://harness.codeplex.com/[^]Chrome: http://markcz.wordpress.com/2012/02/18/automating-chrome-browser-from-csharp/[^]But you might consider using...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to upload image automatically using C# web browser.
by
Zoltán Zörgo
Answer
12 May 2013
license:
CPOL
Here is the solution for WebBrowser control: Setting a file to upload inside the WebBrowser component[^].But in general it is a better approach to simulate/emulate a browser, and not automate it. For such tasks using HttpClient[^] is a much better approach - but a different one, since you...
General Programming
»
Uncategorised Quick Answers
»
General
C#
not valid month in oracle date time
by
Zoltán Zörgo
Answer
12 May 2013
license:
CPOL
Check this: http://www.techonthenet.com/oracle/questions/insert_date.php[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
Oracle
how to get the below output
by
Zoltán Zörgo
Answer
12 May 2013
license:
CPOL
The idea is this:select fa.facname,f.bfid,b.class,b.examdate from bthfac finner join batch b on b.bthid = f.bthidinner join facfeedback fb on fb.bfid=f.bfidinner join faculty fa on fa.????=??.????where month(b.examdate)= '11' and year(b.examdate)= '2012' and...
General Programming
»
Uncategorised Quick Answers
»
General
C#
how to use syntax highlighting
by
Zoltán Zörgo
Answer
11 May 2013
license:
CPOL
Try this extension: http://visualstudiogallery.msdn.microsoft.com/F5CFBE65-D843-4C96-8F24-2C169676504C[^], but it is not free. Or use WebMatrix[^] instead.(this might bring you some help too: http://stackoverflow.com/a/3674772[^])
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
Is it possible to create function in separate file?
by
Zoltán Zörgo
Answer
11 May 2013
license:
CPOL
Let's clarify: in vb.net there are no functions, only methods of class. You can not separate a a method from the class. But you can make partial classes, and put the partial definitions of the same class in different files - VisualStudio is using this feature when creating forms to separate your...
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
function
insert record in mysql table
by
Zoltán Zörgo
Answer
10 May 2013
license:
CPOL
The object name is wrong:...MySqlCommand mycom1 = new MySqlCommand(insquery1, exclecon);mycom1.Parameters.AddWithValue("@MONTH", MONTH);mycom1.Parameters.Add("@contenttype", MySqlDbType.VarChar).Value = contenttype;...This is why it is a really bad practice to use such variable...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
MySQL
Why don't execute event JQUERY?
by
Zoltán Zörgo
Answer
10 May 2013
license:
CPOL
onblur event is not standard on div elements, it is meant for input tags. Use onmouseleave instead. onmouseout won't work correctly either - see the explanation: http://www.mkyong.com/jquery/different-between-mouseout-and-mouseleave-in-jquery/[^]
General Programming
»
Uncategorised Quick Answers
»
General
jQuery
bootstrap
Program to find the ocurence of character in a string
by
Zoltán Zörgo
Answer
9 May 2013
license:
CPOL
Look here: var chars = "NAMAN";chars.Distinct().ToList().ForEach(c => Console.WriteLine("{0}={1}", c, chars.Count(i => i == c)));[update: ToCharArray() is not needed]
General Programming
»
Uncategorised Quick Answers
»
General
C#
In more simplify or effecient way of coding
by
Zoltán Zörgo
Answer
9 May 2013
license:
CPOL
First of all, don't concatenate strings when you build a query. You expose your application to SQLi.You could use All as a wildcard (but NULL would be better):... WHERE (field1 = @param1 OR @param1 = 'ALL') AND (field2 = @param2 OR @param2 = 'ALL')...and so on. It won't be an optimal query...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to change argument of alredy running process
by
Zoltán Zörgo
Answer
8 May 2013
license:
CPOL
In case of baretail there is no ipc, and if you start it, you get a new instance. You could however try to automate it, by emulating user action: sending windows messages to the process. You can use AutoIT to capture events and get an overview, or something like WinSPY[^] and Window Detective[^]...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Process
how to use windows services in win form appliction
by
Zoltán Zörgo
Answer
8 May 2013
license:
CPOL
A service is a service. It does something. If you put an IPC interface in it you can communicate with it from an application. I suppose you want to add the missing Server Agent feature of SQL Server Express.For doing the backup itself I suggest you use SMO Backup class[^].For the IPC you...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SqlServer
I want a child DIV have opacity 1 and it's parent have opacity 0.5 HOW?
by
Zoltán Zörgo
Answer
8 May 2013
license:
CPOL
By design you can't. But there are methods to circumvent it. Look here: http://www.impressivewebs.com/css-opacity-that-doesnt-affect-child-elements/[^]
General Programming
»
Uncategorised Quick Answers
»
General
CSS
HTML
Want to make ASP.Net web application secure by using https
by
Zoltán Zörgo
Answer
8 May 2013
license:
CPOL
1) Using a self signed certificate: http://www.neiland.net/blog/article/how-to-create-and-install-a-self-signed-ssl-cert-with-iis7/[^]2) If you go online, buy a certificate from any provider http://en.wikipedia.org/wiki/Comparison_of_SSL_certificates_for_web_servers[^], and install it, like...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
how to create single exe file with embedding all dlls of console application in .net
by
Zoltán Zörgo
Answer
8 May 2013
license:
CPOL
Of course not. It is in the design of .net to have several dlls in your project and not a huge executable. I suggest you keep it that way. If you want to deploy your solution, make an installer (setup project[^]), or if you don't need any additional settings to be made on the client, just make a...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Internet calling from my application
by
Zoltán Zörgo
Answer
8 May 2013
license:
CPOL
You can make use of the telephone URI. Check this: http://tools.ietf.org/html/rfc3966[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How can i update a record in my table present in Sqlserver using MVC3 Entity Framework
by
Zoltán Zörgo
Answer
8 May 2013
license:
CPOL
To be short, your question topics are not related: you (should) update in the controller via the model, and not from the view - but you can call (theoretically) any controller action from any view, and there is the ajax version too. So, as I see, you have some gaps in your knowledge. I suggest...
General Programming
»
Uncategorised Quick Answers
»
General
MVC3
which is the best practice to generate report in pdf format using ASP.NET MVC3?
by
Zoltán Zörgo
Answer
8 May 2013
license:
CPOL
You will need to generate you report on server side and send it as content to the client. Start here: PDF reporting using ASP.NET MVC3[^].
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
ASP.NET
Javascript
C#
C#4.0
MVC
jQuery
MVC3
Login failed for user 'AD\CA-WIN1$'
by
Zoltán Zörgo
Answer
7 May 2013
license:
CPOL
Your account is a hidden one, that points me to the new feature of Active Directory called Managed Service Account[^] (MSA). Let's suppose you are deploying in the same domain (inside trust boundaries), and the MSA is on place, and the access is granted to the MSA on the database side. You...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to install an email account in my web hosting account
by
Zoltán Zörgo
Answer
7 May 2013
license:
CPOL
First of all, consult webhosting provider documentation. As I see, they don't provide email server, you need to use the google one, or an other third party provider.Look at this tutorial for a more advanced use with gmail as smtp server:...
General Programming
»
Uncategorised Quick Answers
»
General
PHP
email
WebHosting
mailing
Want to do a jquery countdown timer like this
by
Zoltán Zörgo
Answer
7 May 2013
license:
CPOL
"Not able to" is nothing we can deal with. What you described is an easy task - but we rarely do the job for anybody else. And it seems a CSS task not a jquery one. This is the css you will need to download and refine to match your needs: http://keith-wood.name/css/jquery.countdown.css[^]. You...
General Programming
»
Uncategorised Quick Answers
»
General
jQuery
Explain the output of the given program
by
Zoltán Zörgo
Answer
6 May 2013
license:
CPOL
Well, as you can see here: http://msdn.microsoft.com/en-us/library/cc953fe1(v=vs.71).aspx[^], a char takes 1 byte, an int takes 4 bytes and a double 8 bytes. Is we summarize the length of the fields in x we get 4 + 1 + 8 + 1 = 14, that's less than 20. But we know the concept of field alignment...
General Programming
»
Uncategorised Quick Answers
»
General
C++
how to copy 2dArray to another one
by
Zoltán Zörgo
Answer
5 May 2013
license:
CPOL
Following is a LinqPad[^] script for demonstration, the bold part is the basic idea you are looking for: int[,] A = {{1,2},{3,4},{5,6}};int[,] B ;B = (int[,])A.Clone();A[0,0] = 99;A.Dump();B.Dump();
General Programming
»
Uncategorised Quick Answers
»
General
C#
Page 1 of 47
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