Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Netware & VB 16bit

1 view
Skip to first unread message

NovellNewbie

unread,
Dec 5, 2000, 3:00:00 AM12/5/00
to
How do I check the netware version from within a 16bit VB application.
I'm also looking for information on how to set a netware attribute
using the FLAG command from within a VB application.

Thanks.
* Sent from Novell Discussion Forums http://novell.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


Ben A L Jemmett

unread,
Dec 5, 2000, 3:00:00 AM12/5/00
to
This question should probably be asked on the Novell DeveloperNet forums, at
devforums.novell.com - try the novell.devsup.clib.xplatwin forum

> How do I check the netware version from within a 16bit VB application.

You need the VB Declare listing for the Novell libraries (if the 16-bit
versions aren't available, I can send them to you), and then you need to use
the NWGetFileServerVersion or NWGetFileServerInformation calls (along with
various others). There may be a code snippet somewhere on
http://developer.novell.com/ .

> I'm also looking for information on how to set a netware attribute
> using the FLAG command from within a VB application.

You can use Shell "path\progname parameters" to do this, or you can use the
direct function calls in the libraries I mentioned above to do the same
thing without using FLAG.EXE

--
Regards,
Ben A L Jemmett - Usenet replies to bal.j...@ukonline.co.uk.
(http://web.ukonline.co.uk/ben.jemmett/, http://www.deltasoft.com/)

NovellNewbie

unread,
Dec 6, 2000, 3:00:00 AM12/6/00
to
Thanks alot for your speedy reply. I was hoping that there were API
declarations that I could use. It looks as though my best bet is the
Novell API because using the shell command doesn't automatically close
the DOS Window after the FLAG command has been successfully executed.
I've attempted POSTMESSAGE as well as SENDMESSAGE to explicitly close
the DOS window but they are closing the window before the FLAG command
is successfully run.

I'm going to check novell.devsup.clib.xplatwin as you suggested for
some sample code and Declarations of the necessary 16bit API calls. I
would also like to take you up on your offer to send the 16bit
Declarations if possible. Would you also know how I could get my hands
on the 16bit DLL files, I've been searching novell developer and have
not come across any references to the 16bit versions of the DLL files.

Thanks again.

Barry St.John [SysOp]

unread,
Dec 6, 2000, 3:00:00 AM12/6/00
to
There's a nice reference and diskette available (or it used to be, anyway)
called NIVB (Novell Interface for Visual Basic) from Ztech Software in
Austin, TX. (512)495-9101 is the phone number listed in the book, but I
don't know if they even exist anymore.

-Barry. [Novell Support Connection SysOp]


Ben A L Jemmett

unread,
Dec 6, 2000, 3:00:00 AM12/6/00
to
> I've attempted POSTMESSAGE as well as SENDMESSAGE to explicitly close
> the DOS window but they are closing the window before the FLAG command
> is successfully run.
This is Win16, I take it? A pity, since in Win9x you can watch the title
for 'Finished -' and use that. But isn't the 'Close On Exit' flag settable
in a PIF?

> I would also like to take you up on your offer to send the 16bit
> Declarations if possible.

OK, I'll dig them up and send them within a few days. Is the address you're
posting with (without the spamtrap) good for attachments?

> Would you also know how I could get my hands
> on the 16bit DLL files, I've been searching novell developer and have
> not come across any references to the 16bit versions of the DLL files.

The DLLs are part of the Novell Client. They're in every version since the
old VLM client, IIRC.

0 new messages