Dudley's Q&A profile
Software Development for Windows Vista How Vista detects antispyware or firewall from third-party firms?
And what I must do to Vista detect my program as antispyware I search in web, but not find answer. Thank you very much From http://support.microsoft.com/kb/883792 Q: How does Windows Security Center detect third-party products and their status A: Windows Security Center uses a two-tiered approach for detection status. One tier is manual, and the other tier is automatic through Windows Management Instrumentation (WMI). In manual detection mode, Windows Security Center searches for registry keys and files that are provided to Microsoft by independent software manufacturers. These registry keys and files let Windows Security Center detect the status of independent software. In WMI ...Show All
Visual Studio Tools for Office Broke VSTO -- Now Outlook Add-ins won't run
I was debugging some code with a troublesome cast, and now my Outlook won't load addins at all. I tried a simple "hello world" addin, and it's completely dead. The addins show as unchecked on the COM Add ins configurator. Any idea what I've done Hello, Verify that the entire AddinLoader.dll didn't get disabled... Help->About Microsoft Office Outlook->Disabled Items... In here, you may see some disabled items. Re-enabled them and it should hopefully start loading your addins again! Cheers, ~Joe ...Show All
Visual Studio 2008 (Pre-release) How to use the secure conversation feature in WCF?
Is there any sample code or document for me to learn it Thanks! Sincerely, Ludwig Xu Hello The WSHttpBinding binding supports the WS-SecureConversation specification. This can be configured in the property "binding.Security.Message.EstablishSecurityContext", where binding is an instance of WSHttpBinding. This property is true by default. Just create a simple example using this binding. If you look to the message traces you will see the establishment of a SCT using WS-SecureConversation. Hope it helps Pedro Felix ...Show All
SQL Server SQLServerProvider retrive all rows
Hi all, I'm trying to use SQLServerProvider to looking for new or changed records but it always retrive all the rows. How could I use this provider to retrive only new or changed records <HostedProvider> <ProviderName>SQLActionItemProvider</ProviderName> <ClassName>SQLProvider</ClassName> <SystemName>%_NSSystem_%</SystemName> <Schedule> <Interval>P0DT00H00M60S</Interval> </Schedule> <Arguments> <Argument> <Name>EventsQuery</Name> <Value>SELECT ActionItemOwner, ActionitemDesc, StatusNm FROM [QA_DEV].dbo.ACTIONITEMS_QA_VW</Value> </Argument> <Argument& ...Show All
Software Development for Windows Vista Seeking problem with VMR9
Filter graph consists of 2 source filters: 1. Source filter (which is used to playback AVI file) 2. Custom source filter (which implements CSourceSeeking, based on Seeking Ball example) - push model, ARGB32 subtype uncompressed images As a renderer i'm using VMR9 with 2 input pins, each one for one source filter, in windowless mode. The problem is when I seek (using IMediaSeeking interface obtained from FilterGraph), filter graph seeks only the AVI file, but not the my custom source filter. I've tried debugging and none of the seeking methods are called within my custom source filter. Thank you in advance! Can anyone verify that combining SeekingBall example and AVI file into one filter gra ...Show All
Visual C# Obtaining the location of a Control, relative to the SystemInformation.VirtualScreen.Location
I like using the Help.ShowPopup method when the user has entered something invalid in a textbox. If, for example, the user was supposed to enter a decimal integer and they entered "my dog has fleas" instead, then I can use the following call to place a message on top of the offending textbox. Help.ShowPopup(this, "Enter the number of fleas that are on your dog (zero to 65535)", location_of_textbox); However, it is a pain in the neck to figure out that final parameter, the Point which I've called as "location_of_textbox". The only way I've figured out how to do this is to get the Control.Location of the textbox and add it to the Location of its parent control, and add it to the location of the parent's pa ...Show All
Visual Basic Ngenning and protecting the code in an image
I'm writing some code that I want to be secure. I have stored data that I need to be uber secure. It's not a problem to encrypt the data. But the problem is to protect the code that manages the secure data. If I use reflector to dissemble my code, the dissassembly is magnificent and everything is right there. Using a c++ dll is not a solution because I need to call clr functions and once I've done that, the code is wide open to disassembly. Ngenned code is supposed to be dissassemable. But ngenning leaves the original image around, I suppose to activate the code that is placed in the GAC by Ngenning. Microsoft uses ngenned assemblies in their products. VS2005 is installed and then ngenned. But they don't leave disassembable im ...Show All
Windows Forms How can I Export Data From DataGrid to HTML file?
Hi, May anybody help me With thanks for your answer, I have thought about this way before, I think this a the last way, i want to search for other ways if any. if i couldn't find any other way, i will do your suggestion. Any other idea ...Show All
.NET Development Return argument has an invalid type - security issue?
Hi, We have a .NET remoting application server, which works great by itself. We are currently evaluating a commerical automated testing tool, that loads the application server's API assembly and simulates a client connection to the server. However, under this scenario the proxy object does not succeed in dealing with complex objects, and we get the "Return argument has an invalid type" error in return. We figured it has something to do with security issues but couldn't find any solution. We are using a tcp binary channel with typeFilterLevel=Full. The interface for the complex object AND the complex object itself are defined in a separate assembly (ApplicationServer) then the API (ApplicationSeverAPI). Thanks, Ron ...Show All
SQL Server SQL Server 2000 and 2005 on one machine?
Hi, i have SQL Server 2000 running on my notebook for learning purposes. Is it possible to run SQL Server 2005 on the same notebook without using virtual machines Thank you, Tobias As others have said, sure no problem. The only thing that I would add is: if this is a production box be aware that the SQL Server instances are completely independent of one another. In a sense this is good because you can start and stop one instance without affecting the other instances. But in another sense this has a drawback. The compete with each other for system resources - memory, CPU, etc. So you may want to adjust the amount of memory each instance can use. HTH... Joe ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Transformed Vertices in Beta 2
When creating a custom vertex , VertexElementUsage .PositionTransformed no longer exists, how do you specify that the vertex is already transformed, for something like a screen quad PositionTransformed, to my knowledge, has been removed. For something like a screen quad, you'll want to use a vertex shader that sets your quad to the limits of homogenous clip space (in the range x:-1,1 y:-1,1). Better yet, spritebatch makes it easy to do a full screen quad with subpixel offset correction by simply setting the dest rectangle to the size of the backbuffer. ...Show All
Visual Studio Chart Series Don't Summaize in run time
Hi, i'm developing a report at run time, i've been able to add a formula field to a IGraphObject using iGraphObject.SummaryFields.Add(moReportVariable.FormulaField(1)) but when i add it, it sets the "don't summarize" option to false, Does anyone know a way to change this option at run time to true Thanks Andrew ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Engine Renderer
I have been using an engine renderer that using DirectX 9.0c. It comes in a version that was developed in C Sharp, and I was wondering if that can be used with XNA Game Studio Express for the making of Windows and Xbox 360 games (assuming that XNA Creator's Club Subscription is purchased) Actually that puzzled me seeing as so many people seem to think the price of the creators club is borderline given you can't share your creations. Not sure how many will then fork out a further 100 dollars or more for an engine to create games that you can't share with anyone who doesn't also have XNA and now Torque X. Maybe I'm missing something but, doesn't that further narrow what you can do with your code ...Show All
Windows Forms auto screen resolution for c# window application
I have done a c# windows application, It should be automatically adaptable for all the screen resolution like 1024x768 or 800x600 and (ect) .how to do this You can check Current resolution using Screen.PrimaryScreen.Working area. This will return you the size of your Desktop in pixels e.g 800X600 but Working Aread means that it'll exclude TaskBar, Docking windows etc. So now you have got your working area you can Resize your form accordingly. Second as suggested by Mark you have to use Anchor and Dock proprties for every control on your Form appropriately so those can shrink and grow when form is resized. I hope this will help. Best Regards, Rizwan aka RizwanSharp ...Show All
Visual Studio Strange happenings with a table and a list
Hey, Have a report with a list and within the list is a textbox, a table, and a subreport. The list is grouped on department which is stored in the textbox. The table shows information on a column from the underlying datatable. The subreport show information related to the report from a different datatable. Everything works OK. I then added a filter to the table in the report to say when the column value was dbnull not to show it. This works, however if all the column values in the column are null, and there are no resulting rows to display on the table, it causes the department to show up as nothing which causes an error in the supreport. The document map shows the departments and if I add other text boxes they all calculat ...Show All
