Steve Eichert's Q&A profile
Software Development for Windows Vista USB Video (UVC) extension unit
I am having difficulty accessing UVC extension units using DirectShow IKsControl::KsProperty. When I try doing KSPROPERTY_TYPE_GET | KSPROPERTY_TYPE_TOPOLOGY on PropertyId 0, I get back the extension unit GUID and six additional bytes (1,1,3,2,1,0,6) which do not seem to be defined in the DDK. PropertyId 1 returns error 0x80070490. Any suggestions The data for KSPROPERTY_EXTENSION_UNIT_INFO (PropertyId = 0) is copied over from the device's extension unit descriptor which is cached during device startup. During startup, the driver issues a number of control requests to the device like GET_INFO, GET_LEN, GET_MIN and GET_MAX. The value returned by GET_INFO tells the driver which of GET and SET requests are v ...Show All
Smart Device Development 2d Game programming C#
I'm going to write some 2D games for Windows CE 5.0 in C#. There's gonna be a lot of vector rotations and transformations and speed is very important. Does anyone know any APIs I can use I've taken a look at the pocket PC Game API, but as far as I understand this is only for C++ You can P/Invoke this API from C# or VB. There's also D3DM you could use. Please see this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/GManGame.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/BustThisGame.asp http://msdn2.microsoft.com/en-us/library/ms180969.aspx ...Show All
.NET Development How to setup programmatically channels?
Hi, I want to configure a http server channel and a http client channel programmatically instead using configuration files. I'd like to know the correct syntax to translate the following configurations files Client <configuration> <system.runtime.remoting> <application> <channels> <channel ref="http" secure="true" port="0" /> </channels> <client> <wellknown type="General.IBroadcaster, General" url="http://localhost:5555/Broadcaster" /> </client> </application> </system.runtime.remoting> </configuration> Server <configuration> <system.runtime.remoting> <application> ...Show All
Visual Studio Team System Why is TFS not available to Empower Program subscriptions?
My beef is that TFS isn't available to anyone with an Empower Program subscription (except in prohibitively expensive editions). The TFS Workgroup Edition comes for free with Team Edition MSDN subscriptions, but it can't be bought separately. If it could, I would have bought it by now. To me, this makes very little sense. Source control/configuration management is very much a grassroots sell (i.e. it's a decision effectively made by programmers rather than by 'bigwigs'), and making TFS widely unavailable means far fewer people able to sing its praises to their peers. I work with several configuration management tools, and I'm able to engage in intelligent discussions with clients about CVS, per:Force, even good old SourceSafe, but ...Show All
Visual Studio Express Editions Pressing Enter in a text box
I was working on a simple problem and for the life of me I can not find a way to make it where you can press the enter button while in a text box instead of pressing a submit button (or any button) that I made. Hi, if you're developing a Windows Forms application, you can also set your Form's AcceptButton property to some button on a form, which you want to be "pressed", when the user presses enter, while focused on any control on that form. There's also the CancelButton property, which will try to close the form, when user presses the Esc key. Andrej ...Show All
Windows Forms Form Controls Not Respond To Mouse Click
I have an msn style c# windows application with a form and a panel on it. A list is drawn from the database and dynamically added via labels, link labels during form loading. At run time the list is generated again as the filtering criteria changes. So I clear the controls(labels) on the panel, get the list from the database and generate the list again. The list is created but the links, buttons on the form do not respond to mouse clicks. Only mouse over and mousemove events work. Does anybody have suggestions on why this happens I found the solution :) I called Panel.Controls.Clear() method to remove the labels and links. That is why the controls were not disposed and their event ...Show All
SQL Server Trouble with Package Configuration
Hello I'm having trouble setting different variables in my configurationfile. I've a "Send Mail Task" and apparantly I cannot change subject, if subject contains other variables For instance. "User-defined Search Result: Succes - Order no.: " + (DT_WSTR, 10)@[OrderExtract::order_id] If I look in the .dtsConfig it shows: User-defined Search Result: Succes - Order no.: 0 , and even when I try to change User-defined til Userssss-defined it has no effect. Am I doing something wrong Kind regards Janus, DK The reason your configuration file change is having no visible effect,is because the configured Subject property of the send mail task is later overriden by the expression ...Show All
Visual Studio Setting VS 2k5 multiple browser compiling of projects
I've been searching around on how to set the vs 2k5 project so it can compile for Opera, Firefox and IE. Sorry I jst cant seem to find the setting anywhere. Thanks ahead of time for your help. Yes, I'm working on a asp.net project but the answer I'm looking for is a Visual Studio 2005 Standard feature that I do not have turned on. Like setting a directory for a project, somewhere that is a compiling option to compile for more then 1 browser, not just IE. I saw this demo'd on a web cast, sometime in the last few months. ...Show All
Visual C++ Cannot run in debug mode
Hi, I am a person with a very basic knowledge of C++. I'm using Visual C++ 2005 express edition and installed Microsoft PSDK on top of it. My programs are running fine but when I try to debug, there are errrors. The same is happening with all the projects. Here is a simple code example: #include<iostream> #include<conio.h> using namespace std; int main() { cout<<"Hello World!!!"<<endl; cout<<"This is a test program..."<<endl; //Breakpoint here cout<<"Goodbye..."<<endl; _getch(); return 0; } After setting a breakpoint, when I run the code in debug mode (F5), then the breakpoint is not hit and execution of program goes on. The breakpoint b ...Show All
Visual C++ export <exe> resource from my program.. how?
Can anyone help me with API calls needed to export an .exe file attached to my program as the resource and copy this resourced .exe somewhere else Thanks Anton ...Show All
Windows Forms Tab control and Bound textboxes
I'm not sure if this is the right place for this question, but I'll try it anyway. I've got a tab control with textboxes on different tabs that are bound to a dataset. I am copying a row by using the loaddatarow method. Then I set the textboxes to display a few different values that what the row I copied had in it. This works, but when I change the tab before saving it, its like it reloads the textboxes to what is in the dataset. How can I keep it from 'reloading' these textboxes I want it to be enabled though, because I want to be able to view whats on the different tabs and also be able to change some of the values in the textboxes. ...Show All
Visual Studio Express Editions Free Books with registration of Visual Web Developer
I registered my copy of vwd 2005. This was about 2 weeks ago! I havent even received the promised mail from ms containing the links to access these books! When I try to register, my program tells me that I am already registered, which I may possibly be. But even if I am, I need to register again. What do I do about this Adrian ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help What do I need to download so I can connect to my 360 for XNA?
What do I need to download so I can connect to my 360 for XNA Do I need to download windows media connect No, you don't need Windows Media Connect. Check out this page . ...Show All
SQL Server WSUS reconstruct the environment
Hi All Im a new comer to the site and wsus. I inherited a functional wsus server it was great but due to a demand for improved reporting features I attempted to install the Wsus rollup reporting sample. Im uncertain as to how but I hashed up the installation to the extent that it corrupted the MSDE installation. It was suggested I remove wsus and reinstall. At this point I made another error. I was told that WSUS 3 had improved reporting features (and indeed it does, its infinitely better in that respect) so I signed up with Microsoft and downloaded the installation file. WSUS 3 uses SQL 2005 for Windows so my back up of the MDF & log files were rendered useless. I have since removed WSUS 3 reinstalled a fresh copy of WSUS Sp1 and run ...Show All
Windows Forms General Window Forms Oddness!!
Hi My frmMain is an MDI parent. Its size is 800 * 600. I have 4 forms in my application that need to open maximised as child windows, one of these is called TaskList. The forms that open from these 4 are dialogs. I have 3 questions that I can't work out. 1) When the application starts, the task list form should display maximised automatically. When it does the status bar of the TaskList window (you now have 2 status bars one for frmMain and one for TaskList) stops the vertical scroll bar from fully showing. (hence you can't see the bottom item in the fully docked listview). If the form is not maximised then you can see all the scroll bar. http:\\www.shagracing.co.uk\coding\01 ...Show All
