Set DPI Parameters And Scan Document Programmatically

Oct 21, 2010

I want to programticaly set DPI and allow user to scan document only not allowed to save it also.

View 2 Replies


Similar Messages:

Create Web Application To Scan Document?

May 29, 2010

work on asp.net 08 C#.I would like to develop a web application that scan documents into the following format(pdf,tiff,jpg,gif.etc) .My scanned images/file will be at client computer.

View 4 Replies

C# - Scan Files Programmatically When Uploading Via Mvc?

Nov 17, 2010

We are using HttpPostedFileBase to upload files to our asp.net mvc application. Is there some smart way of analyzing the contents of the file to determine the actual mime type by looking at the actual binary stream?

I want to make sure no .exe files or similar stuff are uploaded, just want to accept a number of files.

Something like a preflight on the file that is uploaded to extract information programmatically and determine the file type.

View 3 Replies

How To Create PDF Document Programmatically From C#

Feb 25, 2010

Does anybody have experience with a 3rd party tool for this? I don't mind if it commercial or open-source.

View 1 Replies

Change The Default Document Order Programmatically In IIS Using C#?

Jan 18, 2010

I have an ASP.NET website application, and there is a home page for my web site. I need to be able to change the default document of my website programmatically (C#) so that I can make another web page take priority above the one that already exists. I would then like to revert back to the previous default document order.

Example :

I have two home pages - Home1.aspx and Home2.aspx. In the IIS default document settings I have added the two pages and made Home1.aspx be the first default document then Home2.aspx the second. I need in some cases to be able to change the order of the two default documents so that Home2.aspx is the first default document then Home1.aspx the second.

How can I do that from my C# code?

View 3 Replies

How To Set Windows Parameters Programmatically

Jun 8, 2010

In C# and MVS2008, how do I do an equivalent of window.open() programatically from within the C# code (so not attaching JavaScript code to a button).

Is it possible to specify settings such as width, height, no scroll-bar, etc.?

Now I can open a new page by using Server.Transfer or Response.Redirect, but I can not seem to specify the new pages width, height, etc.

View 6 Replies

ADO.NET :: Use Parameters With A Programmatically Created SQL Statement?

Dec 6, 2010

I have an internal web search on my website. Previous, it has been used to search by our partnumber only. This was nice and easy

SELECT * FROM View_ProductRange WHERE PartNumber LIKE '%'+ @Search +'%'

I have now built an internal search.

[Code]....

However, I can't use paramaters because the paramaters appear to be 'applied' after the SQL statement has been built, so it would only add the final word the customer searched for due to the paramater taking the final variable at the end of the Foreach Loop. e.g.

[Code]....

Is there 1) a better way to search and 2) a safer option/method/approach.

FYI, at the moment I have

strSearch = strSearch.Replace("'", " ");
strSearch = strSearch.Replace("drop", " ");
strSearch = strSearch.Replace("table", " ");
strSearch = strSearch.Replace("Insert", " ");
strSearch = strSearch.Replace("amend", " ");
strSearch = strSearch.Replace("apend", " ");
strSearch = strSearch.Replace("delete", " ");
strSearch = strSearch.Replace(""", " ");
strSearch = strSearch.Replace("--", " ");
strSearch = strSearch.Replace(""", " ");

but I don't like that (there is a ToLower() method used)!

View 3 Replies

DataSource Controls :: Programmatically Adding Parameters To SQLdatasource In Codebehind Using C#

Apr 1, 2011

I have a page called Page2.aspx and it is called by another page called Page1.aspx and Page1.aspx passes two parameters namely: Name and Category to Page2.aspx. Does anyone know why the following code from Page2.aspx is not working and it keeps giving an error message as follows: " You have declare the parameter @Username".

string Cat1;
string Name1;

[Code]....

View 2 Replies

Msword - Convert Word 2007 Document To Word 2003 Programmatically ?

Apr 15, 2010

any component or library (preferably open source) that would allow me to convert Word 2007 documents to Word 2003 with ASP.NET?

View 3 Replies

DataSource Controls :: Programmatically Setting ODS Select Method And Select Parameters?

Dec 22, 2010

The drop down list is used to determine what search criteria will be used to find an invoice. I tried to set the Select method in the switch statement. I don't understand how to set the Select Method and the select parameters programmatically though . I tried a few different ways but can't make the compiler happy. My ODS is in scope in the code behind. I'm not able to access it's properties though. The BAL resides in a separate project that is a ClassLibrary. I also have a using statement for the ClassLibrary project in the code behind.

give me an example of how to do this?

Mark up:

[Code]....

[Code]....

[Code]....

[Code]....

View 1 Replies

Scan An Image From A Webpage?

Nov 12, 2010

how can i scan an image from a webpage in asp.net. I need a free control or a code to scan an image from a scanner in any user that requests the webpage.

View 1 Replies

Scan The Files For Viruses Automatically?

Jul 3, 2010

We have a file upload feature in one of our websites developed in ASP.NET and C#.NET. We would like to scan the files for viruses automatically before they are being uploaded into our server. We are using AVG server edition on our server. How can we enable this feature.

