Macintosh directory structure?


  #1  
Old 06-03-03, 03:30 PM
C
Member
Thread Starter
Join Date: Nov 2002
Location: Northern Virginia
Posts: 841
Likes: 0
Received 21 Likes on 18 Posts
Macintosh directory structure?

I've written some Visual Basic for Applications code that performs file operations. The target user of the program uses a Macintosh computer, however, and I'm concerned about compatibility of some of the code. For instance, on a PC I can access a file with the line

Open "c:\path\filename.ext" For Input as #1

Does the Macintosh file structure follow the same
[drive letter]:\[path]\[filename with extension] sequence?

Thanks!
 
  #2  
Old 06-03-03, 05:43 PM
MichaelJP
Visiting Guest
Posts: n/a
Visual Basic and Mac?

I didn't know you could do that.
There is a thing called RealBasic that is like Visual Basic but for Macs.

Have I missed a huge audience and there is a way to program in VB for Mac?

Michael
 
  #3  
Old 06-04-03, 06:56 AM
C
Member
Thread Starter
Join Date: Nov 2002
Location: Northern Virginia
Posts: 841
Likes: 0
Received 21 Likes on 18 Posts
Uh oh, another gross assumption gone bad?

I assumed that because Microsoft created resident programming languages for Word, Excel, etc for the PC that there would be at least *some* portability to their Macintosh versions of that software. I also assumed the language itself would be essentially the same, with a few possible exceptions surrounding things like this directory structure question.

Am I totally out in left field here? (More so than usual?!?)
 
  #4  
Old 06-04-03, 08:26 AM
MichaelJP
Visiting Guest
Posts: n/a
I have done programming in VB since I was 16 (28 now).
I have never heard of VB on Macs. I could have overlooked it of course since I don't program all the time.

I can't see it being possible since VB runs on PCs and all the files it collects are for windows.

If it is possible I would like to know.
Michael
 
  #5  
Old 06-04-03, 09:55 AM
C
Member
Thread Starter
Join Date: Nov 2002
Location: Northern Virginia
Posts: 841
Likes: 0
Received 21 Likes on 18 Posts
Just so we're talking about the same thing...

... are you familiar with VBA?

I was hoping to avoid this, but I'll see if I can ping a Mac guy I know to see what he says.
 
  #6  
Old 06-04-03, 10:25 AM
MichaelJP
Visiting Guest
Posts: n/a
Sorry. I must have missed the "For Applications"

VBA will work on Mac, since VBA viruses will infect a Mac.

Sorry, like I said I haven't used it so I don't know the answer to your question.
 
 

Thread Tools
Search this Thread
 
Ask a Question
Question Title:
Description:
Your question will be posted in: