webBrowser1->Document->GetElementById("email")->Value = textBox2->Text;

this code an error. help me.

what is the error message?

You're treating everything there as a pointer. They are not all pointers.

error message

1>------ Build started: Project: lesson1, Configuration: Debug Win32 ------
1>  lesson1.cpp
1>c:\documents and settings\onur\belgelerim\visual studio 2010\projects\lesson1\lesson1\Form1.h(502): error C2039: 'Value' : is not a member of 'System::Windows::Forms::HtmlElement'
1>          c:\program files\reference assemblies\microsoft\framework\.netframework\v4.0\system.windows.forms.dll : see declaration of 'System::Windows::Forms::HtmlElement'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Try webBrowser1.Document.GetElementById("email").InnerText

@nullptr;
Thank you! code is running :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.