Click here to Skip to main content
16,005,181 members
Home / Discussions / Web Development
   

Web Development

 
QuestionTiming metrics through IwebBrowser2 Pin
rana7412-Aug-07 20:51
rana7412-Aug-07 20:51 
QuestionHow to Clear the Numbers.. Pin
Dotnetkanna12-Aug-07 19:45
Dotnetkanna12-Aug-07 19:45 
AnswerRe: How to Clear the Numbers.. Pin
Torsten Mauz13-Aug-07 1:45
Torsten Mauz13-Aug-07 1:45 
QuestionQuotation for we site Pin
Milind Panchal12-Aug-07 18:19
Milind Panchal12-Aug-07 18:19 
AnswerRe: Quotation for we site Pin
Steve Echols12-Aug-07 19:06
Steve Echols12-Aug-07 19:06 
AnswerRe: Quotation for we site Pin
R. Giskard Reventlov12-Aug-07 22:25
R. Giskard Reventlov12-Aug-07 22:25 
QuestionWebPart issue - Getting rid of borders Pin
MrKhal200712-Aug-07 16:30
MrKhal200712-Aug-07 16:30 
Questione_accessdenied Pin
VahagnSC11-Aug-07 22:05
VahagnSC11-Aug-07 22:05 
Hello all!!
I have written a program in c# which use System.Windows.Forms.Webbrowser class.
I need to set id to htmlelement from webbrowser1.document.
I do something like this

webbrowser1.document.GetEelmentsByTagName("A")[i].id="Someid";.

When I load the page from apache2 on my computer it works perfectly.
But when I load it from remote server an exception occurs. This is the Text of exception:
/////////////////////////////////////////////////////
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at System.Windows.Forms.UnsafeNativeMethods.IHTMLWindow2.GetDocument()
at System.Windows.Forms.HtmlWindow.get_Document()
at My_Web.create_elementscollection() in C:\Documents and Settings\Vahagn\My Documents\Visual Studio 2005\Projects\OGAME\OGAME\Class1.cs:line 49
at OGAME.Form1.button5_Click(Object sender, EventArgs e) in C:\Documents and Settings\Vahagn\My Documents\Visual Studio 2005\Projects\OGAME\OGAME\Form1.cs:line 53
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

and bla-bla-bla...
////////////////////////////////////////////////////////////

What's the problem?
I'm beginner in programming. Can anybody help me? PLease...





You can do everything!

Questionjavascripting errors on FF [modified] Pin
JimmyRopes11-Aug-07 6:21
professionalJimmyRopes11-Aug-07 6:21 
AnswerRe: javascripting errors on FF Pin
Guffa11-Aug-07 11:06
Guffa11-Aug-07 11:06 
GeneralRe: javascripting errors on FF Pin
JimmyRopes11-Aug-07 11:15
professionalJimmyRopes11-Aug-07 11:15 
QuestionI want to make SPECIFIC FORM Pin
ankur010111-Aug-07 3:06
ankur010111-Aug-07 3:06 
AnswerRe: I want to make SPECIFIC FORM Pin
Michael Sync12-Aug-07 5:28
Michael Sync12-Aug-07 5:28 
GeneralRe: I want to make SPECIFIC FORM Pin
ankur010113-Aug-07 0:40
ankur010113-Aug-07 0:40 
GeneralRe: I want to make SPECIFIC FORM Pin
Michael Sync13-Aug-07 4:27
Michael Sync13-Aug-07 4:27 
QuestionInserting google map in a .net application Pin
harryforum10-Aug-07 19:46
harryforum10-Aug-07 19:46 
AnswerRe: Inserting google map in a .net application Pin
Michael Sync12-Aug-07 19:25
Michael Sync12-Aug-07 19:25 
Questionasp/ Ms access Pin
gavinleeburn10-Aug-07 3:44
gavinleeburn10-Aug-07 3:44 
AnswerRe: asp/ Ms access Pin
R. Giskard Reventlov10-Aug-07 4:12
R. Giskard Reventlov10-Aug-07 4:12 
GeneralRe: asp/ Ms access Pin
gavinleeburn10-Aug-07 4:19
gavinleeburn10-Aug-07 4:19 
GeneralRe: asp/ Ms access Pin
R. Giskard Reventlov10-Aug-07 4:28
R. Giskard Reventlov10-Aug-07 4:28 
GeneralRe: asp/ Ms access Pin
gavinleeburn10-Aug-07 5:44
gavinleeburn10-Aug-07 5:44 
AnswerRe: asp/ Ms access Pin
andyharman10-Aug-07 4:29
professionalandyharman10-Aug-07 4:29 
AnswerRe: asp/ Ms access Pin
Guffa10-Aug-07 6:07
Guffa10-Aug-07 6:07 
QuestionCSS problems Pin
matjame9-Aug-07 23:29
matjame9-Aug-07 23:29 

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.