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 SkipVought 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: *

  1. CosmoGreco

    How can I change the background look of a TexBox control.

    What should I do to use my own customized background look for a TexBox control? I don't want only to change the background color, but set some kind of input mask or have a background picture displayed. When I type in, the text will go over this customized background. Unlike some other...
  2. CosmoGreco

    How to convert an arithmetic string expression to an int result

    Thanks Mingis for your reply. FoxPro can be both - compiled and interpreter. Even if I have a compiled version of my app the above example would work fine in FP. I can indeed generate dynamically code with a compiled FP app at run-time. Your comments are correct. However I did a test using the...
  3. CosmoGreco

    Anyone knows how to do it...

    Thank you Minh Hoa for your answer! I really appreciate and I must apologize my mistake to have posted this question in the C# forum. I meant to post it in the C++ section. Anyways I liked your idea of defining types at run time. It just could work very well. Many languages that have this...
  4. CosmoGreco

    Anyone knows how to do it...

    georgemih, I mean being able to perform a kind of macro substitution so the contents of pszVar is seeing at Run time as the statement int iVar = 10; OK, you say it’s not possible to compile code at run-time perhaps, but it was accomplish before and I just would like to know the mechanisms or...
  5. CosmoGreco

    Anyone knows how to do it...

    This is possible to achieve in C++. I just can’t figure out how to do it: Dynamically generate a line of code stored in a string at run-time. Example: char *pszVar = “int iVar = 10;”; Then, how to make the contents of pszVar come alive like a macro substitution so it will be a line of code...
  6. CosmoGreco

    Anyone knows how to do it...

    This is possible to achieve in C++. I just can’t figure out how to do it: Dynamically generate a line of code stored in a string at run-time. Example: char *pszVar = “int iVar = 10;”; Then, how to make the contents of pszVar come alive like a macro substitution so it will be a line of code...
  7. CosmoGreco

    How to convert an arithmetic string expression to an int result

    Sure it would be fun project! However I just could not sleep well thinking that I would be reinvent the wheel if I write a program for that. So I found this forum and the solution, ready to be picked up and I would like to share it with you...
  8. CosmoGreco

    How to convert an arithmetic string expression to an int result

    I tried casting already and unfortunately it doesn't work the way we want. If I do what you suggested, I will get a undefined result (I’m getting 1243024 instead of 50 for the given example). Thanks anyway for trying to help! Regards, Cosmo
  9. CosmoGreco

    How to convert an arithmetic string expression to an int result

    Thanks Pete for the comments. I was expecting something like you mentioned. However, before wasting time and write my own parser to perform such task, I wanted to make sure I had no other alternative in C++ by getting some opinions from more experienced C++ programmers like yourself. Thanks...
  10. CosmoGreco

    How to convert an arithmetic string expression to an int result

    Hello Dear members of Tek-Tips. It's not long ago since I start devoting my efforts to program application using C/C++. So I am not very familiar with all its capabilities yet. I need to convert an entire arithmetic string expression to a result integer so C++ will calculate the expression for...
  11. CosmoGreco

    Any C/C++ programmer out there also familiar with FoxPro?

    Hello Dear members of Tek-Tips. It's not long ago since I start devoting my efforts to program application using C/C++. So I am not very familiar with all its capabilities yet. I was before more involved with Visual FoxPro programming. I need to find a way to perform a task in C++ that is...
  12. CosmoGreco

    Is it possible to do multi-threading in FoxPro 7.0?

    Dear FoxPro colleagues, I really enjoy programming in FoxPro - since its very first release and before - the times that Dbase II and Clipper were introduced. Visual version 7.0 is great, despite having some bugs to be fixed and it’s my preferred programming tool. I can't help though being a...
  13. CosmoGreco

    IP Adress

    Hi, I just became a member and wanted to register my comments above as so instead a Visitor. Regards, Cosmo

Part and Inventory Search

Back
Top