|
Recently, I've heard here a post something like this one:
"We can help you with your code, we can try to correct it. But we'll not give you any code just because you asked for it". In other words - We can't help you, if you do not wish any help.
The topic of getting image from scanner was already discussed here some times. Try to search here or use google.
|
|
|
|
|
I concur with Andrew. If you have code already in another language, then converting it to C# will help you greatly as you will have to understand how it works which will give you a greater understanding of your problem area.
Of course, if you are stuck with converting a section of the code then we are always here to help you get over the bumps and out of the potholes you might find along the road.
My: Blog | Photos | Next SQL Presentation
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
|
|
|
|
|
TWAIN is a pretty in depth subject. There is a C# TWAIN implimentation here on CP, I am pretty sure. If not, perhaps you should write one and offer it here
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Actually i have code of twain in C sharp but it is copy right ......thats the problem.....and also have code of geting image from scanner...in vc and vb when i make a dll file and try to add reerence of it and add it in C#.net its giving invalid com something like this eroor so tell me how to convert it in c sharp ok tc bbaye
|
|
|
|
|
How do you convert it to C# ? One line at a time. Seriously, that's not a question I can answer, it's simply too broad, esp. when I can't see the code in question ( no, please don't send it to me ).
How did you get code that is copyrighted ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
hi
i write a code using directx sdk and visual studion .net 2003 the code run successfully at on machine ,when i copy the solution folder to another pc with directx sdk and .netframework 1.1 the code doesnot comile or run saying that there is "Null Refernce error"
what is the reason for that ?
|
|
|
|
|
How do you compile the solution on the 2nd machine? Still under VS.NET 2003 IDE?
Regards,
Polis
Can you practice what you teach?
|
|
|
|
|
i try to make a program
that read special pixel and return color
tanx & regard
|
|
|
|
|
Can you give some more infor????
|
|
|
|
|
Yes I would have to agree with Fernando. Your description is rather vague. Try and describe your problem and be more specific please. If you think you cannot describe it anymore, then a sample portion of your code would be a good way. At least this is what I think.
Regards,
Polis
Can you practice what you teach?
|
|
|
|
|
What's special about this pixel ? GetPixel will do what you want, assuming you want only a pixel here or there ( otherwise it is slow ). The only bit that's hard is working out which pixels are special.
But then, everyone is special....
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
how are you my friends ?
i have two questions and i hope that there is anyone can help me with that ...
1 - when i deploy my application and install it and open it from the shortcut on my desktop it opens the application but when i press the shortcut again it can open another same program and i then have two same application running but i don't want that i need my application to open one at once ?
2 - iam developing internet application which is small size but i need when i deploy my application and create the installer executable file .. I need that executable file to include only the specific dll files needed to run the application from the whole net framework not all the net framework to be installed on the pc to run it cause it is unfair to develop about 2 mb program and it becomes 27 mb to download to include the whole net framework with it ????? any help with that out please ......
Miss With The Best And Die Like The Rest
|
|
|
|
|
|
dnh wrote:
try to use punctuation (e.g. points and commas) between sentences... it really helps
I totally agree. I remember getting embarrased in Primary 4 (about age 8) for missing out puctuation in a little story I had to write for class. The teacher read my story by first taking a very very big breath, then reading the entire page very fast in one breath without stopping. Everyone was laughing and I was red. She didn't say who wrote the story, but I recognised it as mine. Never again have I missed out punctuation.
[EDIT]
Curious.... I wonder why that was worth a 1-vote???
[/EDIT]
My: Blog | Photos | Next SQL Presentation
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
|
|
|
|
|
Yes. These are the best learning experiences... everytime I feel like an idiot in front of blackboard (and whole class) I make sure next time I'll be perfect :->
Colin Angus Mackay wrote:
about age 8
You are not implying anything about that person, are you?
David
Never forget: "Stay kul and happy" (I.A.)
David's thoughts / dnhsoftware.org / MyHTMLTidy
|
|
|
|
|
dnh wrote:
You are not implying anything about that person
Me?!? Make implications? I think you'll find that you are inferring* things.
I hope this doesn't mess with your head. I'm referring to The Simpsons:
HOMER: What are you inferring?
LISA: I'm not inferring anything. You infer; I imply.
HOMER: Well that's a relief.
After that episode I had to check the dictionary several times over the following couple of weeks every time someone said "infer" or "imply".
My: Blog | Photos | Next SQL Presentation
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
|
|
|
|
|
|
hi,
I have created a GUI .net application and I am creating an object of a class XYZ.In class XYZ i have created a thread for an function.My intention is when we click an button the object of this class is created and creates the thread which I have achievedNow what I am trying to do is once the thread is executed(which atually is playing an audio file)just before getting distroyed it has to call some function in the GUI.
I once again give the architecture it is like this
GUI----->creates object of xyz -------> which has Thread object which starts one function.
Now can any one help me how can I achieve this.
Satish.
|
|
|
|
|
I would like to get database name, table's names...
How to get in oracle
|
|
|
|
|
Hello,
I am new to c# and indeed microsoft .net framework so please be gentle...
I am trying to use a c# service to allow session recording so that an application can start stop and playback sessions as required.
I have been using examples from the web as a base and although the image capture demos work very well and example source builds and runs also, when I use the image capture class within the service I get a blank image. The reason for this is that the source HDC returned is null.
I have been racking my brain cell as to what I have done that is any different than the examples and can not come up with anything.
The question is this... Is there soemthing that needs to be set/configured within a service that is not required within a regular application to allow taking of desktop images from either the desktop or application tree? If so please, what is it?
Many thanks for any advice or help in advance.
Best Wishes
Peter
|
|
|
|
|
I'm assuming your talking about a Windows Service and not a Web Service...
Yes, your service must be tagged "Allow service to interact with desktop". Go into the services control panel, click on your service, get the Properties on it, click on the LogOn tab and make sure that little box is checked.
Services normally run under a seperate desktop, that you can't see, and doesn't really have a rendering surface. So anything you need to do Window- or graphics- wise will return null's for window handles, device contexts, ... which is what is happening in your case.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Many Thanks Dave,
Your help is greatly appreciated and has led to my also
discovering from this site that this attribute can be set in software (see article by Robert H. Davis II - Interacting with Desktop when Installing Windows Service).
Cheers
a very happy bunny - Peter
|
|
|
|
|
i am storing all my documents in database as binary..while retrieving i shuld open them in their respective office documents.And how shuld i open them do i need create document at server or can i create a document at client and open it thier itself? if so how help me out...
for Ex:if i am storing a word document while retrieving it shuld open in microsoft office only...similarly powerpoint,excel,etc...others
help me out how to perform above action in C#?
|
|
|
|
|
i have a some lines of code in the button which is providing a functionality of saving data into database.I like to do the same funtionality(saving data into database),what i have to do.,write the same code in menu item ????
or any shortcut way to complete this task.
|
|
|
|
|
hi,
of course you should have this code only once!
you can call same handler for button (e.g btnSave_Click ) from menu handler (miSave_Click ) as
void miSave_Click(object sender, EventArgs args )
{
btnSave_Click(this, null);
}
or you can have method, say OnSave() with code for saving and both in menu and button hanlder call this function.
David
Never forget: "Stay kul and happy" (I.A.)
David's thoughts / dnhsoftware.org / MyHTMLTidy
|
|
|
|