![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Expert Programmer
|
Use the Get and Put statements to stream data in and out of byte arrays when operating in binary mode. Be careful with your file offsets (remember, arrays are 0 based, so the upper bound is LOF(file) - 1).
|
|
|
|
|
|
#12 |
|
Hobbyist Programmer
Join Date: Jan 2005
Posts: 110
Rep Power: 4
![]() |
hey i couldnt figure out the put and get ^^;; i searched alot but couldnt get that working
![]() could i have an example? sorry but while looking i found this: Visual Basic is based internally on the double-byte Unicode standard. However, most of the world outside of Visual Basic still uses the single- byte ANSI model. For this reason, Visual Basic provides two sets of form controls and uses the ANSI set as the default control. Any strings passed to the ANSI set of form controls will be converted from their internal Unicode representation to an ANSI representation and will not display the UNICODE strings correctly. To be able to display the UNICODE string on a Visual Basic form, the UNICODE (Forms 2.0) controls must be used. The following example shows how to use the Forms 2.0 controls to display UNICODE strings read from a Unicode text file. Because this behavior requires UNICODE language package support, it currently supported only in Windows NT. NOTE: The Forms 2.0 controls used in this article were not designed for use on Visual Basic forms and have not been formally tested in the environment. This article documents their use only in this very limited context to work around a limitation to the Visual Basic Intrinsic controls. Using other features of these controls on Visual Basic forms is not supported. Furthermore, Forms 2.0 is part of Microsoft Office and is not redistributable. Therefore, you cannot distribute Forms 2.0 (fm20.dll) with your application. It must already be on the target machines. For additional information on distributing fm20.dll, please see the following article in the Microsoft Knowledge Base:... here :O sure it works without fm20 dll? thanks ^_^ |
|
|
|
|
|
#13 |
|
Expert Programmer
|
Well that is one way of doing it, though VB definitely handles it natively, considering all strings and text are stored in unicode, it would seem pretty pointless otherwise. You could always use VB.NET...
|
|
|
|
|
|
#14 |
|
Hobbyist Programmer
Join Date: Jan 2005
Posts: 110
Rep Power: 4
![]() |
hehe well dont really want to use that forms stuff... lol
it would be awesome if only i could make the unicode display properly in the textbox XD. and vb.net has better support for unicode? maybe its time to move >D |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|