If Not (MySettings Is Nothing) Then (Christian web host)

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 GetAllSettings Function Class Microsoft.VisualBasic.Interaction Syntax GetAllSettings(appname, section) appname Use: Required Data Type: String Name of the application section Use: Required Data Type: String Relative path from appname to the key containing the settings to retrieve Return Value
Note: If you are looking for top 10 and very good webhost to host and run your jsp application check Actions jsp hosting services

Comments are closed.