deoblo1
Sep 1st, 2002, 02:34 AM
Well I am used to VB6 or something either that or i forgot how to program in Visual Basic. I have a modual named mdlDataInput and in there I have a public function named Main_Config(). Now in VB 6 I remember I could just go
open app.path + "\Main Config.ini" for input as #1
and it would open the file just fine. Now it says some crap about a namespace and what not so i added this and it still does't work, it also gives me some problems about the app command. Can someone help me out.
Module mdlDataInput
Public Function Main_Config()
Dim open As Microsoft.VisualBasic
' OPEN THE MAIN_CONFIG.INI FOR INPUT
open app.path + "\Main Config.ini" for input as #1
End Function
End Module
open app.path + "\Main Config.ini" for input as #1
and it would open the file just fine. Now it says some crap about a namespace and what not so i added this and it still does't work, it also gives me some problems about the app command. Can someone help me out.
Module mdlDataInput
Public Function Main_Config()
Dim open As Microsoft.VisualBasic
' OPEN THE MAIN_CONFIG.INI FOR INPUT
open app.path + "\Main Config.ini" for input as #1
End Function
End Module