9,868,710 members (32,045 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*
293 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 6
Page Size:
10
·
25
·
50
Author filtered by: Code-Hunt
[x]
Add input text field which allows numeric values only
by
Code-Hunt
Answer
14 May 2013
license:
CPOL
http://www.dotnetfunda.com/for...
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
HTML
How to get missing number in Grouped data
by
Code-Hunt
Answer
14 May 2013
license:
CPOL
http://stackoverflow.com/quest...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Scheduling DBmail to different recipients
by
Code-Hunt
Answer
14 May 2013
license:
CPOL
http://social.msdn.microsoft.c...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
How many lines of code recommended in a Linq/Lambda expression?
by
Code-Hunt
Answer
13 May 2013
license:
CPOL
https://www.simple-talk.com/do...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
LINQ
C#
.NET
C#4.0
practices
.NET4
Lambda
How to split one large amount of data column into two or three columns in sql server 2008?
by
Code-Hunt
Answer
13 May 2013
license:
CPOL
Split Address into 3 columns using a udf[^]SQL SERVER – Selecting Domain from Email Address[^]splitting one column in multiple columns[^]Hope above links will give u some idea
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
.NET
.NET4
Sql 2008: Datagridview editable
by
Code-Hunt
Answer
13 May 2013
license:
CPOL
Editable GridView in ASP.NET 2.0[^]http://www.aspdotnet-suresh.com/2011/02/how-to-inserteditupdate-and-delete-data.html[^]http://csharpdotnetfreak.blogspot.com/2011/04/gridview-examples-in-aspnet-20-35.html[^]Edit Individual GridView Cells in ASP.NET[^]This will help you...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL-Server
database
DataGridView
ASP.Net-4.0
information about crystal report
by
Code-Hunt
Answer
13 May 2013
license:
CPOL
crystal reports in visual studio 2008 using c# and sql 2005[^]http://www.youtube.com/watch?v=QMOF8m_2ZyA[^]https://www.youtube.com/results?q=crystal+report+in+visual+studio+2008&aq=f&um=1&ie=UTF-8&sa=N&tab=w1[^]check the video tutorial..it will help u..
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
comparision of two textboxes using Dates ... Calendar Extendar in Asp.net
by
Code-Hunt
Answer
13 May 2013
license:
CPOL
http://stackoverflow.com/quest...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
SQL-Server
Please help me to resolve this problem i.e, How can i read the data from biometric device to my system using ip address
by
Code-Hunt
Answer
13 May 2013
license:
CPOL
http://social.msdn.microsoft.c...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
ASP.Net-4.0
need help in printdialog in wpf
by
Code-Hunt
Question
13 May 2013
license:
CPOL
Hi allPlease tell me how to get printdialog in wpf application.i added system.printing reference but not getting the toolsplease suggest.thank you
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
Role based Form Authentication not working in ASP.Net
by
Code-Hunt
Answer
13 May 2013
license:
CPOL
http://www.asp.net/web-forms/t...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
.NET
form
Authentication
How to block user login with in three days
by
Code-Hunt
Answer
13 May 2013
license:
CPOL
http://sqlsalt.blogspot.in/201...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Need guidance in learning MVC
by
Code-Hunt
Question
13 May 2013
license:
CPOL
Hi allPlease guide me in learning MVC..i searched google.got many things but not able to figure it out from where to start.please provide me some links or books and some small application by which i can start..Thank you
General Programming
»
Uncategorised Quick Answers
»
General
.NET
VisualStudio2010
focus event for autocomplete box
by
Code-Hunt
Question
12 May 2013
license:
CPOL
Hi allCan anyone tell me how to set focus on a autocomplete box while load..Thank you
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
C# Screen Recording program,
by
Code-Hunt
Answer
12 May 2013
license:
CPOL
Check this linkshttp://www.mindfiresolutions.com/How-to-take-screenshot-programmatically-and-mail-it-in-C-647.php[^]http://www.csharphelp.com/2006/11/capturing-the-screen-image-using-c/[^]http://www.take37.com/programmatically-take-screenshot-using-c/[^]Hope this will help...
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
Why did increase Estimated subtree cost when using non clustered index in sql server 2008?
by
Code-Hunt
Answer
12 May 2013
license:
CPOL
http://social.msdn.microsoft.c...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Indexes
how to get all uploaded videos on youtube in my website
by
Code-Hunt
Answer
12 May 2013
license:
CPOL
Displaying Videos from YouTube Channel in ASP.NET Website[^]See this link..you will get an idea...
General Programming
»
Uncategorised Quick Answers
»
General
HTML
jQuery
What is indexer and their types when to use cluster index and non cluster index in sql server
by
Code-Hunt
Answer
12 May 2013
license:
CPOL
http://beginner-sql-tutorial.c...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
changing format of seconds into dd:mm:ss
by
Code-Hunt
Answer
12 May 2013
license:
CPOL
Declare @Seconds as intDeclare @SubtractDate as datetime--Enter Number of Seconds hereSet @Seconds=9974501Set @SubtractDate=DateAdd(s,@Seconds,getdate()) - Getdate() Select Convert(varchar(10),DateDiff(day,'1900-01-01',@SubtractDate))+ ' Day(s) '...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Need help in inserting data to database from PasswordBox
by
Code-Hunt
Answer
9 May 2013
license:
CPOL
PasswordBox.Password did the work for me...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
Need help in inserting data to database from PasswordBox
by
Code-Hunt
Question
9 May 2013
license:
CPOL
Hi allI am using PasswordBox for entering the password..but while entering into database its giving me error in below lines txtAdminPass.Text = dt.Rows(0)("AdminPass").ToString() txtAdminConfirmPass.Text = dt.Rows(0)("AdminConfirmPass").ToString()it's telling Text property is not...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
Need information regarding wpftoolkit
by
Code-Hunt
Question
9 May 2013
license:
CPOL
Hi allI am using visual studio 2010 and i have installed wpftoolkit 1.9..but when recently i observed that only 2-3 controls are coming in that (e.g. autocompletebox,accordion etc) and options like watermarkedtextbox is not coming..Is there any problem with my installation or what..I...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
Need help in confirmation message box
by
Code-Hunt
Question
8 May 2013
license:
CPOL
Hi allI am using a yes/no/cancel message box while deleting a data..below is the codeDim answer As String = MsgBox("Are you sure ???", MsgBoxStyle.YesNoCancel, MessageBoxOptions.RtlReading)but when i am using MessageBoxOptions.RtlReading or MessageBoxImage.Question, instade of...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
Getting error while inserting the value in database table
by
Code-Hunt
Question
7 May 2013
license:
CPOL
Hi allI am getting error while inserting value to the database Please check my below code and tell me what is the problemCode Dim cm As New SqlCommand("insert into...
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
SQL2008R2
need help in creating company code
by
Code-Hunt
Question
7 May 2013
license:
CPOL
Hi allPlease help me creating company code in below formatCompany Name: xyzabc textilecode : xyza0001i wrote the below query to get the substringSELECT CompanyName, SUBSTRING (CompanyName, 0, 5) as substring_nameFROM CompanyORDER BY 1But not getting how to add the counter...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
SQL2008R2
how to check for duplicate entry in database
by
Code-Hunt
Question
7 May 2013
license:
CPOL
Hi allPlease tell me how do i check duplicate entry in databse column before inserting the data.i have column called company name(not a primary key)thank you
General Programming
»
Uncategorised Quick Answers
»
General
Windows
VB
VB.NET
getting error while clearing multiple textboxes
by
Code-Hunt
Question
6 May 2013
license:
CPOL
Hi alli used the below code to clear multiple textbox in a form but i am getting error.please tell me the problem Private Sub ClearTextBoxes(ByVal depObject As DependencyObject) For i As Integer = 0 To VisualTreeHelper.GetChildrenCount(depObject) - 1 If TypeOf...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
Getting error while inserting data in sql table
by
Code-Hunt
Question
6 May 2013
license:
CPOL
Hi allI have created one table and inserting value to it but i am getting error.below is my table and the errorUSE [project]GO/****** Object: Table [dbo].[courier] Script Date: 05/07/2013 10:10:10 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOSET...
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
SQL2008R2
Getting error in AutoCompleteBox in wpf
by
Code-Hunt
Question
5 May 2013
license:
CPOL
Hi allI wrote the below code to fill a autocompletebox but i am getting error..Code: Dim command As New SqlCommand("Select CompanyName from Transportation_Courier_AddressDiary where PaymentTerms IS NULL", connection) Dim da1 As New SqlDataAdapter(command) ...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
Problem in assigning keyboard shourtcuts to button
by
Code-Hunt
Question
2 May 2013
license:
CPOL
Hi allI used the below code to assign the shortcut keys to my formPrivate Sub UserControl_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Input.KeyEventArgs) Handles MyBase.KeyDown If e.Key = Key.F1 Then Button1_Click(sender, e) ElseIf...
General Programming
»
Uncategorised Quick Answers
»
General
WPF
VB
VB.NET
delete query in sql server depending on combo box selection
by
Code-Hunt
Question
2 May 2013
license:
CPOL
Hi allIn my form i have 3 combo box having the respective details:Company NameCompany CodeCompany AliasNow while deleting i want like if the user select any one value from any of the 3 combo box , then he should be able to delete.Please tell me how to do thatI tried using...
General Programming
»
Uncategorised Quick Answers
»
General
WPF
VB
VB.NET
SQL2008R2
Problem in fetching data using combo box
by
Code-Hunt
Question
2 May 2013
license:
CPOL
Hi allplease check the below code Dim cmd As New SqlCommand("select CompanyName from Company", conn) 'Company Name Dim dt As New DataTable 'Company Name Dim da As New SqlDataAdapter(cmd) 'Company Name da.Fill(dt) 'Company Name 'Company Name ...
General Programming
»
Uncategorised Quick Answers
»
General
WPF
VB
VB.NET
how to fetch database value by combobox selectionchange
by
Code-Hunt
Question
1 May 2013
license:
CPOL
Hi allPlease tell me how to fetch the data from the database by combobox selectionchengeBelow is my code Dim cmd3 As New SqlCommand("select * from Company", connection) cmd3.ExecuteNonQuery() Dim da As New SqlDataAdapter(cmd3) da.Fill(dt) ...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
SQL2008R2
How to write code in sql to avoid duplicate records while inserting
by
Code-Hunt
Answer
1 May 2013
license:
CPOL
u can try something similar to thisDECLARE @Count int SELECT @Count = Count(AutoID) FROM UserTable WHERE UserName = @userName IF @Count = 0 BEGIN INSERT INTO UserTable (UserName) VALUES (@userName) END
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
SQL-Server
Restore DB using Sql Script from cmd
by
Code-Hunt
Answer
1 May 2013
license:
CPOL
Check this links..hope will get the solutionhttp://www.howtogeek.com/50295/backup-your-sql-server-database-from-the-command-line/[^]http://blog.sqlauthority.com/2013/02/08/sql-server-backup-and-restore-database-using-command-prompt-sqlcmd/[^]
General Programming
»
Uncategorised Quick Answers
»
General
SQL
SQL-Server
urgentz
Save Image from Data Grid to Sql DataBase
by
Snehasish Nandy
Answer
1 May 2013
license:
CPOL
Check this...
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
.NET
autocomplete text box in wpf
by
Snehasish Nandy
Question
29 Apr 2013
license:
CPOL
Hi allPlease help me in doing a auto complete text box in wpf using VB.NET. i got the below code but getting error.. Dim col As New AutoCompleteStringCollection Dim i As Integer For i = 0 To ds.Tables(0).Rows.Count - 1 ...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
Need help in the error
by
Snehasish Nandy
Question
26 Apr 2013
license:
CPOL
Hi allPlease find the below details and help me to solve the probcode: Dim con1 As New SqlConnection("Data Source=KITT7-PC;Initial Catalog=project;User ID=sa;Password=1234") con1.Open() Dim cmd As New SqlCommand("insert into CompanyCreation values('" &...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
need help in generateing company code
by
Snehasish Nandy
Question
25 Apr 2013
license:
CPOL
Hi alli am creating one application where i have to generate company code in below formatif the company name:- Adarsh chemicalsthen the code should be like Adar0001next if company name is Nornal infotechthen the code should be like Norn0002i have to save it in DB and...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
WPF
VB
VB.NET
need help in creating folder at remote pc
by
Snehasish Nandy
Question
25 Apr 2013
license:
CPOL
Hi allI wrote the below code to create a folder Dim directoryPath As String = Environment.CurrentDirectory("~/") + txtCompanyName.TextNow i want to create the folder in other systemPlease tell me how to assign the path for another systemThank you
General Programming
»
Uncategorised Quick Answers
»
General
Windows
VB
VB.NET
how to save a file path in database using wpf
by
Snehasish Nandy
Question
23 Apr 2013
license:
CPOL
Hi allPlease tell me how to save a file path selected using openfiledialog in database using wpf.i want to store a file in a particular location of my hard disk..later i can refer that path and can open the file Thank you
General Programming
»
Uncategorised Quick Answers
»
General
WPF
VB
VB.NET
how to create operating system independent application
by
Snehasish Nandy
Question
22 Apr 2013
license:
CPOL
Hi allI am making one application in vb.net using wpf.i was wondering that is it possible to create one setup which will run on any OS like windows, android.or it's like for every OS i have to create different different applications..Please clear my doubt and correct me if i am wrong...
General Programming
»
Uncategorised Quick Answers
»
General
WPF
VB
VB.NET
how to create zip file at run time with date
by
Snehasish Nandy
Question
10 Apr 2013
license:
CPOL
Hi allIn my application i m coping the database .mdf and .ldf file to a location.RESTORE DATABASE " & cmbdatabase.Text & " FROM disk='" & OpenFileDialog1.FileName & "' WITH MOVE 'a' TO 'C:\Backup\a.mdf', Move 'a_log' TO 'C:\Backup\a.ldf',REPLACEI want to copy the .mdf and .ldf file...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
VB
VB.NET
Need help in piece of code
by
Snehasish Nandy
Question
10 Apr 2013
license:
CPOL
Hi allBelow is my restore commandRESTORE DATABASE " & cmbdatabase.Text & " FROM disk='" & OpenFileDialog1.FileName & "' WITH MOVE 'a' TO 'C:\Backup\a.mdf', Move 'a_log' TO 'C:\Backup\a.ldf',REPLACE"Now as you can see i am moving the .mdf and .ldf file to a location.so for the first...
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
SQL2008R2
SQL statments involving HAVING and Group by
by
Snehasish Nandy
Answer
9 Apr 2013
license:
CPOL
http://stackoverflow.com/quest...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
Error in RESTORE command
by
Snehasish Nandy
Question
8 Apr 2013
license:
CPOL
Hi allI am executing the restore command but getting error please help...CommandRESTORE DATABASE a FROM DISK = 'C:\Users\501013\Pictures\a.Bak' WITH MOVE 'a' TO 'C:\Backup\a.mdf',MOVE 'a_log' TO 'C:\Backup\a.ldf', REPLACEErrorMsg 3101, Level 16, State 1, Line...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2008R2
How to override the existing database while restoring the new database
by
Snehasish Nandy
Question
7 Apr 2013
license:
CPOL
Hi allPlease tell me how to override an existing database with an updated file using VB.NET.Thank you
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
SQL2008R2
Backup of Sql database
by
Snehasish Nandy
Question
7 Apr 2013
license:
CPOL
Hi allI want to take a backup of sql database but without showing any window or notification to the client system (i.e. it should take backup internally)Please tell me how to do thatThank you
General Programming
»
Uncategorised Quick Answers
»
General
Windows
VB
VB.NET
SQL2008R2
delete existing database and restore the selected bak file in sql
by
Snehasish Nandy
Question
7 Apr 2013
license:
CPOL
Hi allI made a application where i am taking backup of sql database and restore them.while restoring first i m deleting the database from sql and then i m browsing for the .bak file and restoring.now i want is as the database is already present in the server, if i m clicking the...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
VB
VB.NET
SQL2008R2
need help regarding specifing the path of a file
by
Snehasish Nandy
Question
5 Apr 2013
license:
CPOL
hi allbelow is my code System.Diagnostics.Process.Start("C:\Users\501013\Videos\WpfApplication1\WpfApplication1\assemblies\FullHardWareInfo.exe")now if i run the file in other system its giving path error..please tell me how to set the path..Thank you
General Programming
»
Uncategorised Quick Answers
»
General
WPF
VB
VB.NET
Page 1 of 6
1
2
3
4
5
6
First
·
Prev
·
Next
·
Last
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