Looking For OMR (Optical Mark Recognition) Component For Detecting Checkboxes

Mar 7, 2010

I need a cheap software component that integrates into .net which can detect the checkboxes in a scanned document, so some sort of OMR component.

Unfortunately I cannot find a component that doesn't require you to purchase an entire suite of software costing many thousands of dollars.

Does anyone know of anything that might be suitable?

View 1 Replies


Similar Messages:

.net - Microsoft Speech Recognition In Web Service?

May 23, 2010

I'm trying to use the System.Speech.Recognition namespace for recognizing speech in a web service. Actually, the WS calls a dll that uses this namespace.The problem is that...I can't. First, I had a Access denied error. After changing the Identity of my application pool to LocalSystem (security break, I know), that disappeared. But a timeout appeared. I receive no error, but no response either.

I did some tests, and, the same code (very simple) that I use for recognizing the text in a WAV returns the answer in around 2 seconds, when integrated in a desktop application, but hangs and does nothing in a web application. I'm not supposed to use System.Speech.Recognition in a web application? Am I supposed to use something else?

View 3 Replies

DataSource Controls :: How To Fail Data Flow Component From Script Component

Aug 3, 2010

I am trying to stop the data flow when certain conditions happen in the script component. Like if a row in the data set has an invalid date, I dont want that dataset to be inserted in the tables or go through OLEDB Destination, rather I want the entire data flow for that dataset to stop and go back to the control flow page.

I have tried mulitple solutions but nothing worked. Conditional Split ends up inserting the correct rows, but I just dont want anyting to be inserted when one row is bad, where as I do want the entire dataset to be inserted if all rows are good.

How can I fail the component when certain conditions happen int eh script component.

View 1 Replies

Web Forms :: Master Page Function Listing Component In Child Page (asp:Localize Component)

May 18, 2010

I would like to know how can I list for every page (child page) selected the number and id of localize component in the current page. I need this to update resources files, a button will be on the master page and when they click on it, they will go to a page which show up every data in the resource file.

View 1 Replies

Forms Data Controls :: There Is Already A Component Named ".." Component Must Have A Unique Name

Feb 10, 2011

i got a problem.. how i can declare template textbox in a datagrid at code behind? i already make a stored procedure and put the update query inside it.. if i declare the textbox inside code behind(.aspx.vb).. there will be an error.. " there is already a component named "txtitem1"component must have a unique name.."

Dim con As New SqlConnection(ConfigurationSettings.AppSettings("ConnectionString1"))
Dim cmd As New SqlCommand
Dim sda As New SqlDataAdapter
cmd.CommandType = CommandType.StoredProcedure
cmd.CommandText = "ETendering3"
cmd.Parameters.Add("@item", SqlDbType.NVarChar).Value = txtitem1.Text
cmd.Parameters.Add("@price", SqlDbType.Decimal).Value = txtprice1.Text
cmd.Parameters.Add("@remark", SqlDbType.NVarChar).Value = txtremark1.Text
cmd.Parameters.Add("@consump", SqlDbType.Decimal).Value = txtconsump1.Text
cmd.Parameters.Add("@value", SqlDbType.Decimal).Value = txtvalue1.Text
cmd.Connection = con
Try
con.Open()
DataGrid12.DataSource = cmd.ExecuteReader()
DataGrid12.DataBind()
Finally
con.Close()
End Try
con.Dispose()
cmd.Dispose()
con = Nothing
cmd = Nothing
_______________________________________________________
.aspx
<Columns>
<asp:BoundColumn DataField="Listing_Id" HeaderText="Listing"></asp:BoundColumn>
<asp:BoundColumn DataField="No" HeaderText="No"></asp:BoundColumn>
<asp:BoundColumn DataField="Item_Category" HeaderText="Category"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="Description">
<ItemTemplate>
<asp:TextBox id=TextBox1 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Item_Description") %>'>
</asp:TextBox>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox id="txtitem1" runat="server"></asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Price" FooterText=" 10/50">
<ItemTemplate>
<asp:TextBox id=TextBox3 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Price") %>'>
</asp:TextBox>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox id="txtprice1" runat="server"></asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Remarks">
<ItemTemplate>
<asp:TextBox id=TextBox2 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Remark") %>'>
</asp:TextBox>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox id="txtremark1" runat="server"></asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Consumption">
<ItemTemplate>
<asp:TextBox runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Consumption") %>'>
</asp:TextBox>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox runat="server" ID="txtconsump1"></asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Value">
<ItemTemplate>
<asp:TextBox runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Value") %>'>
</asp:TextBox>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox runat="server" ID="txtvalue1"></asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
</Columns>

