I think you were so busy, since there are no log in the code project. Here I am not at all busy and having a lot of free time. Please convey my regards to Sankar, Ajesh, Prince and Rinu
Benoy Bose
Posts
-
SetItemData/GetItemData -
SetItemData/GetItemDataIts very nice to contact you later. Really I miss you all badly. I still love NeST and all NeSTians very much. It is very sorry to say that I was forced to follow the path of Shameer Ebrahim. I have two reasons to leave from there with out sayinng any word to any. Mainly I fear the disgrace and secondly I want to come back there just like after a long leave. Sorry Sorry Sorry.... Currently I am not using any mobile that's why no one can get me through the phone. I shifted to C# and working for a US Client with a little better salary. I feel NeST is a heaven and sure I have to come back there. Contact you al later.. Where is Prince of Common Controls ( Mr.Naveen ) Please convey my regards to all there. Bye With lots of love Benoy Bose
-
SetItemData/GetItemDataNibu, Where is Naveen, Nishad etc...
-
Command PromptAs per my knowledge there are no class in MFC for handling pipelineing you have to use windows API like CreatePipe. CreateProcess etc. For extra reference over them please look at allapi.net and search in http://msdn.microsoft.com/library/default.asp
-
Using java script to a XML onto grid viewYou try AJAX... Please refer www.w3schools.com for more reference.
-
To dispaly menus,captions in indian languageEven if you are using UNICODE and _UNICODE in MFC Project settings the Application menu may not display UNICODE strings still the operating system installed has an in-built support to the UNICODE characters. If you are using Windowx XP you can setup unicode settins during the OS installation and latter through the control panel. If you still want to display unicode string in your menu you just have to use customized menus because Windows menus are OS featires.
-
regarding visual studio 2005 [modified]Try to make an entry of the path in the registry HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Run or HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run
-
554 error :smtp server not ready for data or relay deniedYou didin't specified at which section you got the error. If your server need an authentication then you just have to setup an smtp server in your PC and use zoneedit.com for setting up the MX Records.
-
Command PromptIt is better to use Windows Pipeline ( for stdioIn and stdioOut ) with the tellnet application. You can read the output ( or write to the input ) of console application to ( or from ) a win32 application through pipelining the stdio file of the console application.
-
error message: no copy constructor available for 'CStringArray'You can not use pass an object of a CStringArray since it has no CopyContructor or assignment operator. One thing you can do is to pass a reference to the string array. eg: // use void function( CStringArray& csStringArray_i ) { } // instead of void function ( CStringArray csStringArray_i ) { } // One thing is to be noted down is not to pass any local variable of CStringArray to the function it may not work properly, especially playing with multiple threads.
-
Visual C++You can run jar file if and only if you are hosted JVM. But you can open, view, read and modify the Jar file from VC++ since Jar file has the same file format as ZIP file. http://www.artpol-software.com/index\_zip.html Here is library which can be used for accessing zip archives. Benoy Bose
-
on-the-fly html file generationSarath is saying right. You do not have to generate a file. there is simple way. You can get the interface IWebBrowser2 of the IE. from that get the interface IHtmlDocument2 of the IWebBrowser2. call the function write of the above interface. IHtmlDocument2::write( "text" ) But this code will work onlt in COM
-
Background image doesn't workIn the style tag the statement background-image:url(pcplus_logo_2.png); shoudl be modified like background-image:url('pcplus_logo_2.png'); Try It.
-
c++ for webYes, You can use Visual C++ for developing web applications. You can write applications that run in support of a web server and process web requests and responses by unsing ISAPI feature. ISAPI Extension Wizrad ( Developer Studion Project Wizard ) will help you develop such an application. Benoy Bose
-
Query abt dialog boxHey, just reduce the code lines do as follows void CEgAppDlg::OnSize(UINT nType, int cx, int cy) { CDialog::OnSize(nType, cx, cy); CRect ClientRect( 0, 0, 0, 0 ); GetClientRect( ClientRect ); if( FALSE != IsWindow( m_edit.GetSafeHwnd())) { m_edit.MoveWindow( ClientRect ); } } This code is expected to work only when the Dialog is forcely resize by using Minimize, Maximize, Drag Size etc. To resize the control in Initial state you have to put some similiar code in the OnInitDialog of the dialog class like CRect ClientRect( 0, 0, 0, 0 ); GetClientRect( ClientRect ); m_edit.MoveWindow( ClientRect ); In OnInitDialog you do not have to check the Window handle because OnInitDialog is called after the creation of the Dialog Box and it's control. But you should check the Validity of m_edit window in OnSize because it is called by the framework when the DialogBox alone is created, before the edit is created. OK ? Regards, Benoy Bose
-
Closing a invisible web browserYou have to do COM Programming. Interface of Internet Explorer com object is IWebBrowser2. You have to get the invisile instance of IE by calling CoGetObject() COM API. Then you can call it's interface methods to close the Invisible Browser. Once you get the COM instance of API. Then call the COM method ExecWB of IWebBrowser2 with parameter OLECMDID_CLOSE. Then the invisible browser will be closed. OK ? Regards, Benoy Bose
-
Query abt dialog boxYou can either use Layout Managers or simple use MoveWindow or SetWindowPos in OnSize( WM_SIZE )
-
Query abt dialog boxits really depends upon the persnel interest. I respect you interest. I believe Layout can generalize the functionality, but my code do the same in simple and a few lines. While I was working with layout managers in Java, i feel i have only a less freedom to move the control over the window. And I satrted to put NULL in the Java Window layout and moved my controls independently.
-
Query abt dialog boxLayout manager in Java ( Like you said ) will automatically resize the controls in the window. Since we have a very simple method to resize the controls in MFC, designing a layout manager is overhead to the developer. In Java it's depends upon the personel interest since there are both the features are readly available.
-
program executing errorCheck the directory settings from the Menu Tools>Options [Directories tab] If it is incorrect put the correct value