I am Vc++ Professional , (c++,vc++,MFC) In Interviews they are asking about Design Patterns. I am not knowledge about design patterns about vc++. But In Java,J2EE I know about MVC architecture. Plz Send Urgent reply. Bye Praveen, Praveen.
parims
Posts
-
About Design Pattern in MFC : Urgent Reply -
About Design Pattern in MFC : Urgent ReplyHello , I am new to VC++,MFC. Please suggest to me , Which design patterns are used in MFC . Plz , Give Urgent reply Bye Praveen.C Praveen Kumar
-
About Doc/View relation : Vc++ _Plz HelpWhat is the relationship between Doc and View 1)One to Many 2)One to One 3)Many to Many 4)Many to One Choose the Correct One ? ( This is TCS Interview Question) Praveen .C
-
About CDatabase : Plz Help : Urgent:zzz:Hello , I am new to MFC. I am using MS Access database . I want to get tables list using CDatabase. Is there ant SQL Query for getting table names from Access database. I used this code but I am getting errors. CDatabase db; CString sDriver = "MICROSOFT ACCESS DRIVER (*.mdb)"; CString sFile= "c:\\mydabase.mdb"; sDsn.Format("ODBC;DRIVER={%s};DSN='MyDsnName';DBQ=%s",sDriver,sFile); db.Open(NULL,false,false,sDsn); CRecordset recset(&db); recset.Open(CRecordset::forwardOnly,sql,CRecordset::dynaset); CString s=recset.GetTableName(); //int n=recset.GetRecordCount(); MessageBox(s); ======== Here I am not getting table name Plz Give reply soon . Praveen. Praveen
-
About database in vc++ : Plz Help : urgentHello , I am new to MFC. I am doing an application which involves database . I want Tables list when I choose my .mdb file using CFileDialog . and again ,when I press on Table , I want to retrive table fields I am using ODBC with MS Access databse praveen
-
error trying to open my database 'Unrecongized database format'I'm using an access database with VC6. My program has been working well until now. I get the message 'Unrecognized database format' and then the path. I presume that I have a corrupt database and I have tried to repair it but I just get the same message. Does anybody have any suggest how I can repair it, view or extract the data. I did have the same problem about a month ago, but I was able to repair it. Can anybody suggest why this is happening == I used CDaoDatabase to extract tables list in .mdb file Plz Help . It is very Urgent:confused: Praveen :C
-
About Task bar Notifier : Plz HelpI want a simple code which display popup messgaes from task bar at a particular time. Plz give a simple solution., (Plz do it in a simple dialog) Don't give unnecessary code. Praveen Chowdam Kumar
-
About CMutex : Plz Help:rolleyes:I developed one scheduler application. When I run this applcation (scheduler.exe)it is running. Next If I start another (scheduler.exe) is running. How to stop another process .,when One process is in running. Plz give reply urgently. Praveen Chowdam Kumar
-
About Bitmaps: Plz HelpHow to load bitmaps on to the dialog box Plz give a simple code to understand. Because I am new to MFC Praveen Chowdam Kumar
-
About Cursor blinking : Plz HelpI developed an application ,In which it popup messages to a respective time. I used OnTimer() function ., When I move my mouse cursor on to the application , It starts blinking. How to avoid this Blinking. Plz reply urgently. Praveen Chowdam Kumar
-
About CString : Plz Send UrgentlyHow to split the string based on new line character. I have a string i.e., C:\MyDocuments\myDialog\release\myapp.exe I want to retrive exe name . (ie., myapp.exe) How it is possible. I want to retrive right last exe name for all paths. Give a flexible code. Praveen Chowdam Kumar
-
About Cursor Blinking : Plz Helpn CString sql,sDate; /*CString sDriver = "MICROSOFT ACCESS DRIVER (*.mdb)"; CMyTabExampleApp *pApp = (CMyTabExampleApp *)AfxGetApp(); */ CDatabase db; db.OpenEx("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\mydabase.mdb;DSN=MyDsnName",CDatabase::noOdbcDialog); CRecordset recset( &db); CTime t; CTime s=t.GetCurrentTime(); CString strDate,strTime; strDate.Format("%d-%d-%d",s.GetDay(),s.GetMonth(),s.GetYear()); strTime.Format("%d:%d:%d",s.GetHour(),s.GetMinute(),s.GetSecond()); sql = "select TaskType, TaskDetails, StartDate,SnoozeTime from mytable where StartDate ='"+strDate+"' and SnoozeTime = '"+strTime+"'"; recset.Open(CRecordset::forwardOnly,sql,CRecordset::dynaset); //MessageBox("READING DB"); CString tasktype,taskdetails; while(!recset.IsEOF()) { recset.GetFieldValue("TaskType",tasktype); recset.GetFieldValue("TaskDetails",taskdetails); recset.MoveNext(); MessageBox(tasktype + "\n\n"+ taskdetails); if(tasktype=="APPLICATION") { CSnoozeAppli objappli; objappli.sTaskDetails = taskdetails; objappli.DoModal (); } else { CSnoozeMsg dlg; dlg.sTaskDetails =taskdetails; dlg.DoModal(); } } db.Close(); SetTimer(100,1000,NULL); CDialog::OnTimer(nIDEvent); Praveen
-
About Dialog Box : Plz Help UrgentPlz Give the code to draw colourful dialog boxes. means , to change back ground color and fore ground. Plz give GUI of dialog boxes. Reply Urgently Praveen Chowdam Kumar
-
About Cursor Blinking : Plz HelpI developed one Schduler application , In which I used OnTimer() function to popup the messages to a particular given time. Cursor is blinking when the application is running. When I move the cursor on to appli it is blinking . Plz Give Solution very Urgently. Praveen Chowdam Kumar
-
System Menu in MFC -Plz HelpI develop an application which adds the icon to system tray. System tray icon contains menu items like.,1.start 2.shutdown. >It contains min and close buttons (dialog based appli). >I dont want to terminate the application .,when I press close('X') button .It has to be hide . When I press Shutdown in menu item it has to be destroyed. Plz Give code , which is added in OnSysCommand praveen Chowdam Kumar
-
About System Menu == Plz Help UrgentI developed one application which adds the icon to System tray. When I press Start (in menu) it will start. But in our application ,.-> When I press 'X' in the dialog I don't want to terminate the application . When I press Shutdown (which is a menu item when I press on right click on icon )It has to shutdown. Plz How to handle code in OnSysCommand ., When I press 'X' in dialog.(Application Should not be terminate.Let it be there itself in the system tray ) Praveen Chowdam Kumar
-
About System Tray Icon Menu -Plz HelpI develop an appli.,which add the icon to system tray. When I click right click a menu will appears. I take menu items as Start,Minimise and ShutDown Bottom menu item behaves like a default menu item .,it is appearing in thick letters. when double click the icon it is shutdown .B'coz I take ShutDown as last menu item.(Bottom menu Item) If I take Start as a last menu item.It is appearing thick . and taking defalut.when I double click on the icon Application is Starting., What is the Problem . Praveen Chowdam Kumar
-
About Wizard based programs: UrgentHow to create wizard based programs in vc++ Plz Give simple code to understand. In my system there is no Property Sheet Active X Control. Praveen Chowdam Kumar
-
About Wizard based projectHow to create a wizard based project . Plz send me a simple application to create a wizard based program Praveen Chowdam Kumar
-
About VC++ Resume : Plz HelpHello., I am new to VC++,COM Plz . send me vc++ resume for attending interviews. Praveen Chowdam Kumar