News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Miscellaneous Forum
 
complete idiot:: running inireader test

Reply

by Jack Dolby [jdolby at gately dot com]
posted on 2005/05/04

I am a VBdotnet virgin trying to run the inireader test program.

I saw the message under wav program about imports problem, but I still don't understand.

How do I go from downloading the files to creating a project that runs the testapp.vb... do I build the dll in a separate project? How do I add it to the testapp.vb project?

I have no clue here... sorry.

i know how to create a project in vbdotnet... just no clue about buidling/including dlls.

tia,

jack

by jack dolby [jdolby at gately dot com]
posted on 2005/05/04
Reply

What I have done so far:

created a project "iniclassReader" and added inireader.vb and compiled it.

created a project "inireader" and added testapp.vb, added reference to the dll created by iniclassReader.

modified the imports statement: Imports inireaderClass.Org.Mentalis.Files

This does not barf but does not seem to take effect because unless I fully qualify the line:

Dim ini As New inireaderClass.Org.Mentalis.Files.IniReader("c:\test.ini")

it doesn't work.

My understanding is that the import should allow me to say:

Dim ini As New iniReader("c:\test.ini")

but if I try that I get a "type expected" error on "iniReader"

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.