Open mobile device file from visual basic 6 on desktop

Posted on 2009-02-10
Last Modified: 2012-05-06
I need to do an application who connect to a pda with windows ce5, get a file on \application\down directory on pda and delete that file.

PDA is connected by usb or serial and i can access on windows explorer but i dont know how connect/disconnect to pda on vb and how to check for the file.

Any help.
Question by:versionBeta
    LVL 8

    Expert Comment

    Why dont you use Active Sync for this........???

    Author Comment

    Application must retrieve the pda file, make some data checks to a database and then do some processess before delete the file.  The question es how access to a device: Something like "\\mobile device\files\filex.txt".....
    LVL 8

    Expert Comment

    you will have to copy the data when the phone is connected to the PC.

    1. Use active sync and set up a rule to copy it to a specifix location.
    2. build an application using files to copy and delete the data from the phone.

    Once copied u have to use files and manipulate  the data in VB.

    I dont know what kind of operations u want to perfrom on the file.??


    Author Comment

    I will explain again the problem because is not about activesync or a simple sincronization question between pda and pc.

    We have one pc and 6 pda. We put a pda on craddle and manually start a visualbasic program (or c, or c# or but take in consideration is vb6 ) . Then i must select some options in this program (this is done) and push copy and program generates a file with some data who must be copied on \application\xapp\ directory of the mobile device.  Not syncronization, not activesinc, not any other 3rd party program  must be used. I know few methods to do that with those tools, but we must doit coding in visualbasic.  


    Accepted Solution

    Complete doing some coding on rapi.dll methods in visual Basic 6.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
    If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now