Click here to Skip to main content
16,004,882 members
Home / Discussions / C#
   

C#

 
GeneralRe: style sheet Pin
Guffa30-Jul-05 10:26
Guffa30-Jul-05 10:26 
GeneralRe: style sheet Pin
zapap30-Jul-05 4:38
zapap30-Jul-05 4:38 
GeneralDataGrid Column Headers Pin
zaboboa29-Jul-05 3:26
zaboboa29-Jul-05 3:26 
GeneralRe: DataGrid Column Headers Pin
Alomgir Miah29-Jul-05 4:53
Alomgir Miah29-Jul-05 4:53 
GeneralRe: DataGrid Column Headers Pin
zaboboa29-Jul-05 5:22
zaboboa29-Jul-05 5:22 
GeneralRe: DataGrid Column Headers Pin
Alomgir Miah29-Jul-05 7:50
Alomgir Miah29-Jul-05 7:50 
GeneralRe: DataGrid Column Headers Pin
zaboboa29-Jul-05 8:51
zaboboa29-Jul-05 8:51 
GeneralAbout WebBrowser and save. Pin
Member 201242829-Jul-05 2:43
Member 201242829-Jul-05 2:43 
I have problem about WebBrowser.
When program open webpage http://racing.ustrotting.com/entries.cfm and click button view already.
It's not save webpage after click button view but it's save before click button.
How to do it to save after click button view ?

Best regards

public void savewebpage(AxSHDocVw.AxWebBrowser axWebBrowser1,string strfile)
{
IHTMLDocument2 doc = (IHTMLDocument2) axWebBrowser1.Document;
UCOMIPersistFile pf = (UCOMIPersistFile) doc;
pf.Save(@strfile,true);
}
public void GetMainPage(AxSHDocVw.AxWebBrowser axWebBrowser1,
ref string strfile,string htmlpath)
{
System.Object nullObject = 0;
string str = "";
System.Object nullObjStr = str;
axWebBrowser1.Navigate("http://racing.ustrotting.com/entries.cfm",
ref nullObject, ref nullObjStr,ref nullObjStr, ref nullObjStr);
while (axWebBrowser1.ReadyState != SHDocVw.tagREADYSTATE.READYSTATE_COMPLETE)
{
Application.DoEvents();
}
switch(Task)
{
case 1:
HTMLDocument myDoc = new HTMLDocumentClass();
myDoc = (HTMLDocument) axWebBrowser1.Document;
HTMLInputElement btnView =
(HTMLInputElement) myDoc.all.item("Submit", 0);
btnView.click();
Task++;
break;
case 2:
break;
}
savewebpage(axWebBrowser1,"c:\\myWeb.html");
}

Best regards
tery
GeneralXmlTextReader does not convert &-#-x-0-; (without the dashes) Pin
kafros29-Jul-05 2:25
kafros29-Jul-05 2:25 
Generalrotation matrix Pin
Anonymous29-Jul-05 2:22
Anonymous29-Jul-05 2:22 
GeneralRe: rotation matrix Pin
Guffa29-Jul-05 4:37
Guffa29-Jul-05 4:37 
GeneralControl Loop in Windows Form Pin
Anonymous29-Jul-05 1:54
Anonymous29-Jul-05 1:54 
GeneralRe: Control Loop in Windows Form Pin
jdkulkarni29-Jul-05 2:20
jdkulkarni29-Jul-05 2:20 
Generalerror while compiling the code... Pin
deep729-Jul-05 1:53
deep729-Jul-05 1:53 
GeneralCalling Webservie from AXIS with .NET. HELP ME PLEASE!! Pin
Brunelleschi29-Jul-05 0:37
Brunelleschi29-Jul-05 0:37 
Generalsystem event for sleep to awake Pin
ppp00128-Jul-05 23:54
ppp00128-Jul-05 23:54 
GeneralRe: system event for sleep to awake Pin
leppie29-Jul-05 4:06
leppie29-Jul-05 4:06 
GeneralStrange behavior of NotifyIcon, ContextMenu and EventHandler Pin
User-37793628-Jul-05 22:42
User-37793628-Jul-05 22:42 
GeneralRe: Strange behavior of NotifyIcon, ContextMenu and EventHandler Pin
mav.northwind28-Jul-05 23:45
mav.northwind28-Jul-05 23:45 
GeneralRe: Strange behavior of NotifyIcon, ContextMenu and EventHandler Pin
User-37793628-Jul-05 23:52
User-37793628-Jul-05 23:52 
GeneralNested windows user control in browser Pin
Mirko4628-Jul-05 22:35
Mirko4628-Jul-05 22:35 
GeneralcheckedListBox binding with DataReader. Pin
sea#28-Jul-05 22:34
sea#28-Jul-05 22:34 
GeneralRe: checkedListBox binding with DataReader. Pin
jdkulkarni29-Jul-05 1:10
jdkulkarni29-Jul-05 1:10 
GeneralDeveloping a simpe firewall Pin
tmp028-Jul-05 22:06
tmp028-Jul-05 22:06 
GeneralReadout Summary-Information Pin
Fitud28-Jul-05 21:30
Fitud28-Jul-05 21:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.