|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
File format DDS and FSH
Hello, this is my first post here and i must say i like these forum pretty much
i have bal.dds and i need to import it into bal.fsh... i have converted bal.bmp to ball.dds now i need to import one part of dds to fsh file format, my friend told me : Open "bal.dds" for binary as #1 Get #1, 2, read Close #1 Hrvoje(ME) says: ok... Jan says: This way you read the value in offset 2 and store it in the variable "read" Jan says: Then you can write it in an other file Jan says: Open "bal.fsh" for binary as #2 Put #2, 2, read Close #2 _______________ this isnt working please help me! |
|
#2
|
|||
|
|||
|
What's wrong happened??Can u tell me about the error detail??
|
|
#3
|
|||
|
|||
|
The filehandle maybe is used by other program..U can use freefile function to get a free filehandle:
dim fh as integer fh=freefile() Open "yourfilepath" for binary as #fh .... |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > File format DDS and FSH |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|