15,867,756 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Roman Lerman (Top 18 by date)
Roman Lerman
9-Aug-12 8:52am
View
-
Pattern matching
[
^
]
-
Pattern Matching Algorithms at Google Books
[
^
]
Roman Lerman
9-Aug-12 3:01am
View
See the example code above.
<pre lang="cs">SaveFileDialog saveFileDialog = new SaveFileDialog();
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
SaveAsBitmap(this, saveFileDialog.FileName);
}</pre>
Roman Lerman
8-Aug-12 3:24am
View
Yes, use thread. What is the problem with timer?
Roman Lerman
7-Aug-12 10:03am
View
What I'm using is modified version of this approach
FileByteArray
[
^
] My file can be accessed and modified on the fly, the length of "FileArray" is dynamic and the read speed is enough for reading fast large amount of data (~50 MB/sec, depends on op. system). I hope it will help you. Sorry for my English.
Roman Lerman
22-Jul-12 2:28am
View
Topmost="True" in xaml or yourDialog.Topmost="true"; in code, and open the dialog using "yourDialog.ShowDialog()".
Try it.
Roman Lerman
5-Jul-12 2:11am
View
If you need to restrict the input, look here http://stackoverflow.com/questions/1346707/validation-in-textbox-in-wpf
Roman Lerman
5-Jul-12 1:58am
View
Please describe the performance issues. What is the number of pages? Is the document contains graphics and pictures?
Roman Lerman
20-Jun-12 10:11am
View
As I understand you are using C#. The code above is executing the abc.exe tool with "Report 06202012 42554 PM.pdf" as argument from your example "ABC Report 06202012 42554 PM.pdf". The proc.WaitForExit()
is used to make the current thread wait until the associated process terminates.
[
^
]
Right after the "using" block the ABC process is finished and the PDF document should be released(if it is not locked by some other process), it's mean that you can delete, move or change it.
If you want to delete the pm.pdf document your code should look like this:
using (Process proc = new Process())
{
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = true;
proc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
proc.StartInfo.FileName = "ABC.EXE";
proc.StartInfo.Arguments = "Report 06202012 42554 PM.pdf;
proc.StartInfo.RedirectStandardError = false;
proc.StartInfo.RedirectStandardOutput = false;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = true;
proc.Start();
proc.WaitForExit();
}
File.Delete("PM.pdf");
sorry for my English
Roman Lerman
14-Jun-12 6:35am
View
Ok, more so I will not :)
Roman Lerman
9-Jun-12 14:33pm
View
There should be no problems if the HTTP is not blocked.
Roman Lerman
25-Apr-12 2:07am
View
Windows Forms ToolStrip Course
[
^
]
WPF ToolBars
[
^
]
Roman Lerman
24-Apr-12 6:34am
View
Sorry for my carelessness. I did more research and I really hope that you will find your answer here (look for 'jack 321' answer)
Detect what kind of shutdown
[
^
]
It's looks like this is the only hope to solve this problem.
Roman Lerman
19-Apr-12 4:54am
View
AvalonDock
[
^
] that's what you need. Start here ->
AvalonDock 1.3 Documentation
[
^
]
Roman Lerman
18-Apr-12 15:12pm
View
Can you be more specific. Do you want to be able to drag some (
WPF Docking Library
[
^
]) floating panel inside your application or dragging and dropping one toolbar with buttons (zoom buttons +, -) on it, in to another toolbar panel?
Roman Lerman
18-Apr-12 8:10am
View
Just copy/paste the code provided in the first tutorial. Or just download the second article sources
http://www.codeproject.com/KB/WPF/WpfDragAndDropSmorgasbord/WpfDragAndDropSmorgasbord.zip
[
^
]
Roman Lerman
2-Apr-12 6:19am
View
Please mark it as Accepted Answer.
I was glad to help.
Roman Lerman
26-Mar-12 3:53am
View
Yes it is.
A Very Easy to Use Excel XML Import-Export Library
[
^
]
You paid attention to where I found it...
Roman Lerman
26-Mar-12 3:22am
View
There's nothing to do with execution time.
You may try to run it in background.
Show More