15,895,777 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 MacIntyre (Top 17 by date)
MacIntyre
25-Jan-13 15:45pm
View
Would this work instead:
$.prompt('Example 4',{ buttons: { Ok: true, Cancel: false }, focus: 1 });
MacIntyre
5-Apr-11 19:49pm
View
I assume by clicking the radio button 5 is accepting.
I clicked the green button but it turns it to reject. Whick is correct.
Your answers are great!!!!!
MacIntyre
5-Apr-11 14:48pm
View
Thanks for the followup.
We are really stuck with the registry solution for two reasons.
The First is the worst reason, "We've always done it that way."
The second is the real reason. We are actually integrating with a third party "Propritary Mumps" application. This propritary application in the real business world would have been TRASHED, 30 years ago, but this is healthcare. The application looks like your worst "DOS" application nightmere, all keystroke oriented. So we either hire an army of 'DataEntry" clerks or play this silly game. Back in the old days we called it ScreenScraping, identify places on the application screen for automatically entering data, thus creating a batch environment in real time. The target application uses the registry for knowing which hospital to process, hence we have to automate the hospital selection and update the registry before the the batch operation begins. We could rewrtie the entire operation using modern languages and databases for less money than it costs them to do what they do today. But, "We've always done it this way." I'm just a contractor delivering to goods they are willing to pay for.
Thanks for you input. Cheers..
MacIntyre
5-Apr-11 11:12am
View
Thanks. This is great advice. If I were making the decissions this would actually be the way I would implement the solution. But alas, it is not up to me. If I were a tool things would be different, but I am just being used as a hammer to pound out VB6 written in C#. It is awful.
thanks for your references, I will see if I can change their minds in the code walkthru.
Thanks again, Cheers..
MacIntyre
5-Apr-11 11:08am
View
Thanks.. Exactly what I was looking for..
Cheers..
MacIntyre
16-Feb-11 14:34pm
View
I included System and that cleared up the Convert..
Thanks to all..
MacIntyre
16-Feb-11 14:29pm
View
This sounds like a great idea, and being new to C# I see a lot of "MyApp.Settings...." statements. The problem I'm dealing with is it can't find "Settings". Where can I read about the importance and/or purpose for the thing called Setting and where does it go in the program?
thanks...
MacIntyre
16-Feb-11 14:25pm
View
Thanks we are half way there. It fixed the this bot ont Convert..
MacIntyre
16-Feb-11 10:48am
View
This solution was unacceptable because it changed nothing...
MacIntyre
16-Feb-11 10:47am
View
This worked the first time.. Perfect...
MacIntyre
16-Feb-11 10:46am
View
This almost worked. what worked was: char delim = '|';
MacIntyre
14-Feb-11 18:37pm
View
Ok. I looked at you code and understand what is there. What I do not understand is by having the #define directive at the top of the source file the #If WindowsForm statement will never fail because the #define statement is there. The problem is how do I determine if this dll is being called by a WinApp or WebApp or ConsoleApp..
MacIntyre
14-Feb-11 18:29pm
View
I have solved the problem...
the #define directive most be placed outside the namespace.
Thanks for everyone assistance..
MacIntyre
14-Feb-11 18:23pm
View
I'm sorry if I seem thick headed today or unable to communicate the problem.
Now I have:
#define WindowsForm
#If (_MyType == WindowsForm)
....
#endif
The compiler if not complaining about the #If statement it is complaining about the #define WindowsForm statement
MacIntyre
14-Feb-11 18:11pm
View
It still does not like the #define no matter where I place it in the source code?
When I say #define WindowsForm what is the content of WindowsForm so the a comparison to anything will yeild something workable?
MacIntyre
14-Feb-11 17:45pm
View
I was writing my answer before the doc OP was brought up. Never heard of it..
MacIntyre
14-Feb-11 17:38pm
View
Ok - so far so good
The only problem is when I: #define WindowsForms = "WindowsForms";
the #define gets an error saying it can not be used after the first token
What does that mean and where does it go I tried several locations the would still be with in scope.
Thanks..
Show More