Click here to Skip to main content
15,886,258 members
Home / Discussions / C#
   

C#

 
AnswerRe: Currency web services or other methods? Pin
Ravi Bhavnani20-Sep-07 10:33
professionalRavi Bhavnani20-Sep-07 10:33 
GeneralRe: Currency web services or other methods? Pin
udikantz20-Sep-07 12:30
udikantz20-Sep-07 12:30 
GeneralRe: Currency web services or other methods? Pin
Ravi Bhavnani21-Sep-07 12:31
professionalRavi Bhavnani21-Sep-07 12:31 
QuestionSql filling question Pin
sajid.salim.khan20-Sep-07 7:49
sajid.salim.khan20-Sep-07 7:49 
AnswerRe: Sql filling question Pin
Brady Kelly20-Sep-07 8:26
Brady Kelly20-Sep-07 8:26 
GeneralRe: Sql filling question Pin
sajid.salim.khan20-Sep-07 8:33
sajid.salim.khan20-Sep-07 8:33 
GeneralRe: Sql filling question Pin
Dave Kreskowiak20-Sep-07 8:38
mveDave Kreskowiak20-Sep-07 8:38 
QuestionS_OK Does Not Exist... Pin
jagooch20-Sep-07 6:58
jagooch20-Sep-07 6:58 
I am pretty new to C#, but have done OO programming for a long time. According to the docs, the function I am calling ( IWebBrowser2.Refresh() ) includes "S_OK" as one of its return codes. This is a new one to me, as I am used to numerical or boolean return codes, but not this.

Anyway, I attempted (and failed ) at
<br />
<br />
while (webBrowser.Refresh() == S_OK )<br />
{<br />
   System.Threading.Thread.Sleep(refreshInterval * 1000);<br />
<br />
}<br />


But I get the error message "The name 'S_OK' does not exist in the current context" . So, how do I get it to exist?

Thank You.


John Gooch

AnswerRe: S_OK Does Not Exist... Pin
Giorgi Dalakishvili20-Sep-07 7:28
mentorGiorgi Dalakishvili20-Sep-07 7:28 
AnswerRe: S_OK Does Not Exist... Pin
Dave Kreskowiak20-Sep-07 7:30
mveDave Kreskowiak20-Sep-07 7:30 
GeneralRe: S_OK Does Not Exist... Pin
jagooch20-Sep-07 7:50
jagooch20-Sep-07 7:50 
GeneralRe: S_OK Does Not Exist... Pin
Dave Kreskowiak20-Sep-07 8:37
mveDave Kreskowiak20-Sep-07 8:37 
QuestionHow to get a handle to a brush object for GDI Pin
Frank Fajardo20-Sep-07 6:50
Frank Fajardo20-Sep-07 6:50 
AnswerRe: How to get a handle to a brush object for GDI Pin
Guffa20-Sep-07 7:26
Guffa20-Sep-07 7:26 
GeneralRe: How to get a handle to a brush object for GDI [modified] Pin
Frank Fajardo20-Sep-07 13:55
Frank Fajardo20-Sep-07 13:55 
GeneralRe: How to get a handle to a brush object for GDI Pin
Guffa21-Sep-07 9:52
Guffa21-Sep-07 9:52 
GeneralRe: How to get a handle to a brush object for GDI Pin
Frank Fajardo21-Sep-07 20:59
Frank Fajardo21-Sep-07 20:59 
Questiongetting data back the order as it appears in datagridview Pin
gericooper20-Sep-07 6:06
gericooper20-Sep-07 6:06 
AnswerRe: getting data back the order as it appears in datagridview Pin
Dave Kreskowiak20-Sep-07 7:24
mveDave Kreskowiak20-Sep-07 7:24 
GeneralRe: getting data back the order as it appears in datagridview Pin
gericooper20-Sep-07 21:35
gericooper20-Sep-07 21:35 
GeneralRe: getting data back the order as it appears in datagridview Pin
Dave Kreskowiak21-Sep-07 2:06
mveDave Kreskowiak21-Sep-07 2:06 
GeneralRe: getting data back the order as it appears in datagridview Pin
gericooper21-Sep-07 2:10
gericooper21-Sep-07 2:10 
Question[Message Deleted] Pin
Bojja Lakshmi20-Sep-07 4:05
Bojja Lakshmi20-Sep-07 4:05 
AnswerRe: Regarding Window services Pin
Pete O'Hanlon20-Sep-07 4:57
mvePete O'Hanlon20-Sep-07 4:57 
GeneralRe: Regarding Window services Pin
Justin Perez20-Sep-07 4:59
Justin Perez20-Sep-07 4:59 

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.