Autor Beitrag
SAiBOT
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 323
Erhaltene Danke: 6

XP SP2; 7
D7; D2009
BeitragVerfasst: Sa 02.04.05 03:56 
code gerade ein tool was eine forum seite öffnet:,

ausblenden Delphi-Quelltext
1:
Webbrowser.Navigate('http://forum....../posting.php?mode=newtopic&f=8');					


das Formular ausfüllt:,

ausblenden Delphi-Quelltext
1:
2:
Webbrowser.OleObject.document.forms.item(0).elements.item('subject').value := 'News';
Webbrowser.OleObject.document.forms.item(0).elements.item('message').value := 'Bericht...';


so bis hier hin klappts, aber wenn ich es versuche mit:

ausblenden Delphi-Quelltext
1:
Webbrowser.OleObject.document.forms.item(0).submit;					


abzuschicken bin ich wieder am anfang, also leeres Formular.

Warum schickt er den Misst nich ab ?

MfG
-=LE=-
zemy
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 207

Win XP Prof.
D7
BeitragVerfasst: Sa 02.04.05 10:26 
An den Session-Cookie gedacht?

_________________
LifeIsToShortToThinkAboutTheShortness
SAiBOT Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 323
Erhaltene Danke: 6

XP SP2; 7
D7; D2009
BeitragVerfasst: Sa 02.04.05 14:24 
ja also cookie is gespeichert, sonst würde ich das formular garnicht erst sehen!
zemy
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 207

Win XP Prof.
D7
BeitragVerfasst: Sa 02.04.05 17:30 
blind mal 'n Board rausgesucht...
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
subject type text
message type textarea
disable_bbcode type  checkbox
disable_smileys type checkbox
attach_sig type checkbox
notify type checkbox
mode type hidden
t type hidden (?)

Meckert das Borad bestimmt rum, wenn die gesamten werte nicht gesetzt sind... Da mal vuieleicht gucken...

_________________
LifeIsToShortToThinkAboutTheShortness
SAiBOT Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 323
Erhaltene Danke: 6

XP SP2; 7
D7; D2009
BeitragVerfasst: Sa 02.04.05 17:55 
so klappt es:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
   
Webbrowser.Navigate('http://forum....../posting.php?mode=newtopic&f=8');
Webbrowser.OleObject.document.forms.item(0).elements.item('subject').value := 'News';
Webbrowser.OleObject.document.forms.item(0).elements.item('message').value := 'Bericht...';
Webbrowser.OleObject.Document.Forms.item(0).elements.item('post').click;