Buenas,
Estoy desde hace unos dias intentando pelearme con algo de lo mas sencillo, que es practicamente un webbrowser (geckoFX), simplifique el programa a practicamente nada para que sea mas facil preguntar mi ejemplo. El problema es que si lo compilo y ejecuto funciona. Pero si lo añado al registro de windows para que se inicie solo en mi usuario actual o que inicie con todos da igual en cual lo añada es cuando sale el problema.
El programa no tiene mucha cosa es realmente simple:
Imports Skybound.Gecko
Imports System
Imports System.Runtime.InteropServices
Imports Microsoft.VisualBasic
Public Class Form1
Sub New()
' Llamada necesaria para el diseñador.
InitializeComponent()
Xpcom.Initialize(Environment.CurrentDirectory + "\xulrunner")
Skybound.Gecko.GeckoPreferences.Default("nglayout.initialpaint.delay") = 0
Skybound.Gecko.GeckoPreferences.Default("network.http.pipelining") = True
Skybound.Gecko.GeckoPreferences.Default("network.http.pipelining.maxrequests") = 12
Skybound.Gecko.GeckoPreferences.Default("network.http.max-connections-per-server") = 17
Skybound.Gecko.GeckoPreferences.Default("network.http.max-persistent-connections-per-server") = 6
Skybound.Gecko.GeckoPreferences.Default("network.http.pipelining.ssl") = True
Skybound.Gecko.GeckoPreferences.Default("network.http.proxy.pipelining") = True
Skybound.Gecko.GeckoPreferences.Default("content.notify.backoffcount") = 5
Skybound.Gecko.GeckoPreferences.Default("plugin.expose_full_path") = True
Skybound.Gecko.GeckoPreferences.Default("ui.submenuDelay") = 0
Skybound.Gecko.GeckoPreferences.Default("Browser.sessionhistory.max_total_viewers") = 0
Skybound.Gecko.GeckoPreferences.Default("Browser.sessionhistory.max_entries") = 10
Skybound.Gecko.GeckoPreferences.Default("browser.cache.memory.capacity") = 6144
Skybound.Gecko.GeckoPreferences.Default("config.trim_on_minimize") = True
Skybound.Gecko.GeckoPreferences.Default("extensions.blocklist.enabled") = False
Skybound.Gecko.GeckoPreferences.Default("accessibility.typeaheadfind.enablesound") = False
' Agregue cualquier inicialización después de la llamada a InitializeComponent().
End Sub
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
gkFX.Navigate("www.google.es")
End Sub
End Class
y aqui mi otro modulo para el geckoFX:
Imports Skybound.Gecko
Public Class GeckoFX
Inherits GeckoWebBrowser
End Class
A parte de esto es un simple form con un webbrowser, y aqui el error siempre que intenta iniciar con windows:
Problem Event Name: CLR20r3
Problem Signature 01: core.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 52a9c249
Problem Signature 04: core
Problem Signature 05: 1.0.0.0
Problem Signature 06: 52a9c249
Problem Signature 07: d
Problem Signature 08: c6
Problem Signature 09: System.InvalidOperationException
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Gracias a todos!