Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 10th, 2003, 03:20 PM
Hrvoje Hrvoje is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 1 Hrvoje User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Hrvoje
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!

Reply With Quote
  #2  
Old November 10th, 2003, 11:02 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
What's wrong happened??Can u tell me about the error detail??

Reply With Quote
  #3  
Old November 10th, 2003, 11:08 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
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
....

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > File format DDS and FSH


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway