|
how to draw ecg waveform in wpf please anyone give tips...advance in thanks whomever helping me...thanks friends...
|
|
|
|
|
Follow one of the tutorials[^] out there.
You're welcome.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
You should ask on the "Silverlight / WPF" forum. That's where the WPF gurus hang out.
That being said, start by looking at the Canvas control, and Line element.
|
|
|
|
|
i want in wpf please help me if u can
|
|
|
|
|
Canvas is in System.Windows.Controls and Line is in System.Windows.Shapes . Also look at System.Windows.Shapes.Polyline .
These are WPF .
|
|
|
|
|
A third party tool can help you generate waveforms.
There is a sound visualization library available here[^].
In addition, you can check out this article[^].
|
|
|
|
|
Hi there,
I am an experienced programmer however I have no experience with .Net. Can anyone please recommend me a good introductory level book about .Net platform? For now I am not interested in books about particular .Net programming languages like C# but primarily about the .Net platform itself.
I am also interested in a book about the .Net API. For Win32 there is a good book on Win32 API programming - "Programming Windows", 5th edition by Charles Petzold. The book is an excellent guide on native Win32 API. Can anyone recommend me a similar book on .Net API?
thank you in advance for the answers!
kind regards
|
|
|
|
|
Tetraquark wrote: Can anyone please recommend me a good introductory level book about .Net platform? For now I am not interested in books about particular .Net programming languages like C# but primarily about the .Net platform itself.
It's hard to use the framework without a language, and it's not recommended. I suggest you start with Head First C#[^] from O'Reilly, reading Mannings' C# in depth[^] right after that.
The most used languages for the framework would be C#, VB.NET and C++. The latter two were alive before the framework, and come with their own history and quirks. C# was new, and combines the best from those two languages.
All those languages are compiled to IL, which you could learn too[^]. It's just not recommended to actually program in IL, since it would be a bit inefficient to do so; it's error-prone and time-consuming, compared to writing your code in a higher-level language. It is helpful to take a look at it still; later on you'll be using a disassembler like ILSpy.
Tetraquark wrote: The book is an excellent guide on native Win32 API.
The Windows 95 resource kit[^] might be interesting, but the best book on WinAPI is a collection of blog-entries from Raymond Chen. You can find his blog here[^].
Hope this helps
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
OK I will read the books on C# first, but what about the best book about the .Net platform itself what is the main question here?
Also are there any recommendations on the best book about .Net API? I am not looking for a reference (MSDN would be a good reference on .Net API) but a book that is written like a guide on .Net API in a similar way Charles Petzold's book on Win32 API.
modified 5-Aug-12 5:28am.
|
|
|
|
|
|
thank you!
Yes Petzold uses C for examples in his famous book on Win32 API
|
|
|
|
|
I second Eddy's suggestions, and do feel free to ask questions in this forum and people will try their best to answer them
Language-wise, I prefer C# since I came from a C++/Java background before coming over to .Net and the transition was fairly smooth.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Jeffrey Richter's CLR via C# is book for you.
|
|
|
|
|
thank you very much! That is the book I am looking for!
|
|
|
|
|
|
Hello friends,
I need a help ,i want to open a windows application when my window service starts.i have done with my window service and with the application too.Bt i just want to open window application using window service.Can anyone please help me that how can i link both the applications and where do i put the code in window service to open window application and what code i have to write to open my window application when window service starts.
Thx in advance.
reply me fast its urgent..
Bhanu Madan
|
|
|
|
|
|
|
madanbhanu wrote: ,i want to open a windows application when my window service starts
Stop right there. No, you don't
Services do not expose any kind of user interface at all. They also do not launch applications on the desktop when a user logs in. Why? Because it's horrible practice that MS is trying to disuade for good reason, security being the top one.
If you run your service on Windows XP, sure, it can launch an app on the user Desktop. But, do that exact same thing on Vista or 7 and the user won't see anything at all. They'll get a notification that "A service is requesting your attention. Do you want to switch to the alternate desktop to see this interface?" or something to that effect.
Since you're asking all of these basic questions about what code to put in a service where, it's obvious you have no idea what services do or how they work. I'd start by just trying to get a service app compiled and installed. Don't worry about showing anything because they really should (and can't) show any user interface at all.
and finally... Nobody cares how URGENT you think your question is. It's very unacceptable to request really fast relies to your posts because you're not paying for any service agreement and all the questions here are answered by people who volunteer their spare time doing so and reply when they can, not when you demand.
|
|
|
|
|
hello Dave first of all thanx so mch for all dis and secondly i am new at windows so dat's why i don't know mch about windows services.See friend if this is not posssible to open an application in windows services then please send me the alternate way.for example,can i start my windows application as window services.I just want to do to show the pop up with a message on my taskbar.how can i do this with window services.
Hope this tym u get it ...
n thanks again
Bhanu madan
|
|
|
|
|
madanbhanu wrote: .See friend if this is not posssible to open an application in windows services then please send me the alternate way.
My "friend", there is no alternative way; a windows service is something that does not interact with the user. At all.
madanbhanu wrote: I just want to do to show the pop up with a message on my taskbar.
Follow the demo in the documentation[^].
madanbhanu wrote: <layer>.how can i do this with window services.
You don't; you create a normal app, start it when the user logs in. A Windows Service is started when the computer starts, and runs before you logon to Windows - there IS NO TASKBAR on that logon-screen.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
The only way to do what you want is to write two programs that talk to each other. The first is your Windows Service app. It'll open some communication channel, like a Named Pipe, that it uses to talk to any application that wants to listen.
The second is a Windows Application, that starts from the Run key when a user logs in, and listens to the communication channel that the service starts. When it hears a message that the service sends it takes appropriate action, like putting up a MessageBox.
Forget the Task Bar notification for now. You've got enough to worry about without that.
|
|
|
|
|
No, again: the service does not start an application on a user desktop. Get away from that wrong concept! URGENTZ!
Rather look again at the functionality from the user's point of view: he'll see an icon in the system tray, with some messages popping up. That icon belongs to an application which is started when the user logs in. You can achieve that by putting a link to that application to the start-up folder.
|
|
|
|
|
Why do you even need a service? Why not just write an application that uses the SystemTray and is started up automatically when the user logs in?
See this[^] example for creating a sys tray application.
If there's a shortcut to your application in the Startup folder, your application will run automatically.
|
|
|
|
|
I am currently learning WPF and require some assistance in understanding some main concepts...
My XAML contains numerous GUI elements, one being a DataGrid called 'dataGrid1'
The DataGrid is populated in the main window using the following code fragment:
MyDataGrid gridData = new MyDataGrid();
gridData.PopulateData();
dataGrid1.DataContext = gridData.dt;
MyDataGrid is a class that is composed of a DataTable exposed through dt. PopulateData() performs a LINQ query on an EF context.
The code above works fine and the grid shows the query results.
What if I wanted to create a class which derives from DataGrid. How would such a class be accessible/linked/represented in the XAML?
A reader from Montreal, Canada
|
|
|
|