norm wrote: Just day dreaming here. But how can you dial to a phone using modem/C#/.NET, then play a clip, say in mp3 format?
The simplest way would be to use the TAPI 3 COM objects via COM Interop. Have a read on MSDN for the Tapi 3 docs. It should at least get you a starting point of making the call.
Not sure about playing mp3 down the phone though, I've only ever done that with Tapi 2 and Wav files via the Windows multimedia libraries.
But you know when the truth is told,
That you can get what you want or you can just get old,
Your're going to kick off before you even get halfway through.
When will you realise... Vienna waits for you? - "The Stranger," Billy Joel
Im using C# to create a clinical information system(data management) what i would like to know is on what OS will the app run...some guys told me that .net apps are not able to run on win98 OS...this worries me alot...im at the point of no return...i heard that there is a framework or something to solve this...pls tell me
2. i want my software to send certain information from one form to a different form(in the same app) on a diff. workstation...is there anywhere where i can get resources for networking codes...maybe u guys could gimme some initial/crutial points...thx alot
I am relatively new to C#. I am trying to implement a system which locks the user out from all Windows functions such a the 'Start Menu', shortsuts such as CTRL-E and CTRL-ALT-DEL. Basically I have designed a database for the public to search for emigrant records from the 19th Century between Europe and US. But as with all things I am getting 'fiddlers' who seem more interested in trying to mess up Windows settings. So what I need to do is have a splash screen which will display the shortcut or link to the database and nothing else. The program will then lock out any attempt to access any other Windows functions. Is this sort of functionality available in C# and if so does anyone have any suggestions,
Is there anyway of blocking or diabling the CTRL-ALT-DEL option then in windows using C# or anything that can run with C# as shutting down my app will allow them back in to mess around with the settings and unfortunately defeats the purpose of doing it Any ideas?
I am implementing a custom control which has a listview as one of its sub controls. I am able to populate this list at design time through the control properties. The populated list then appears as expected in design time.
Once I run the application, the list appears empty. Terminating the application and re-opening the form (in design time), shows the list as empty!
How can I retain the values of the properties provided by the user at design/runtime!??!!
thomasa wrote: You probably have to save the values to a file
There must be another way of doing it. For example, if you have a form with two edit boxes, the first is set to TextBox1 and the second is set to TextBox2. I am sure these design time values will not be saved to files, however, they will be part of the form or something.
I'm not shore what you meen, but if you still have your Main application open, and it is a sub application you close and reopen, then you can tranfere the values from your sub application to your Main application, and vica versa. A preferd item to store the values is an ArrayList or something like that.
On cration of your sub application you could write something like
MyListViewLib.MyListView myListView = new MyListViewLib.MyListView(myArrayList)
(in Sub(a constructor))
for(int i = 0; i < anArrayList.Count; i++)
or something like this...
If you close all your applications then you have to save it to a file.
Extend the CheckedListBox control and override OnDrawItem. In the DrawItemEventArgs passed to the method (and don't forget to call base.OnDrawItem when done), set the DrawItemEventArgs.BackColor to a color based on the checked state of the item (which you can get the index for in DrawItemEventArgs.Index).