|
This is it. Thank you...
So close, but yet so far away...
|
|
|
|
|
Hi guys, this is my first time to post here. I am thinking of developing a windows application for voice chat, which can be used to chat with voice in a LAN. I’m doing this as my final year project of my undergraduate studies and I’m planning to develop this using C#, but I am not that much familiar with C# or its voice and transmission libraries or classes (I only did a small project using ASP.NET/C# before). So if there is any one up there who has any idea or books about voice chat, please reply. I’m looking for anything on this subject.
I will be waiting guys……………
We should learn to share
|
|
|
|
|
Hi,
If you need to develop the application with SpeechRecognition you need to use Speech SDK. Here [^] you can find an example of how to use Speech SDK 5.1.
If you want to send a sound files over the network that you can use Sockets. You can use [^] as an example.
Hope it helps
Do your best to be the best
|
|
|
|
|
Heay, Thanks for replying, the socket part was realy helpfull
To be brief on my project, I’m thinking of doing an application like “SKYPE” or “ Yahoo messenger with voice” but it doesn’t have to work on the Internet it is okay if it works only on the LAN. So that it can help someone to call and talk to someone else on the LAN using a headset, a Mic and this running on his PC.
I heard someone did this once in Java using socket programming so I’m looking for books on socket programming too but now I’m just reading C# books. So man, if u come across of any more ideas/books on this please let me know.
We should learn to share
|
|
|
|
|
Hi,
I am trying to create and then use a VC++ DLL in C#. I created the DLL in Visual Studio 2005. I just built the dll without adding any function of mine to it. That is, it is a dll that exports symbols and has the following pre-defined export symbols/functions.
// This is an example of an exported variable
TEST_API int ntest=0;
// This is an example of an exported function.
TEST_API int fntest(void)
{
return 42;
}
where,
#define TEST_API __declspec(dllexport)
Then I created a simple VC# empty project ( in Visual Studio 2005) and added the class "test" to it. When I add the VC++ dll as a reference I get this error .... "A reference to "../test.dll" could not be added. Please make sure that the file is accessible, that it is a valid assembly or COM component".
Even though I dont think it needs a conversion from COM to COM+, I even tried doing "tlbimp". I went to the command prompt for Visual Studio 2005, followed the path to where my dll resides and used the tlbimp command. But I got the error that test.dll is not a valid type library.
Someone told me that I need to register the dll using regsrv32 and it would show in my COM list when I am adding it as a reference. But that didnt work either. When I run the regsrv32, I get the error message as "..\test.dll was loaded, but the DLLRegisterServer entry point was not found" ...
I just want to know that what is it that I am doing wrong? Is there something else that I should be doing ?
All I did for creating the test.dll was ...... I went to File->New->Project. Under Visual C++ I selected Win32 and then Win32 Project. In the Application settings I selected the DLL and then checked the export symbol box. I simply built the project and was trying to use it.
Thanks for your time.
Saania
|
|
|
|
|
I just answered this, did you cross post, or was my reply lost ?
It's not a COM dll, so regsvr won't work. You need to make it a COM dll, make it a managed DLL, or use p/invoke to call it's methods from C#.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Yeah thanks once again, I posted it in 2 different threads.... The point I didnot mention in the other reply is that I am using PInvoke in C#. That is where I started from, and when that didnt work I had to look into what other stuff could be wrong.
I am using ...
[System.Runtime.InteropServices.DllImport("testdll.dll")]
static extern int fntest ();
and in the main I am simply doing ....
int x = fntest ();
and this is where I get the error ... EntryPointNotFound exception. It says "unable to find entry point named "fntest" in DLL "testdll.dll". I even tried using System.Reflection.Assembly.Load Method, which throughs a TypeLoadException.
Please help me out here. I would highly appreciate it.
Thanks,
|
|
|
|
|
A C++ dll contains an export file, which is just a text file that lists the methods that are exported. I suspect that's what you need here.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Thanks a lot Christian. I tried to follow the stuff explained in http://www.icynorth.com/development/createdlltutorial.html. My DLL did not work with my C# code (even though I had everything told in the article), but when I copied the DLL that came with the article, it worked fine with VC# project, by simply using PInvoke !!.
I'll follow the setting in the given project more closely and see where I am going wrong.
Thanks a lot for your time and help.
Saania
|
|
|
|
|
I need work develop a site for people who can t see, need work with programs with voice (Ej: Dragon Speaking), the idea is develop a site of notices, the notices will be read from a database sql by the visual studio 2005 and after they will be read by the web page. I don't have ideas who to do this I need connect visual studio 2005 with Dragon speaking or connect sql 2000 with dragon speaking, please give ideas who to do this, maybe code or examples.
A friend say me that I must work with the com components of dragon speaking, but I don't have ideas, thanks.
urgent voice aplications
|
|
|
|
|
I have a GUI design that will be written in C# that is communicating the data through network over the linux server realtime application. I plan to use XML file to store the data and send it over the net then decode (or parsing) it into appropriate structure on the Linux side application that is written in c.
1. Is this the best way to do it?
2. How do I parse xml file that comes from c# program?
tmn114@yahoo.com
Thanks very much.
Nothing to say
|
|
|
|
|
1 - perhaps
2 - XML is XML, it doesn't matter where it came from. Do you mean how do you parse it in C# ? The XmlDocument class represents a DOM implimentation in .NET.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
You are right, but .Net provided way to serialize xml file so that you could send just the header over the net. My problem is how to deserialize and then parse it to the appropriate structure.
Nothing to say
|
|
|
|
|
Hi everybody!
I'm trying to get an HTMLInputElement using get getElementByID() or getElementByName() functions.
I need to get a certain button, but this button has no name or ID.
here is a part of the code (from the website)
<br />
<tr> <br />
<td class=td2 colspan=2> <br />
<input type=image src="http://***/sign-in.gif" border=0 alt="enter"> <br />
<a href="http://****number=9864"> <br />
<a href="http://*****name=find-b"> <br />
<img src="http://****/*-cancel.gif" border="0" alt="cancel"></a> <br />
<br />
</td><br />
I'm trying to get the "enter" input type (which is an image).
as you can see, there is no name/ID.
can anyone help me with this?
Thanks!!!
|
|
|
|
|
Post the sample code you are working with.
|
|
|
|
|
Hey
What I'm trying to do is to write a small app that will extend my (and my friends') library books (I'm a student) automatically.
so in the website I have the following code for the submit image(which the user can click on to... submit):
I'm using the following code to get the HTMLelement in C# so I will be able to click it:
mshtml.HTMLInputElement btn = (mshtml.HTMLInputElement)doc.getElementsByName(???);
as you can see, I don't know how to get the element, because I don't have an ID or a Name.
there must be a way to submit that page automatically, but I really have no clue.
Thanks Again!
|
|
|
|
|
Hello Community!
please don't worry about my spelling ^^ - i'm german
i created a datatable a datagrid and a datagridtablestyle
in the dtatgridtablestyle i defined a datagridtextboxcolumn and want to set the Autocomplete options of its TextBox. There are no faults, but there is NO autocomplete... why? i cannot imagine, because i do the same with a normal textbox and it works, but not with a textbox in a datagrid - so why?
|
|
|
|
|
Are u working on .net i mean that are you making a web application ?, if yes so i think u must use of this code, i wrote it for label .
<ASP:LABEL id="lblgroup" runat="server" font-bold="True" cssclass="contentTableGrey" text='<%# DataBinder.Eval(Container.DataItem, "GroupName").ToString() %>'>
GroupName is a column name of that tabel which you are binding to the datagrid.
let me know if it works .
|
|
|
|
|
|
i work with c#...
not asp.net
|
|
|
|
|
Hi,
I was wondering, If I add a namespace in my C# project (Windows) and If I use only one or two methods from a class of that namespace, then, when the project is being built, Do the compiler add whole namespace codes to my final release application or it just add the necessary useful methods from that namespace and keep the size of the application according to the usage of the methods. !!
|
|
|
|
|
None of the sutff you import from another namespace is actually compiled into your code. The stuff you use is only loaded into your process from the referenced assemblies when your code is executed. Those references are stored in your executable in what's called the "Imports Table". It tells the Loader what your code is going to need and where to get it from.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
HI Dave,
Thanks for your reply.
Actually the question came to my mind, because I wanted to use a method in my win application:
System.Web.HTTPUtility.URLEncode(...) and then I had to add a reference System.Web. Then I thought, Only for a simple method, I am adding a whole System.Web assembly, will that greatly increase the size of the application or not. Later I realized that either I will have to port the System.Web assembly with my application or the User of my application must have System.Web in his PC.
Now, How can I decide if I should choose "Copy to Output Directory" of a referenced assembly if the assembly is of a System.* NamesSpace ? Should I assume that all System.* namespaces are available in All Windows user's pc so that I dont need to port any System.* assembly ? (i.e. System.Web)
Regards,
Emran
|
|
|
|
|
bashiwala wrote: I am adding a whole System.Web assembly, will that greatly increase the size of the application or not
No, it won't. Any referenced code is not compiled into your app.
bashiwala wrote: Later I realized that either I will have to port the System.Web assembly with my application or the User of my application must have System.Web in his PC
You don't have to install it with your app. It's already part of the .NET Framework, which everyone who uses your app has to have installed before they can launch your .EXE.
bashiwala wrote: Now, How can I decide if I should choose "Copy to Output Directory" of a referenced assembly
If it's part of the .NET Framework, then you don't have to copy anything. If it's a custom written assembly, something you've put together, then you can select "Copy to Output Directory".
bashiwala wrote: Should I assume that all System.* namespaces are available in All Windows user's pc so that I dont need to port any System.* assembly
If it's in .NET Framework, then you can safely assume it's installed on the users PC. These[^] are all the classes that come in the .NET Framework that the users have to install.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi Dave,
Thanks a lot for your detailed reply. Now I have understood.
|
|
|
|