View 1 Replies

Scan For Files In Folder And Sub Folders?

Feb 19, 2011

write a script in Visual Basic.

i want to be able to scan a folder and its sub directories for all the files that exist in it. the results are then feed into a list box or any similar control

additional it would be great if the results are entered and also its path
eg:
File1 C:folder1folder2file1.exe
File2 C:folder1folder2dd.dll
File3 C:folder1explorer.exe
File4 C:folder1folder2folder3document.docx
File5 C:folder1
eadme.txt

View 2 Replies

Scan PDF File And Return Words?

Sep 28, 2010

I've a problem while using ASP.

My situation is I want to convert every documents' contained words into database and upload those document to server.

For example: MS word, MS Power Point, MS Front Page and PDF files.

Those words needed to store into database and let others to search by content.

View 8 Replies

Want To Use ActiveXControl To Scan Particular Folder On Client Machine?

Feb 22, 2011

I want to use ActiveXControl to scan particular folder on client machine say C:HJReports

I have write simple activeXcontrol using user control in winform but I am not able to use this in aspx page using object tag possibly due to problem in classId property of object tag Here I want help on following aspects

1. How to use already made .net activeXcontrol in asp.net
2. How to make .net activexcontrol

View 1 Replies

Security :: Scan The File For Virus Before Uploading?

Nov 22, 2010

I have a requirement where i need to check the virus of a file when uploading file to server. Actually we don't know what type of files user uploads, he may upload a word doc which has virus. So inorder to protect server i need to write a program which should in rejecting the file which has virus.

View 3 Replies

Antivirus - Run A Virus Scan While Uploading Files?

Dec 23, 2010

I have developed a web based application in ASP.NET and C# where users have the facility to upload files on the server through this application I want the application to Scan the uploaded files for viruses before saving on the server. Same like when we attach files with our email in Yahoo. Any API which can be integrated in ASP.NET application or any other way you can suggest. We can purchase the licensed version of a product which can achieve this.

View 3 Replies

Social Networking :: Hide URL Of Document When Using Google Document Viewer With IFrame

Jan 24, 2014

<iframe src="http://docs.google.com/viewer?url=filename&embedded=true" style="width:600px; height:600px;margin-left:20px;" frameborder="0"></iframe>

I am using above code to show our document online.

But when we inspect element it is showing url of file which we dont't want.

it is possible to hide this url or any other alternate to show our document to user without exposing our physical file path.

View 1 Replies

Scan Files During Uploads With Use Of FileUpload Server Control

Feb 11, 2011

In continuation to my previous research at this link : Security Risks or concerns with the use of FileUpload control of asp.net - how to Scan files during upload, also how to intimate user if file is virus affected and abort the operation. In addition to above, we have McAfee Antivirus installed on our servers. I heard that there is some APIS for this work for Symantac Antivirus but I am not sure about McAfee antivirus.

View 1 Replies

Html - Is There A Tool That Can Scan A Roject And Build A Sitemap

Apr 26, 2010

I'm looking for an automated way to inventory all the links within an asp.net project that I inherited.

View 1 Replies

WCF / ASMX :: How To Pass Xml Document (huge Document) Through WCF RestFul Service

Aug 16, 2010

I have xml document and wanting to pass it through wcf restfull service, i am able to do that by using string format i mean i can pass the xml as string param in the restful service and it worked but now my xml document becomes huge so if i pass it as string then it gives URI long error. any way i can pass the huge xml document through the WCF RESTFul service.

View 1 Replies

Build Web Scanner - Scan Webpage If Content Has Been Changed And Save It

Jan 20, 2011

this web application must scan any webpage and save result if some data has been changed.

it should to search for key words and seek if their values has been modifyed/changed.

i will create this application with asp.net mvc.

what should i use to scan some webpage? if i will insert in my page any url of page which i will to scan, what should happens? are they some robots which looking for it if some content changes?

View 1 Replies

DataSource Controls :: Could Not Continue Scan With NOLOCK Due To Data Movement?

Mar 2, 2010

im facing a terible problem dont know why but when i open a sp ,view , or modify table i am getting this error message Could not continue scan with NOLOCK due to data movement. ,only select queries are running im using sql server 2005 i tried everything starting restarting service and the system ,i have restarted 100 of times but dont why my db is locked and how to solve this problem there is any solution to this problem or should i format my pc

View 1 Replies

Web Forms :: Convert Word Document To PDF Document Using ITextSharp

May 9, 2012

I want when user uploadĀ  a doc file it convert into pdf. How can i do this. I read that itextsharp convert it.

View 1 Replies

Web Forms :: Hiding The Document Name When Launching A PDF Document?

Sep 15, 2010

I am launching a pdf document using either:

1. Response.Redirect("filepath/document.pdf"), or

2. Response.ContentType = "Application/pdf"
Response.WriteFile("filepath/document.pdf")
Response.End()

Both methods successfuly launch the PDF document displaying the document path and title in the title bar. For security reasons I'd like to HIDE the document title. Can someone advice how this can be done? (How can a PDF document be launched without showing the actual document's name)

View 14 Replies







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