Click here to Skip to main content
15,894,343 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Assembly Loading Pin
Abhinav S15-May-13 8:16
Abhinav S15-May-13 8:16 
QuestionThe equivalent of 'OninitDlg()' Pin
Bram van Kampen10-May-13 13:51
Bram van Kampen10-May-13 13:51 
AnswerRe: The equivalent of 'OninitDlg()' Pin
dusty_dex10-May-13 14:18
dusty_dex10-May-13 14:18 
GeneralRe: The equivalent of 'OninitDlg()' Pin
Bram van Kampen12-May-13 13:03
Bram van Kampen12-May-13 13:03 
GeneralRe: The equivalent of 'OninitDlg()' Pin
dusty_dex12-May-13 13:42
dusty_dex12-May-13 13:42 
GeneralRe: The equivalent of 'OninitDlg()' Pin
Bram van Kampen13-May-13 13:06
Bram van Kampen13-May-13 13:06 
AnswerRe: The equivalent of 'OninitDlg()' Pin
Richard MacCutchan12-May-13 21:03
mveRichard MacCutchan12-May-13 21:03 
GeneralRe: The equivalent of 'OninitDlg()' Pin
Bram van Kampen13-May-13 14:22
Bram van Kampen13-May-13 14:22 
Well Richard,

Thanks for your reply, and, good to hear from you again. The differences between C++ and C# I'm acutely aware of. It brings me new surprises every day. Strange behaviour I have seen indeed. The differences between MFC and .NET are even bigger. Whereas in mho MFC acted as a convenient thin (sometimes a very thick) Object Oriented wrapper around Windows SDK, NET is an entirely new departure. Our reason for changing to .NET is to become OS independent. Our software runs without any hitches or security issues on very many XP terminals, (none of which is connected to the internet). There are too many issues for it to run properly under Vista and above. The main flee in the ointment is the paranoid security system in Vista+, which is entirely supurfluous to our requirements.

The original incarnation was written for Win3.1, (1 elderly customer is still using this on two terminals) in the then revolutionary new MFC. MFC at the time binned about a 100 books by Petzhold. Porting to Win98 was painless, actually it simplified matters greatly. No more worries about far, near, and burgomasters. (one could no longer look at another process though! (ouch!) That was a major issue at the time).

The performance requirement for the product is identical under MFC or .NET . Paint a screen, Let the user fill in data, wait for a button click, and respond to the click by doing things like accessing a database, or, painting another screen. As the whole suite of programs is Dialog based, there are very few programming 'High-Stands', the most involved part being the provision of 'Progress Dialogs' for lengthy Database enquiries. In MFC and SDK we monitor messages, in .NET we use events. Different Mechanics, but similar overal end results.
As for the Database, Version 1.XX (Win 3.1+) and Version 2.XX( Win95 to Win XP) used a proprietory DB system, with much of the DB Code dealing with atomicity of transactions, ending up in the middle of the Dlg procedures, i.e. the Presentation code. We intent to use SQL for V3.00 (Win7 and after)

Thanks for the Link. It gave a method listing which included an 'OnLoad' method. The help system on my version of VS2012 sent me to a similar help page which did not contain any event handlers. This latter fact added to my confusion. We had a 'Load' event, but not an 'OnLoad' event handler. The so called 'Intellisense' (I rather have a decent paper manual)was also quiet on 'OnLoad'

Thanks again,

Kind Regards,
Smile | :)
Bram van Kampen

GeneralRe: The equivalent of 'OninitDlg()' Pin
Richard MacCutchan13-May-13 20:54
mveRichard MacCutchan13-May-13 20:54 
AnswerRe: The equivalent of 'OninitDlg()' Pin
Marco Bertschi14-May-13 23:11
protectorMarco Bertschi14-May-13 23:11 
Questioncan application service start without being logged in? Pin
neodeaths8-May-13 1:50
neodeaths8-May-13 1:50 
AnswerRe: can application service start without being logged in? Pin
Dave Kreskowiak8-May-13 2:07
mveDave Kreskowiak8-May-13 2:07 
GeneralRe: can application service start without being logged in? Pin
neodeaths8-May-13 2:18
neodeaths8-May-13 2:18 
GeneralRe: can application service start without being logged in? Pin
Dave Kreskowiak8-May-13 5:09
mveDave Kreskowiak8-May-13 5:09 
AnswerRe: can application service start without being logged in? Pin
Abhinav S8-May-13 23:05
Abhinav S8-May-13 23:05 
AnswerRe: can application service start without being logged in? Pin
Anna King9-May-13 3:00
professionalAnna King9-May-13 3:00 
AnswerRe: can application service start without being logged in? Pin
Marco Bertschi14-May-13 23:13
protectorMarco Bertschi14-May-13 23:13 
GeneralRe: can application service start without being logged in? Pin
neodeaths15-May-13 3:16
neodeaths15-May-13 3:16 
GeneralRe: can application service start without being logged in? Pin
Dave Kreskowiak15-May-13 4:12
mveDave Kreskowiak15-May-13 4:12 
GeneralRe: can application service start without being logged in? Pin
Marco Bertschi15-May-13 21:15
protectorMarco Bertschi15-May-13 21:15 
QuestionMVC Pin
JAYRAJ GIRI6-May-13 23:03
JAYRAJ GIRI6-May-13 23:03 
AnswerRe: MVC Pin
Dave Kreskowiak7-May-13 15:12
mveDave Kreskowiak7-May-13 15:12 
AnswerRe: MVC Pin
Bikash Prakash Dash13-May-13 19:18
Bikash Prakash Dash13-May-13 19:18 
QuestionFlurent Nhibernate issues Pin
Punnoose Joseph2-May-13 2:30
Punnoose Joseph2-May-13 2:30 
QuestionChange custom settings inn app.config (vb.net) Pin
Member 995543229-Apr-13 10:26
Member 995543229-Apr-13 10:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.