|
Thanks my friend but I couldn't use it
I want to set the audio input for a Inproc engine and please help me ...
It's an emergency!
|
|
|
|
|
How can I use "ISpTranscript" to train the speech recognition engine in C# for a word by a wav file?
I have a code that shows the use of "ISpTranscript" but it's for c++ programmers , can you convert it to C# code?
HRESULT hr = S_OK;
// Bind a stream to an existing wavefile
hr = SPBindToFile( FILENAME, SPFM_READ_ONLY, &cpStream);
// Check hr
hr = cpStream.QueryInterface(&cpTranscript);
// Check hr
PWCHAR pwszTranscript;
hr = cpTranscript->GetTranscript(&pwszTranscript);
// Check hr
SomeOne said :
You should perhaps do some reading on COM interop. All you need to do is add a reference to the COM object and you'll be able to create instances of the class and call it's methods.
thanks
|
|
|
|
|
faslesabz wrote: You should perhaps do some reading on COM interop.
Then do it!
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Yes I know I've searched a lot but I didn't find any thing useful,I don't know what to read!
please give a link to read and learn
thanks my friend
|
|
|
|
|
If you can't find anything here[^] useful, or you don't understand, then perhaps you have chosen the wrong technology, or career.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
What is this?
|
|
|
|
|
Hi,
i want to write a script which can run my dot net exe at regular interval, without manual intervention. Please help me as I am very new to this kind of work. Is it possible to write such a program in dot net itself?
I am using the following:
Platform: Windows XP
framework: .net 2005,
language: C#
back end - Sql Server 2005.
Thanks in Advance for your help!!
With Regards
Puneet
|
|
|
|
|
Why write a script? Windows XP has a perfectly good task scheduler. Haven't got any XP machines around anymore, but you should be able to find it somewhere in administrative tools or the control panel.
|
|
|
|
|
Puneet Bhatnagar wrote: i want to write a script which can run my dot net exe at regular interval, without manual intervention
As the other responder suggested, Use Task Scheduler to run it every particular interval of time.
Start-> Programs-> Accessories-> System Tools-> Scheduled Tasks.
Puneet Bhatnagar wrote: Is it possible to write such a program in dot net itself?
You need to develop a windows service to do that. (Now that you have written the code, it won't take much time to develop the windows service application).
More information: Here[^]! Or search Google/Bing for "Windows Service", there are lots of articles.
..Go Green..
|
|
|
|
|
following is my API
public unsafe static extern int SAP_GetDeviceList(int SAPIdentifier,
ref uint DeviceCount,
out sSAPP_DiscoveredDeviceInfo_t[] rgDiscoveredDevs
)
sSAPP_DiscoveredDeviceInfo_t is a structure
how do i call this api?? how should i declare rgDiscoveredDevs this varible and of wht type so that i can call above API?
iResult = SAP_GetDeviceList(SAPId, ref nDevCount, ref rgDiscoveredDevs);
above API in C
SAPAPI int32_t SAP_GetDeviceList( int32_t SAPIdentifier,
uint32_t * DeviceCount ,
sSAPP_DiscoveredDeviceInfo_t rgDiscoveredDevs[]
)
|
|
|
|
|
i can't find msdn for visual studio 2005.
Is there anyone who know link?
and i have question more.
i have msdn for 2008. so is it possible to run in visual studio2005?
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
Do you mean this[^]?
It's time for a new signature.
|
|
|
|
|
If you have Visual Studio standard or professional, this should be on your DVD. If you have MSDN (any subscription), you can download it from there. If you have a stolen copy, you should steal it from the same place you stole your Visual Studio.
If you have an express version, I haven't the foggiest idea
|
|
|
|
|
For express editions, I believe there is a link on the express website that lets you download it seperatly.
Alternativly, if you downloaded the combined ISO I think it should be on there.
|
|
|
|
|
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
//Tekla-Structures API
using Tekla.Structures; -> Error occurs.
namespace DSTtekla
{
public partial class FormDSTtekla : Form
{
..............
Hi, I have One solution, and there are two projects in it.
One project's name is DSTtekla, another project's name is DSTtekla15
By the way, Upper shown codes is in DSTtekla project, using Tekla.Structure is DSTtekla15 project's reference.
So Error occurs.
How can I use Tekla.Structure reference in DSTtekla project?
Bye, nice days.
P.S modified1
DSTtekla15 project has only Tekla.Structures.dll reference file.
I am man in Earth, and only in Universe.
modified on Wednesday, April 28, 2010 4:03 AM
|
|
|
|
|
Add a reference to the DSTtekla15 project dll to the DSTtekla.
To do this, in the solution explorer, expand DSTtekla project. Right click the 'References' node and select 'Add Reference'. You can then select 'Projects' tab and add the reference to the DSTtekla15 dll.
Hope this helps!
..Go Green..
|
|
|
|
|
You can refer dll of DSTtekla15 project into DSTtekla and then
you can easily use Tekla.Structures.
Jinal Desai
|
|
|
|
|
Beside what the other posters have written also make sure you use the same namespace or that you add the correct namespace in the using statement.
|
|
|
|
|
This is a windows based C# project.I have 2 forms A and B.Form B contains search button and datagrid view wherein we select the row and the corresponding data will be bound to the controls in Form A.I have 2 buttons previous and next to view each record based on the search criteria..how can i get each record on these button click.Kindly help me
|
|
|
|
|
Can you give some more detail ??
On pressing which button you need each record and on which form ??
Jinal Desai
|
|
|
|
|
I have next and previous buttons in Form A..So that when i click the Next button the next row details from Form B (gridview Row)will be bound on the controls in form A..Otherwise each time i need to got to form B and select the next row in datagrid view
|
|
|
|
|
Bind everything to one BindingSource: Grid (via DataSource); form controls (via Bindings); button events (MoveNext; MovePrevious).
Everything will operate in sync.
|
|
|
|
|
public HtmlEdit UIGenericSearchEdit
{
get
{
if ((this.mUIGenericSearchEdit == null))
{
this.mUIGenericSearchEdit = new HtmlEdit(this);
#region Search Criteria
this.mUIGenericSearchEdit.SearchProperties[HtmlEdit.PropertyNames.Id] = null;
this.mUIGenericSearchEdit.SearchProperties[HtmlEdit.PropertyNames.Name] = "q";
this.mUIGenericSearchEdit.SearchProperties[HtmlEdit.PropertyNames.LabeledBy] = null;
this.mUIGenericSearchEdit.SearchProperties[HtmlEdit.PropertyNames.Type] = "SINGLELINE";
///this.mUIGenericSearchEdit.FilterProperties[HtmlEdit.PropertyNames.Title] = "Google Search";
///this.mUIGenericSearchEdit.FilterProperties[HtmlEdit.PropertyNames.Class] = "lst";
///this.mUIGenericSearchEdit.FilterProperties[HtmlEdit.PropertyNames.ControlDefinition] = "onblur=google&&google.fade&&";
///this.mUIGenericSearchEdit.FilterProperties[HtmlEdit.PropertyNames.TagInstance] = "3";
///this.mUIGenericSearchEdit.WindowTitles.Add("Google");
#endregion
}
return this.mUIGenericSearchEdit;
}
}
|
|
|
|
|
Properties don't have explicit parameters.
1 You can create an additional property :
public string SearchName
{
set {
UIGenericSearchEdit.SearchProperties[HtmlEdit.PropertyNames.Name] = value;
}
}
2 Change it into a method with parameter.
3 Just create a new method
public void SearchName(string param)
{
UIGenericSearchEdit.SearchProperties[HtmlEdit.PropertyNames.Name] = param;
}
I don't like my signature at all
|
|
|
|