|
So, you're asking a question about how to write this project using Java, in a development forum that has nothing to do with Java??
You may want to find a Java-specific forum, and when you re-ask this question, you might want to spell out what you mean by "ivr".
|
|
|
|
|
I've an application that does FTP uploads asynchronously. Its target is a unix machine. This machine is also a Predictive Dialing System (Ayaya). After uploading the file to the FTP we have to download that file into the PDS. This is a normal process we do. Earlier we used a different application (CuteFTP) to do the uploads. The uploads happened smoothly then. But the uploading process did not block the other (downloading) process I've mentioned. So that resulted in the files getting downloaded in spite of the uploading process still being active.
Now we have a .net application to replace CuteFTP. I don't know about the internal details of how the FtpWebRequest object works however I've observed that the uploading process "blocks" the downloading process. If it blocks for too long and error is reported in the PDS telnet console too. In a way this is good behaviour.
But sometimes in spite of the application reporting a complete 100% upload I am not able to do the download. The downloading process is blocked. I wonder if I am doing something wrong! Are there any properties I must set for the FtpWebRequest object while to upload a file to a unix machine in order to ensure that "downloading" is reliable from the unix machine (PDS).
|
|
|
|
|
I use vc# 2005 express edition. I published my project to a unc share. There you can find a setup.exe, and other related files. From another machine which has access to the share I run the setup.exe.
Just want to know what happens after this point. Does the exe get copied to target system? When I do the setup I have a shortcut (or a .appref-ms) placed in my start menu. When this is clicked it checks for a new version of exe, and the exe executes.
Does the assembly run off the UNC share or is the exe copied to the local machine and executed? What is actually happening?
|
|
|
|
|
It's no different than if you launched the setup.exe from a CD drive. The app gets installed localy on the machine and is run from there. Unless, of course, you have built an installation that can do administrative or server installs (rare)...
deostroll wrote: Does the assembly run off the UNC share or is the exe copied to the local machine and executed?
The .exe is running from the local machine. If your using ClickOnce to deploy an app, the same thing happens. Everything is just downloaded and installed at launch time. If there are updates to an app, those are copied down and installed locally. Nothing runs from the server...
|
|
|
|
|
deostroll wrote: .appref-ms
Sounds like your doing ClickOnce[^] deployment.
Basically click once installs the assemblies somewhere under C:\Documents and Settings\username\Local Settings\Apps\. When the .appref-ms file is run, first (if you have specified the appropriate options) it will check for and perform any updates to the assemblies. Once the updates have been downloaded from the network and installed, it is all run from the hard drive. You don't need a network connection to run it.
Click once overview[^]
Simon
|
|
|
|
|
Hi everybody,
I have an application installed.
But whenever i try to run this application, it gives me an error stating : .net framework initialization error: Unable to find the version of runtime to run this appication.
Even few other application are throwing this Error.
I am extremely frustrated with this error.
just day before it was working fine and suddenly now am getting this error.
Can anyone help me out with this error.
Thanks in Advance!!
Aspiring Techie,
Vishnu Nath
|
|
|
|
|
You don't have the correct version of the .NET Framework installed. Basically, it sounds like you're trying to run a .NET 3.x app on a machine with only .NET 1.0 or 1.1, or 2.0 installed.
Vishnu Nath wrote: just day before it was working fine and suddenly now am getting this error.
Reinstall the correct .NET Frameworks...
|
|
|
|
|
I have installed .Net Framework 2.0 once and repaired it Twice.
My application runs on .Net Framework 2.0
No question of using .net framework 3.5 or 3.0.
Since i have developed it in VS2005 in .net Framework 2.0.
I packaged my application and deployed it.
After using my application for several days, all of sudden it started throwing error ".NET Framework Initialization Error : Unable to fine the version of runtime to run this application".
Apart from my application also few other apps depending on framework 2.0 behaved similarly.
I tried repairing my framework twice and then reinstalling it once, but the problem seems to persist.
Aspiring Techie,
Vishnu Nath
|
|
|
|
|
Well then, something screwed up the framework to the point where repairing the installation won't fix it. Google for ".net framework 2.0 repair" you'll come up with a few procedures that might fix it. Otherwise, the only other option is to blow away the machine and rebuild it.
|
|
|
|
|
.NET Framework Initialization Error : Unable to fine the version of runtime to run this application
|
|
|
|
|
.NET Framework Initialization Error : Unable to fine the version of runtime to run this application
Sender: sakthivelcbe
|
|
|
|
|
I have installed .Net Framework 2.0 once and repaired it Twice.
My application runs on .Net Framework 2.0
No question of using .net framework 3.5 or 3.0.
Since i have developed it in VS2005 in .net Framework 2.0.
I packaged my application and deployed it.
After using my application for several days, all of sudden it started throwing error ".NET Framework Initialization Error : Unable to fine the version of runtime to run this application".
Apart from my application also few other apps depending on framework 2.0 behaved similarly.
I tried repairing my framework twice and then reinstalling it once, but the problem seems to persist.
sakthivel developer
|
|
|
|
|
I have myself encountered this problem a couple of times now, not on any of my systems though. Unfortunately the problem had surfaced on systems of my clients running my software.
I've tried every trick known to me and suggested by very well-intending helpful folks. The myraid of things have tried to fix the error start from repairing the framework, uninstalling and then reinstalling the framework to adding the service pack patches (SP1, SP2). Nonetheless the error persist.
Once, I installed dotnetfx 3.5 and the problem went again only to surface days later. I'm begining to think its some sort of virus attach on the framework or something. I've checked msdn and can't find any different answers from those I've received from many, different forum.
This is a very serious problem for the only way the problem really goes away is by formating the system and reinstalling everything over again. My clients patience is wearing thin. Besides I can't ask them not to go on the internet with their system nor use a flash on the system.
Please the dot net MVP's should take a serious look at this. I've waited several months hoping the solution we'd be posted someday on the forum. Nah! Sadly my app is begining to get the reputation of crashing once the Iternet is accessed! HOW TRUE?
|
|
|
|
|
Hi,
Here requirement is we have to develop add-on to internet explorer and mozilla firebox.
If we develop in dotnet it will not work with out having Dotnet frame work here all users no need to install framework. Is there any way to develop a toolbar in dotnet,It will work with out having dotnet framework.
Any ideas please share here.
Thanks
-Pavani
|
|
|
|
|
pavanip wrote: develop add-on to internet explorer and mozilla firebox.
Two different interfaces. Not exactly a neat solution, but doable...
pavanip wrote: If we develop in dotnet it will not work with out having Dotnet frame work
True.
pavanip wrote: all users no need to install framework
They have to install the .NET Framework in order to run managed code (C#, VB.NET, C++/CLI, ...). There are utilities out there that will compile the app down to native code and include the .NET Framework, but there are no free ones and they cost at least $1,000 to get.
pavanip wrote: Is there any way to develop a toolbar in dotnet,It will work with out having dotnet framework.
Without said utility, no.
|
|
|
|
|
I want to grab a portion of the screen with just text (already accomplished) and save it as a bitonal tiff images and then image enhance that file so that OCR programs can effectively convert it to text. Is there a surefire method using GDI+ that will give me a great looking image that a OCR program can sucessfully read? By great looking I mean where the text is readable and not blurry.
Right now, I'm creating a 600x400 image canvas and pasting the text I grabed from the desktop onto that image. The reason why the image canvas (white space) is so big is that I'm concerned that some OCR engines won't read really small images. However, most OCR programs return garbled text even if the text on the image is pixel perfect. Why is this? Is there something wrong with the resolution, DPI, quality of the image? For example, I have an image with the text "Color.White" centered in the middle in 10 font size. When I OCR it, it reads "C0l0t.Uhic&"
I also ned to know how to save a GDI+ image as a bitonal tiff.
Also, does anyone reccommend a good OCR engine I can use with the .NET framework?
|
|
|
|
|
The OCR library you're using is making the mistakes. It's probably got nothing to do with the image itself, but the font used in the image and the quality of the OCR software.
As for TIFF support in GDI+, I'd recommend using a third party library to do the image manipulation. TIFF support is a bit spotty in GDI+ and it doesn't have a suite of functions for cleaning up images.
|
|
|
|
|
Hi,
The limited experience I have with OCR told me you need 16 pt or larger to get reasonable results.
At 10pt each characters is only a few pixels wide and high, insufficient for OCR to work properly.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
modified on Wednesday, February 11, 2009 6:14 PM
|
|
|
|
|
How are you converting it to a bitonal representation? This is an information loss and thus probably an error source.
|
|
|
|
|
Trying to read freshly-generated textual information off a screen tends to be a different problem than reading a scanned document; programs that are designed for one problem may not be optimal for the other. Programs that are seeking to read information off the screen generally have to cope with a lower-resolution version of characters than programs which are dealing with a scanned page, but in many cases have the huge advantage that the letter forms on screen will often be much more consistent than those in a scan. This allowed for much more efficient operation than would otherwise be possible. Even the original IBM PC could read text off the low-resolution graphics screen; indeed, that's how the BASIC interpreter worked in graphics mode. The "Insert" key was a bit sluggish in graphics mode, but that's because each character had to be read off the screen and rewritten one space over. Of course, most applications don't use monospaced text aligned on byte boundaries, but modern PC's don't have to run at 4.77MHz (4*chroma/3).
|
|
|
|
|
hlo everyone..
how can a tune sung by a user (humming) be compared with the songs in the database & produce similar results??
since the pitch of man & woman varies widely, how can the results can be made accurate?
|
|
|
|
|
I would have used Artficial Neural Nettworks for a task like that. If you don't wanna code it from scratch you can use a library like AForge.
|
|
|
|
|
I give up - How do I get the caller host from a WCF context when the service is hosted as a ServiceHost running as an NT Service.
The best I can come up with is:
string host;
if (Demon.IsDemon) {
//Thought this might do the trick - but doesn't
OperationContext oc = OperationContext.Current;
host = oc.RequestContext.RequestMessage.Headers.From.Uri.Host;
} else {
//This works in IIS
host = HttpContext.Current.Request.UserHostName;
}
I have searched for hours and just can't find the solution - Is it really crazy to want to know the host that is calling my service?
There are 10 kinds of people that understand binary, those that do and those that don't...
|
|
|
|
|
Okay, finally found the answer here... thanks Phil
http://blogs.msdn.com/phenning/archive/2007/08/08/remoteendpointmessageproperty-in-wcf-net-3-5.aspx[^]
It seems this was an after thought in WCF, but it is imho essential to have the ability to know who is calling my public methods, and how - even if it is just for simple logging or debugging.
I know the request may have been proxied accross the world, and that the physical 'sender' may not be reachable, and that the underlaying protocol may not be 'whatever', but I will 'always' want to access this kind of information.
It is simple really, someone calls me and I give them an answer - but only if I can see their number in the display. Maybe I just want to call them back later.
So to simply sum up what I wanted this for:
public void Subscribe(string MyCallbackProtocol, int MyCallbackPort, string MyCallbackInterfaceName){
string YourAddress = (I want to determine this! I want to call you back later.);
}
There are 10 kinds of people that understand binary, those that do and those that don't...
|
|
|
|
|
Hi,
I have a WebService-WS, WebApp-WA and DTOproject-DTO. I made a DTO, SZ, serializable and added it as reference to WS and WA. When I call webmethod WS.oneWS.method() it returns an array of WS.SZ where I need DTO.SZ. Am I missing something here apart from making SZ serializable? Please help me.
Thanks in advance.
|
|
|
|