| Media recording and delivery via C# |
|
 |
Index ‹ DotNet ‹ Visual C#.Net
|
- Previous
- 1
- Visual C#.Net >> Windows Communication FrameworkHi,
I have recently published an article on WCF at CodeProject
http://www.codeproject.com/useritems/edujini_wcf_scart_01.asp
It would be great the experts can provide a feedback on the same. Please
note that this is my first article in the series. I have submitted Part-2 to
the editorial team. Simultaneously, I have also posted it at Eduzine
http://eduzine.edujinionline.com/
DirectLink:
http://eduzine.edujinionline.com/index.php?/archives/22-Exploring-Windows-Communication-Foundation-Part-2.html
Hoping that I met some quality standards... :)
--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
- 2
- ADO >> Truncate function???Does anybody know if there is a similiar function in MS
Access like the ORACLE "TRUNCATE" function?
eg:
trunc(RSS_TRACKING.COMPLETION_DATE) AS COMPLETION_DATE
result is: 6/29/03
The truncate function basically will aggregate dates
(which I have in my GROUP BY clause) based off of a
common starting point, like every Sunday, for instance.
I tried using ROUND, but it seems only for numbers, not
dates. I also tried using the CONVERT and CAST functions
in addition to the ROUND function, but still couldn't do
the date conversion.
Thanks,
Bill.......
- 3
- 4
- Dotnet >> Print PDFHow to print a PDF file from .NET ?
If I have a normal PDF file how kan I Print the file to a printer using .NET ?
Best Regards
Kim
- 5
- Dotnet >> Bind datatable to excel worksheetIt is possible bind a memory AdoNet Datatable to an Excel wooksheet and,
after update of datatable contens (via code), view update in real time on
the woorksheet?
I am starting use Visual studio tool for office to make this task: it is the
correct way?
thank's in advance for help
gianni
- 6
- 7
- Dotnet >> how to get compatibilityHi,
I have some pages an ASP.NET application when i run in IE 5.0/6.0 it is
showing all the controls when i run the same application in different
browser
i.e natescape navigator then it is showing error....
I mean to say there is no browser compatibility in my application how do it
set this..It should display in any browser...
Thanx In advance
Yoshitha
- 8
- Microsoft Project >> Project Comparison ColumnWhen I do a Project Comparison, I can no longer see the column with
the symbols. The "+" & "-" in green and red no longer appear.
Any idea how I can make this column appear again???
Thanks!
J
- 9
- Visual C#.Net >> Setup Project Prereq'sI am building a Setup Project in Visual Studio 2008 for a project which only
requires .NET Framework 2.0. When I build the Setup Project and attempt to
utilize the .MSI file created by the Setup Project, the computer complains
that .NET Framework 3.5 is required to run the setup. Can I configure the
Setup Project to be built using .NET Framework 2.0 instead of 3.5? The end
result is that my machines have 2.0 installed and I don't need 3.5 for the
application I am trying to install?
- 10
- Net Framework >> Looking For An Example Of Replacing Only One Occurrence In A StringDoes anyone have an example of replacing only one occurrence of a
substring in a string. I have tried replace, but it replaces all
occurrences of the new string in the string. I only want to replace
the specified occurrence in the string (i.e substring(37, 10) - phone
number) with a new phone number. Am I making any sense here or do I
need to provide more detail ?
- 11
- Microsoft Project >> how to represent a continuous activity in a project plan?hi,
i have been working on a project plan and wanted to add certain activities
in the plan which are of "continuous" nature. For example, "communication",
"status reporting" are activities that are going to span throughout the
project and according to the plan, they'd consume around 15% effort of the
Project Manager throughout the project alongwith other activities.
For this purpose, I could simply add a task in the plan and assign 15%
resource UNITS to each of them. Since these activies are to be started right
from the very first day of the project, i know the start date, but the end
date of these tasks will actually be the LAST day of the project deadline
since these activities are going to last till the last day. Since, this LAST
day will vary depending on the changes i will be making during the project,
it cannot be fixed. I don't want to manually assign the end date myself, but
would like it to "update" automatically as i make changes to rest of the
plan.
I tried adding dependency of the 1st and last task from the WBS with
following type:
1st Task, Start to Start
Last Task, Finish to Finish
By doing so, i was hoping to tell MS project that this task is going to
start with the 1st Task and End with the Last task. But it didn't work.
Maybe this is not the way to do it. Can someone please help me understand
how to do it?
Thanks!
Akhlaq.
- 12
- Dotnet >> ASp.NET using WMI and C#Hi
I am looking for examples that would allow me to develop an ASp.net web application using WMI and C#
Eventually I need to copy and and launch an Exe on a Remote machine
Any help in this matter is appreciated
Regards
PRM
- 13
- Microsoft Project >> Graphical indicator for %complete and durationi want to display graphical indicator depending on the %completion
field value.For instance if the %Completion is less that 50% then the
stoplight should alert with RED.But here i have to consider the
duration(%duration).for instance if %completion is 20% when the
%duration is also 20% then its fine.But if duration% is 80% and
%completion is 30% the we should alert about this.what i need is can we
derive a formula and then based on the value we can display the
Stoplight.That is considering both %complete and duration-completed.
any suggesstions
- 14
- Net Framework >> I can't open .net web application from VS. NET 2003I try to open one .net based web application from VS.Net 2003 in my Windows
2K server, get following error message "Visual Studio .NET has detected that
the specified Web server is not running ASP.NET version 1.1" and also tried
to command line command aspnet_iisreg /i and aspnet_iisreg /r but didn't
work.
Could somebody give me some idea to solve this issue? Thanks a lot!
- 15
- Microsoft Project >> Default workflow of tomesheets and task updatesHi i'm Prasanth,
I would like to know default workflow of task updates and timesheets of
Projectserver 2007 from perspective of project manager and team member.
When a Project manager assigns a
task to team member he is not able to see the tasks under mytasks but can see
them under mytimesheet.Many small organisations have only one manager who
approves both timesheets and task updates of team members.How can i achieve
this in project server 2007 as in project server 2003.
|
| Author |
Message |
crosscmp

