Michael Giagnocavo's Q&A profile
Visual Studio 2008 (Pre-release) Media Player-Like Application
I'm trying to throw together a simple media player application. I would like to set the source (URI) of a media file to play and have controls over playback. The MediaPlayer class obviously does all the heavy work. I would like to have Sliders for Position, SpeedRatio and Balance. I can hook these all up in code, but it appears that none of those properties are Dependency properties and therefore Binding doesn't appear to work. I noticed that Sp ...Show All
Windows Forms SQL Server Bugaboo
Hi Gang! Here's the skinny: I am working on a simple db app that reads and updates a db on SQL Server 7. When I ONLY have the connection string in the code, I can connect just fine. When I add code to manipulate data, I lo ...Show All
.NET Development Windows Service Not Starting on W2K
My service seems to work fine on XPPro, but not on W2K Server. I have a Windows Service I created that just sets a timer and writes to EventLog every 10 seconds. It installed fine and it actually starts. But it says it doesn't. The progress bar shows the progress fine until it hits about halfway. It then stops there for about 4 or 5 seconds then goes a little farther. I then get a message: Could not start the MyService Se ...Show All
Visual Studio Express Editions MDI child and Parent.
Hello, i am trying to learn vb by myself. and i am going good also. i have one form which i have converted in to MDI parent from the properties. but i have few more forms, which i want them to open inside the parent form. now i dont know how to make them child form. can u show me Say MD was the mdi parent window and frmtest was a form. dim n as new frmtest n.parent = md n.show That would ma ...Show All
Visual C# Console window keeps closing itself
Hello, I'm a newbie to Visual C# and I am trying to create the dirt simple "Hello World" sample as a Console Application and when I run my program the console window blinks up then disappears...it closes itself. Anyone know what's going on here To debug, I set a breakpoint at my " static void Main()" line and the code starts, a blank console window even appears but as soon as the program executes the " Console .WriteLine( "H ...Show All
Software Development for Windows Vista DependentUpon missing in VS2K5 Extensions beta 2
Hi, I've installed Visual Studio 2005 Extensions for Windows Workflow Foundation (beta 2) and I have a problem when I add "Sequential Workflow (with code separation)" to a "Sequential Workflow Console Application" project. After adding the item to the project two files appear in the VS Solution Explorer: Workflow.xoml as Workflow.xoml.cs. But the problem is that they aren't related. The .xoml.cs isn’t under the .xoml. ...Show All
Visual Studio Express Editions Altering "generate method stub" code snippet...
Hi, first of all, I think that the "generate method stub" IntelliSense feature is a really great feature. I thought it would be cool, though, if it also generated a "// TODO: ...", so the item would show up in the task list. So far I've modified the /.../MethodStub.snippet file like this (excerpt): <Code Language="csharp"> <