Autor Beitrag
BlackMatrix
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 243
Erhaltene Danke: 1



BeitragVerfasst: Mo 24.05.10 17:59 
Hi.

Ich bin gerade ziemlich ahnungslos wie ich in meinem Firefox Portable einen neuen Tab mit einer URL öffnen kann ohne, dass die Meldung vom Firefox kommt, dass der Prozess schon in Benutzung ist.

Wenn Firefox Portable noch nicht geöffnet ist wird der erste Link auch korrekt geöffnet ohne Fehlermeldung, versuche ich dann aber die nächste URL zu öffnen, kommt die oben genannte Fehlermeldung.

Ich habe nun schon 2 verschiede Dinge probiert:

1.

ausblenden C#-Quelltext
1:
2:
3:
4:
5:
            Process test = new Process();
            test.StartInfo.WorkingDirectory = @"[...]\FirefoxPortable\";
            test.StartInfo.Arguments = string.Format("-new-tab {0}""http://web.de");
            test.StartInfo.FileName = "FirefoxPortable.exe";
            test.Start()


2.

ausblenden C#-Quelltext
1:
                    Process.Start(@"[...]\FirefoxPortable\FirefoxPortable.exe"string.Format("-new-tab {0}""http://web.de"));					


Weiß jemand Rat? Ich öffne auch gerne den Browser von Hand, nur will ich dann, dass er mir die URLs in meinen Tabs öffnet ohne Fehlermeldung.


Moderiert von user profile iconKha: Topic aus ASP.NET und Web verschoben am Mo 24.05.2010 um 18:43
BlackMatrix Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 243
Erhaltene Danke: 1



BeitragVerfasst: Sa 05.06.10 00:45 
Ist nicht mehr wichtig, darf geschlossen werden.