|
Posted: Thu May 13 13:44:07 CDT 2004 |
Top |
Visual C#.Net >> Media recording and delivery via C#
I want to be able to record media off CD's and onto the C: drive, and then
control display - all via the framework.
Is the Media Player SDK ActiveX control the best for this? Or some other
solution?
Thanks,
John
DotNet130
|
| |
|
| |
 |
Dave

|
Posted: Thu May 13 13:44:07 CDT 2004 |
Top |
Visual C#.Net >> Media recording and delivery via C#
I've used both the Media Player ActiveX control and DirectX 9.0
AudioVisualPlayback classes (There are Video and Audio classes in this
namespace). Both work well. I find the DirectX 9.0 is a little easier to
use. Media Player is compatible with DRM scenarios (DirectX may be, but I
haven't found a way to do it).
Good Luck,
Dave Girvitz, MCAD
"John" <EMail@HideDomain.com> wrote in message
news:Ob4%EMail@HideDomain.com...
> I want to be able to record media off CD's and onto the C: drive, and then
> control display - all via the framework.
>
> Is the Media Player SDK ActiveX control the best for this? Or some other
> solution?
>
> Thanks,
>
> John
>
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.668 / Virus Database: 430 - Release Date: 04/24/2004
|
| |
|
| |
 |
John

|
Posted: Fri May 14 14:10:16 CDT 2004 |
Top |
Visual C#.Net >> Media recording and delivery via C#
Thanks Dave,
I've downloaded the DirectX Managed SDK, and it's great. Trouble is, I can't
get it to play mp3 files! WMA files are fine...
Shouldn't it be a case of just:
Audio a = new Audio("c:\\a.mp3");
a.Play();
?? This works fine for WMA (I have the correct 'using' refs obviously), but
I just get silence from mp3. No error message or exception.
Thanks,
John
"Dave Girvitz" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> I've used both the Media Player ActiveX control and DirectX 9.0
> AudioVisualPlayback classes (There are Video and Audio classes in this
> namespace). Both work well. I find the DirectX 9.0 is a little easier to
> use. Media Player is compatible with DRM scenarios (DirectX may be, but I
> haven't found a way to do it).
>
> Good Luck,
> Dave Girvitz, MCAD
>
> "John" <EMail@HideDomain.com> wrote in message
> news:Ob4%EMail@HideDomain.com...
> > I want to be able to record media off CD's and onto the C: drive, and
then
> > control display - all via the framework.
> >
> > Is the Media Player SDK ActiveX control the best for this? Or some other
> > solution?
> >
> > Thanks,
> >
> > John
> >
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.668 / Virus Database: 430 - Release Date: 04/24/2004
>
>
|
| |
|
| |
 |
| |
 |
Index ‹ DotNet ‹ Visual C#.Net |
- Next
- 1
- Dotnet >> Windows desktop search API in ASP.NETCan anyone know how to use WDS API in ASP.NET?
I copied the Win App sample to ASP.NET, but recevied the following
error:
Exception Details: System.InvalidCastException: QueryInterface for
interface Microsoft.Windows.DesktopSearch.Query.ISearchDesktop failed.
- 2
- Visual C#.Net >> PocketIE, Javascript, and C# ActiveX alternative?I posted this in PocketPC newsgroup with no response yet, hopefully
somebody here has an answer.
I have an application that runs locally on PocketPC. The user
interface for this application is HTML with Javascript. The Javascript
on the page instantiates an ActiveX control written in C++ ATL. The
ActiveX does not have a visual interface and its basic functionality is
to access the serial port and do some calculations and return the
result.
I am in process of re-writing the application and was thinking to
create a C# alternative to the C++ ATL ActiveX and maybe even simplify
the installation process by eliminating the need to register the
control.
Is it possible to create a C# control to be instantiated by Javascript
and run by PocketIE locally in a PocketPC? I appreciate it if you can
point me to some articles or sample codes doing this.
- 3
- Dotnet >> Legal or Scam??Lately I've been getting lots of spam, selling cheap software. The website was oemsoftwarehouse.com. They supposedly were selling oem software of Borland's Delphi and Microsoft's Visual Studio. They said it was only $60 for Delphi 7 Enterprise, but Borland sells it for over $2,500 USD! I don't know the cost of Visual Studo, but the website was offering it for $130 USD. Generally, if it sounds too good to be true, it isn't. Is there such a thing as an OEM version of Visual studio? If I order this, will I be buying pirated software? Will I be breaking any laws using this software?
Thanks!
Debbie
- 4
- Visual C#.Net >> Using ResXFileCodeGeneratorEx with VCS Express 2005I'm using Visual C# Express 2005.
I installed ResXFileCodeGeneratorEx from
http://dmytro.kryvko.googlepages.com
and set it as Custom Tool for my resx file.
Trying to run by selecting "Run Custom Tool" causes error
---------------------------
Microsoft Visual C# 2005 Express Edition
---------------------------
Cannot find custom tool 'ResXFileCodeGeneratorEx' on this system.
---------------------------
OK
---------------------------
How to fix ?
Andrus.
- 5
- Net Framework >> TCPClient - Detectiing loss of remote host connectionBefore I go and make massive changes to a TCP/IP library I made, I was
wondering if the detection of connection loss is possible through the
TCPClient class.
The problem I have is that I make a connection to another application using
a TCPClient in one app and a Listener with Client in the other app. I close
the app with the listener. I then try to send data to the listener app.
TCPClient.Connected returns true after the remote connection is forcefully
closed. I understand that the value of TCPClient.Connect is based on the
success of the previous send/recieve action. When I perform a send operation,
there is no exception thrown. Trying to perform a send operation a second
time throws a socket exception stating the connection was closed at the
remote end.
I was hoping that the exception would be thrown on the first send operation
after the connection was closed. Any way around this or will I have to send
test bytes at the start of each send operation in order to test the integrity
of the TCP connection? Any help would be great thanks :o)
- 6
- Dotnet >> Capturing login event in Service ApplicationI am writing a Windows Service Application and want to be able to capture when the user is logging into Windows. Is there any way within .NET to do this? Basically, I need the equivalent to the SystemEvents.SessionEnded event.
--
Dan S
- 7
- ADO >> Simple Multiple Row Insert QuestionHi everyone,
I have a pretty simple situation and I'm hoping that someone could give
me some advice on the best way to handle it.
I need to insert a whole load of rows into SQL Server 2005 using ado.net.
I use custom business objects to represent the rows. So for example, in
this specific case, I have a big collection of "Booking" objects.
I also have a stored procedure called CreateBooking.
My question is - assuming that I need to import say, 7000 rows in one
go, is simply looping through the Bookings collection and calling the
Stored Procedure for each booking the best way to do things?
Is there some other way to get that much data into the database without
constantly calling the stored procedure 7000 times.
I use the same connection each time, but still, it seems a bit clumsy.
I was wondering if there is a better way.
Many thanks to anyone who can advise...
Simon
PS: I really need to use ADO.net to do this - importing by some other
mechanism isn't going to be possible in this instance
- 8
- Winforms >> Trying to learn more regarding interface based developmentHey guys,
I am looking to learn more about interfaced-based design / component-based
programming. I want to be able to write better code, with easier
maintainability and better code reuse since implementation is separated from
the interface.
Any suggestions on reading material?
Thanks.
- 9
- Visual C#.Net >> Accessing Resources from an MSG fileWe are attempting to replace one of our legacy services (developed in C++)
with one that is developed as a C# service. The problem that I am
encountering is dealing with the resources that are generated from the MSG
file. These resources are used both by the existing service code (to format
strings for internal use) and by the Event Viewer when entries are written
to the Event Log to be associated with this source.
1. Can I access an existing resource file inside an existing EXE (built from
a VC++ 6 source) from a C# service? I have tried the
CreateFileBasedResoruceManager() call, but either I have the parameters
wrong or this is not possible. The method call actually works, but when I
attempt to retrieve a string, I get an MissingManifestResourceException
error.
2. If I create the resources in a satellite assembly, will the Event Viewer
still be able to use the contents?
-Ken
- 10
- Visual C#.Net >> How to make a custom template for my project?Hello there,
I want to ask you guys how to make template for my own project in visual
studio 2005 preferable in c#? Is it very easy to implement ? Need tutorial
for this...
I've seen in the net a few articles about this but i did not understand.
Can anyone tell me how to create this please?
Thanks
Ryza
- 11
- Visual C#.Net >> Using IComparer to Sort a String ArrayHello All,
I stumped and I need some help. I have an unsorted string array that looks
something like:
AA
XXX
Z
and I would like to sort it like:
Z
AA
XXX
or like:
XXX
AA
Z
My research has lead me to using the IComparer interface. What I am having
difficulties with is developing a class that will take an unsorted string
array (as noted above) and return a sorted string array (as noted above)
using the IComparer interface.
Thanks in Advance!
- 12
- 13
- Dotnet >> How to hide a object's inherited properties ?I create a user control object and show its properties through a propertygrid
object in my application. It is sure that there are 100 hundred of properties
inherited from System.Windows.Forms.UserControl and they are all showed on
the propertygrid. Is there a way i can hide all these inherited properties
and show only my user control's properties ?
- 14
- Net Framework >> ASP.NET lock upHi. I'm experiening random lockups of my ASP.NET application. I see lots of
these error messages from .NET runtime in the event log:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may be
able to use the /AUXSOURCE= flag to retrieve this description; see Help and
Support for details. The following information is part of the event: .NET
Runtime version 1.1.4322.2032- Setup Error: Failed to load resources from
resource file
Please check your Setup.
What does this mean and could it be related to the problem?
Casper
- 15
- Winforms >> Window Forms and panelsShould anything even a menu, toolbar or statusbar ever be directly placed on
the main window or should they always be placed on a container such as a
panel?
Bill
|
|
|