|
You must localize the problem.
However per your other comment it is probably a network problem.
Your other comment suggest that a query without the image data is a "bit" faster.
A query without the image data would be smaller than one with it. And a network problem would have more problems with more data. Thus that fits.
A database problem with the size that you suggested in another comment seems very unlikely unless you did something very odd with the database. And I can't image how you could have messed up the client side that would cause a slow down.
There are various ways to test network performance which you can google for.
|
|
|
|
|
Ok Guys,
Thanks for all your help and suggestions and your time for replying.
With your suggestions and replies now am planning to change my application to take the image from shared disk using web browser control in my application and database connection would be using web services.
So is this ok?
Thanks again for all your help.
|
|
|
|
|
Hello, Can i get step by step tutorial on how to program fingerprint recognition using c#.
I don't know how to start fingerprint system with c#.
I want to know following.
1. what database is suitable used for fingerprint data saving? (mysql, access or ...)?
2. how to save image in database?
please help me.
thank u so much.
|
|
|
|
|
This depends on how much data you need to store in the database.
If its just a few users and you can store your database on a file server go for Access.
MySql provides you with a free option while you may need to pay for other databases.
Sql Server or Oracle would provide you with many powerful options for enterprise level applications.
The way you store images will be vary slightly from database to database.
|
|
|
|
|
|
Perhaps you will find this very useful:
A Framework in C# for Fingerprint Verification[^]
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore, Dream. Discover.
|
|
|
|
|
|
Search for digitalPersona in google. They are one of the leader in finger print recognition. You can purchase the devices and also you can get their SDK that make your life easy.
The SDK process has two important steps.
1) Registration: Forming single Registration template by taking the same finger input for at-least 4 times (This will be stored in the database as binary object. Kind of gray scale image formed from the registration templates). The template should be registered for a user of the application
2) Verification: Takes the finger input of the user, walk through the registration template in the in database (Actually you should read the template one by one and ask the sdk that verification succeeded) and a match occurs, you know who the user is..
Note: The finger prints are unique, if a match occurs between verification and already registered template, then you know who the user is.
|
|
|
|
|
|
I'm trying to change the background image of a diferent form, both forms that I'm using aren't the parent form, what I'm trying to achieve is that by the click of a button the background image of the other form is changed.
Thanks.
|
|
|
|
|
How you solve this really depends on how the second form was created. If it was created from the first form, a simple solution would be to have a public method on that does what you want, and call it from the first form. If you have a reference to the first form in your second form, add an event to the first form that signifies that the image should change, and subscribe to it from the second form.
Alternatively, you could go all pattern based and use a Mediator, so the message would be raised by the first form and the mediator would notify all interested parties that this was ready to be handled.
|
|
|
|
|
The simplest answer is to provide a reference to Form2 to Form1 (in its constructor or via a property). Then, in an event handler on Form1 you can simply do
form2.BackgroundImage = whatever;
However, providing this sort of direct link to other UI elements quickly results in a horrible mess of dependencies and global state, so if it's not a trivial UI I don't recommend it. Instead, I would guess that the change in image actually represents some state that should be stored in a data model, not the UI (although the UI will reflect it). What does the image mean? That meaning should be a property on a data object and the UI for the second form should be data bound to it.
|
|
|
|
|
I don't have currently my computer on hand, and I didn't try it yet, what I want to do is have the form constantly opened in a background behind 2 forms, and while I transit between the forms there won't be a flash of the desktop by navigating between the forms, the solution I thought of was placing a background that is the same as the two forms.
I tried using once a public event, but always had a error I couldn't fix, so I would thank a lot if someone would paste the code to do so from another form.
Here is a resume of my application:
The main form is started and hidden instantly, it's just a container for my global variables.
The only thing it does is start another form where the user can do a login, to which the user can liberaly change his background during the application, and while doing so the background of the "background form" is changed aswell. That way while I navigate between the fullscreen-forms I won't see the desktop. (a slight flash of it).
If there is some way to solve this in a better way I'll be grateful of any feedback I can get.
|
|
|
|
|
Yeah using the background image is a big hack here and it should be avoidable.
I don't actually see why you want multiple forms at all here. If they are designed to be full screen then you can only see one at a time, so why not use Panels on a single form, and switch visibility when you change state?
|
|
|
|
|
Hello everybody,
I am a student currently working on a project that requires me to take a video as an input, separate all the frames and store them as images and after doing some operations on those images, they need to be recombined as a video and stored in localdisk. I have been searching for this, and found lot of third party tools even. But, after creating this project, I have to hand over an exe file to my client. If he installs my software in his system, this should do the work as I said above. As I found lot of answers about ffmpeg, splicer, vlc,.. Do they work after delivering exe file to client? Is there any way I can do the above mentioned process? Im working in C#. If this all ends with code in c#, that looks great for me. Please help.
Thanks in advance
-Krishna
|
|
|
|
|
Is anyone familiar with an EDI library called RDPCrystal EDI Library. It looks good, but before I buy, I just wanted to confirm.
Thanks in adanced.
Relativity
|
|
|
|
|
Is there not a trial that you could use before buying?
[edit] from googling their site I can see that there is a 30 day trial that you could use[/edit]
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
Thanks for the answer. Yes I have it and it does fit my needs. I was just checking if anyone had used it. I know it's popular but was just wondering if you guys used it and what your thoughts were.
Relativity
|
|
|
|
|
suppose I have the following code
class Program
{
static void Main(string[] args)
{
if( args.Lenght==0){
System.Console.WriteLine("Hello, World!");
}
else
{System.Console.WriteLine("Bye Bye, World!");}
}
}
Using reflection I need to call "Hello, Word!", I try this:
System.Reflection.Assembly newAssembly = System.Reflection.Assembly.LoadFrom(@"C:\AppDomains.exe");
newAssembly.EntryPoint.Invoke(null, new string[] { null });
But Bye Bye appears...I should look for a solution without changing my Program class of course.
Any idea?
Thanks
|
|
|
|
|
Mm.. let see...
What is the size of this array?
TheGermoz wrote: new string[] { null }
1 I shall say!!
You can try new string[] {} or new string[0] instead...
My programming get away... The Blog...
Taking over the world since 1371!
|
|
|
|
|
It returns "parameter count mismatch", isn't it?
|
|
|
|
|
of course it will say "bye bye". Aren't you passing in a array of length 1, null being the first member of the string array?
Relativity
|
|
|
|
|
yes do you know how to show Hello Word without changing the program class?
|
|
|
|
|
|
I works for all class, It is the matter to let know I'm using a method where parameter is needed, but it should be zero length.
The question is do you know how to do it without workaround?
The answer do not use it, it sound like I don't know how to do it.
The question is about the use of reflection
modified 21-Jan-13 0:50am.
|
|
|
|