|
Hi guys, I wanted to know how can i build a voice application through vs2005 if possible in C#. I had IBM Toolkit 5.1, a very old version that requires VXML language.
I am not sure how to get start working around in VS and how can I set my platform setup after having installed vs2005.
I shall be thankful
Thanks
|
|
|
|
|
netJP12L wrote: how can i build a voice application
What do you mean by "voice application"? TTS? Recognition? Both?
You might find this[^] to be a useful read. And this CP article[^] and this[^] should help you get started with TTS.
/ravi
|
|
|
|
|
When a tree node is pressed with a right click it highlights it and then selects back the node that was selected before, how can i make the node be selected on right click as well?
|
|
|
|
|
In the NodeMouseClick event:
treeview.SelectedNode = treeview.GetNodeAt(e.Location);
|
|
|
|
|
Worked like a charm :P
Thanks alot
|
|
|
|
|
|
I want to show only some collumns from a XML file.
I have 3 collums: IDName - Name - Age
I want that the datagrid show only Name
I tried:
dataGrid1.DataSource = ds.Tables[1].Columns["Name"];
but it doesn´t work... can you help me?
ThankS!
|
|
|
|
|
Use a DataGridView and set the DataGridViewColumn.Visible property to false for the particular columns in the Columns collection.
Marc
Thyme In The CountryPeople are just notoriously impossible. --DavidCrow There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith
|
|
|
|
|
Hi
I have created a control the is transparent. When this is placed a normal form with a picture it works fine, but when it is on a control container where I draw the background as a gradient using the drawing tool, the transparency only shows the background colour of the control, and doesnt work over the image/gradient that i've drawn.
How do I get the background to draw first, or how do I get the control to look at what is painted on its container.
Thanks in advance
Deano
www.deanpugh.com
|
|
|
|
|
In visual studio 2005 within an asp.net project you can bring up the style builder by placing an html input control on a web page and going to style in the property grid. I would like to use this editor in a windows C# project on my property grid.
How do I make the following show that editor in my class that is the "SelectedObject" in the property grid?
class mySelectedObject
{
private string mStyle;
/// [I know I need to put something here in the brackets]
public string Style
{
get { return mStyle; }
set { mStyle = value; }
}
}
Thanks
Chris
|
|
|
|
|
[Browsable(true)]
I think.
Marc
Thyme In The CountryPeople are just notoriously impossible. --DavidCrow There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith
|
|
|
|
|
Tried it and it doesn't work....
|
|
|
|
|
Hmm. The property type is string, so the property grid should just show an area where you can enter a string. But if you want to specify a specific editor, look up [EditorAttribute]. Hope that helps!
Marc
Thyme In The CountryPeople are just notoriously impossible. --DavidCrow There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith
|
|
|
|
|
This is all my code...
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Web.UI.WebControls;
using System.Web.UI.Design.WebControls;
namespace Test
{
class LabelProperties
{
private Style mName;
[Browsable(true)]
[Editor(typeof(StyleCollectionEditor), typeof(StyleCollectionEditor))]
public Style Name
{
get { return mName; }
set { mName = value; }
}
}
}
Nothing happens all I get is an empty box with no "..." button to click on.
Chris
|
|
|
|
|
I just made a fix that I think may help. It still doesn't work but it load an Object Collection Editor....
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Web.UI.WebControls;
using System.Web.UI.Design.WebControls;
namespace QWareAdvantage.Controls
{
class LabelProperties
{
private Style mName;
[Browsable(true)]
[Editor(typeof(StyleCollectionEditor), typeof(System.Drawing.Design.UITypeEditor))]
public Style Name
{
get { return mName; }
set { mName = value; }
}
}
}
|
|
|
|
|
What you are looking for is the Editor attribute as this lets you specify which editor is used to change the value of a property. Since all editors should be derived from the UITypeEditor , you should be able to find the name of the one you're looking for by starting from the MSDN topic of the UITypeEditor .
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Thanks for the answer but just tried the following and the only thing that is comming up is an "Object Collection Editor"
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Web.UI.WebControls;
using System.Web.UI.Design.WebControls;
namespace QWareAdvantage.Controls
{
class LabelProperties
{
private Style mName;
[Browsable(true)]
[Editor(typeof(StyleCollectionEditor), typeof(System.Drawing.Design.UITypeEditor))]
public Style Name
{
get { return mName; }
set { mName = value; }
}
}
}
|
|
|
|
|
Mmh, that's really weird. Maybe this has something to do with the fact that you're trying to achieve this in a windows application project.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Hi,
I'm trying to build and test a'n addin for VS2005, but none of them, also downloaded source code (that ofcours should work), doesn't appear in my addin manager, none of them our visible in the tools menu..
Can anyone give me some more info about where to place the files, what to add in the registry ?
it also seems the wizard doesn't make a setup for the addin and yes in the articles written by other developers it seems to be created automatically.
does it depends on the VS version ? i work with the VS2005 Pro.
Thx
Kurt
PS : at this moment i'm downloading VS2005 SP1 that maybe could solve the problem.
|
|
|
|
|
Or maybe suggestions for a good book about this topic ?
thx
|
|
|
|
|
As i thought...
After installing SP1 for VS2005 my add ins all appear in the toolsmenu of VS....
greetz
Kurt
|
|
|
|
|
Hi everybody
I'm creating my own trackBar control.
Basically, I need to draw a rectangle that has four rounded corners.
When I reach to the point in the rectangle filling that I need to draw a rounded edge and make sure that it will be filled, how can I do it?
thanks
|
|
|
|
|
GraphicsPath.CloseFigure() did it for me.
Example (rounded rect):
GraphicsPath path=new System.Drawing.Drawing2D.GraphicsPath();
path.AddArc(arc, 180, 90);
arc.X=baseRect.Right-diameter;
path.AddArc(arc, 270, 90);
arc.Y=baseRect.Bottom-diameter;
path.AddArc(arc, 0, 90);
arc.X=baseRect.Left;
path.AddArc(arc, 90, 90);
path.CloseFigure();
and now you can do Graphics.DrawPath or FillPath.
Luc Pattyn
|
|
|
|
|
thanks man
|
|
|
|
|
I am developing an application that will log messages coming from n-number of clients. we cannot predict the number of clients. The application is being developed using .Net Remoting. whenever, i tries to run 3-4 clients, memory goes increasing of server for each addition of client. that means on every addition of client server memory and CPU usage increases. How can i control the increase of memory and CPU usage.
The logs are coming at a very fast rate.
Thanks in advance
Praveen Raghuvanshi
Software Engineer
|
|
|
|