View 38 Replies

Detecting Javascript During Login Of An MVC App

Jan 24, 2011

My LogIn action originally looked like this:

return new RedirectResult(nameValueCollection["ReturnUrl"]);

But, I would like to know whether the client has JavaScript enabled before the home page loads, so I changed it to this:

return View(new LogInViewModel { ReturnUrl = nameValueCollection["ReturnUrl"] });

And send the following view instead of the instant-redirect:

@model Obr.Web.Models.LogInViewModel
@{
Layout = null;
string noJSReturnUrl = Model.ReturnUrl + (Model.ReturnUrl.Contains("?") ? "&" : "?") + "noJS=true";
}
<!doctype html>
<html>
<head>
<title>Loggin in...</title>
<meta http-equiv="REFRESH" content="1;url=@noJSReturnUrl">
<script type="text/javascript">
window.location = "@Model.ReturnUrl";
</script>
</head>
<body>
<noscript>
Loggin in...<br />
<a href="@noJSReturnUrl">Click here if you are not redirected promptly.</a>
</noscript>
</body>
</html>

The idea is that if the user does not have JavaScript enabled, they see a brief loading message, and the home page loads after a second. If JavaScript is enabled, the page reloads instantly. In the future I could even post to the server the dimensions of the viewport and such. Does this look like it would work? If the window.location command takes longer than a second to run, will it be interrupted by the meta refresh, or does it block that refresh? I am hoping the latter, so I don't need to increase the delay for those non-js people.

I figure my new way adds a little extra weight to the payload of the redirect, but it's not an extra round-trip or anything, is it? The redirect happens anyway, does it not? Update: I neglected to mention a very important point. I do not actually have control over the login screen itself, only the page it posts to. This code is part of a product that relies on an external authentication mechanism.

View 2 Replies

C# - Detecting Non Mobile Browsers

Sep 17, 2010

So I'd like to redirect mobile users to a different page. But instead of trying to detect any number of mobile browsers, I'd just like to see if the user is using IE, Firefox, Safari, Chrome, or Opera; all other users go to the mobile site. My biggest problem is detecting regular Safari from mobile Safari.

View 1 Replies

Detecting Web Browsers' Versions?

Dec 19, 2010

i'm programming an application where an action is done if i access with a version equal or higher than other and another action if i access with a lower version; but the problem is that the lines to indicate the versions doesn´t work. The code is the following:

[Code]....

As you can see, an action should be done if the version is the 9.0 or higher and other if it is lower, but these lines doesn't work and only works the detection of the web browsers (no the versions of them, action that doesn't works).

View 2 Replies

Detecting An Expired Session From Php?

Feb 23, 2011

I'm developing an extra section to a web app that's written in asp.net, but in php - it's mostly done (the two parts don't really communicate with each other outside of a database - the integration is mostly just cosmetic.)

The only issue I have is detecting from the php part when the .net session has expired so that it logs the user out and redirects to the login page.

I believe the asp.net application is compiled, but either way I'm not allowed to alter it so I was thinking maybe the best thing to do would be to make a very small/simple aspx page that outputs true or false which I could call using curl from php (and passing the browser's cookies along.)

Would this even be possible? I'm not sure how session security works on asp.net eg whether one .net application can read another's session variables, but if it's anything like php then it'll be possible.

mypage.php --curl--> checksession.aspx --|
| |
<----------- true / false <---------------

So mypage issues a GET (with cookies from browser) to checksession using curl, checksession simply returns a true or false (or something like that) and mypage redirects to the site's login page if that's false.

The authentication for the php side is already sorted out and is separate to this issue.

So really, what I need to know is can I have just a simple .aspx file that does this check, and if so where would I go to to find out how to program such a simple page?

View 3 Replies

Detecting If User Closes The Page?

Jun 7, 2010

Is there a way to detect if the user closes the browser/popup page? I am trying to implement a chat functionality by when the user closes the browser/page, I will update the flag in the database from active to not active. But I cannot seem to find a better way to handle that besides from detecting if the user closes the page.

View 13 Replies

Detecting And Closing Frames Using Javascript

Jul 16, 2010

I'm working on an ASP.NET web application. There's a bill page which has two links to different pdfs of the same bill. When you click on one of the links it takes you to a ViewPDF.aspx page that shows the pdf. There's also an option to view both in a split screen so that you can compare them. When you click on this link it takes you to BillSplit.aspx which has a frameset and two frames that both point to ViewPDF.aspx. This all works perfectly.

The problem is that if an error occurs while pulling up the pdf. The application has an error page that has a few links back into the application. If you use one of these you can go back into the app and continue but now inside the frame. The URL still says BillSplit.aspx but the application is completely unaware of this since frames are HTML elements not asp.net controls.

What I would like to do at this point is detect that you've returned to the application and close the frame you aren't using. Essentially I'd like to redirect you away from BillSplit.aspx and to the page you're actually requesting. I'm pretty sure this would need to be done in Javascript either on the BillSplit page or on the pages that you go to later. So I guess what I'm asking is, is there a way to ensure that the BillSplit.aspx page and it's two frames point only at ViewPDF.aspx?

View 1 Replies

Detecting If Site Is Being Accessed By A Robot?

Feb 15, 2010

I have some geo targeting code whcih I want to behave in a particular way if the site is being spidered by a robot e.g. google etc.

Is there any way to infer this?

View 4 Replies

Localization :: Detecting The Language In A String?

Feb 24, 2011

I recently started using fusioncharts (which is a great charting tool btw) but I releaized that although it renders Right to Left languages correctly, it does not display them from Right to Left, so if I have "Sales Report" in Arabic, it will be displayed "Report Sales" in the chart.

I dont have a problem with this with static text because I can reverse it before I send it to the chart, but with dynamic text that is entered by the user it is a challenge, because the user may enter the details in English or in Arabic, or in both.

So if I can define the character code used in the sentence then my problem will be solved, and the first thing that came to my mind in order to do this is:

- Take one letter from each word in the string and compare it with the Arabic alphabet (instr function).

- If the function returns true then the letter will be arabic and therefore the whole word will be arabic, I'll store this word in a new string

- If the next word is also Arabic I'll add it to the new string else I will skip it and start a new string for the next words to come.

- After I finish searching the string I will reverse the words in the new string and replace them with their parts in the old string then send them to the chart.

View 1 Replies

C# - Detecting New Visitors To Website Without Using Cookies?

Mar 11, 2011

We are looking to create a website that displays information to all new visitors to a site, i.e. welcome,The big problem is that our website is not allowed to use long-lasting cookies (i.e. over 20 minutes). Does anybody know of any way we can determine whether a user has visited the site before or not. As another restriction, we can not add anyform of registration to the system. The application is being created in ASP.Net 3.5.

View 6 Replies

Security :: Detecting Users Don't Log Out Correctly

Sep 4, 2010

I have a web site which uses forms authentication and we have a log out page which will sign out the user and set that they are signed out in the database. This needs to be done as they use concurrent licences. The problem is that users are closing down the browers without logging out, meaning that the database shows them as logged in. I would use javascript onbeforeunload/unload functions to call a webservice, but this is unreliable to actually know if they have closed down the browser. or just hit refresh. An idea i had was to have a web service fired every 20 mins to detect if a user has loaded any pages within 20 mins, if they have not then to set them as logged out.

View 2 Replies

Detecting What Platform Code Is Running On In C#?

Dec 9, 2010

I have C# code I want to use in both a WinForms app and ASP.NET website. The database connection string differs for each though, so I want to be able to find out which platform it's running on and set the connection string appropriately. Is there an easy/recommended way to do this ?

View 3 Replies

Web Forms :: Detecting Content Changes On Websites?

