so basicly what i am trying to do is make a settings form for my basic web browser, if you dont know what i mean im talking about like the internet options menu for internet explorer the feature i am working on is the "delete history and cookies" for example if you goto the internet explorer options there is a section when you first open it that says "Browsing history" and there is a delete button. I am trying to make something like that.
Sorry if you thing i was comparing to internet explorer to much, mine is not a remake of that or anything its just the browser that i use often.
Also even though this has nothing to do with my current project, how could i make a "drawing box" like in microsoft paint there is the "paint box" how could i make one in a visual c++ form?
Ok. So you are trying to make a dialog box (a. k. a. a form). What's the trouble? You explain a lot about what you mean by "form" but you never tell us what the problem is.
What do you mean by "paint box"? Do you mean the drawing surface (a. k. a. canvas) ?
Ok, sorry that is my bad. What I am trying to do is make a settings form for my web browser, but i don't know what code, function, what-ever you wanna call it, to delete the history, which will be written in a .txt or .dat file. The other problem is i don't know how to write the file, I am trying the following:
cannot convert from 'System::String ^' to 'std::basic_string<_Elem,_Traits,_Ax>'
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
Also, Yes i meant a drawing surface and as you can tell i do not know how to put my code in a code box or what-ever
No, i think i didnt clarify this enough. I have written multiple programs that right to a txt file, the problem with this one is that it cannot convert my textbox text from a
'System::String ^' to 'std::basic_string<_Elem,_Traits,_Ax>'
Sorry MrProGamer121. You are programming with C++/CLI. We don't know about this. We only know about regular, unmanaged C++. My advise to you is the same I give to anyone asking here about .Net and C++/CLI: Ask your question in the MSDN Forums. Here we have no CLI experts.