locked
Webbrowser Tab creation with the values from app.config file RRS feed

  • Question

  • based on the app.config file , based on the number of entries in file,i need to create a webbrowser with tabs  in vb.net

    eg : <appSettings>
            <add key="UITab1" value="https://www.youtube.com/watch?v=hKakY4OQthA" />    
            <add key="UITab2" value="https://www.youtube.com/watch?v=V_lgJgBbqWE" />
            <add key="UITab3" value="https://www.youtube.com/watch?v=BGa3AqeqRy0" />
            </appSettings>

    in this i need to create webform with 3 tabs ,in each tab the above 3 videos should play.

    importing the data from app.config file and craete the webbform... How will i do it. Kindly help

    Wednesday, July 29, 2020 11:52 AM

Answers

  • Dim UItab1 As String = System.Configuration.ConfigurationSettings.AppSettings(UITab1)

        '' Dim UItab2 As String = System.Configuration.ConfigurationSettings.AppSettings(UITab2)

        ''Dim UItab3 As String = System.Configuration.ConfigurationSettings.AppSettings(UITab3)

    i imported the values like this. But now i need to get the count of key lines from app_config file.KIndly help

    • Marked as answer by meeraluv Sunday, August 2, 2020 9:32 AM
    Thursday, July 30, 2020 6:58 PM
  • Dim UItab1 As String = System.Configuration.ConfigurationSettings.AppSettings(UITab1)

        '' Dim UItab2 As String = System.Configuration.ConfigurationSettings.AppSettings(UITab2)

        ''Dim UItab3 As String = System.Configuration.ConfigurationSettings.AppSettings(UITab3)

    i imported the values like this. But now i need to get the count of key lines from app_config file.KIndly help

    Answered here

    https://social.msdn.microsoft.com/Forums/en-US/4b5154e4-7e35-469c-b386-a4c6eb7f5f91/count-of-key-lines-from-appconfig-file-vbnet-amp-get-system-sound?forum=vbgeneral


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    • Marked as answer by meeraluv Tuesday, August 4, 2020 12:13 PM
    Friday, July 31, 2020 12:01 AM

All replies

  • If this is ASP.NET use this forum

    https://forums.asp.net/18.aspx/1?Web+Forms

    If Windows forms, add a tab control to the form, add one tab page for each item in app.config and load pages via the web browser's navigate method.


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Wednesday, July 29, 2020 12:26 PM
  • Its VB.net.
    Thursday, July 30, 2020 6:56 PM
  • Dim UItab1 As String = System.Configuration.ConfigurationSettings.AppSettings(UITab1)

        '' Dim UItab2 As String = System.Configuration.ConfigurationSettings.AppSettings(UITab2)

        ''Dim UItab3 As String = System.Configuration.ConfigurationSettings.AppSettings(UITab3)

    i imported the values like this. But now i need to get the count of key lines from app_config file.KIndly help

    • Marked as answer by meeraluv Sunday, August 2, 2020 9:32 AM
    Thursday, July 30, 2020 6:58 PM
  • Its VB.net.
    That I know, I was asking about project type.

    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Friday, July 31, 2020 12:01 AM
  • Dim UItab1 As String = System.Configuration.ConfigurationSettings.AppSettings(UITab1)

        '' Dim UItab2 As String = System.Configuration.ConfigurationSettings.AppSettings(UITab2)

        ''Dim UItab3 As String = System.Configuration.ConfigurationSettings.AppSettings(UITab3)

    i imported the values like this. But now i need to get the count of key lines from app_config file.KIndly help

    Answered here

    https://social.msdn.microsoft.com/Forums/en-US/4b5154e4-7e35-469c-b386-a4c6eb7f5f91/count-of-key-lines-from-appconfig-file-vbnet-amp-get-system-sound?forum=vbgeneral


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    • Marked as answer by meeraluv Tuesday, August 4, 2020 12:13 PM
    Friday, July 31, 2020 12:01 AM