Hi All I am developing Pocket PC application, where I have to keep the shortcut of my application under "Start Menu/Settings/Connections tab". I have tried using .CPL , it is adding under "Start menu/Settings/System". Any help will be appreciatable. Thanks Prasanna.
snprani
Posts
-
How to add a shortcut under Start Menu/Settings/Connections tab in Pocket PC -
How to open a ms-word application for a txt file through programaticallyHow to open a text file in ms-word in readonly mode through programatically. I have used CreateProcess function to open text file in Word. But not able to open in readonly mode. And the file is opening in new window. I want that to be in the same application window. Can anybody suggest me whether CreateProcess help me to do that for Windows Mobile 6.0 or is there any another way to do that. Thanks in Advance.
-
How to create a ticker on Pocket PCHi to all I am new to this Pocket PC environment. I need to create a stock ticker on Pocketpc which displays the stock values on that ticker. What are the things that I need to know to create a ticker using WinCE or atleast using .Net framework. This is very urgent. Thanks Rani.
-
How to create in MFC Tray Icon, any easy way..Checkout this http://www.codeproject.com/shell/systemtray.asp[^]
-
How to move a whole folderThe code is available in Code project itself. Just check this link. http://www.codeproject.com/file/alexfileoperations.asp[^]
-
Drag a control and Drop it on a cell of a table as in ASP.NetHi to all, How is it possible and help needed in "Drag a control(like textbox,button etc some where on the page and Drop it on a cell of a table which is on the same page". Just like when we create a table with some rows and columns on a ASP.Net webpage and from ToolBox when we drag a control and drop it on any of the cell of a table, then the control's parent is now that table and that cell will adjust to the control's size. I need the same concept for my application. Can anybody help me in this regard. Thanks.
-
How to include dlls in VC++.NET application.Hi to all, I am having more than 20 dlls for my application. if i want to store those dlls in one folder and use them while running the application what i have to do? For example all header files if I copy in one folder and giving this folder name in include folders of Tools->Options then it works fine. Is there any method like this for Dlls. Please help me. Thanks in advance.
-
Difference between VC++6.0 and VC++.NETHI to all, can anybody help me what is the Difference between VC++6.0 and VC++.NET. Thanks.
-
How to delete values and header from ListCtrlHi How to delete all column headings and values from CListCtrl. I am doing in this way. int nColumnCount = m_ListCtrl.GetHeaderCtrl()->GetItemCount(); // Delete all of the columns. m_ListCtrl.DeleteAllItems(); for (int i=0;i < nColumnCount;i++) { m_ListCtrl.DeleteColumn(i); } Is it correct or not. when i again displaying values in this listcontrol it is not deleting column names but deleting values. what should i do. Thanks in advance.
-
How to differentiate MFC functions and SDKHi How to differentiate MFC functions and SDK and what are the differences between these two. Please help me in this regard. Thanks
-
How to use CByteArray to store and retrieve picturesHi to All I am using PostgreSQL as my database. I am having one table called citizenphoto which contains cno and citizen photo as its fields. i have to insert images of citizens into that table through vc++. For this i have derived that table to CRecordset object. and it is giving datatype for photo is CByteArray. when i am going to store image data of size more than 10K it is giving error as Data truncated. i have changed the size of that variable in DDX as 317000. But there is no use. Can anybody help me in this regard. This will be so much helpful for me to go further. Thanks in Advance.
-
error LNK2001: unresolved external symbol ___pioinfoThanks But i am not at all declaring any variable of type _pionifo. What is the purpose of that variable also i dont know. When i am ignoring libc.lib and libci.lib it is showing only one linker error now. but it is different one. It is showing that error in lib file which i am including. error LNK2001: unresolved external symbol "class ostream_withassign cout" (?cout@@3Vostream_withassign@@A) if i am including iostream.h this is giving only one the above error. if i am not including iostream.h it is giving 5 linker errors of similar type of the above one. please help me. Thanks
-
error LNK2001: unresolved external symbol ___pioinfoHi My application is vc++ Dialog based one. I am using one library for my application. when i am including that library I am getting so many linker errors like LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in msvcrt.lib(MSVCRT.dll) LIBC.lib(crt0dat.obj) : error LNK2005: __exit already defined in msvcrt.lib(MSVCRT.dll) LIBC.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in msvcrt.lib(cinitexe.obj) LIBC.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in msvcrt.lib(cinitexe.obj) LIBC.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in msvcrt.lib(cinitexe.obj) LIBC.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in msvcrt.lib(cinitexe.obj) LIBC.lib(mbctype.obj) : error LNK2005: __setmbcp already defined in msvcrt.lib(MSVCRT.dll) LINK : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library LIBC.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/OIApp.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. For this i have ignored LIBC.lib library then i am getting one linker error called error LNK2001: unresolved external symbol ___pioinfo what should i have to do.Please help me. Thanks in advance
-
Is there any retstrictions to make an exe as ServiceHI I have got one doubt. Is there any retstrictions to make an exe as Service. I want to make my Server application exe as Service. That Server application is Dialog based application and it is for Client-server communication. when i am creating Service for this Exe it is creating Service and able to see that service name in Services of Administrative tools. But unable to start it. it is giving error as 1053 : Service didnot respond to the start or control request in timely fashion. Help me. Thanks in Advance
-
How to create a Service using ATLHi I have taken ATL COM Appwizard to create ATL Service and selected Service as my option. My intention is that i have to create a service which starts my Server Application as a service which is written in VC++. My Server Application is Dialog based. When the Service is started how should i know that service is started. Where i have to insert code to start my Service. please help me with code. Thanks in Advance.
-
How can i make my Exe as a ServiceHi to All, How can I make my Exe as a service using VC++. that service should appear in Services of Administrator tools and that should start when the system is boot up and should appear in system tray icon to tell that it is started. Can anybody help in this regard. Thanks in advance.
-
Problem in using stored procedure with ADOHi to all, I am having one table having 2 BLOB fields and one varchar2 field in Oracle. i am implementing my code vc++ using ADO to connect to Oracle. i am using Stored procedure to retrieve BLOB data from Oracle. I am able to store BLOB data with Insert Command. but there is problem while using stored procedure to retrive image data. This is my code how i am using ADO paramUserid= pCommand->CreateParameter("p_UserID",adVarChar,adParamInput,50,_bstr_t(userid)); pCommand->Parameters->Append(paramUserid); paramLICODE= pCommand->CreateParameter("leftcode",adLongVarBinary,adParamOutput,retLsize+5); pCommand->Parameters->Append(paramLICODE); paramRICODE= pCommand->CreateParameter("rightcode",adLongVarBinary,adParamOutput,retRsize+5); pCommand->Parameters->Append(paramRICODE); pCommand->ActiveConnection=m_pConn; pCommand->CommandType = adCmdText; pCommand->CommandText="{ Call getIrisCodes(?,?,?) }"; pCommand->Execute(NULL,NULL,adCmdText); It is giving error like "Syntax error or Access violation" I have tried that stored procedure in Oracle. it works fine. because i am able to get the length of the images. but unable to get the image data. What should i do. Can anybody help me. Its very urgent. My whole project depends on this only. Thanks in advance.
-
How to set the Name to a printing fileHi I have to set the name of the file which is to be set for printing. the name is appearing as document(1) in pending documents dialog which is showing in system tray. When i am watching print preview after that when i press print button from print preview it should dislay print dialog. what is the procedure plz help me. Thanks in advance.
-
How to set the Name to a printing fileHi I want to set the name to a file which is selected for printing. That name should appear in pending documents which is shown in system tray and another thing is i am able to see the print preview. When i am in Print Preview if i press print it should display printer dialog then i can select the printer options. Plz help me.
-
How to apply a Hand cursor to a Picture boxHi How to apply a Hand cursor to a Picture box and its member variable is a CStatic control. Whenever i moved cursor on to that picture box it should display Hand cursor. My application is SDI application in which CView class is derived from CFormView. I have tried in this way but didn't get plz help me. m_Image.SetCursor(::LoadCursor(NULL,IDC_HAND)); //here IDC_HAND is not working i have given IDC_HELP. Where should i use this code in View class to display that cursor. Help me.