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...
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
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
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...
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
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
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
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
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.