9,867,803 members (47,020 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*
65 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 2
Page Size:
10
·
25
·
50
Author filtered by: Roman Lerman
[x]
how to search in combo box when I type first letter
by
Roman Lerman
Answer
9 Apr 2013
license:
CPOL
Please see these examples:1. Automatically Filtering a ComboBox in WPF [^]2. A Reusable WPF Autocomplete TextBox [^]
General Programming
»
Uncategorised Quick Answers
»
General
VS2008
C#
WPF
Visual-Studio
My vote of 5
by
Roman Lerman
Forum Message
31 Dec 2012
I enjoy reading your articles.
General Discussions
»
Article "Beginners Guide To Threading In .Net Part 2 Of N"
My vote of 5
by
Roman Lerman
Forum Message
31 Dec 2012
I enjoy reading your articles.
General Discussions
»
Article "Beginners Guide To Threading In .Net Part 3 Of N"
My vote of 5
by
Roman Lerman
Forum Message
23 Sep 2012
Simplicity
General Discussions
»
Article "Wpf/Mvvm Quick Start Tutorial"
Create skew tranformation in WPF programatically
by
Roman Lerman
Answer
9 Aug 2012
license:
CPOL
1. Animate multiple transforms from C# – WPF[^]2. Animated SkewTransform Example[^]SkewTransform Class[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
WPF
How to save a form as a bitmap or jpeg?
by
Roman Lerman
Answer
8 Aug 2012
license:
CPOL
Save the Form & other controls as Bitmap[^]This code is checked and working at least for me. Also provided example of SaveFileDialog usage. public partial class Form1 : Form { public Form1() { InitializeComponent(); this.Load+=new...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Infact I want to read from one file and convert data read and after it i write it in another file
by
Roman Lerman
Answer
10 Jul 2012
license:
CPOL
See my answer here I want read from the file and write line by line it in another file.[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
I want read from the file and write line by line it in another file.
by
Roman Lerman
Answer
10 Jul 2012
license:
CPOL
Here is sample code. It may be good example of what you need to do. That code is not tested!void Foo(string inputFilePath, string outputFilePath) { try { if (File.Exists(inputFilePath)) { //open...
General Programming
»
Uncategorised Quick Answers
»
General
C#
hotkey in windows by deactive explorer.exe
by
Roman Lerman
Answer
8 Jul 2012
license:
CPOL
I Hope that this is going to help you.You need to use keyboard hook[^] or Low-level Windows API hooks from C#[^]to handle the ctrl+s key press and then use Process.Start Method ()[^] to run 'explorer.exe'.
General Programming
»
Uncategorised Quick Answers
»
General
C#
wrappanel as itemspanel for listbox
by
Roman Lerman
Answer
7 Jul 2012
license:
CPOL
This is what you need Virtualizing WrapPanel[^]
General Programming
»
Uncategorised Quick Answers
»
General
WPF
How to scan a range of IP address and list all the active PCs with IP address and MAC
by
Roman Lerman
Answer
4 Jul 2012
license:
CPOL
I found one.Implement a basic IP Scanner for a local LAN in C#[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
socket
Networking
Urgent help with a small application
by
Roman Lerman
Answer
3 Jul 2012
license:
CPOL
HiYou can use SevenZipSharp[^] but you have to understand yourself how to use this library. Example(read the documentation how to use it right):using (SevenZipExtractor sevenZipExtractor = new SevenZipExtractor(source_path, pwd)) { ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to show a page(window,page,usercontrol) based on particular time
by
Roman Lerman
Answer
3 Jul 2012
license:
CPOL
Use DispatcherTimer[^]System.Windows.Threading.DispatcherTimer dispatcherTimer = new System.Windows.Threading.DispatcherTimer();dispatcherTimer.Tick += new EventHandler(dispatcherTimer_Tick);dispatcherTimer.Interval = new TimeSpan(0,0,1); // 1 secdispatcherTimer.Start();private...
General Programming
»
Uncategorised Quick Answers
»
General
C#
WPF
It is possible to export report into PDF and send as attachment in email
by
Roman Lerman
Answer
2 Jul 2012
license:
CPOL
Possible.Tak...
General Programming
»
Uncategorised Quick Answers
»
General
C#
CrystalReports
Hide Removable disk for windows XP
by
Roman Lerman
Answer
1 Jul 2012
license:
CPOL
This may help youpseudocode+sampleHiding:Skip steps 1&2 if you know the drive letter1. Find removable drives:foreach (DriveInfo driveInfo in DriveInfo.GetDrives()) { if (driveInfo.DriveType == DriveType.Removable ) { 2....
General Programming
»
Uncategorised Quick Answers
»
General
C#
Using C++ library in C#
by
Roman Lerman
Answer
20 Jun 2012
license:
CPOL
Generated by P/Invoke interop assistantpublic partial class NativeMethods { [System.Runtime.InteropServices.DllImportAttribute("", EntryPoint="oemGetImage")]public static extern System.IntPtr oemGetImage(ref byte[] pImageBuffer, ref uint pdwSize, ushort...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C#
how to delete the generated pdf after sending the mail
by
Roman Lerman
Answer
20 Jun 2012
license:
CPOL
In .net 3.5using (Process proc = new Process()) { proc.StartInfo.UseShellExecute = false; proc.StartInfo.CreateNoWindow = true; proc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; ...
General Programming
»
Uncategorised Quick Answers
»
General
.NET3.5
.NET
checkBoxList in Wpf
by
Roman Lerman
Answer
20 Jun 2012
license:
CPOL
Sample code here http://www.c-sharpcorner.com/uploadfile/syedshakeer/checkboxlist-in-wpf/[^]and here http://social.msdn.microsoft.com/Forums/eu/wpf/thread/a355a085-2650-45b6-a75b-b6a298e3f20d[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
WPF
C#
wpftoolkit
loading form inside Panel or pannel.visible=true/false
by
Roman Lerman
Answer
20 Jun 2012
license:
CPOL
Create each control derived from Panel and Interface. Then you can load/unload each panel dynamically. Load = attach child to Panel2, unload = detach child control.You can hold those panels in some dictionary or list for example "List" where key is the name of panel and value is the...
General Programming
»
Uncategorised Quick Answers
»
General
C#
explain the error please
by
Roman Lerman
Answer
20 Jun 2012
license:
CPOL
Take a lookhttp://support.microsoft.com/kb/312629/EN-US/[^]http://stackoverflow.com/questions/2041482/unable-to-evaluate-expression-because-the-code-is-optimized-or-a-native-frame-is[^]
General Programming
»
Uncategorised Quick Answers
»
General
.NET3.5
.NET
C# Round Up Values !!!
by
Roman Lerman
Answer
14 Jun 2012
license:
CPOL
Hi,val = System.Math.Ceiling(val);Have a nice day
General Programming
»
Uncategorised Quick Answers
»
General
C#
maths
Can anybody tell me how FreeDNS or No-ip programs work?
by
Roman Lerman
Answer
6 Jun 2012
license:
CPOL
Hello1. Integrate No-IP[^]2. Bind your server`s dynamic ip address to DynDNS.org[^]3. C# class to update DynDNS[^]I was glad to help you.Roman
General Programming
»
Uncategorised Quick Answers
»
General
VB9.0
C#
VB
How to Distinguish Windows Shutdown and restart in c# ?
by
Roman Lerman
Answer
23 Apr 2012
license:
CPOL
How to detect Windows shutdown or logoff[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
Windows
How to use C++ dll/Library in MFC and CSharp
by
Roman Lerman
Answer
18 Apr 2012
license:
CPOL
Hi.NETPlat...
General Programming
»
Uncategorised Quick Answers
»
General
C
C#
MFC
How to open form of another one exe inside another form
by
Roman Lerman
Answer
18 Apr 2012
license:
CPOL
HiIs that what you meant?Hosting EXE Applications in a WinForm project[^]I hope it's helps.Roman
General Programming
»
Uncategorised Quick Answers
»
General
Windows
.NET
Application
how to drag and drop toolbar in C# WPF at runtime
by
Roman Lerman
Answer
18 Apr 2012
license:
CPOL
Hi,Here is some tutorials: 1. from wpftutorial.net Drag and Drop in WPFl[^] 2. from Codeproject WPF Drag-and-Drop Smorgasbord[^]I hope it's helpsRoman
General Programming
»
Uncategorised Quick Answers
»
General
C#
Problem while viewing image
by
Roman Lerman
Answer
5 Apr 2012
license:
CPOL
HiAdd the image to project and set its "Build action" to "Resource".XAML:Like this:ororI hope it helps.
General Programming
»
Uncategorised Quick Answers
»
General
WPF
Replace exe of a windows application by running a patch
by
Roman Lerman
Answer
1 Apr 2012
license:
CPOL
HiThis is what you need: Getting installed app path in C#[^]Or private const string keyBase = @"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths";private string GetPathForExe(string fileName){ RegistryKey localMachine = Registry.LocalMachine; RegistryKey fileKey =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Windows
Application
Rendering WPF Controls
by
Roman Lerman
Answer
1 Apr 2012
license:
CPOL
HiSeems that you aren't using Binding. I have had same problem and I solved it by using Binding.Look at the example - How to Navigate, Group, Sort and Filter Data in WPF[^]Note: Grouping disables virtualization! This can bring huge performance issues on large data sets. So be careful...
General Programming
»
Uncategorised Quick Answers
»
General
WPF
Threading
Controls
Issue with C# code for adding XAML [XAML parse error was unhandled]
by
Roman Lerman
Answer
31 Mar 2012
license:
CPOL
WPF - How can I make a brush that paints graph-paper-like squares?[^]As i understand you want to draw a grid.I am using approach that posted above, for drawing ECG like paper in my application. DrawingBrush is what you need, draw 2 lines and then use the TileMode="Tile"...
General Programming
»
Uncategorised Quick Answers
»
General
C#
XAML
WPF
Errors
review
how to write code for converting numeric to word 1111-one thousand one hundred eleven only
by
Roman Lerman
Answer
29 Mar 2012
license:
CPOL
Next time use search optionHow to convert a numeric value or currency to English words using C#[^]First match from Google searchConvert Numbers to Words in C#[^]Another nice solutionConveting Number to Word in C#[^]GIYFHave a nice day
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Retrieving time from bios
by
Roman Lerman
Answer
29 Mar 2012
license:
CPOL
GIYFHow i get the BIOS Date and Time using c#[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
Windows
Visual-Studio
Forms
GUI
Reload Data's in grid view.
by
Roman Lerman
Answer
29 Mar 2012
license:
CPOL
Hi1. Use DataSet to keep the DataTable.2. Use DataSet.WriteXml(stringFileName) to save the data in XML format.3. Use DataSet.ReadXml(stringFileName) to load the data from saved XML file.Examples[^]Have a nice dayRoman
General Programming
»
Uncategorised Quick Answers
»
General
C#
DataGridView
How to disable the controls(Combo bx,Text Bx) on selection of List box values in wpf
by
Roman Lerman
Answer
26 Mar 2012
license:
CPOL
Probably MyTextbx and MyComboBx not been yet initialized when the ListBx_SelectionChanged is handled.Try to check MyTextbx and MyComboBx for null private void ListBx_SelectionChanged(object sender, SelectionChangedEventArgs e){ if(MyTextbx!=null && MyComboBx!=null) { ...
General Programming
»
Uncategorised Quick Answers
»
General
WPF
Export multiple tables to Excel Sheets from database
by
Roman Lerman
Answer
25 Mar 2012
license:
CPOL
Use the CodeProject search engine...Exporting DataGrid to Excel, Word and Text Files[^]DataTable to Excel[^]Export DataGrid to Excel[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
.NET
why does using the same c# code to change password in AD in different computer make different speed?
by
Roman Lerman
Answer
25 Mar 2012
license:
CPOL
Re: DirectoryEntry.Invoke("SetPassword") slow[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
.NET
get value from xml file and update xml file throght the c# window application (user interface)
by
Roman Lerman
Answer
25 Mar 2012
license:
CPOL
Use the CodeProject search engine...Serialization in C# .NET II - XML Serialization[^]Working with XML[^]Easy XML Parsing in C#[^]Serialize and Deserialize Objects as XML using Generic Types in C# 2.0[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to make invisible a button when another is clicked.
by
Roman Lerman
Answer
15 Mar 2012
license:
CPOL
Button.Visibil...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Close Parent window from UserControl
by
Roman Lerman
Answer
15 Mar 2012
license:
CPOL
GIYF :)ChildWindow.DialogResult Property[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
WPF
Convert word document o pdf in C# without using Microsoft.Interop Services
by
Roman Lerman
Answer
15 Mar 2012
license:
CPOL
HiYou can print the document as XPS How to: Programmatically Print XPS Files[^] Then use the GhostXPS GhostXPS[^] to convert the XPS document to PDF.I hope this will help you.Roman
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Loading an external image to WPF App ?
by
Roman Lerman
Forum Message
21 Apr 2010
Window.Icon Property http://msdn.microsoft.com/en-us/library/system.windows.window.icon.aspx[
General Programming
»
Silverlight / Wpf
Thank you. Very nice approach.
by
Roman Lerman
Forum Message
24 Oct 2009
Now it's won't be painful :-D
General Discussions
»
Article "Wpf Maskable Textbox For Numeric Values"
Re: How i can seletct tabitem on Mouse enter?
by
Roman Lerman
Forum Message
19 Aug 2009
XAML <TabControl Name="mainTabControl" > <TabItem MouseUp="TabItem_MouseUp" > </TabItem> </TabControl> CODE private void TabI
General Programming
»
Wcf And Wf
Thanks !!!
by
Roman Lerman
Forum Message
9 Aug 2009
Very helpful...
General Discussions
»
Article "Simple Memory Cleaner That Forces Gc To Collect Objects"
Re: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records [Very Emergency]
by
Roman Lerman
Forum Message
21 Apr 2009
Try this: this.Validate(); this.customersBindingSource.EndEdit(); this.ordersBindingSource.EndEdit(); Test2DataSet.CustomersDataTable customerCh
General Programming
»
C#
Re: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records [Very Emergency]
by
Roman Lerman
Forum Message
21 Apr 2009
If you use TableAdapterManager your project contain TableAdapters, so try to use them. Sorry for my English.
General Programming
»
C#
Re: C# -Savefile Dialog to save an image file
by
Roman Lerman
Forum Message
21 Apr 2009
Two things: 1: SaveFileDialog save = new SaveFileDialog(); save.Filter = "JPeg Image|*.jpg|Bitmap Image|*.bmp|Gif Image|*.gif"; save.Title = "Save the File"; if(save.ShowDialog() == Dialog
General Programming
»
C#
Re: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records [Very Emergency]
by
Roman Lerman
Forum Message
21 Apr 2009
1: try to remove -> this.customersBindingSource.EndEdit(); <- from ordersBindingSource_AddingNew(). or 2: modify private void customersBindingNavigatorSaveItem_Click(objec
General Programming
»
C#
Re: playing multiple video files using axWindowMediaplayer tool !!!
by
Roman Lerman
Forum Message
20 Apr 2009
I think you should read this.[
General Programming
»
C#
Re: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records [Very Emergency]
by
Roman Lerman
Forum Message
20 Apr 2009
I found this, may bee it's helps. Make sure you don't modify the access database anywhere in your code without going through the datatable, because if you do the data in the datatable will no long
General Programming
»
C#
Page 1 of 2
1
2
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web04 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid