|
|
can anyone show me how to connect to a database using CDatabase class. I'd prefer if you'll use access for simplicity.
Thanks...
---------------------Life is simple, You just complicate things------------------
|
|
|
|
|
See Here[^]
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
|
See here for an example.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
i use CreateService to create a driver service
then CreateService return NULL
i use GetLastError() then return 4 (System cannot open file)
i can create service on 2000 system,but in xp system i can not
what make this error
who can help me?
hi
|
|
|
|
|
zt9788 wrote: i use GetLastError() then return 4 (System cannot open file)
Are you sure it's not ERROR_TOO_MANY_OPEN_FILES ?
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I am writing a fairly simple Windows application that I plan to distribute as freeware. For that reason, I want the application to execute on Windows 95, 98, 2000, and Xp without having to create separate versions. I recently started learning C# on .net 2.0. Can I use C# to write a WinForm application to run on Windows 95, 98, 2000, and XP? I understand that the .net framework is required to run a Windows application that makes use of any DLL in .net, but if the user does not have .net installed, is it possible to package the necessary .net DLL with the application installer?
Thanks!
Raffi
|
|
|
|
|
|
Hi Jun,
I know about the redistributable, but is it possible to reduce the size of the file to include only those DLL's required by the application? The redistributable is 20MB!
Thanks for the info!
Raffi
|
|
|
|
|
Raffi NYC wrote: Can I use C# to write a WinForm application to run on Windows 95...
No, because Windows 95 does not support the .NET Framework.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
OK, let's exclude 95 from the picture for now. What about from 98 and up? Can I still use .net? I want to package .net DLL's with the application, but only the ones that are required by the app. Is this possible? An associate of mine mentioned that SharpDeveloper could be used for this purpose,
Thanks for the info!
Raffi
|
|
|
|
|
I managed to get additional info from another board regarding a package called Salamander.Net. It basically extracts all types on which your application is dependent and packages it into a single exectuable to run on any platform, even if that target machine does not have .net framework installed.
|
|
|
|
|
I'm writing a win32 program that needs to display video coming directly from a USB/IEEE 1394 camera..similar to a webcam type deal. I have never done anything like this before, and find MSDN articles on the subject to be confusing. Anyone with experience in this sort of thing have any suggestions on how to get started or know of anywhere to find good information? Thanks.
-matt
|
|
|
|
|
|
|
|
|
Thank you. But I just want to display text on toolBar
and m_wndTimerBar.SetButtonText( 0, "clock" ); won't show string on the toolBar. Please help.
|
|
|
|
|
I would guess the intention of the poster you responded to was that you could use the same technique used to put a combobox control on the toolbar to put a clock control on it. i.e. Make a clock window then follow the instructions in the article with adjustments to use your clock window instead of the combobox.
Steve
|
|
|
|
|
Thank you, is there a clock control?
|
|
|
|
|
Not that I know of. Making one would be trivial however. You could also do a search of the CodeProject and other sites to see if you can find a free one.
Steve
|
|
|
|
|
|
Most of these look a little big to fit on a toolbar.
Steve
|
|
|
|
|
please can anybody explain how to print text from an edit boxes. only the text, and how can you position that text on the paper wherever you want? tnx!
|
|
|
|