two problems ( Search, Explorer ) problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ASB85
    New Member
    • Apr 2008
    • 1

    two problems ( Search, Explorer ) problems

    Hello

    i make an web site and make on it search engine local to my web site

    and it work god in the localhost

    but wen i do it over the internet

    an error happen

    i think the erro in this code

    Code:
    public Search(string URL)
            {
                
                string[] SplitWebSitePath =   System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase.ToString().Split('/');
                for (int i = 3; i < SplitWebSitePath.Length-2; i++)
                {
                    if (this._WebSitePath == string.Empty)
                    {
                        this._WebSitePath = SplitWebSitePath[i];
                    }
                    else
                    {
                        this._WebSitePath = this._WebSitePath + "\\" +  SplitWebSitePath[i];
                    }
                }
                int ha= URL.IndexOf(SplitWebSitePath[SplitWebSitePath.Length-3]);
                this._URL = URL.Substring(0, ha ) + SplitWebSitePath[SplitWebSitePath.Length - 3] + "/";
                WebSiteFiles.Columns.Add("HeadLine");
                WebSiteFiles.Columns.Add("Content");
                WebSiteFiles.Columns.Add("URL");
            }


    another problem

    in the same project

    when i open it on firefox explorer

    the menu hiden behind the fash

    how can i fix it

    it work god in microsoft internet explorer

    and thanks
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Originally posted by ASB85
    Hello

    i make an web site and make on it search engine local to my web site

    and it work god in the localhost

    but wen i do it over the internet

    an error happen

    i think the erro in this code

    Code:
    public Search(string URL)
            {
                
                string[] SplitWebSitePath =   System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase.ToString().Split('/');
                for (int i = 3; i < SplitWebSitePath.Length-2; i++)
                {
                    if (this._WebSitePath == string.Empty)
                    {
                        this._WebSitePath = SplitWebSitePath[i];
                    }
                    else
                    {
                        this._WebSitePath = this._WebSitePath + "\\" +  SplitWebSitePath[i];
                    }
                }
                int ha= URL.IndexOf(SplitWebSitePath[SplitWebSitePath.Length-3]);
                this._URL = URL.Substring(0, ha ) + SplitWebSitePath[SplitWebSitePath.Length - 3] + "/";
                WebSiteFiles.Columns.Add("HeadLine");
                WebSiteFiles.Columns.Add("Content");
                WebSiteFiles.Columns.Add("URL");
            }


    another problem

    in the same project

    when i open it on firefox explorer

    the menu hiden behind the fash

    how can i fix it

    it work god in microsoft internet explorer

    and thanks
    What is the error?
    Please copy paste what the error says.

    Thanks

    -Frinny

    Comment

    Working...