Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tougo

  1. tougo

    Retrieving 3d Coordinates

    Does anyone know what function should i use to retrieve 3d coordinates of a point in the direct3d viewport using the mouse. i've tried several thing but the results are totally wrong
  2. tougo

    Managed Direct X

    i already did that and the debugger breaks at vbx = new VertexBuffer(tp, 3, ds, Direct3D::Usage::Dynamic, CustomVertex::TransformedColored::Format, Pool::Default); but i cannot understand what's wrong, save for the Tostring conversion in the previous line that maybe it ruins the GetType but...
  3. tougo

    Managed Direct X

    ...and So i thought why not try Managed DirectX to make something (a simple vertice render with direct 3d) and i wrote the code and it compilated without any errors it throws an exception and i cannot understand the reason! if anyone can help i would be glad here is the code: #using...
  4. tougo

    read pixel values out of ascii file

    I've made a programme that reads and displays images I wanted to be able to save the image in ASCII format, so as to be able to view the value of each pixel so I ended up with this code . . . int x = mImage->get_Width(); int y = mImage->get_Height(); pic1->ClientSize =...
  5. tougo

    determing the length of a string

    how can i determine the length of characters used in a sting? for a example the string "i like tea" has 10 characters (including the blank ones)and after getting the length of the string to make each string 15 character long adding a single character until reaching the desired length...
  6. tougo

    Opinions on Managed C++

    i personally found it a little difficult to get used to managed c++ but once you get the hang of it you really going to like it! c# is a lot similar to managed c++ and has also a touch of visual basic... a nice language to start with
  7. tougo

    format a double

    how can i force a string when converting it to double not to lose it's initial format? (the sting source is a textbox) what do i mean by that. i have a value +3456,9800 and by converting it to double i get a 3456,98 is there a way to keep the following zeros as well as the plus sign? the need of...
  8. tougo

    format text in managed vc++ code

    how can i give certain text format to an output file in vc++ managed extension code? for example line 1 > xx : (value1) , yy : (value2) , zz : (value3) line 2 > xx1 ..... ....and so on.. thank you in advance!
  9. tougo

    how i convert the text in a textbox to a double?

    So i got the text from the textbox and i converted it to double and manipulated it... stupid question i know but how i convert double to text to display it in another textbox? same way?
  10. tougo

    how i convert the text in a textbox to a double?

    i tried the textbox1->text.todouble(); that i was used in using in c++builder but unfornately it doen't work.
  11. tougo

    simple button function

    i used to work on c++builder but now iam trying to learn vc++ so to be able to controll things easier(i think) here is my problem i designed a form with several buttons and i just want a button to display the second form so i have in summary:(only code concering the button) Btn1 = new...
  12. tougo

    make active more than one form

    thank you very much ...i was using show modal (iam not at all c++ expert)so i feel kinda stupid for this :)
  13. tougo

    make active more than one form

    i know about MDI...and i do not want that... what i want is from an SDI application to open from the menu to different forms and to be able to access the both without closing the one or the other
  14. tougo

    make active more than one form

    the subject tells it all i want to be able to access multiple form created by my main form1 without closing the one and opening the other one.. how can this be achieved? thank you in advance
  15. tougo

    make active more than one form

    i posted this here by accident sorry

Part and Inventory Search

Back
Top