Answer Questions
Kira_26 Microsoft Cautions Developers About Visual Studio/Vista Conflicts ?
http://ddj.com/dept/windows/193100342;jsessionid=QVOCPBYPBOZZGQSNDLOSKH0CJUNN2JVN It means we cannot use Visual Studio 6.0 Is this True it may well be. VS6 is already old and outdated...best to move to bigger and better things. You can use the FREE Express editions of .NET, with some limitation of course but not time constraints. About time you moved on up ;-) As if it would be that easy to migrate to new IDEs and OSs... ...Show All
KitGreen Drawing pixel based animations
I have read the QuickStart but I haven`t seen any option to create an bitmap in memory and display it to perform old school pixel based effects. Is this possible I think that in WPF this is done via the BitmapSource class. Is there something similar for WPF/E Thanks! Joe, thanks for the reply. I hope you include this in a future release because IMHO doing pixel based effects is very useful in a lot of scenarios and especially for web based games. The December CTP does not support this feature. We will consider this for a future CTP or release. Joe ...Show All
Cesar Francisco Unable to open the c:\ using create file in vista
Hi, I am unable to open the c:\ drive by using createFile in vista. The program that i wrote is file working on the WinXP and it is not working on Vista. I am using VC++.NET 2003 for my application development. Thank you for the response. Code is posted below. Please note that on Vista I am logged in as sole user ( and hence administrator ) Yet, I hit the error on Vista but not on xp. How can make the the call to CreateFile succeed Thank you once again. DWORD ReturnPhysicalDrvNoWithDrvLetter(char cDrv, WORD* nDrv) { DWORD lastError; HANDLE hDevice = NULL; char cDef[] = " \\\\.\\C :"; char cdrvName[20]; memset( cdrvName, 0, sizeof( cdrvName ) ); strcpy(cdrvName, cDef); hDevice = CreateFile( c ...Show All
RobertWG SampleGrabber fail after unlocking from lock screen in XP
Hey guys, I'm having a problem whit my direct x graph; I'm performing acquisition with a SampleGrabber (and also using a callback to retreive my samples). If I go to "lock screen" (windows lock computer) during the acquisition and I come back to my application (unlock), the callback function is stop being called (no sample anymore), so my acquisition fails ... any idea what may be my problem(s) Here my graph : CaptureFilter (from camera) -> SampleGrabber -> VideoRenderer CLSID_VideoInputDeviceCategory->CLSID_SampleGrabber->CLSID_VideoRenderer (CLSID_VideoInputDeviceCategory, the first video capture device install (and the only one)) I'm seeting up a callback (class derived from ISampleGrabberCB) and im ...Show All
Giftednewt Calling CreateProcessAsUser() from service
According to some MS documents (e.g. http://www.microsoft.com/whdc/system/vista/services.mspx), it should be possible to use CreateProcessAsUser() API in a Vista service to create a process in user session. I am trying to achive this, but the function returns error code 1307 (ERROR_INVALID_OWNER) = "This security ID may not be assigned as the owner of this object." Does it work for somebody Many thanks in advance. Any way I am able to launch process (using CreateProcessAsUser) but it is getting launch in another desktop i.e., is Session0, this is the place where my service is running. I am not able to launch in Session1 (users desktop). I am trying to get some help from http://weblogs ...Show All
Jérémie Faucher-Goulet Consuming custom activities at runtime using the WorkflowDesignerControl
I am using the WorkflowDesignerControl (WDC) to create an application to provide simple enduser workflow authoring. I envision the application working something like nUint, where a user would point to a set of assemblies containing custom activities they wish to consume. The application would then... 1) Load the assembly 2) Add any types derived from Activity as custom activities in the WDC Toolbox... The problem I run into is that it seems difficult to add a custom activity at runtime. The only way I could really do it was by tinkering with the SelfHostToolboxItem class and forcing it to specifically load my assemblies. Howver, even when I do this, if I use the custom item on the design surface the WorkflowView ...Show All
MatrixResolver Test Case 22 and Shortcut table
Test Case 22 asks to compare tables from schema.msi with application msi. Problem is the Schema.Msi file used is from Windows Server 2003 R2 Platform SDK, and does not contain Vista specifics columns. In "Shortcuts" table, "DisplayResourceDLL", "DisplayResourceId", "DescriptionResourceDLL" and "DescriptionResourceId" are missing from the schema.msi table. Test case 22 should be updated to allow this 4 extra columns. Julian, You are correct, a discrepancy in these columns does exist. The test cases are being updated to require that the Windows Vista SDK be used. You can download the SDK here. http://www.microsoft.com/downloads/details.aspx Famil ...Show All
Pablo_B what can i do to render video(from mobile built in camera CCD)to a memory
Hi: I am a newbie,i want to capture the video into memory for example: a buffer (not a file),but i don't know what to do also,i thick it may works,if i write a filter named CSample(derived from CTransInPlaceFilter),and use the CSample::Transform(IMediaSample *pSample) then implement pSample->getpointer(pbuffer); 1.does the pbuffer filled with sample from upstream . If the method is not correct please tell me. 2.Is there any document that can teach me step by step thank you! To jcollomosse: First of all ,i really appreciate your help, I modyfy the nullnull project ,and still has these errors when added nullnull.cpp to my new MFC smart device DLL proje ...Show All
RickW_Houston Technology used in windows vista
Hi! Please help me out to know that what is the technology/ language used to develop windows vista This is urgwnt. Please do reply to this post. Thanx Buddy, No doubt many languages are used to design an operating system. I would also like to know whether at what extent (in %) is C++/ C and dot Net could have been used mainly C/C++ and a tad of .NET Development I believe and Assembly (machine code) different languages have been used to develop the Windows OS overall...not just 1 specific ...Show All
Alex_UTL ASP.NET and WWF
Hi, I need to build anything like this :-) Scenario: 1) The user clicks in a button and start the workflow. 2) The workflow executes an activity and stop waiting for a action user. 3) In any moment the user access a asp.net page and list all workflows pendent and approve and cancel the workflow. 4) The stoped workflow is notified and resume the flow. I'm thinking in use the mechanism to save and track workflows in database, but I don't have idea about how to do this communication between asp.net page and workflow already started. May I to do it using events Thanks in advance. Andre here is the link: http://windowssdk.msdn.microsoft.com/en-us/library/ms734584.aspx frank, http://www.zipmind.com Hello, Andr ...Show All
tstrob Need Help! Prob in Passing ArrayList to Web Service in WWF
Hi guys, I'm calling a WebService in my WorkFlow . The method exposed in web service looks as follows { IList MethodName(string str1,string str2,IList myList) } I need to pass the IList as input to the WebService. IList may be: 1) XmlDocument objects (Xml files loaded to Document Object) 2) Business Objects (these may be "user defined class" instances ) However I have Serialized the types im passing. Im getting an exception: "There was an error generating the XML document." With inner exception: The type "MyBizObj" was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically. How can i do this ...Show All
Abe1816 SHFileOperation and 8.3 filenames
Hi, I'm not a programmer or anything, so I'm quite new to the API and things. I have a complicated reason for needing to use 8.3 filename spec to remove some directories. My function has worked perfectly on 2000/XP, but it returns "2" on Vista. (Vista Enterprise 6.0.6000 N/A Build 6000, x64-based PC ) After looking around, it seems that winerror.h resolves that as "ERROR_FILE_NOT_FOUND". The file clearly exists, and a "dir /x" will give the 8.3 name that I'm using. Also, I believe DeleteFile works with 8.3 names, but not SHFileOperation. Can someone please confirm this for me I hope it's not a silly mistake on my part. (Note: I'm not natively coding these API functions, I'm using a plugin that makes the API c ...Show All
LucasPc Does Feb 2007 CTP for WPF/E support Canvas.Resources ?
Hi, Can we have reusable things like defining a brush once and reusing it several times using canvas.resources.This question was asked for Dec CTP but does Feb CTP support this. Example: <Canvas xmlns=" http://schemas.microsoft.com/client/2007 " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " > <Canvas.Resources> <ResourceDictionary> <LinearGradientBrush x:Name="arcenciel" StartPoint="0,0" EndPoint="1,1"> <GradientStop Color="Yellow" Offset="0.0" /> <GradientStop Color="Red" Offset="0.25" /> <GradientStop Color="Blue" Offset="0.75" /> <GradientStop Color=&qu ...Show All
thomasd1234 Initializing local services from App.Config
I've seen plenty of examples on how to load core services (persistence, tracking, etc.) using entries in the App.Config. Is it also possible to load your own local services using App.Config entries If so, is there an example of how to do this somewhere Thanks. Bruce Bukovics Author of .NET 2.0 Interoperability Recipes http://www.apress.com/book/bookDisplay.html bID=10116 Could you post the WorkflowRuntime hosting code and the web.config file Thanks Roman Great, that looks like what I needed. I just upgraded to the June CTP so I'll give that a try. Thank you both for your help. Bruce Thanks! That did the trick. I couldn't find this documented a ...Show All
Aloepages Workflow + Offline + SmartClient
Hello guys, I'm in the middle of an architecturing project, and basically we are talking about 4 or 5 workflows with some complexity, and integration with 3rd party ERPs. The cath is this: all users are working in different offices, ocassionally connected, so the solution MUST be SmartClient (web is not an option). When they are off the network , they should be able to start a workflow, or to approve some pending, and then when back online, synchronization should occur. The creator can be in one office, it posts to the server for some ERP validation, and then it goes to step 2,and that is another user from another location, and so on. Basically the question is: is it possible with WWF Or it would mean more work than using somethin ...Show All
