No, static Text, Label Say in MessageBox it comes as Hi! This is for Test I want to read this
udayGovekar
Posts
-
Reading MessageBox -
Reading MessageBoxHow can I read the content of a messagebox through my VC application Please reply asap Thanks for ur help Uday
-
Ostream pointer to the standard outputCheck this, BOOL bFlag = AllocConsole(); HANDLE hnd =GetStdHandle(STD_OUTPUT_HANDLE); DWORD dw = GetLastError(); unsigned long i; WriteConsole(hnd,"test", 4,&i , NULL);
-
database problemHi All, I am opening database as CDaoDatabase dbSql; dbSql.Open(NULL,FALSE,FALSE,"ODBC;DSN=ITITest;UID=sa;pwd="); CDaoRecordset rsSql; rsSql.m_pDatabase = dbSql; rsSql.Open(dbOpenSnapshot,"SELECT * FROM tbltest"); BOOL TRY1 = rsSql.CanUpdate(); rsSql.SetFieldValue("test1","123"); when this is executed TRY1 is 0, that means I cant update I have to change the data in one field of tbltest at the run time for which I am using SetFieldValue of CDaoRecordset. I am getting following error, "operation is not supported for this type of object" Is this approach is correct?? Can anyone explain me asap Thanks in advance Uday
-
databaseHi All, There is a application which writes data into 3 databases based on some conditions. Database X,Y and Z. X is registered in ODBC, I am not able to understand how application is writing into Y/Z Can anyone explain me how to register Y/Z into ODBC
-
adding shortcutGo to Desktop and when you right click, u will see the short cuts.Can I add my text.exe to that list, if yes how??
-
MFC: Drawing within the client area of CMDIFrameWnduse this in ur mainframe.cpp file, this is not a member function long FAR PASCAL NewMDIClientProc(HWND hWnd,WORD wMesg,WORD wParam,LONG lParam) { switch (wMesg) { case WM_SIZE: { } case WM_PAINT: { } } }
-
EXE resourcesIt might giving u error saying some resource not defined, chek for that and update your string table If still there is a problem then tell me what exaclty the error message is
-
EXE resourcesyou copy and pasted the rsource but still it might give you a compilation error because of ID not defined. I have done simillar kind of work in one of my projects, it gave compilation error. Delete the resouce you have added for copying into ur current project
-
MFC: Drawing within the client area of CMDIFrameWndyou have WM_PAINT message, that you can use to paint the client area
-
EXE resourcesadd the resource to ur project,copy those resource you require into your resource. It may give some error when you compile update the string table if required hope it solves your problem
-
ActiveX controlHi, Consider 2 applications, X and Y. X is ActiveX type. I need to use the X.ocx in Y. Y application maybe Dialog based/Single/Multidoc type. Whenever user type any character it needs tobe processed in X.ocx. In X pgm,I have CText class derived from CRichEditCtl where I have added OnChar and OnSelChange functions. I can add/change/Modify/delete in ocx but nothing in Y application,requirement is just to insert ocx component in Y application. Can anyone tell me how this canbe possible?? Thanks Uday.M.G
-
ModelessHow to Handle Escape button in Modeless Dialog Thanks Uday
-
Cancel in Dialog boxWhen you click on cancel button, it returns IDCANCEL, check this value using coditional statements, if it is then come out of loop/application/return to the begining
-
command lineI need to use WriteConsole for that I have to get the Handle (Handle to the console screen buffer to be written to. The handle must have GENERIC_WRITE access. ) How to get this Handle?? I used , HANDLE hnd =GetStdHandle(STD_OUTPUT_HANDLE); buts its not working and also I used GetLastError() its returning 0 which means program executed correctly So ??
-
command lineHi All, consider Test.exe which is GUI based, now in command line \\directory\test.exe it invokes Test.exe, if user types \\directory\test.exe help ,particular help should be displayed simillar to c:\help a list of commands with description is displayed can anyone explain me on how to do this Thanks Uday
-
Register classTo register a class in Registry, and later use Findwindow to post a message to that class
-
Register classPlease explain me on how to register a class If you have a code ... Thanks Uday
-
RegistryHi All, Can anyone please explain me on how to write a variable(integer type) into the registry and also how to read it back Thanks Uday
-
DDEHi All, I have 2 separate applications say X1 and X2, X1 receives all the data and stores it in a file now this file should be opened through X2 Consider for example, GetLogic() fn. in X1 gets the logic from the device and stores it into a file and immidiately this file should be opened through X2 This should happen at run time User intervention will come only once when he selects GetLogic() I beleive that DDE should be made used but anyone can explain me the procedure or if there is any other method?? Thanks Uday