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!

Search results for query: *

  • Users: tougo
  • Content: Threads
  • Order by date
  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

    ...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...
  3. 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 =...
  4. 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...
  5. 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...
  6. 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!
  7. 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.
  8. 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...
  9. 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
  10. 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
  11. tougo

    show a result to a label

    i come from a c++builder enviroment and i was convinced to try C# so i tried to rewrite a simple old program from c++ to c#. that's what i've done so far..it compiles perfectly but does not work at all!! private void button1_Click(object sender, System.EventArgs e) { double xz =...
  12. tougo

    windows shutdown

    i used these fuctions so as to enable log off /reboot and shutdown through my program but it seems that only log off is fuctioning. why is that? even if i force a shutdown it still just logs off... (windows 2000)..if it has to do with the windows authoring and permissions how can i bypass them...
  13. tougo

    Changing pixel Values

    I know that is to much to ask but i want someone to tell me how can i add values to the pixels of a greyscale Timage for example the to change the color value of a pixel by 3 (45 before 48 after) something like a brightening effect excuse me for my bad english
  14. tougo

    what seems to be the problem?

    i thought of this way to assign some values that are used in the form1(x0y0) in a second form...the programm compiles correctly but this "thing" below does not seem to work! double ua, wa, va, ub,wb,vb, r11, r21, r31, r13, r23, r33, r12, r22, r32, x0, y0, X0, Z0 ,Y0, Y01, Y02, c...
  15. tougo

    access values from file

    i have a *.txt with some values that some equations of my program must access so as to return results how can i access the file and specify at which line of the *.txt is the correct value? any help would be more than welcome
  16. tougo

    how to solve this...

    let's say i have this code: void __fastcall Tx0y0::Button1Click(TObject *Sender) { double dxxz,dxyz,dyxz,dyyz; dxxz = Value2->Text.ToDouble() - Value1->Text.ToDouble(); dxyz = Value3->Text.ToDouble() - Value1->Text.ToDouble(); dyxz = Value5->Text.ToDouble() - Value4->Text.ToDouble(); dyyz =...
  17. tougo

    SaveToStream

    i used in the past and it worked fine TMemoryStream* pms = new TMemoryStream(); ListBox1->Items->SaveToStream(pms); pms->Position = 0; Memo1->Lines->LoadFromStream(pms); delete pms; i Wonder is there a way to SaveToStream several Label captions and later call them to the memo1 with...

Part and Inventory Search

Back
Top