|
i want to connect a scanner with my application so that the image taken from the scanner could be saved in the db in real time .. kindly tell me the controls and classes involved in it
thanks
looking forward from all the gurus of code
|
|
|
|
|
See this article to pull the image from a scanner.
/ravi
Let's put "civil" back into "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
abey oo adee kay bachay ? teray sawaal ka itna aasaan jawab hai kai mein bata nahi sakta.
From a Guru
|
|
|
|
|
how can i get pictures from the database made in access2000 using connection odbc or dao in visual c++6,
looking forward from all the gurus of code
|
|
|
|
|
ab saray sawaloon ka jawab mein ne hi deena hai
Guru
|
|
|
|
|
I've recently had a problem with icons for running processes disappearing from the tray. One Cpian suggested that an error in Windows Explorer may have caused it to restart, and not all icons were restored. So I'm wondering, how would I test the tray once in a while from an app to see if my icon is still there? Any clues?
"What is it?" and he said, "I don't know. Let's kill it." - Ed Gadziemski
|
|
|
|
|
I try to modify icon first, with the same values as the icon was created. When it fails, I know, there is no icon in the tray, so I can add new one. Does it help?
|
|
|
|
|
That's a great idea! Once in a while change something on the icon, and when an error is returned, re-add it. Thanks!
"What is it?" and he said, "I don't know. Let's kill it." - Ed Gadziemski
|
|
|
|
|
Roger Wright wrote:
That's a great idea!
Thanks, it's old one, I needed it for service showing icon in system tray, it was simplest solution how to do it.
|
|
|
|
|
You wouldn't know of any references to it using C++ would you? I've been searching MSDN all afternoon and all they offer is C# and VB junk. All the useful stuff is gone
"What is it?" and he said, "I don't know. Let's kill it." - Ed Gadziemski
|
|
|
|
|
Are you looking for this ?
http://msdn.microsoft.com/library/en-us/shellcc/platform/Shell/reference/functions/shell_notifyicon.asp?frame=true
|
|
|
|
|
Might be, but I'm not sure. I've always considered the bottom center as the taskbat, and the bottom right as the system tray, but the article says,
The taskbar notification area is sometimes erroneously called the "tray."
So which area is this intended to affect?
I think it's a step in the right direction, though
"What is it?" and he said, "I don't know. Let's kill it." - Ed Gadziemski
|
|
|
|
|
Do not worry: taskbar notification == tray == system tray. It's just name. Simply, it's that space left of the clock filled with icons
|
|
|
|
|
Great! Thanks for all the info - very helpful
"What is it?" and he said, "I don't know. Let's kill it." - Ed Gadziemski
|
|
|
|
|
How do you open and check the contents of folders?
-Raffi Why do today what can be put off untill tomorrow?
|
|
|
|
|
Raffi wrote:
How do you open and check the contents of folders?
You mean for search in directory?
CFileFind
Mazy
"The more I search, the more my need
For you,
The more I bless, the more I bleed
For you."The Outlaw Torn-Metallica
|
|
|
|
|
Or the non-MFC solution is FindFirstFile, followed by FindNextFile for each fiel after the first.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
kilowatt wrote:
Or the non-MFC solution is FindFirstFile, followed by FindNextFile for each fiel after the first.
Yes.
Mazy
"The more I search, the more my need
For you,
The more I bless, the more I bleed
For you."The Outlaw Torn-Metallica
|
|
|
|
|
Thanks
-Raffi
Why do today what can be put of until tommorrow?
|
|
|
|
|
Any ideas how to prevent a modeless dialog from staying on top of my app?
I create a modeless dialog as a child of the app and set the extended style of the dialog to include WS_EX_APPWINDOW so that it has it's own icon on the task bar. However, if I switch focus back to the main app the dialog remains on top (though it does have an inactive title bar, etc).
I've tried handling WM_SETFOCUS, WM_KILLFOCUS, WM_WINDOWPOSCHANGING, WM_WINDOWPOSCHANGED and WM_ACTIVATE in either the app the dialog or both, but to no avail. Any ideas?
Derek Lakin.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
Don't make your dialog a child of any one window.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
I've tried calling Create(IDD_MY_DIALOG, NULL) , but this still gives the same result
Any more ideas (or have I gone about it the wrong way)?
Derek Lakin.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
How about Create(IDD_MY_DIALOG, GetDesktopWindow()); ?
--------
A common man's understanding of science. Not a normal common man's of course. A very smart common man's. -- Nish, on Science Writing
|
|
|
|
|
Thanks very much. Problem solved
Derek Lakin.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
I have the compilation-size problem when I compile some sample codes. As an example I get a 40K Exe file for “VS6\Samples\MSDN\TechArt\168” since the original available Exe file is just 7.5KB! (Aligned.exe). I have NOT changed any of the DEFAULT SETTINGS.
also I can’t build a Dll less than 24KB, Win32 App less than 20KB and so on.
I expect to get the same results as other have. I use VC6.0 Enterprise edition with ServicePack5.0, Feb2001 SDK and My OS is Win98.
So, What’s wrong?
Amir.
|
|
|
|