Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
V

VahagnSC

@VahagnSC
About
Posts
7
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • E_Accessdenied
    V VahagnSC

    It doesn't help. The same problem appears again. When I run program in debug mode (by pressing F5) debbuger says that exception throws from mscorlib.dll. May be this will help you to help me?

    .NET (Core and Framework) csharp css visual-studio sysadmin help

  • E_Accessdenied
    V VahagnSC

    Hello all!! I have written a program in c# which use System.Windows.Forms.Webbrowser class. I do something like this: System.Windows.Forms.HtmlElementCollection refcol= webbrowser1.document.window.Frames[0].Frames[0].GetEelmentsByTagName("A"); 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... //////////////////////////////////////////////////////////// I think the problem is in secutity level. Do you know how to grant require permissions to my application? Or, may be the problem is other.... It has to be some way to solve this problem. I am administrator and I have to be able to allow my program to do anything it wants. I'm beginner in programming, so I ask to use as less therms as you can. Thanks in advance.

    You can do everything!

    .NET (Core and Framework) csharp css visual-studio sysadmin help

  • e_accessdenied
    V VahagnSC

    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!

    Web Development csharp help visual-studio sysadmin question

  • How submit form in C#.
    V VahagnSC

    Ok!!! I have done webbrowser1.document.forms[0].RaiseEvent("onsubmit") and nothing happened!!! Why?? Or may be this way mshtml.HtmlDocument doc; doc = (mshtml.HtmlDocument)webbrowser1.document.domdocument; doc.InvokeMember("function_invokes_when_form_submited"); abd nothing happened again!!??? Why????

    Web Development csharp tutorial question

  • How submit form in C#.
    V VahagnSC

    Hello everybody!!!! I can find requisite form in my webbrowser.document. Does anybody know how to submit that? I can invoke method click of submit button, but I hope that mor proffesional way exists. Please anybody answer me!!!!

    Web Development csharp tutorial question

  • How to submit form?
    V VahagnSC

    Hello everybody!!!! I can find requisite form in my webbrowser.document. Does anybody know how to submit that? Please anybody answer me!!!!

    C# tutorial question

  • How can I access an html element in frame.
    V VahagnSC

    Hello everybody!!!! I have a page which have the following form: ... ... I want to access an element from "mainframe" using an object of System.Windows.Forms.WebBrowser class. In contrast to JavaScript the property Webbrowser1.document doesn't have collection "frames". Please anybody answer me!!!!

    C# javascript html question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups