MODI Gives BAD LANGUAGE Error For English Documents
Jul 20, 2010
I have been using MODI component of Office 2007 for extracting text from TIFF documents. It was working fine untill today when I executed my code it gave the error of "OCR: Bad Language" I have not made any changes in code so in tif documents.I am scanning English documents.
[Code]...
View 1 Replies
ADVERTISEMENT
Feb 25, 2009
In my current project, i need to build a tool to translate text from some languages to English
Ex.: Chinese To English
Is there any translation SDK available?
View 3 Replies
Aug 2, 2011
I need a fast way to check if a word exists in the English language.
View 2 Replies
Jun 3, 2009
Im trying to create a program that translates english to another language. i have no clue how to begin doing this, i have the program designed and all of the buttons besides the "Translate" button coded...it has 2 radio button to choose which way you are translating, (English to german, or German to english) the input is a textbox, and the output is a label. and its going to be nothing more than a "replace this word with that word" kind of program. Im also going to connect to a database where the list of words will be held.
View 3 Replies
Feb 28, 2011
text-to-speech for English language using Visual Basic 2008
Dim speech speech = CreateObject("sapi.spvoice")
speech.speak(TextBox1.Text)
how this can be used for other languages?
View 3 Replies
Oct 19, 2011
Is there any function (VB.NET or C#) that can transform an English word into its singular or to its plural form? I was thinking of having a database that contains all words in English as well as their plural form but I also think that it is stupid since that will be huge and besides there are rules in English on how to translate a word to its plural form, so why not create a function that does the transformation?
View 4 Replies
Oct 28, 2009
How can I switch from one language keyboard (Greek) to English programmatically? I am programing in Visual Studio 2005 and in Visual Basic. I would like not to have to use sendkeys to do this.
View 8 Replies
Feb 14, 2009
VS 2008 SP1. I cannot get my application to display in English, it always displays in French. I have an application that uses 2 languages. The default language is en-GB and the second language is French. For setting the text of the buttons and labels. I have set the localized property to true and changing the language to fr-FR on the form. So setting the default languages controls by choosing the default the language property, and then switching to French language to set the French controls. So I have the following files:
formMain.resx
formMain.fr-FR.resx
formMain.Designer.vb
formMain.vb
And for message boxes and other strings I have added these 2 resource files
formMain.Strings.resx
formMain.Strings.fr-FR.resx
So if I want to switch to different languages I have changed the cultureInfo as follows:
If My.Settings.Default.Language = "fr-FR" Then
Thread.CurrentThread.CurrentUICulture = New CultureInfo("fr-FR")
Else
Thread.CurrentThread.CurrentUICulture = New CultureInfo("en-GB")
End If
And for string I use the following: MessageBox.Show(formMain_Strings.SameStringName)
I also an address book form that is a child of the formMain. Which I have used the same method. However, the address book works as normal, but the formMain never changes to the language I want. Even though tested by explictly setting the language to en-GB in the form constuctor before the inializeComponent() it will always default to French. Not sure why the address book (child) work correctly, the parent form (formMain) will always display in French, no matter if I have set this to en-GB. I am 100% that my method is correct using what I have show you above. I was thinkng about deleting the formMain and creating a new one. But that would mean doing everything again and would take too long.
View 2 Replies
Apr 30, 2009
I'm facing a major problem with a Deployment Project I created to install one of my applications.I am using the ENGLISH IDE of the Visual Studio 2008 - even though my end users will have German environments. This is why I set the
Localization = German
Property in the Deployment Project's Properties. The UI of the generated setup is German, so all's fine there. However, the setup installs the ENGLISH .Net Framework. I have not found any way around this.The problem are at least twofold:
1. An English Framework on a German PC might cause instabilities.
2. It's a big flaw to see UI inconsistencies (i.e. the UI and Setup of the application is German while the NET Framework shows certain elements in English, e.g. the DisplayName property of cultures)how can I get the project to install the localized .NET Framework?
View 4 Replies
Jun 15, 2012
I want to simulate a way to "force" the ASC function to use the english codepage, even on a system having the "language for non-unicode" different than English.[code]On a system having "language for non-unicode" set as English, currently the result is 140..On a system having "language for non-unicode" set as Slovakian, currently the result is 79..The twist is I CANNOT user AscW (for reasons I cannot disclose)In the particular example above I would need for the code to always return 140.If there's a way to force the whole program to use the english code page I could work with that as well.[code]
View 2 Replies
Feb 2, 2010
I've been asked to get the page counts for documents stored as tif files. What I have now is looping through our third party software to open them and then get the page count. I can't stop the image from flashing and it is very slow. Does anyone know of a way to loop through them quickly and can the page counts (one image can have many documents)?
View 5 Replies
Mar 26, 2010
my teacher gave me this text document call english.dic.... it has 196000 words or maybe more. can anyone know how to do if i want to run the program, i can choose if i want uk english or us english. at the moment i have this button1 and listbox1.and when i press button 1 it would list all the words.
[code....]
this is my code for button1 and listbox1. can i use a radiobutton and select uk english or us english and only those words will be shown at listbox1? or there's no way i can do it cos it depends on the file already?
View 2 Replies
Jul 18, 2012
I'm struggling to think of a reason why I should be getting an 'Access denied' error when trying to save an Excel document opened through a program written in VB 2010 Express. The program is essentially glorified Excel automation. It converts information from hundreds of Excel documents into a few small text files in order to improve operation speed. The software is designed for use by no more than a dozen or so people in the office who are all editing these Excel documents (through the software), and saving changes. They edit a given document by selecting it in a list in the main form, which then changes the document to writeable and opens it for them. A FileSystemWatcher detects changes in the folder containing the Excel documents so that the aforementioned text files can be updated when the user saves the Excel document.
[Code]...
View 19 Replies
Jan 24, 2011
I am not an expert programmer and am just getting familiar with .NET office automation. I have two questions:
1. For me to create word documents from my code on a server, does word have to be installed on the server? My test server does not have word installed. Is there a way to have the code open word on the user's machine in this case?
2. I am trying out some code for creating word documents. It works fine on my machine. However, when I try to run it on server it gives me an error.. "Cannot create ActiveX component." Is this a permissions issue or related to the fact that the server does not have word installed?
View 1 Replies
Oct 17, 2007
I have an applicaiton that I wrote that converts PDFs into TIFFS using the MODI driver and it works fine except for one part. Once I use Adobe to print out the PDF to the (MODI) driver, I get a "Save As" popup. The name of the file is correct and all I need to do is to click save. Problem is that I do not want the "Save As" to appear at all. Is there a way to prevent this window from coming up and just save it to default location? I need to take my application code and make it into a windows service, so having this popup really makes it hard.
View 2 Replies
Feb 14, 2012
Retrieving the COM class factory for component with CLSID {40942A6C-1520-4132-BDF8-DC1F71F547B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).How can I retrieve MODI reference from COM in my application ? I have no dll file of MODI.& I have used the reference file called AxInterop.MODI & Interop.MODIBut I am not able to execute the application.I need this file to retrieve text from images.
public partial class Form1 : Form
{
public Form1e & Btnclick as Button
[code].....
View 2 Replies
Oct 6, 2010
I'm printing HTML files stored on disk to tiff files using the Office MODI driver (set as the default printer). I need to multithread this code, and therefore I need to specify the output filename for the modi driver to use, otherwise I won't know which output file is for which thread. I'm currently printing the html using a webbrowser control on the form, but this not important, I'm happy to use any method that will allow me to specify the output file.
[Code]...
View 1 Replies
May 6, 2009
I have written a VB.NET program to open a word document and generate a .TIF file by printing it using the MODI printer. Usually the documents print fine. But, sometimes it appears as though all of the letters on each line are printed on top of each other which produces little square "blobs".[code]
View 1 Replies
Jun 21, 2009
I'm trying to load a .ani file into a bitmap so it can be displayed on a control or on a form. The following code has been paired down from a short 'Download Sample' which I then edited to point to my .ani file. As indicated in the following code, I can load a .gif file, but I can't load a .ani file.
Here's my code:
Imports System
Imports System.Drawing
[CODE]...
View 3 Replies
Dec 26, 2009
m want to display tif images into my project. then i used a third party software (trial version CPImageViewer) it's working nicely. but problem is it's 3 months trial verison and it display message while running program....'Demo version'. so it hassle for end user. then im trying to use Microsoft Office Document Image Vierwer Library 11.0.
but problem is while i first time i set file name property its display the file but then it doesn't display any file.
note that, i m developing this project using VB6 under W2K3 platform.
my used code is given below:
modivierwer.filename="c:filename.tif"
i searched a day long for useful sample but nothing find useful.
View 1 Replies
Jul 20, 2011
I've a vb.net class library and my c# application is accessing that method. My C# code gives me compile time error that 'Start' is not supported by language, where Start is my method name.
[Code]...
View 1 Replies
Mar 29, 2010
In my winform app in VB.NET I want to use the localization option. But i have a few questions/problems. I'm using a menu strip to select an other language. But it seems that is doesn't change my menustip text to my selected language. It does change my labels, buttons, and textboxes but menu strips don't seem to change when I choose another language. Also is it possible to get those resx files such as MyForm.fr-FR.resx compiled so it isn't an external file outside my app? Or to get those files in an Language folder at the same location of my app, so i don't have all those fr-FR & nl-Nl folders in the same location as my program?
View 4 Replies
Mar 27, 2012
I have a vb.net application successfully processing the text in TIF files, but it is ignoring the checkboxes. Is there anyway to use MODI to process anything within the file that is not text? Such as a mark that a person has made with a pen inside a checkbox? I think I would need to be able to evaluate where the pixels are. This is for a zero budget personal project.
View 1 Replies
Mar 11, 2010
What reasons are there to migrate from vb.net specific language to .net framework language?
Examples:
VB.net
ubound
msgBox
.Net Framework
array.getUpperBound(0)
messageBox
View 4 Replies
Sep 16, 2011
I have made a program in Visual Basic 2010 Express. I then copied the .exe file from "My documents...indebug". (Using Win 7) But when I try to run the program on another computer. (Win XP) It says something like "Missing Framework 4.0.30319". The problem is: I can't install Framework updates on that pc. As it's controlled by the admin, and talkin' to the admin is NOT an option.
So basicly, my question is: Is there anyway I can install Framework updates without admin rights. Or maybe make the program run with the current type of FW (2.0 (I think)).
View 3 Replies
Nov 29, 2010
I have multilingual application that was done in VB2005.We recently had a request to translate the application to Arabic (Egypt), so I have been happily running through all of the forms and changing the layout for Right to Left format.I have 2 forms that are problematic though.On one form, whenever I select Arabic (Egypt), it will automatically switch the selection to Arabic (Saudi Arabia) and try to add an ar-SA resx file.On the other problematic form, if I choose Arabic (Egypt), the IDE will automatically select Chinese (People's Republic of China), then copy the contents of my ar-EG resx file into the zh-CN file, overwriting all of our Chinese translations and layout changes with the Arabic ones.
View 1 Replies
Jul 25, 2011
Presently working a tutorial in visual basic 2010. I have encountered the error " keyword is not valid as an identifier" I have read the definition of an identifier in the beginners section. Although I undertand the definition of an identifier I still am not sure of it when looking at a line of code. The tutorial gives an analogy but does not show examples of identifiers as they would actually apprear in a coding project.
View 3 Replies
Jun 21, 2006
A while ago I wrote a library which helps me simply text operations, serial communications, PLC interaction using OPC Automation, etc... My problem is with the vb6 serial control mscomm32.ocx. In my computer, I can use it with no problem. Everything works fine when testing serial control and my forms can open sucessfully. When I try to run a winform that uses Serial library (mscomm32.ocx) in a computer that doesn't have VB6 installed, I get the error "Common Language Runtime Debugging Services. Application has generated an exception that could not be handled. PRocess id=0xe0 (224). Thread id= 0x6f4 (1780)"
[Code]...
View 15 Replies
Jun 11, 2009
How do I calculate relative time?How do I calculate someone's age in C#? Anyone know how of a function in VB.NET or C# that will take two dates, calculate the difference and output that difference in an english string? For example if I pass the dates '3/10/2009' and '3/25/2009', the function would return the string "15 Days" or if I pass the dates '3/10/2005' and '3/15/2007', the function would return "2 Years, 5 days"
View 3 Replies
Jun 6, 2011
I have been playing around with trying to create an english to pig latin translator. I am not really sure where to start, so right now I am just focusing on splitting a string and search for "A", if the word has "A" add "way" to the end of it. Here is what I figured out from some reasearch (I found most of this from a post on here): Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[Code]...
It works, But I am not sure how to get it so it search the entire string without having to do 1,2,3,ect.
What would be the best way to search the string for certain letters? I was thinking some type of case or loop but I tried a few different things, but could not get it process correctly. Google, gives me alot of different examples, but I can not get most of them working with my code. I only have a semester of VB.net Programming, so I am trying to find the best way to do this, without making it too complicated.
View 18 Replies