Mambo hosting - MySettings = GetAllSettings(appname:=”WindowsApplication6″, _ section:=”Startup”)

MySettings = GetAllSettings(appname:=”WindowsApplication6″, _ section:=”Startup”) If Not (MySettings Is Nothing) Then For intSettings = 0 To UBound(MySettings, 1) Debug.WriteLine(MySettings(intSettings, 0)) Debug.WriteLine(MySettings(intSettings, 1)) Next intSettings DeleteSetting(”WindowsApplication6″, “Startup”) else MsgBox(”No settings”) End If Because GetAllSetting retrieves data from the user branch of the registry, and the physical file that forms the user branch of the registry may change (depending, of course, on who the user is and, in the case of Windows 9x systems, whether the system is configured to support multiple users), never assume that an application has already written data to the registry. In other words, even if you’re sure that your application’s installation routine or the application itself has successfully stored values in the registry, never assume that a particular value entry exists, and always be prepared to substitute a default value if it does not. Rather than rely on the relatively underpowered registry-access functionality available in Visual Basic, we highly recommend that you instead use the Registry and RegistryKey classes available in the BCL’s Microsoft.Win32 namespace. See Also DeleteSetting Procedure, GetSetting Function, SaveSetting Procedure GetAttr Function Class Microsoft. VisualBasic.FileSystem Yes Syntax GetAttr(pathname) pathname Use: Required Data Type: String Filename and an optional pathname Return Value An integer representing the sum of the following constants or members of the FileAttribute enumeration, which reflect the attributes set for the file:
Note: If you are looking for cheap and quality provider to host and run your java application check Astra java hosting services

Comments are closed.