Speech Indexing
Can Microsoft SAPI or another technology be used to index speech in a wav file based on time so that based on a searched phrase a specific time index into a wav file can be played? ...
Can Microsoft SAPI or another technology be used to index speech in a wav file based on time so that based on a searched phrase a specific time index into a wav file can be played? ...
I can't seem to find a solution to this issue. I'm trying to get my Compact Framework application on Windows Mobile 6 to have the ability to move a file on its local filesystem to another system. Here's the solutions I'm aware of: FTP - Problem with that is most of the APIs are way to expensive to use. HTTP PUT - As far as I have been...
Ok, so I'm new to SharePoint and my knowledge of how proxy servers work is not great, so that doesn't help. I've created a custom webpart that needs to be deployed in various client environments. One of my clients is having trouble connecting to a my web services form the webpart, and my assumption is that it's because he's using a pr...
I see more than a few questions asking how to read metadata from an image, but I haven't seen as many asking how to write metadata. Basically, I need to add one item of metadata ("ImageDescription") to a PNG image I'm generating dynamically (creating a Bitmap object and procedurally generating all the content in it). What would be the ...
Hi I am sending serialized objects via a NetWorkStream to another computer, on the receiving end I would like to deserialize these objects. I will be sending many consecutive objects, when I am receiving data via the NetworkStream, how do I know when the first JSON Document ended in order to have JSON.NET Parse the document from the re...
Just trying to get some opinions on whether or not CommandHandlers can/should communicate with other CommandHandlers. Here is a simple case I just ran into. I have a ChangePasswordCommandHandler who's command looks like the following: public class ChangePasswordCommand : Command { public string Email { get; } public string OldP...
Hello, public void threadMethod() { try { // do something } catch (ThreadInterruptedException e) { Console.WriteLine("[Net]", role, "Thread interrupted."); n.CloseConnection(); } finally { if (isAutenticated == false) { n.CloseConnection(); } Dispatcher.Invoke(add...
I'm developing a Win Service app that hosts a WF service and a WF application on a Windows 7 machine. When I deploy it to a 2008 Server machine, my logs document activity from the Win Service but not from either of my Workflows. It's running under LocalSystem, would that cause my issue or is there another problem hosting WFs on a 2008 Se...
Hi, I have a web application that I want to extend by integrating a CMS. I had a look online and everyone seems to suggest Dotnetnuke and Ubranco. What I don't understand is It is possible to integrate these CMS to an existing website? Do I have to install anything on the server?(I can't it is a shared hosting) Could you suggest an a...
I have a Silverlight 4 user control that calls a WCF service residing within an ASP.NET 4 web application. Anonymous access to the webservice is enabled. clientaccesspolicy.xml is in place and downloads successfully. Navigating to FieldITDbService.svc on the server correctly pulls up the service metadata. However, when I try to view t...
Hello, I am using the T4 templates of SubSonic 3.0 to generate classes and such for me. Well in my database I have a Zipcode table with these columns ZipCode_rid Zipcode (the actual zipcode in number format) State etc Well, when the T4 templates run, instead of having a column like Zipcode.Zipcode I get Zipcode.ZipcodeX. Then, when t...
So, I am a fairly new programmer working towards an undergraduate Comp Sci degree with a very small amount of work experience. In looking for internship-type jobs for my program, I have noticed that what I've heard from several profs -- "working with databases makes up 90% of all modern computer science jobs" -- looks like it is actually...
I got following code executing at a ~1000ms rate. Left alone, it causes a weird "thread leak". Using WindDBG/SoS I am able to see waaay to many ThreadPool Worker threads (some of them are marked as dead) and eventually I will get a AccessVioalation Exception. Can anybody tell me if my BeginInvoke/EndInvoke use is wrong, unnecessary lock ...
Hi I am wondering how to actually secure elmah in my situation. I know you can disable remote connections(what I done) but how about for me I still want to be able to connect to it remotely just not anyone else. Usually if I wanted to look at elmah errors I would just load up the site on local host with my live db in my web.config so I...
Which exception should I use when the program reaches a logic state that I "know" won't happen, and if it does, something is terribly bad. For example: int SomeFunction(int arg) { SomeEnum x = Whatever(arg, somePrivateMember); switch (x) { case SomeEnum.Value1: return SomeFunction1(); case SomeEnum.V...
We are calling ExecuteNonQuery on all files in a certain folder for version scripting and if there is a syntax error an exception is raised. I have been scanning MSDN for a way to get the line number but haven't been able to find anything yet. There is a 'SqlException' class which does contain the line number but the shared base class 'D...
How do I read using Streamreader an embedded resource (txt file)? (and return it as a string?) My current script uses a windows form and texbox that allows the user to find and replace text in a text file that is not embedded. private void button1_Click(object sender, EventArgs e) { StringCollection strValuesToSearch = new StringCo...
I'd like to make sure I'm not reinventing the wheel with my current project. I'm writing a tool that creates a catalog of content for a CAD program, which catalogs files. My Catalog class represents a hierarchical structure of files and folders. Files in the catalog can have additional meta data stored with them, which should not modify...
When creating my application's or library's configuration, I generally prefer using a custom configuration section over the <appSettings> section for the following reasons. Framework serialization to a user-defined configuration object; each config value has an appropriate type Configuration values may be validated against type and val...
Background I have a program that has implemented the two "classic" taxes for Ontario Canada: 5% GST and 8% PST. At the beginning of July (2010) the province switched to one combined HST tax of 13% for the most part. Effects and changes here but those aren't the main point of this question... Question What are best practices and good so...