|
Many thanks,
end, It works. I have two possibilities.
1º Adding a Timer Object with an Elapsed delegated: When the delegate "change" that belongs to the FileSystemWatcher object is raised up, then I add the "e.fullname" to a global ListArray of String and reset the timer. Then when the timer is elapsed I consult the ListArray Object and work with entries (Names of Excel files). No problems about File Shared. Then do a clean ListArray object. I have not chosen this option. Not optimal.
2º Using an Thread.Sleep (xxx). Much faster and easier. I did not think about it. Many Thanks Luc Pattyn. I have chosen this option.
Thanks and regards
|
|
|
|
|
you're welcome.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Hi there,
I am working on projects which requires scanning data from scanner, format data,store selected data from scanned one to database. Any one with idea?
thanks
|
|
|
|
|
Dambod wrote: Any one with idea?
What is the problem then?
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi there,
I am working on projects which requires scanning data from scanner, format data,store selected data from scanned one to database. Any one with idea? I am looking for idea on how to read data from scanned one
|
|
|
|
|
Repeating the same useless statement does not change the fact the you've asked a VERY general question that isn't really answerable. Without further detail, like what you mean by "data" and how this data is supposed to be formatted, it's pretty impossible to answer your question.
|
|
|
|
|
Start by investigating the software that came with the scanner. Some of it can output into various formats e.g. Word, Excel etc. although I do not, personally, know of one that can do any DB formats.
If that is no joy then there are several 'form-reading' applications. Just google on open source form reader.
That should get you started.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
is that possible to
1. read data scanned based on some criteria,
2. put those data that meets the criteria to database?
3. if so, please some hint
thank u so much
|
|
|
|
|
As I said in my previous post, there is software (known as OCR software) that can scan data into, for example, Excel. If you can get the data into Excel, then it is relatively easy to filter it from there into a database. AFAIK you cannot scan selectively, it's either all or nothing.
As I also said there is a class of application that deals with producing forms that are filled in and then scanned. I believe these applications can use a database.
I gave you a search term for Google, and I suggest that you use that search term, read through the hits that you get until you find something that sounds likely and proceed from there.
There are enough hints in my two posts to give you a start. Try them out.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
You could buy something like TeleForm[^].
You create a template form that has alignment markers on it.
The software looks for the markers in the scanned image and uses them to locate the input fields specified when the template was created.
...cmk
The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack
|
|
|
|
|
Hi!
I am creating an Excel Chart using C#. I have 2 series, and I would like one of them to have a seperate y axis on the right of the chart. Both axes should have different scales.
Excel 2003.
VS 2005.
I have a chart, and two series, but I can't see my second axis. It's like I never had one.
when creating my second series I do this:
elevationSeries.AxisGroup = XlAxisGroup.xlSecondary;
elevationSeries.Values = xlWorkSheet.get_Range ("C2", "C20");
elevationSeries.XValues = xlWorkSheet.getRange ("A2", "A20");
elevationSeries.Name = "Elevation";
Axis yAxis;
yAxis = (Excel.Axis)chartpage.Axes(Excel.XlAxisType.xlValues, Excel.XlAxisGroup.xlSecondary;
yAxis.HasTitle = true;
yAxis.AxisTitle.Text = "Elevation";
Thanks in advance.
|
|
|
|
|
I also encounter the same problem. But I think that the code here,
yAxis = (Excel.Axis)chartpage.Axes(Excel.XlAxisType.xlValues, Excel.XlAxisGroup.xlSecondary;
is only to retrieve the secondary axis unless you already set the secondary axis. Therefore there should be another function to enable the secondary axis. Do you solve the problem yet?
|
|
|
|
|
Hi i have an error in the Deserialize operation can you help me to solve it.
public class Employee
{
int id;
string name;
public int Id
{
get { return id; }
set { id = value; }
}
public string Name
{
get { return name; }
set { name = value; }
}
public void Show()
{
Console.WriteLine("Employee ID is " + Id);
Console.WriteLine("Employee name is " + Name);
}
}
static void Main(string[] args)
{
Employee[] emp = new Employee[3];
emp[0] = new Employee();
emp[0].Id = 10;
emp[0].Name = "x";
emp[1] = new Employee();
emp[1].Id = 20;
emp[1].Name = "y";
emp[2] = new Employee();
emp[2].Id = 30;
emp[2].Name = "x";
FileStream fs = new FileStream("123.txt", FileMode.Create);
XmlSerializer xs = new XmlSerializer(typeof(Employee[]));
xs.Serialize(fs, emp);
fs.Close();
}
static void Main(string[] args)
{
Employee[] emp = new Employee[3];
FileStream fs = new FileStream("123.txt", FileMode.Open);
XmlSerializer[] xs = new XmlSerializer[3];
for (int i = 0; i < emp.Length; i++)
{
xs[i] = new XmlSerializer(typeof(Employee));
emp[i] = new Employee();
emp[i] = (Employee)xs[i].Deserialize(fs);
emp[i].Show();
}
}
|
|
|
|
|
What is the error message ?
Probably you must use [Serializable] over the class Employee
[Serializable]
public class Employee
{
...
}
|
|
|
|
|
I have a run time error in
emp[i] = (Employee)xs[i].Deserialize(fs);
say that "There is an error in XML document (2, 2)."?!
|
|
|
|
|
How do i Delete A and Prt Records from DNS in csharp?
|
|
|
|
|
With difficulty ...
Please reword your question so that it means something.
|
|
|
|
|
i'm trying to manage my dns server i'm have a csharp program that deletes computer from the domain after the have not loged on in 90 day and i wanted to also delete them from DNS so i need to delete A and Prt records for the computer i am removing from Active Directory
|
|
|
|
|
Hi
I have one dropdown contain status information.
Status are
1. Finished
2. Open
3. Progress
Also one date textbox.
I want to set the text box is editable and mandatory when i select the status as finished in the dropdown. Otherwise it should accept null values(not mandatory) and read only.
Can any one help me please. its urgent. It should be in C# or java script
Regards
K7
kesavan
|
|
|
|
|
NK7 wrote: its urgent.
Not to us! Please read the guidelines.
|
|
|
|
|
u can put the validation based on the status code of dropdown while submitting the form using javascript.if the status is finished then put check on text box should not be blank.
rahul
|
|
|
|
|
This is a C# forum. Why would you suggest JavaScript? Unless you have assumed that the OP is writing a Web App, in which case you should point him towards the Web Development forum.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi everybody
I want develop a software which works with database and also program shall be install on the several station on the network and interchange data between them.
I using C# for developing program and SQL server for DB.
Previously for the similar application,I used Microsoft SQL Server Express Edition 2005 for database. Because with small engine you can use it, But sometimes doesn't work in Vista OS.
what is your suggestion about DB tools, I should change my DB tools in the new application or No?
Best Regards,
Reza Shojaee
|
|
|
|
|
Yes, change to SQL Express 2008, rather than 2005. Otherwise, if it works for you and this project, why change?
only two letters away from being an asset
|
|
|
|
|
Reza Shojaee wrote: I used Microsoft SQL Server Express Edition 2005 for database. Because with small engine you can use it, But sometimes doesn't work in Vista OS.
Sometimes it won't work on XP or Windows Server 2003 either. That's usually a configuration-detail.
Did you receive an error message?
I are Troll
|
|
|
|