🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual
Article #289

Re: Error with the function Dir

#289
From: negamagnet
Date: Wed, 17 May 2000 00:00
31 lines
1371 bytes
Couldn't see much wrong with that.  Works fine in
my projects (assuming there's not an error
reading the C:\ drive).

Have you got any properties/references/components
missing or not set up?

Tony

In article <8fqnb0$1j6n$1@news.cybercity.dk>,
  "Owyn Latane" <owyn@email.dk> wrote:
> Hi.
>
> Can anyone please tell me what is wrong here?
>
> Dim sPath As String
> Dim sDir As String
>     sPath = "C:\"
>     sDir = Dir(sPath, vbDirectory)
>
> I get a "Wrong number of arguments or invalid
property assignment." error.
>
> Please reply in english or danish.
>
>



Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID: <8ftv1t$p9n$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8fqnb0$1j6n$1@news.cybercity.dk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f51ba,13911145b9a64af1
X-Google-Attributes: gidf51ba,public
X-Google-Thread: f645d,13911145b9a64af1
X-Google-Attributes: gidf645d,public
From: negamagnet@my-deja.com
Subject: Re: Error with the function Dir
Date: 2000/05/17
Message-ID: <8ftv1t$p9n$1@nnrp1.deja.com>
X-Deja-AN: 624475035
References: <8fqnb0$1j6n$1@news.cybercity.dk>
X-Http-Proxy: 1.1 x41.deja.com:80 (Squid/1.1.22) for client 193.117.128.23
Organization: Deja.com - Before you buy.
X-Article-Creation-Date: Wed May 17 10:56:54 2000 GMT
Newsgroups: comp.lang.basic.visual,dk.edb.programmering.basic.visual-basic
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)