superclonito's Q&A profile
Visual Studio 2008 (Pre-release) Webcam preview in an Avalon app
Hi, I am building a small webcam API which is part of a larger final year project at my university. In the samples I've seen the camera preview attached to a window, given its HWND handle. The lines of code looked roughly like this (taken from the PlayCap sample in the DirectShow SDK): ... HWND ghApp = CreateWindow(...); ... IID_IVideoWindow g_pVW; ... g_pVW->put_Owner((OAHWND)ghApp); ... So, what I want to do is actually have the preview go into an Avalon control. I would appreciate any insights on how this may be accomplished. Thanks in advance, Cosmin "3) Set up a streaming server that reads from ...Show All
Visual Studio Duplicating a Project within SourceSafe
Hello- I am new to Visual Source Safe and I have inherited a solution from a previous developer. I would like to create a duplicate or a version 2.0 copy of the solution before I start to modify it - keeping his version unchanged indefinately. Can anyone give me some pointers Thanks. -Dan Hi Danny, You have a couple of options : 1. Get the latest version of all the files, create a new project in the vss trea and add the updated files to it. 2. Drag the original folder in the VSS while pressing the right mouse button, and drop it on top of the folder in the VSS where you want to create the co ...Show All
SQL Server Service Pack 1 Database Services Installation Failure
Hi - using SQL Server Standard Edition (64Bit). All of items of the service pack will install execpt for the Database Services. The Details are: "Unable to install Windows Installer MSP file" Log Details Below 05/04/2006 08:18:42.327 ================================================================================ 05/04/2006 08:18:42.327 Hotfix package launched 05/04/2006 08:18:43.827 Product discovery successfully completed during the install process for MSSQLSERVER 05/04/2006 08:18:43.827 SP Level check successfully completed during the install process for MSSQLSERVER 05/04/2006 08:18:43.827 Product language check ...Show All
Visual Studio Team System FxCopCmd on a web app
FxCopCmd works great on windows apps or compiled assemblies. But, I cannot get it to work on a website or web service. Pointing it at .cs files does not work (in the app_code folder) and there is no project file to point it at, only a solution (if that works). Any ideas There's no documentation either that i can find. Thanks. Jeff For this I'm using the FxCopCmd.exe directly. So, in order to do this I need to compile the website, run it once (via the browser) then navigate to the temporary files section under asp.net and file the file(s) and run FxCopCmd against those files The goal here is to enforce codin ...Show All
Visual C++ xp style
how can i add the xp style to my mprogram in mfc c++ Perhaps it would be better if you bookmarked http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=144703&SiteID=1 instead . ...Show All
Visual Studio Team System TFS Beta 3: Files and folders converted to lower case
We have run a test conversion of our VSS database into TFS Beta 3. During this process, the conversion has renamed nearly all of our files and folders to lower case names. This is a problem as we have cafefully used PascalCasedNames for all of these items for better readability, and to match the casing of the class names that many of them contain. For example, in VSS we had \SolutionName \FirstProject \FirstFolder FirstFile SecondFile \SecondProject FirstFile SecondFile etc... ...Show All
SQL Server 'LIKE' function in SSAS ?
how can i filter rules in a dmx query NODE_CAPTION LIKE '%something%' doesn't seem to be recogenized by ssas.. help plzz No, the LIKE operator is not supported in SSDM 2005. A possible workaround is to use a UDF (user defined function) to perform the filtering. See http://www.sqlserverdatamining.com/DMCommunity/Newsgroup/3100.aspx for more details. thanks ...Show All
Smart Device Development Exception Code 0x80000002- please help!
Hi. I have an application for PocketPC that sometimes gets this exception: Exception Code: 0x80000002 Exception Address: 0x01f7aac and I don't know what to do with it. I'm don't know much about exception handling and I don't understand what this error means. I get it inconsistently. sometimes it never surfaces; sometimes it suddenly does. I've been trying to find patterns to no avail. My application is basically a speech recorder and player. I would appreciate any clues as to what this message means, what causes it, what I should do with it or how I can avoid it if possible. Thanks for any tips! Hello what ...Show All
SQL Server Report Project and Report Designer
When we want to create reports for report server, we create a report project in Visual Studio. However, is it possible to add a report project as a sub-project or a nested project in a Visual Studio solution Does it matter Thanks! Yes, it's an end-user designer. I've seen report builder but that can only be used with data source models, and we're writing our own data extension. Basically we'll have to create a basic RDL file and then let the user edit that on their own with designer. ...Show All
Visual C# compile fast, build _sloooow_
when i compile one of the projects in my solution, the 'compile' time is very short: the 'compile complete' message appears almost emmediately. (this is with the public beta of vs2005) however, afterwards, the ide will begin to do things on the hard drive for up to 2 minutes (each time !). after that, the 'build succeeded' message appears. what is it doing in this time what can i do against that this makes it almost impossible to work with the ide. WM_QUERY thomas woelfer http://www.die.de/blog Wow, thank you! that changed things a lot. the ide just went from 'barely useable' to 'fast'. WM ...Show All
Visual Studio 2008 (Pre-release) "late binding" communication and more questions
I have several more basic questions concerning indigo: 1. Does the WCF provide a way to communicate to a slick way to communicate to a web service which is discovered during runtime. As an example: somebody provides a WSDL and an operation he wants to call from this service as well as a XML message he sends to the service and a XSL that he wants to apply to the response message. Currently I do something like that with a manual HttpWebRequest. Is something like that possible with WCF in a better way or is the contract/a known interface a requirement for WCF communications 2. Is WCF supported on the Compact Framework or will it be 3. ...Show All
Visual Studio IScanner, scanning order, using Managed Package Framework.
I've noticed that IScanner can jump around a file seemingly at random when SetSource() is called. This is OK for some circumstances, but a language I am implementing (using the Managed Package Framework) supports nested comment blocks, basically: /* blah /* nested */ blah! */ When my IScanner is updated sometimes the colorization goes to hell. Is there any way to force anything calling IScanner to only call it "top to bottom" (AKA, if you're going to scan the whole file, do it from the first line to the last line only). If not, can I get some details as to how other people implemented this sort of thing without screwing up colorization ...Show All
Smart Device Development Menu Items in Menu Bar
Can you have more than one menu item in the menu bar Currently, I have two menu items (Tools and Edit) in the command bar. When clicked, both will bring up a popup menu. HOWEVER, when I click on Edit...i see Tool's popup menu instead of Edit's own correct menu popup. Can I even have more than one menu item in the command bar Anyone have any ideas So I think i may have found the solution...kinda of. So I was at the MSN website regarding migration to vs2005. I was completing the exercise and I noticed it answered my problem. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnp ...Show All
Smart Device Development CameraCaptureDialog Issues
I've been having some issues using the CameraCaptureDialog class on an HTC Apache device (rebranded as the UTstarcom 6700): 1. After exiting my application, the device's camera capture screen comes into focus. This happens whether I dispose of the class instance or not, and the Close() method is protected, so I can't call that. Any ideas on getting rid of this lingering capture screen 2. On a seemingly random, intermittent basis, an InvalidOperationException will be thrown from within the ShowDialog() method. Sometimes this will happen after taking 4 or 5 photos, but other times it will work fine for 40 or 50 photos before I give up trying ...Show All
Visual Studio Tools for Office Problems creating an office project
I'm trying to create an Excel and Word Projects in VS 2005 Beta 2 and always got this error, "The type initializer for 'Microsoft.VisualStudio.Tools.Application.Hosting.VCG' threw an exception." in a error dialog, and the creation is uncomplete. then suddenly this error stopt coming and I was able to finish the creation of the project. But then another problem came, if I tried to run the project it always crashed. It's an empty excel project... And the first error is coming again. I need help on this one... Hi Andri, Did you solve the problem I have the same problem as you. Pls tell me if you could ...Show All
