colinhugg's Q&A profile
Windows Forms Pixel colors found using GDI+ are different!!!!!
I have .jpeg image with dimension(2000 * 1500), scanned with 200 DPI....When I check pixel color of some (x,y) in Photoshop and retrieve same pixel in GDI+ using bitmap.GetPixel(), I found the difference of 25+ in each color(R,G,B). And When I use some third party Image library (which is wrapper on .NET) gives approximately same color components as Photoshop. so ...Show All
Visual Studio Express Editions Creating reports in Vb Express 2005
Are there any type of reporting features in VB Express 2005 Tried Crystal 9.0 with no luck. Any help appreciated. John Williams Crystal doesn't come with the Express Editions. If you're using SQL Server, you can use Microsoft's reporting services. I think reports can be added from the new item... menu, and report controls are available on the toolbar. If you're not using SQL Server, you'll need to get a third party reporting package. We use Active Reports, which is pretty good (but not free). There are some free ones as well, just look around on SourceForge or another open ...Show All
Windows Search Technologies Search for replied/forwarded email
Hello, I would like to search for email (Outlook 2003) that I have or haven't replied to or have forwarded. I cannot find the proper property that contains this info but I know that Outlook keeps this for all messages. Thanks. Hello cyr2224, Unfortunately, we don't support this capability in WDS at the moment. The reason is that we don't index whether or not someone has forwarded or replied to an email. I do see use for this feature, however, and will submit it as something to consider and prioritize for a future release. Thanks, Paul Nystrom - MSFT ...Show All
Visual C# File.encrypt method
I'm just trying to do a simple encrypt of a file. I'm getting a System.IO.IOException thrown when the method executes. Am I mis-interpreting this method The documentation states that it's available in C#. Here's a snippet of the important parts. using System; using System.IO; using System.Security.AccessControl; try { File .Encrypt( "G:\\test.tx1" ); //this is an NTFS partition } catch ( IOException er) { MessageBox .Show(er.ToString(), "error" , MessageBoxButtons .OK); } The error is System.IO.IOException: The request is not supported. Then points back to the line containing the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture map to 3d head model
Hi I want to map the 2D human face image as a texture on 3d head model in managed DirectX. Can Anyone help me on this problem I have already tried TextureLoader.FromFile(...) Method but it didnt work. This method put some dark shade on 3d model and nothing else. I want to map the image from file on 3d head model. How this would be done thnx What you are looking for requires a very non-trivial application. Best advice I can offer you is to find a development house that specializes in medical application development. ...Show All
Windows Forms Error when modifying clickonce manifest
Hi! Help is needed. I'm trying to create a ClickOnce deployment with VS2005 b2. I have to add a few additional dll-files. I use MageUI to add the files and re-sign the manifest files. However, this failes all the time. This is what I do: 1. Use "Publish solution" from VS2005 (this initial deployment works as expected) 2. Open [program].exe.manifest and add one managed dll'file 3. Click Save 4. Select the same certificate that VS generates for signing 5. Open [program].application 6. Select the manifest from 2 7. Click Save 8. Select the same certificate that VS generates for signing What step am I missing in this process Please, any id ...Show All
Windows Forms clear dataGrid
Hi there, I was just wondering how to clear a DataSet. I couldn't find the right method in the MSDN Library. Thanks Chris Since you are using C#, set the Datasource = Null. 'Nothing' is a VB construct. ...Show All
Visual Studio MsiProductCheck element
Hello, I'm preparing custom package for Bootstrapper. I need to check if such a product was installed already (using my application or another installation). Product redistribute as msi file. I added folowing section to product.xml: <InstallChecks> <MsiProductCheck Property="ComponentsInstalled" product=" "/> </InstallChecks> <Command PackageFile="Components.msi" EstimatedInstallSeconds="60"> <InstallConditions> <BypassIf Property="ComponentsInstalled" Compare=" " Value=" "/> </InstallConditions> </Command> What should I write instead of , , ...Show All
Visual Studio Team System FxCop 1.35 RC1 exception during analysis
I regularly get the following error message when running an analysis with FxCop 1.35 RC1: 1 exceptions occurred while loading <assembly name>. 0) Could not resolve member reference: System.Configuration.IConfigurationSectionHandler::Create. Is this a bug For info, this seems to happen with the following sequence: - Open FxCop project file - Run Analysis (no exception) - Build VS2005 solution to regenerate assemblies - Run Analysis (exception occurs) ...Show All
Visual Studio Team System LoadTest.ThresholdExceeded problem
Hi, I wrote a simple load test plugin and used LoadTest.ThresholdExceeded. I set a threshold rule for process time in the local machine (testing machine). In the handler, I specified that when an ThresholdExceeded event occured, a message box wouldl pop up and the load test would be aborted. But it seems to me the handler was not working well. Although I saw a lot of threshold violations in the in the test result wizard, I never got any message specified in the handler. I don't know why. Can anyone help me Thank you very much. Ran Mouri My code is below: using System; using System.Collections.Generic; using Sy ...Show All
Visual Studio Tools for Office Excel automation in asp.net 2
Hi How can I use excel automation within an asp.net 2 project with VB.Net I'm using Visual Studio 2005 and Office XP 2003 TIA Someone recently asked a very similar question about doing this with Word. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=287608&SiteID=1 You can do this but you will have to modify the permissions IIS runs under, reducing its security, and performance will be poor because each IIS thread will startup a much heavier Excel process in order to do its work. Running Excel to automate it is not a supported or recommended scenario. VSTO only supports accessing ...Show All
Visual Studio 2008 (Pre-release) How to serialize a SystemColor by its name and not its hex value?
Instead of serializing [Color="#FFAB83EF"], I'd like to serialize as [Color="{x:Static SystemColors.ControlDarkColor}"]. It looks like System.Window.Serialization.StaticExtension should be able to do it, but I'm unable to get it to work. Any ideas or help would be appreciated. Serialization isn't able to write out the color as an x:Static reference. It's actually the Color's TypeConverter that's producing this string, and it doesn't have enough context to know that it could be writing out a system color reference here. Thanks, Mike ...Show All
Visual Studio Team System VsTestHost Forced to write to DB?
Is it possible to have vstest host write to a csv file or some other type of file or does it have to right to a DB With the attached DB file, can you use an access database (or preferably a CSV) to record the results of a webtest Basically we're trying to bypass the need to write the results to the LoadTest database if possible. There is not a way. If you do not need to view the results in the post run monitor, then you can choose none as the storage type. The results will be available while the test is running, but once you shut down VS, you will not be able to retrieve the results. If you want t ...Show All
Visual Studio Tools for Office Creating a shortcut on the outlook shortcut bar
I'm dorking around with outlook 2003 using the new vsto 2005 add-in project from vb.net 2005. Anyway, I'm not that famaliar with the outlook object model, I'm starting to figure it out. Anyway, does anyone know how to add a button the the Shortcut bar Any help would be appreciated. Jon, Actually, I'm sorry to break the bad news, but what you want to do cannot be done. The Outlook OM does not support this. This is a common request that the Outlook team hears, though, and, as always, they are listening carefully to customer input during the development of Outlook 12. I know I would like to control the wonderbar and ...Show All
Visual Studio Team System December CTP Installation Problem
Hello, When I try to install the December CTP Data Tier, the installation fails, indicating that Reporting Services is installed on the Data Tier. It says to remove it and install it on the Application Tier. This seems to contradict the installation instructions I have. Is this what I should do and if so how do I indicate in the SQL Server 2005 installation that I want Reporting Services installed on another server Any help would be appreciated. Gary I'll probably just reimage the server and reload SQL Server 2005 without Reporting Services, then load it on the other server. ...Show All