Nov 12, 2010

As per the requirement of my client I would like to create an application which detects content changes on the websites we provide. Like we will have an admin section where we add the websites we want to keep a track of. And on the other side it tell us of any new content on those websites. The websites will be kind of general news website and won't have RSS feeds. I would like to know if there is any way to do something like this. Any ideas are welcome. I would like to know just the logic how to create such a thing.

View 5 Replies

State Management :: Detecting The End Of A Session?

May 5, 2010

I want to detect when a session has expired so I did the following:

1. I added Session("SessionStatus") = "ON" in the Session_Start code.

2. I added Session("SessionStatus") = "OFF" in the Session_Endt code.

I also modified the session "timeout" in the web.config file, "sectionState" section to 2 minutes for testing purposes so I do not have to wait for 20 minutes. I made a small web form in which there are a label and a button; the label displays the value of Session("SessionStatus") when the button is clicked.

I click the button just after running the web form and I get the value of "ON" displayed.
I waited for more than 2 minutes and clicked the button again and I still get the value of "ON".

Isnt't it supposed that the session has expired and the Session_End event is raised changing the value of Session("SessionStatus") = "OFF"?

View 6 Replies

Detecting Which User Is Viewing The Page?

Jul 20, 2010

I wondered if there were any 'tricks of the trade' to try and determine the user looking at a specific page. The server which currently hosts our Intranet is configured to use anonymous authentication so most of the usual methods return the account running IIS. I also have the same issue when trying to read the registry using some VB code.

I did get around this by using some VBScript to read the registry and get the username, but I seem to be unable to use this to determine if a column in a GridView should be visible or not. I have a stand-alone page and wondered if this was possible?

View 1 Replies

C# - Detecting If Referrer Was From A 301 Permanent Redirect?

Jul 8, 2010

I am doing a 301 permanent redirect from an old server to a new server. When the new server's page is hit I want to be able to determine whether the user comes from the old site and then react differently, i.e. instruct user to re-book mark the new page.

View 2 Replies

Javascript - Detecting When There Is A Response On An Iframe?

Jul 20, 2010

I have created an AJAX style file download (using an iframe) and all works well... however, I need to detect when the iframe has received a response... see below:

Javascript:

function download() {
var ifrm = $('#iframedownload')[0];
ifrm.src = '/downloadfile.aspx?fileid=whatever';
ifrm.onreadystatechange = function () { // Checking
if (this.readyState == 'complete')
alert("I would really like this piece to work!");
};
}

C# for downloadfile.aspx:

Response.AddHeader("content-disposition", "attachment; filename="" + zipFileName + """);
Response.AddHeader("Content-Length", respBytes.Length.ToString());
Response.ContentType = "application/octet-stream";
Response.BinaryWrite(respBytes);
Response.End();

View 1 Replies

Web Forms :: Detecting A Mobile Browser?

May 7, 2015

How to check in code behind if the type of device that is accessing the page is mobile?I'm using Request.Browser.IsMobileDevice, but the detection don't work to some mobile devices.

View 1 Replies

Need To Tag/mark Certain Pages?

Feb 4, 2010

I have approximately 5 pages on a website that need to have a special hyperlink show up in an area that is controlled by the master page. All other pages would not get the link. What is a good way to mark these pages so I can add some C# logic to insert the hyerlink when it is a marked page?

View 3 Replies

C# - Mark Row On Gridview By Any Value?

Jan 19, 2011

i have gridview that contain:

Fname|Born
aa |03/05
bb |19/01
cc |03/08
dd |19/01

if today is: 19/01/2011 how to mark in red color the 2 rows that Satisfies the condition ?

View 3 Replies

Redirect - Detecting Requests From Mobile Browsers?

Apr 16, 2010

I have an existing web site and I would like to create a mobile version of it that is more suitable. For instance, the main site uses drop-down menus and we all know those are quite the fail on mobile devices.I would like to redirect to my mobile version (it will be a subdomain of the current site) if I detect a request from a mobile browser. So when they Google something and come to my site, they will automatically see the mobile version (just like Wikipedia).Does ASP.NET provide an easy way of doing this

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved