Results 1 to 23 of 23

Thread: [RESOLVED] Should I give up?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2006
    Posts
    612

    Resolved [RESOLVED] Should I give up?

    I am trying to debug my latest effort at programming a mobile app and now I have this error

    Unable to Start program”%CSIDL_Program_Files%\DeviceApplication1\Mobile1.exe

    The System cannot find the file Specified!

    Well that message does not surprise me because when I start the debugger it does not put the exe on my device, why not God knows; it used to but has decided it will not do now?

    So let me ask a question other than giving up which would not please me after all this effort why does my IDE (Net 2005) not want to play with me?

    I am deploying to my device because the only error message I get when I try to use the emulator is “Operation could not be completed” which is a real help!

  2. #2
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: Should I give up?

    I suggest you create a new application.
    Put a textbox or 2 and try running it. If it does not complie then you have a problem, if it compiles ok then try to start a fresh new application and add all your code and buttons from the old (the 1 that does not work).

  3. #3
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Should I give up?

    Hi,
    first of all, try the infamous step of re-booting the PC and re-booting the PPC and then try again.

    Try doing 'F10' to step into the application, then see what happens. Also, as sapator mentions, try a new application and see what happens to that.

    Pete
    Last edited by petevick; Jul 17th, 2007 at 08:34 AM.
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    May 2006
    Posts
    612

    Re: Should I give up?

    Pete,

    Tried the re-boot, no luck

    Sapator,

    This is the new app with all the controls and code copied across, but have now tried the simple app with the same result

    So is it the re-install of DOT NET

  5. #5
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Should I give up?

    Hi,
    what happens if you do F10, ie step thru the application - same thing?

    Is this a new PDA, or the first time you have tried deploying an application to it?

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    May 2006
    Posts
    612

    Re: Should I give up?

    If I do F10 I get the message can't find exe etc as above

    The PDA is the one I have always used, with no problems in the past

  7. #7
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Should I give up?

    Hi,
    click on project, properties and devices - what does it say in the 'output file folder', and is the 'deploy the latest...' box ticked?

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    May 2006
    Posts
    612

    Re: Should I give up?

    I have played around with the output folder but no matter what I name it the IDE simply does not create the exe at the location specified?

    and Yes the 'deloy latest ' is ticked

  9. #9
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Should I give up?

    Hi,
    try re-installing the .Net Compact Framework on the device. If you uninistall it, when you deploy, it should re-install it

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  10. #10

    Thread Starter
    Fanatic Member
    Join Date
    May 2006
    Posts
    612

    Re: Should I give up?

    Pete,

    Sorry I don't know how to do that I'm afraid

    The only time I have seen it happen has when I installed it on my computer and I had a device connected at the time

    On this theme however I connected another device which used to work as a test machine before but I got the same result the exe is not created on the device so I get the same error message

  11. #11
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: Should I give up?

    If you run the program on a virtual device and not your phone does it work?

  12. #12
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Should I give up?

    Hi,
    on the pocketpc go to system remove programs, and you should see .Net CF there. If you remove it, reboot the PPC, and then try running your program again, it should re-install the CF for you

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  13. #13

    Thread Starter
    Fanatic Member
    Join Date
    May 2006
    Posts
    612

    Re: Should I give up?

    Sapator,

    No that does not work either

    Pete,

    I un-installed .net framework and when I then try to deploy I get the same error message about the location of the exe and .net framework does not re-install and the exe is not created on the device?

    and before you ask yes the device is connected

  14. #14
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Should I give up?

    Hi,
    my next suggestion would be a bit drastic then - a hard reset, unless you have another device.

    Can you backup your device first?

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  15. #15

    Thread Starter
    Fanatic Member
    Join Date
    May 2006
    Posts
    612

    Re: Should I give up?

    I have tried all of the above on two devices already with the same results but am happy to go to a hard reset, if you tell me how it's done
    Last edited by JohnSavage; Jul 19th, 2007 at 03:05 AM.

  16. #16
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Should I give up?

    Each device is different - the manual for my HP IPaq told me how to do it for that PPC - some combination of holding down button-x while depressing button-y while turning the PPC on...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  17. #17
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Should I give up?

    Does it work if you deploy to the emulator?
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  18. #18
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Should I give up?

    Quote Originally Posted by petevick
    Does it work if you deploy to the emulator?
    Quote Originally Posted by JohnSavage
    I am deploying to my device because the only error message I get when I try to use the emulator is “Operation could not be completed” which is a real help!
    From the OP - seems to me that it's a setup issue with the .Net IDE - but I've not done enough of this yet to know where all the settings and what not are...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  19. #19
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Should I give up?

    Hi,
    sorry - I missed that in the thread. If it is an issue deploying to 2 devices and the emulator, I agree, probably a .Net issue.

    Try repairing VS2005 - it takes a while though.
    Control Panel>Add Remove Programs>Microsoft VS 2005...>Change/Remove and then select 'Repair/Reinstall'

    You will probably have time to prepare a 3 course meal whilst it runs - and I seem to recall you need your installation CD

    I remember getting VB on 3 floppies

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  20. #20
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Should I give up?

    @petevick - are you newly MVP or just a change in your sig?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  21. #21

    Thread Starter
    Fanatic Member
    Join Date
    May 2006
    Posts
    612

    Re: Should I give up?

    Thank you gentlemen, I will start the process tomorrow and report back later

  22. #22
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Should I give up?

    Hi,
    MVP since 2000 (ish) - saw your sig and thought 'what a good idea - I will pinch that'

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  23. #23

    Thread Starter
    Fanatic Member
    Join Date
    May 2006
    Posts
    612

    Re: Should I give up?

    Pete,

    His is bigger than yours? lol

    Here's the bad news It's working again after watching the cd's turn around for a couple of hours!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width