16,004,653 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 .NET 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 Saksida Bojan (Top 5 by date)
Saksida Bojan
13-Dec-10 14:07pm
View
the error should tell you everything. For some reason the port does not close, if the unseen error occourd there is a possibility that the port wasn't closed. You can try if you get that error message try sending even if port is can not be open or try something like thiss
// Open port
try {
//Some code that sends and then close port
} catch (System:Exception) { // Close port in case it didn't close it }
Saksida Bojan
13-Dec-10 13:53pm
View
installshield is a setup creator from Flexera software company. There are plenty of a free and open source installer and some are comercial.
VS2005 has something called: Setup & Deployment
NSIS 2 is a scriptable installer from nullsoft.
and if you arent happy, google it
Saksida Bojan
13-Dec-10 13:38pm
View
So for IE, crome or FF what do you put for if (p.ProcessName == "??")
And can you try p.MainModule.ProcessName or something. Since i am not in front of VS i can not garante accuarty but MainModule is always a startup module of an exe. MainWindowHandle always return 0 can mean a few thing, It is a system process, windows isn't created but exsist only in process as a modul or your app does not have PROCESS_QUERY_INFORMATION permision. Try ranning as administrator. But this answer could be inacurate.
Saksida Bojan
10-Dec-10 12:44pm
View
I do not understand word scintillate. So what is it?
And since You mention a DoubleBuffer, do you have a flicker problem? A DoubleBuffer is made so that drawings are done in memory and when OnPaint Method finish it draws on screen. If it was disabled, all Drawing code in OnPaint method would draw to screen imeadtly.
Saksida Bojan
10-Dec-10 11:24am
View
It isn't that simple. txtCiphered1, txtCiphered2 are two difrent object with assigned variable witch you call it directly. But if you use Controls of a parent container (That can be tabControl, form or others) and cycle through controls. the abowe answer is correct. You used txtCipher(i+1) witch is invalid syntax. It is used as a calling to method/function. If you have added text box via designer, they automatcly populate Name proprties for reference. you can check name of textbox to see if you have correct textbox, but programaticly Name propertiy isn't used, but designer convinently populates it. ex: if (item as TextBox).Name == "txtCiphered1")