Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

rodneyk1

@rodneyk1
About
Posts
23
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • database compairison help??
    R rodneyk1

    I figured it out!!!!! Active sync doesn't know how to convert OLE objects so it just discards them. I took these out of the pocket version of the program and it works like a charm. Thanks so much for the help and the time that you put into this João, I really do appriciate it. Till next time, Thanks again, Rod

    Mobile help database question

  • database compairison help??
    R rodneyk1

    I am using access 2002. should this make a diference since I am having the problem on the hand held side? I am not having a problem openning it on the desktop, The problem comes when the database is synced back into the handheld. Then I can't add to the database on the hand held. Did you install the version I sent you on your handheld? It works fine on there and you can add a visit after syncing back to the handheld from the desktop? Again, Thanks for your help on this, I appriciate it greatly. Thanks, Rod

    Mobile help database question

  • database compairison help??
    R rodneyk1

    did you find anything?

    Mobile help database question

  • database compairison help??
    R rodneyk1

    Did you get the database that I sent you? I was wondering if there are reserved words such as maybe "Field" or something like that. Any other ideas? Again, Thank you very much, Rod

    Mobile help database question

  • database compairison help??
    R rodneyk1

    No there doesn't seem to be a new key column. The only thing that I notice is that some of the indexes disappear. Having the databases missing the indexes doesn't seem to effect the program in any way, as I have created the tables without the indexes and the program still works fine until you bring them across to the desktop and then back to the ppc.Any other ideas???:confused: Thanks every bit helps, I appericiate your suggestions. Thanks, Rod

    Mobile help database question

  • database compairison help??
    R rodneyk1

    Hi guys, Here is my situation, I have a program that creates a database, and as long as you do not sync it to the desktop it is fine and works great, you can also export it to the desktop without any negetive side effects, the problem comes when you sync the db back from the desktop to the handheld. Even if you don't edit it on the desktop, the program that I have can't write to some of the tables. It still reads to them but can't edit or add to them. I have not at all changed the tables, just synced to desktop and then brought back to the handheld. Any ideas, I am using active sync ver 3.7 (build 3083). I am wondering if anyone knows where to get something to compare the databases (before sync and after sync). Something is happening during the syncing and conversion process. I am really stuck on this one:(:mad: PLEASE HELP!!! Thanks for the help guys, Rod

    Mobile help database question

  • disabling buttons
    R rodneyk1

    I have an application that what built using MFC and I was wondering if there was any easy way that you can disable the standard "X" button that is up in the right corner of the frame. Thanks, Rod

    Mobile c++

  • how to go from CString to char []
    R rodneyk1

    Thanks Daniel , Worked great, do you know how to convert ctime to cstring? I am trying to get data from a datepicker and it gives me a CDateTimeCtrl.I think I have converted to a CTime but How do I convert that to a cString to write it to a file. Here is what I have for code. CString szChoice; CTime date; m_date.GetTime(date); szChoice = date.Format(L"%x"); fileRead(L"Date: " + szChoice+ " \r" ) Thanks, Rod

    Mobile tutorial

  • how to convert from CTime to CString HELP
    R rodneyk1

    Hi again, I am trying to get data from a datepicker and it gives me a CDateTimeCtrl.I think I have converted to a CTime but How do I convert that to a cString to write it to a file. Here is what I have for code. CString szChoice; CTime date; m_date.GetTime(date); szChoice = date.Format(L"%x"); fileRead(L"Date: " + szChoice+ " \r" ) Thanks guys, Rod

    Mobile help tutorial question

  • how to go from CString to char []
    R rodneyk1

    can anyone tell me how to convert or mask a CString to a char [] i.e. (char new[]). In need to do this for my combo box. Thanks guys, Rod

    Mobile tutorial

  • printing to a text file...HELP PLEASE
    R rodneyk1

    I have created an MFC app and I am using the code that you have on the web to read and write. the first problem is 1. I think from a combo box you can only read the info as a CString (is that right?)and then I pass it to the readFile method and when I do all the casting to try to get it to write the string it only prints the first letter. Can you si what I am doing wrong? do you have suggestions? //Get current selections from edit and list-box controls CString szChoice; CString szResult; int nChoice; m_name.GetWindowText( szChoice); nChoice = m_name.GetCurSel(); //if(nChoice!=CB_ERR) { //if a valid choice was made from the list box, fetch //the item's text string. m_name.GetLBText(nChoice,szChoice); szResult="Closing after selecting "+ szChoice; fileRead(L"\\My Documents\\my_file.txt",szChoice); } void fileRead(TCHAR *szFileName, CString szChoice) { hFile = CreateFile(szFileName, GENERIC_WRITE, 0, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); //if (hFile != INVALID_HANDLE_VALUE) { // Note that we are writing a string, not a unicode string LPTSTR p = szChoice.GetBuffer( 10 );//not sure if this is nessecary wcscpy( p, L"Name: "+(szChoice)); //copying szChoice into p so I can cast(what else should I do)? szChoice.ReleaseBuffer( );//not sure about this it was in a EVC example(What is it?) const char *val = reinterpret_cast(p);//Casting p into a 'char' so I can print to file //so I could try to use strcpy AfxMessageBox (p); //gives the whole string (name:Rod) it i typed rod in combo box strcpy(buffer2, val);//copying val into buffer 2 strcpy(buffer1, "Hello dude" );//copying string "hello dude" into buffer WriteFile(hFile, buffer1, strlen(buffer), &dwBytesWritten, 0);//writing to file"hello dude WriteFile(hFile, buffer2, (szChoice.GetLength()), &dwBytesWritten, 0);//*********Only writes first letter'N' I want it //to write 'Name: Rod', what do I have to do? CloseHandle(hFile); } hFile = CreateFile(L"\\My Documents\\my_file.txt", GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); } I don't get it!!!!! When I switch the order that the buffers write, say write buffer 2 first then it only writes "N" and never gets to writing buffer1, if I write the buffer1 first it writes "hello dudeN". It is like when it gets to buffer2 it stops running and wi

    Mobile help question c++ tutorial

  • output?? cout
    R rodneyk1

    I have the windows CE application programming book and it covers things in EVC++ 3.0. I am useing code that he gives in his examples and he uses "cout<<_T" . Whenever I try to compile it doesn't like the cout command. Is there something that I need to import or include to use the cout command? Here is what I have for an example. void Listing4_1() { CEGUID pceguid; if(!CeMountDBVol(&pceguid, _T("\\MyVolume.CDB"), CREATE_NEW)) cout << _T("Could not create database volume") << endl; else cout << _T("Database volume created") << endl; // now unmount the database volume if(CeUnmountDBVol(&pceguid)) cout << endl << _T("Database volume unmounted") << endl; else cout << endl << _T("Database volume could not be unmounted") << endl; } why doesn't it like it?Any Ideas? Thanks guys, Rod:sigh:

    Mobile c++ database tutorial question learning

  • opening and accessing and changing a database
    R rodneyk1

    I was thinking of using an access database. But as I said, I am new to this and am open to suggestions. I just want something that is easy to manipulate with the EVC 3.0

    Mobile question c++ database help

  • opening and accessing and changing a database
    R rodneyk1

    Hi All, I am new to the EVC world and have writen som e simple projects that work fine, but now I would like to get them to manipulate databases and have searched through the past listings and can't find what I need. First how do I get a program to OPEN and access the data base, what do I need to #include for the operations. I would love a simple sample of code that uses a datadase to get started. Second once I access the file how do I change things inside it. How do I save things to the file? Can I use the Database functions for CE, Like "CECreateDatabaseEX" or is this not going to be recognized by EVC++ 3.0. Thanks for all the help :) Rod

    Mobile question c++ database help

  • Adding static text to combo box?
    R rodneyk1

    I am trying to add a combo box inside a DB that is editable and yet has strings that are commonly used. I have added the code to the HelloDlg.cpp code. BOOL CHelloDlg::OnInitDialog() { CDialog::OnInitDialog(); m_operation.Insert (0,(_T("digging"))); m_operation.Insert (1,(_T("seed bed prep"))); m_operation.Insert (2,(_T("planting"))); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE } And it will not add it to the m_operation combobox. Any ideas? Thanks alot Rod

    Mobile c++ database question

  • creating an Install
    R rodneyk1

    What are you using to compile the programs for the ARMV4,MIPS,SH3,WCE420X86 formats, I am using the Embedded Visual C++ 3.0 and I can only find options for compiling for the .ARM and for the .x86 platforms. Is there something that I have to change or is that all that is available in the 3.0 version? Thanks Kyle for the feedback. Rod

    Mobile help question announcement

  • creating an Install
    R rodneyk1

    What are you using to compile the programs for the ARMV4,MIPS,SH3,WCE420X86 formats, I am using the Embedded Visual C++ 3.0 and I can only find options for compiling for the .ARM and for the .x86 platforms. Is there something that I have to change or is that all that is available in the 3.0 version? Thanks Kyle for the feedback. Rod

    Mobile help question announcement

  • creating an Install
    R rodneyk1

    I am trying to create an install program to run on the desktop that installs the cab file automaticaly into the pocket pc. If I manually put the cab file into the pocket PC then the program runs fine. But when I try to make an install using ezsetup 2.0 I get this error My_Test does not support the connected device typ. Application Manager will make the application available for installation when the supported device type is connected. This is what I have in the .ini file [CEAppManager] Version = 1.0 Component = My Application [My Application] Description = My test application Uninstall = Rod's PCS TEST CabFiles = My_Test.cab Can anyone see what is wrong? I I am trying to install it to a toshiba pocket pc E310. As I said if I manually put in the My_test.arm.cab file into the PPC It works fine. HELP PLEASE!! Thanks alot guys, Rodney

    Mobile help question announcement

  • where is JpgLib.lib????
    R rodneyk1

    I am trying to get some code to build. It supposedly works. I have finally got the compiler working and now I am getting a linking error Linking... LINK : fatal error LNK1104: cannot open file "JpgLib.lib" Error executing link.exe. Creating browse info file... PCS.exe - 1 error(s), 0 warning(s) Where can I find JpgLib.lib file. I looked in the tools folder but it isn't there. Can anyone help me? Thanks Rodneyk!!

    Mobile help tools question

  • where is wceres.rc.
    R rodneyk1

    I downloaded the JpegLibTest from here it is the sample aplication. when I try to build it I recieve this error JpegLibTest\JpegLibTest.rc(171): Could not find the file wceres.rc.. I have looked for this file and can't find it anywhere in the project or the tools for embedded visual c++ 3.0. can anyone help me, Thanks, Rodneyk1

    Mobile c++ help html com hardware
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups