Witamy na forum PC Format Zapraszamy do REJESTRACJI


Użytkownicy przeglądający ten wątek: 1 gości

[vb] Błędy przy kompilacji - jak je poprawić??

#1
[vb] Błędy przy kompilacji - jak je poprawić??
Witam. Próbowałem skompilować swoją przeglądarkę wersja "betademo1" (oj daleko jeszcze do full beta). Tylko nagle wyerrorowało mi się takie coś:
Kod:
Warning    1    Could not resolve this reference. Could not locate the assembly "Skybound.Gecko". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.    WindowsApplication1
Warning    2    Namespace or type specified in the Imports 'Skybound.Gecko' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    1    9    WindowsApplication1
Error    3    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    6    23    WindowsApplication1
Error    4    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    35    61    WindowsApplication1
Error    5    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    36    86    WindowsApplication1
Error    6    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    37    85    WindowsApplication1
Error    7    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    47    57    WindowsApplication1
Error    8    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    51    57    WindowsApplication1
Error    9    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    55    57    WindowsApplication1
Error    10    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    59    57    WindowsApplication1
Error    11    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    66    57    WindowsApplication1
Error    12    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    70    57    WindowsApplication1
Error    13    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    83    57    WindowsApplication1
Error    14    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    87    57    WindowsApplication1
Error    15    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    91    57    WindowsApplication1
Error    16    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    95    57    WindowsApplication1
Error    17    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    99    57    WindowsApplication1
Error    18    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    103    57    WindowsApplication1
Error    19    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    107    57    WindowsApplication1
Error    20    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    111    57    WindowsApplication1
Error    21    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    115    57    WindowsApplication1
Error    22    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    119    57    WindowsApplication1
Error    23    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    123    57    WindowsApplication1
Error    24    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    127    57    WindowsApplication1
Error    25    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    131    57    WindowsApplication1
Error    26    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    135    57    WindowsApplication1
Error    27    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    139    57    WindowsApplication1
Error    28    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    143    57    WindowsApplication1
Error    29    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    147    57    WindowsApplication1
Error    30    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    151    57    WindowsApplication1
Error    31    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    155    57    WindowsApplication1
Error    32    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    181    68    WindowsApplication1
Error    33    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    182    67    WindowsApplication1
Error    34    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    190    57    WindowsApplication1
Error    35    Type 'GeckoWebBrowser' is not defined.    D:\test przegladara 2009t98754654876854\WindowsApplication1\Form1.vb    193    89    WindowsApplication1

W debugu wszystko jest dobrze. Ale w release wyświetla się powyższe z góry.

A kod wygląda tak:

Kod:
Imports Skybound.Gecko

Public Class Form1

    Dim i As Integer = 1
    Dim Browse As New GeckoWebBrowser
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        TabControl1.TabPages.Add(i, "Karta " & i)
        TabControl1.SelectTab(i - 1)
        Browse.Name = "wb"
        Browse.Dock = DockStyle.Fill
        TabControl1.SelectedTab.Controls.Add(Browse)
        i = i + 1

        If TabControl1.TabCount >= 1 Then
            Button6.Enabled = True
        End If

        If TabControl1.TabCount = 0 Then
            Button6.Enabled = False
        End If
    End Sub

    Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
        TabControl1.TabPages.Add(i, "Page " & i)
        TabControl1.SelectTab(i - 1)
        Browse.Name = "wb"
        Browse.Dock = DockStyle.Fill
        TabControl1.SelectedTab.Controls.Add(Browse)
        i = i + 1
    End Sub

    Private Sub ComboBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ComboBox1.KeyDown
        If e.KeyCode = Keys.Enter Then
            CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate(ComboBox1.Text)
            Form2.ListBox1.Items.Add(CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Url.AbsoluteUri)
            My.Settings.History.Add(CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Url.AbsoluteUri)
        End If
    End Sub

    Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
        TabControl1.TabPages.Remove(TabControl1.SelectedTab)
        i = i - 1
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).GoBack()
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).GoForward()
    End Sub

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Refresh()
    End Sub

    Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Stop()
    End Sub

    Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
    End Sub

    Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://www.google.pl/search?hl=pl&q=" + TextBox1.Text + "&btnG=Google+Search&meta=")
    End Sub

    Private Sub DemotywatoryplToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DemotywatoryplToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://demotywatory.pl")
    End Sub

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Label2.Text = "Godzina: " + TimeString
        Label3.Text = DateString
    End Sub

    Private Sub StatusStrip1_ItemClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolStripItemClickedEventArgs) Handles StatusStrip1.ItemClicked

    End Sub

    Private Sub KwejkToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles KwejkToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://kwejk.pl")
    End Sub

    Private Sub KomixxyToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles KomixxyToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://komixxy.pl")
    End Sub

    Private Sub WyciagamyKarteczkiToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WyciagamyKarteczkiToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://wyciagamykarteczki.pl")
    End Sub

    Private Sub JoeMonsterToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles JoeMonsterToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://joemonster.org")
    End Sub

    Private Sub TVN24ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TVN24ToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://tvn24.pl")
    End Sub

    Private Sub TVPINFOToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TVPINFOToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://tvp.info")
    End Sub

    Private Sub GazetaWyborczaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GazetaWyborczaToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://wyborcza.pl")
    End Sub

    Private Sub WPToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WPToolStripMenuItem1.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://wiadomosci.wp.pl")
    End Sub

    Private Sub GmailToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GmailToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://gmail.com")
    End Sub

    Private Sub WPToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WPToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://wp.pl")
    End Sub

    Private Sub O2ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles O2ToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://o2.pl")
    End Sub

    Private Sub OnetToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OnetToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://onet.pl")
    End Sub

    Private Sub InteriaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles InteriaToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://interia.pl")
    End Sub

    Private Sub FacebookToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FacebookToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://facebook.com")
    End Sub

    Private Sub NaszaKlasaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NaszaKlasaToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://nk.pl")
    End Sub

    Private Sub TwitterToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TwitterToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://twitter.com")
    End Sub

    Private Sub MojaGeneracjaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MojaGeneracjaToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://mojageneracja.pl")
    End Sub

    Private Sub MySpaceToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MySpaceToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://myspace.com")
    End Sub

    Private Sub GronoToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GronoToolStripMenuItem.Click
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate("http://grono.net")
    End Sub

    Private Sub HistoriaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles HistoriaToolStripMenuItem.Click
        Form2.Show()
    End Sub

    Private Sub ZobaczWszystkieToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
        Form3.Show()
    End Sub

    Private Sub Label2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label2.Click

    End Sub

    Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
        If ComboBox1.Text = "wyczysc historie" Then
            My.Settings.History.Clear()
        End If
        If ComboBox1.Text = "wyczysc historie" Then
            Form2.ListBox1.Items.Clear()
        End If
    End Sub

    Private Sub DodajToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DodajToolStripMenuItem.Click
        Dim fav As New ToolStripMenuItem
        fav.Text = CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).DocumentTitle
        fav.Tag = CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Url.ToString
        AddHandler fav.Click, AddressOf fav_click
        UlubioneToolStripMenuItem.DropDownItems.Add(fav)
    End Sub
    Private Sub UlubioneToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles UlubioneToolStripMenuItem.Click

    End Sub
    Private Sub fav_click(ByVal sender As ToolStripMenuItem, ByVal byvale As System.EventArgs)
        CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).Navigate(sender.Tag)
    End Sub
    Private Sub Browse_documentcompleted()
        TabControl1.SelectedTab.Text = (CType(TabControl1.SelectedTab.Controls.Item(0), GeckoWebBrowser).DocumentTitle)
    End Sub
End Class

Wie ktoś jak to poprawić??
Używam kontrolki skybound.gecko
Nieregulaminowy podpis ! Patrz dział Ważne ogłoszenia


ojojoj.... ja tam mam czas zaglądać...

SMFZ - Szef grupy
 System operacyjny: windows_xp_2003 Przeglądarka: firefox
Programy: Polecane / Nowe / Inne




Podobne wątki ([vb] Błędy przy kompilacji - jak je poprawić??)
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
  [C++] Algorytm A-star, Błędy w kodzie ~Anonim 8 8361 12.03.2015, 17:31
Ostatni post: ~Anonim
  Dziwne błędy - Microsoft Visual Studio 2013 Express Dreamer1x6xX 3 4641 28.11.2014, 15:34
Ostatni post: Ajgor
  Assembler - błąd przy kompilacji (pierwszy program) chwm 1 4125 17.11.2014, 22:03
Ostatni post: fanfilmu

Skocz do:


Wybrane wątki ([vb] Błędy przy kompilacji - jak je poprawić??)
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
  problem z programem .bat wiktrom12 4 9038 30.08.2018 08:25
Ostatni post: wiktrom12
  Silnik do gier ZigglerGames 1 7787 23.08.2018 09:03
Ostatni post: Szachista
  Chciałbym zrobić prosty plik exe z jedną funkcją densour 4 8516 09.08.2018 16:24
Ostatni post: Ajgor
  Który język wybrać do stworzenia aplikacji synchronizujące pliki z urządzeniem mobiln Elemental 2 2361 18.07.2018 12:05
Ostatni post: Ajgor
  Pomysł napisania programu ROM FireBytes 3 9169 28.06.2018 16:56
Ostatni post: FireBytes
  [VBA] Tworzenie nowego arkusza z danymi z TextBox'a Pioro 4 9458 19.06.2018 23:24
Ostatni post: broda99
  Potwierdzenie na maila po wysłaniu pliku coci 0 8634 13.06.2018 20:37
Ostatni post: coci
  Pieczętowanie Archiwum Jar - Po co? wanhelsing 3 9241 19.05.2018 20:55
Ostatni post: koneton
  Wyszukiwarka w spawnerze nie reaguje na polskie znaki kazik666 0 9021 16.05.2018 12:04
Ostatni post: kazik666
  BASH symulator silnika dawswi1 3 9511 13.05.2018 10:43
Ostatni post: Szachista
  Autohotkey automatyczny zapis TheProgson 0 9119 07.05.2018 21:27
Ostatni post: TheProgson
  VBA Pobieranie wybranych plików z danymi julietta03 1 9363 04.05.2018 08:25
Ostatni post: broda99
  [VBA] Przenoszenie danych między formularzami Pioro 4 9782 23.04.2018 11:48
Ostatni post: broda99
  Skrypt, który szuka i zamienia armen10 2 9526 23.04.2018 10:04
Ostatni post: armen10
  Liniowa regresja w Pythonie a budowanie modelu Trojan3000 2 9724 16.04.2018 13:26
Ostatni post: Trojan3000