Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Creating a new 'File Object'

Author
Message
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 23rd Nov 2009 17:54
Right, so I've worked out/worked around pretty much everything I have encountered so far... But I just can't get this to work, I'm trying to make a new File Object in which I can load files, write to them, read from them or whatever... But doing it the way it works with Objects/Images/Sprites/etc. doesn't seem to work... e.g.



Doesn't work, where as...



does work, am I just doing something wrong here or what? Oh, and the error it gives is:




EDP Map Editor[2D]
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 25th Nov 2009 13:43
bump, I could still use some help with this.


EDP Map Editor[2D]
Stefano
User Banned
Posted: 25th Nov 2009 21:21
Don't know.

Anyway I think darkgdk.io.file is redundant, you can use system.io.file or system.io.filestream to work with file
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 26th Nov 2009 00:19 Edited at: 26th Nov 2009 17:08
Well, I'm more familiar with the Dark Basic Pro commands, or commands similar to those then the native VB.Net commands for files. That's why I'm trying to get this to work before I start trying to mess with something I never used before.

EDIT : Right, I managed to get something to work with System.IO.File and Split().


EDP Map Editor[2D]
Fawaka
14
Years of Service
User Offline
Joined: 1st Dec 2009
Location:
Posted: 1st Dec 2009 15:13
Hopefully i can help you on your way into File I/O (Input/Ouput)

I've placed an tutorial on my website concerning Dark GDK.Net File I/O.

Give it a try.

Peace out..
Yerrel
yerrel
20
Years of Service
User Offline
Joined: 9th Sep 2003
Location: Planet Earth.. :-)
Posted: 1st Dec 2009 15:29
Seems look like my first reply didn't got posted.

Anyhow,

I've have a tutorial on my website about Dark GDK.Net File I/O.

Cheers..

Yerrel

MSI K8T NEO-2 F2.0, 8XAGP, 2x512Mb Dual Channel... Dark GDK..... http://www.binary-coder.com
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 1st Dec 2009 17:30
Thanks guys, but I've already figured out some really easy way using the System.IO.File library.


EDP Map Editor[2D]

Login to post a reply

Server time is: 2024-03-28 17:00:27
Your offset time is: 2024-03-28 17:00:27