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 merlinv

  1. merlinv

    reading access file with visual c++ MFC

    Below is the code I am attempting to use. It works fine on the development machine - but once I export to another machine - I get an error saying this program has ended abnormally and you should contact the vendor. I am thinking its because the "Provider=Microsoft.Jet.OLEBD.4.0" is not on...
  2. merlinv

    reading access file with visual c++ MFC

    I have a access file that I would like to read in a c++ application. I would like to pass a file name and receive data back from the database. Suggestions? Thanks in advance. Merlin Vilhauer
  3. merlinv

    writing text file on server

    yes the ] is a typo in the real file it is ; I have closed the file at the end of my test and the written file is nowhere to be found. It also does not provide an error. Very frustrating. Any more suggestions? Using the path for reading works correctly. Thanks again. Merlinv
  4. merlinv

    writing text file on server

    I don't understand the following http://us2.php.net/fopen - then what. thanks. Merlinv
  5. merlinv

    writing text file on server

    I would like to write a text file to a server. Can't seem to make it work. $c= "ftp://un:pw@mydomain.com//public_html/sd/test.txt"] $filename = $c; $fp = fopen( $filename, "r" ) or die("Couldn't open $filename"); where un = username and pw = password and sd = subdirectory Seems to open for...
  6. merlinv

    creating background threads in Visual c++ and MFC

    I would like to start a background thread in c++ and MFC. Some examples would be great or website to get examples. Thanks. Merlinv
  7. merlinv

    programming for multiple screens using Visual c++

    I would like to deploy a separate program in the extended window (using multilple screen displays) using MFC and visual c++ An example code would be nice. Thanks Merlinv
  8. merlinv

    Dialog Edit Control

    Using a dialog box with an edit control. When editing - right clicking on edit control box - the add variable is greyed out. Why and if so how do you add variables? Thanks for help. Merlinv
  9. merlinv

    visual studio 2005 c++

    I am trying to do stuff in visual studio 2005 c++. It does not seem to have classwizard. How do you add functions such as onprint, onLButtonDown, etc. Thanks. Merlinv
  10. merlinv

    capturing control keys in edit window

    I am trying to capture the control keys in an edit window. ctrl A, ctrl c etc. Suggestions or code example would be nice. Thanks. Merlin Vilhauer
  11. merlinv

    Using CEdit class

    I have been using the CEdit class to in the form of edit boxes. It does not seem to have the same abilities as typical windows functions. I.E. Ctrl A (mark) Ctrl C (copy) and Ctrl V (paste). Any suggestions or an example program would be useful. Thanks. Merlin Vilhauer
  12. merlinv

    wide screen pixel adjustment

    I have a program that doesn't seem to work well in Wide screen notebooks. I need some help on getting the screen painted and mouse locations that work. On 1024 x 768 it works ok - large pixels it does not seem to work correctly. I could use some examples on how to get the correct programming...
  13. merlinv

    Random number generator - 2

    I would like to use a better random number generator in dealing bridge hands. When I use rand , I don't get uniform selection. It tends to use some numbers more than others. For example - I would like a number returned between 1-52. The max_rand is about 32000+. The number returned is...
  14. merlinv

    Random number generator

    I am trying to deal bridge hands with a random number generator and from what I have read the rand is not random enough Thanks. MerlinV
  15. merlinv

    Random number generator

    Hi, I need a random number generator that is better than rand() The maxnum is not large enough. Any help here would be appreciated. Thanks. MerlinV

Part and Inventory Search

Back
Top