Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / September 2004

Tip: Looking for answers? Try searching our database.

Reading Combo Boxes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jazzkt - 10 Sep 2004 05:35 GMT
Helpers,

I have an application to which I added a form (Add New Item) with combo box,
a text box and some check boxes.

Inside the OK_Button handler method, I can read the text displayed in the
text and combo boxes after converting the strings from managed to unmanaged.
However, I am unable to obtain those same strings when I call from the
parent application.

I am using public char* to point to these unmanaged strings.  Why am I
having these problems and how can I get around them?

Jazz
Herfried K. Wagner [MVP] - 10 Sep 2004 09:32 GMT
* "Jazzkt" <jazz@msn.com> scripsit:
> I have an application to which I added a form (Add New Item) with combo box,
> a text box and some check boxes.
[quoted text clipped - 6 lines]
> I am using public char* to point to these unmanaged strings.  Why am I
> having these problems and how can I get around them?

What programming language are you using?

How are you reading the strings from the controls?

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.