Results 1 to 40 of 40

Thread: Rename , Open, read Unicode files

Threaded View

  1. #13
    Frenzied Member
    Join Date
    May 2014
    Location
    Kallithea Attikis, Greece
    Posts
    1,312

    Re: Rename , Open, read Unicode files

    @jooney
    That work on xp but not allways in Windows7...(I can't find why)
    Code:
                .pFrom = StrPtr(sSourceFile & Chr(0) & Chr(0))
                .pTo = StrPtr(sDesFile & Chr(0))
    change it to this

    Code:
                .pFrom = StrPtr(sSourceFile )
                .pTo = StrPtr(sDesFile ))
    i found that the second form work..

    I also notice that his run both on Xp and Windows 7...

    Code:
    Dim s$
    Dim s2$
     s$ = String(1024, 0)
    s2$ = String(1024, 0)
    Mid$(s$, 1, Len(sSourceFile)) = sSourceFile
    Mid$(s2$, 1, Len(sDesFile)) = sDesFile
    Last edited by georgekar; Dec 2nd, 2014 at 07:26 PM.

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