| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Whats wrong with this |
Also, if you put "as datatype" on each of your "Dim"
statements, you might
see what the problem is. As it stands, nothing appears to be wrong because
we don't really know what each variable's type should be. The only other
thing I would do is replace
Close FilNummer
with
Close #FilNummer
Mike Ober.
"Rick Rothstein" wrote in message
news:k8CdnYVvXO9ySn_cRVn-hQ{at}comcast.com...
> > Whats wrong??
> > HELP please!
> >
> > Option Explicit
> >
> > Sub VbsGem()
> > Dim text
> > Dim title
> > Dim filtekst
> > Dim FilNummer
> > Dim FilNavn
> > text = InputBox("skriv hvad der skal stå: ")
> > title = InputBox("skriv hvad titlen skal være: ")
> >
> > FilNummer = FreeFile
> > FilNavn = "C:\popup.txt"
> > filtekst = text & ", " & title
> >
> > Open FilNavn For Output As FilNummer
> > Print #FilNummer, filtekst
> > Close FilNummer
> >
> > MsgBox ("din popup fil er nu gemt på C:\ som popup.txt")
> > End Sub
>
> Asking "What's wrong??" followed by "HELP please"
doesn't tell us
> anything. Your code, as written, should work fine. Why don't you tell us
> what you think should be happening and what actually is happening that
> surprises you.
>
> Rick - MVP
>
>
---
þ RIMEGate(tm)/RGXPost V1.14 at BBSWORLD * Info{at}bbsworld.com
---
* RIMEGate(tm)V10.2áÿ* RelayNet(tm) NNTP Gateway * MoonDog BBS
* RgateImp.MoonDog.BBS at 1/11/05 10:42:24 AM
* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)SEEN-BY: 633/267 270 5030/786 @PATH: 278/230 10/345 106/1 2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.