OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Old 27-09-2003, 17:22
Posts: n/a
Default Include files

Hello again,

Sorry to pick your brains so much but you're a big help.

Is there a way to read from a text file as sort of an include file (for lack of a better word). Has anyone here done it?

For Porn

Last edited by Steve; 12-03-2011 at 00:33.
Reply With Quote
Old 29-09-2003, 17:10
Alex's Avatar
Alex Alex is offline
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default Re: Include files

I'm not sure what you are trying to do, but here is a sample which might help you...

Dim s As String
Open "C:\File.txt" For Input As #1
While Not Eof(1)
    Line Input #1, s
    ' Do something with one line of text read into variable "s"
Close #1
I hope this helps.
Reply With Quote
Old 29-09-2003, 20:43
Posts: n/a

Thanks Again!

That's perfect. It's more for a "dat" file. All the files I work with don't use the same parameters and a huge series of "if then - Else If" is'nt practical so the code you just showed me is usefull.


Last edited by Steve; 12-03-2011 at 00:33.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
files import graphicdesigner CorelDRAW/Corel DESIGNER VBA 11 19-11-2004 23:56
Printing Raw Prn Files Mark Code Critique 2 16-09-2004 16:15
I need HELP printing corel files from VB6! dcs CorelDRAW/Corel DESIGNER VBA 0 20-04-2004 16:32
Thumbnailer Issue with EPS files vallentin Macros/Add-ons 2 16-03-2004 10:04
Corel 10 file conversion script doesn't convert files Kevin CorelDRAW CS 0 13-04-2003 20:28

All times are GMT -5. The time now is 00:36.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com