|
hi,
if any one has seen the code given for the MIDI and compiled the same it gives an error of some header file .Can you suggest form where to get that dmusicc.h file.
also if it could be clarified if MIDI can be accessed by another Application Software.If,yes how is it possible?
Regards
design engg
|
|
|
|
|
You seem to be in the wrong area. This the C# not C++.
The file is a DirectX and would be were ever you installed the SDK.
Rocky Moore <><
|
|
|
|
|
I found an awesome licensing product for .NET
Take a look at it http://www.xheo.com/Products/Licensing/[^]
Just a few months back I couldn't find anything that would support .net
Does anyone know of any other similar products?
|
|
|
|
|
I am using getValues
lets say in SQL its a bit field which I believe is a SqlByte class I think
and lets say the field is a boolean
Is there anyway using getType and the like to do autmatic conversion without using switch statements to determine the type.
a way using reflection to query the two types and convert them to the compatible type?
links or examples most welcome
nick
|
|
|
|
|
the SqlDataReader GetValues method by the way
|
|
|
|
|
How do I make a list box automaticly scroll down to the bottom of the list?
/\ |_ E X E GG
|
|
|
|
|
Are you talking about just items that have been added or selected? If you select the last item it should scroll into view.
Rocky Moore <><
|
|
|
|
|
No, automaticly...
without any user interaction.
/\ |_ E X E GG
|
|
|
|
|
eggie5 wrote:
No, automaticly...
Not sure what you mean by "Automatically". A listbox does not automatically scroll. When you add an item to your listbox (which you get from somewhere), you would have to do at :
myListbox.SelectedIndex = myListbox.items.Add("LastItem");
This would have the listbox scroll the item you add into view.
Rocky Moore <><
|
|
|
|
|
hi,
would anyone give me some idea how i can check if an application running by C# like using FindWindow in VC++?
thanks,
jim
|
|
|
|
|
Why not use FindWindow in C#?
[DllImport("user32.dll")]
private static extern IntPtr FindWindow(
string lpClassName,
string lpWindowName);
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
does it a good practice using unmanaged module?
i seldom use p-invoke. any idea?
thanks,
jim
|
|
|
|
|
If you're wanting easy cross-platform capabilites, wou might not want to use the Windows API. Otherwise, it's just fine.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
Try the Win32Window class at
http://www.gotdotnet.com/team/csharp/code/default.aspx
|
|
|
|
|
|
thanks...
seems the only way is using win32 api
|
|
|
|
|
Most of the .NET classes use the Windows API - they're just wrappers.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
Hi,
I am using shdocvw/mshtml to automate IE. I'm able to create an instance of IE, retrieve a document, and manipulate the document (i.e. fill in text fields, click buttons, etc).
The problem I'm having though, is working with pages that have frames. I am getting the top level page, and cannot seem to access any of the frames themselves. When I try calling the property .frames off my document, I get the error:
An unhandled exception of type 'System.InvalidCastException' occurred in UIAutomation.exe. Additional information: No such interface supported.
Does anyone know why this is? Maybe I'm assigning it improperly? When I enumerate through .all, I do see the frameset and frame elements. This problem happens on even simple pages such as:
http://www.htmlcodetutorial.com/frames/basicframeset.html
Thanks.
|
|
|
|
|
Can DateTime.Now display millaseconds?
I have...
DateTime.Now.ToString("hh:mm:ss");
what abrevation do I put in for millaseconds?
/\ |_ E X E GG
|
|
|
|
|
Vb.Net:
<font color="blue">Private</font> <font color="blue">Sub</font> Button1_Click(<font color="blue">ByVal</font> sender <font color="blue">As</font> System.Object, <font color="blue">ByVal</font> e <font color="blue">As</font> System.EventArgs) <font color="blue">Handles</font> Button1.Click <br> MessageBox.Show(<font color="#0000FF">DateAndTime</font>.Now.Ticks) <br> <font color="blue">End</font> <font color="blue">Sub</font> <br>
Vb:
<font color="blue">Public Function</font> TwinsOnWay(<font color="blue">ByVal</font> twins <font color="blue">As String</font>) <font color="blue">As String <br> Select Case</font> twins<br> <font color="blue">Case</font> "Gender" <br> <font color="blue">Return</font> "Two Girls" <br> <font color="blue">End Select <br> End Function</font> <br>
|
|
|
|
|
might help if it's C# code lol :
C#:
<font color="blue">private</font> <font color="blue">void</font> button4_Click(<font color="blue">object</font> sender, System.EventArgs e) <br> { <br> MessageBox.Show(<font color="#0000FF">DateTime</font>.Now.Ticks.ToString()); <br> } <br>
there ya go
Vb:
<font color="blue">Public Function</font> TwinsOnWay(<font color="blue">ByVal</font> twins <font color="blue">As String</font>) <font color="blue">As String <br> Select Case</font> twins<br> <font color="blue">Case</font> "Gender" <br> <font color="blue">Return</font> "Two Girls" <br> <font color="blue">End Select <br> End Function</font> <br>
|
|
|
|
|
ok...
is that in milla seconds? or nano seconds???
and I need it to look like this minutes:seconds:millaseconds...
so, DateTime.Now.ToString("mm:ss:??");
how would I do that?
/\ |_ E X E GG
|
|
|
|
|
You might look at:
DateTime.Now.ToString("mm:ss:fffffff");
Rocky Moore <><
|
|
|
|
|
that's exactly what I wanted.
thanks.
/\ |_ E X E GG
|
|
|
|
|