Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

This script can work in WinCE?

Posted on 2002-05-14
5
Medium Priority
?
669 Views
Last Modified: 2008-02-01
Experts,

Sorry i no have the WinCe Emulator, can someone tell me this script can work in WinCE or not.

Private Sub Command1_Click()
    filespec = App.Path + "\client.txt"
    Set fso = CreateObject("Scripting.FileSystemObject")
   
    Set f = fso.OpenTextFile(filespec, 1, True)
    filespec1 = f.ReadAll
   
    Set f = fso.OpenTextFile(filespec1, 2, True)
    f.WriteLine "Hello world!"
    f.Close

End Sub

I still a newbabies for WinCE programming. If this canot, how to make it can working in the WinCE?

Thanks.
0
Comment
Question by:it31
  • 3
5 Comments
 
LVL 4

Expert Comment

by:eeyore7250
ID: 7010225
No.

In vbce you will need to add a reference to the CE File System Control

You create a filesystem object like so:
Set fso = CreateObject("FILECTL.FileSystem")

OpenTextFile of filesystem is not supported

ReadAll of the File control is not supported
0
 

Author Comment

by:it31
ID: 7010321
eeyore,

Thanks for the response, but got anyway to modify a file and use the FILECTL?

And the file is no in the local WinCE, it is in lan other 1 pc. I wish to use the application to modify the pc 1 txt file. Just this only, any idea or suggestion?

Best Regards,
0
 
LVL 4

Expert Comment

by:eeyore7250
ID: 7012823
You can use the FILECTL to read and write a file.

I dont think you can open a file from a windows ce device accross the network easily. Although you could use windows ce sockets, then you would need a host program on a pc on the network.
0
 
LVL 4

Expert Comment

by:eeyore7250
ID: 7012826
You may get more responses by posting in the windows ce category:

http://www.experts-exchange.com/wince/
0
 

Accepted Solution

by:
ComTech earned 0 total points
ID: 7182382
This question will be placed in PAQ, and points refunded.

Regards,

ComTech
Community Support Administrator  
Experts-Exchange  
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

886 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