Software Development Network Logo
  • Microsoft ISV
  • Game Technologies
  • VS Team System
  • SharePoint Products
  • .NET Development
  • Windows Forms
  • Visual Basic
  • Windows Vista
  • SQL Server
  • Visual FoxPro
  • Visual C#
  • Audio and Video
  • Visual Studio
  • Smart Devicet
  • Visual C++

Software Development Network >> jwadew's Q&A profile

jwadew

Member List

M.N. Ahmed Sahib
eric_from_nj
aero1
Terry G.
SLang
Ibrahim Khalil
susan_wolber
Le Saint
Zooz
Freedom1029
Miguel Rion
John.Doe
yabing
MNaren
jchris1710
rob warning
baswegan2
Wolfsvein
Aaron Oneal
DazlerD
Only Title

jwadew's Q&A profile

  • Visual C# Casting an object to a specified System.Type object

    Although this seems like something that should be painfully obvious, the method eludes me... I need to cast an object to a specific System.Type object. It's more clear in code: ... int a = 1; int b = 1; Compare(a,b,typeof(int)); ... public bool Compare(object intA, object intB, Type type) { return (intA == intB); //returns false } How do I cast intA and intB to integers without doing so explicitly I need to cast them using the System.Type object, since it is unknown within Compare that these are int types. Thanks, these answers were somewhat helpful, but the crux of the question was how to cast an object to a specified Type. In other words, I have an object objA. And I have a Type typeObjA which is the Ty ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Supported gamepads (Spacewar)

    Hi, Is just the XBOX360 game pad supported, or should other pads also work. I've tried connecting my old MS Sidewinder Plug and play pad, which is working in other programs, but not here. Is there something I need to set up And (if other pads are not supported in spacewar), is this a limitation of the spacewar demo that can be coded around for windows based games Chris So if we want to use other controllers, which is pretty much a requirement for a pc game, were back to mdx and we loose xbox360 compatability Is there a way we can detect the type of controller connected using xna ...Show All

  • .NET Development DCOM EnterpriseServices

    COM+ Application Packaged (Exported) on server, got MSI file Install MSI file on Workstation: error "The typelib could not be loaded". What's wrong The MSI file was generated using the Component Services management console exporting a in-house developed .NET Enterprise Services Server object.  The typelib it is looking for is not specified in the error message.... ...Show All

  • Internet Explorer Development IE7 displays my xml/xslt page differently from IE6

    Hi, I have a Web application that works as follows: - An ASP.net page generates an XML string linked to an XSLT stylesheet and sends it to Internet Explorer. - Internet Explorer applies the stylesheet and displays the resulting HTML page in the browser. Everything worked great with IE6 and most of this still works fine in IE7 except for one page. In that page, I return an XML string similar to the following: 1 < xml version="1.0" encoding="utf-8" > 2 < xml-stylesheet type="text/xsl" href="styles/volumetryAdmin.xslt" > 3 <ifinance xmlns="urn:ifinance" auth="0" lang="fr" today="20061109"> 4 <precomps> 5 <precomp id="5& ...Show All

  • .NET Development Problem with Save method in System.Drawing.Image Class

    I am trying to save Image in memory stream using Bitmap Object. Save method Throws an exception if Image format is MemoryBitmap But if I use Save method to save image in File on disk then it works fine! Any Idea Help Is this bug I observred that Save method to save image in file saves to PNG format rather then MemoryBitmap format without giving any message! I think this is bug! The MemoryBmp image format is not suitable for persisting an image to either a memory stream or a file stream. When specified in the Save() method, it will throw an exception with message "Parameter cannot be null, Parameter name: encoder". You could dig up one of the encoders supported by GDI+ with System.Drawing.Imaging.ImageC ...Show All

  • .NET Development DataReader Close() Issue

    Well, I'm just pulling hairs trying to figure out the following issue. This example performs the same way with SqlConnection/OdbcConnection/OleDbConnection etc. I'm connecting to A SQL Server 2000 Server. My development is done remotely so I have a PPTP VPN connection between my development box and my DB Server. I'm running .NET aspx code C#. This code is being run against a very large table (I tried various other large tables with same result) I've isolated the problem with the DataReader.Close() function. It just takes a VERY long time to return. The more data is in the Result Set of the SELECT statement, the longer it takes. So if I add TOP 10000 to the SELECT statement, it takes 5-6 seconds to close....and it get progressively worst. A ...Show All

  • Visual Studio Tools for Office URGENT: Cannot Install VSTO June 2006 CTP!

    When I click on the setup file 'vsto3ctp.exe', I am receiving the following error message: "You must first install Microsoft WinFX Runtime Components February CTP before installing or repairing this product." yet i am running the latest WinFX runtime components 3.0 beta 2, which it says should be fine in the documentation. Can anybody please help me to install this CTP as a matter of urgency. I have a deadline in a couple of weeks and really need to get cracking. Thanks! I am only a humble drone in the corporate beehive so I am duly obliging. :) Well OK, so here's the solution to your issue you initially posted: Add [HKEY_LOCAL_MACHINE\Software\Microsoft\WinFX RunTime\3. ...Show All

  • Windows Forms Showing an animated waiting dialogue while invoking a remote method

    Hi, I’ve developed a smart application that uses .Net Remoting. When calling a remote method, the system hangs up till the method returns. It will be nice if I can find a way to provide the user with an animated dialog telling him that there is information being requested from the server. Any help Thanks alot Mr. Sriram Rajamanuri The last article you have provided to me was so helpful. I've understand the topic, now I am developing a form that uses those ideas. I may provide u with the source code… to check & to use Thanks again! ...Show All

  • Software Development for Windows Vista Trying to Optimize Decoder Filter

    Hi, I have written a screen capture encoder/decoder that works quite well. One problem that I have is the amount of data that my filter generates, a 1024x768x32bpp screen will create 3MB of an output sample. What frustrate me is that only a small amount of data has changed on the screen but I need to copy all the data each time to the output sample. Is there a different way Some way that I will decode my frames directly onto the output samples can DX-VA help in any way Regards, -Shay. I'm not actually quite sure what you are asking. When I first read it, I thought you were asking about the compression process and I was going to say that most video encoders solve this problem of temporal redundancy. Bu ...Show All

  • .NET Development How to parse a Percent value?

    I would like to parse a Percent value like "12.34%" with consideration to the globalization settings. The Percent values are generated with: double d = 0.4567; Console .WriteLine(d.ToString( "P" )); I thought I am able to do it on the same way like Currency values but NumberStyles doesn't contain a Percent member. d = Double .Parse( "12€" , NumberStyles .Currency); Is there a easy way or do I have to program a parser for myself Yes, this is a possible solution. To check if the user entered the percentage symbol I use this code fragment: string percentSym = text[text.Length - 1].ToString(); if (percentSym == NumberFormatInfo .CurrentInfo.PercentSymb ...Show All

  • SQL Server two matrixes export to excel question

    hi everyone I have two matrixes in a report the matrix headers visibility property are setted by hidden two matrix is on same row( ont left, one right) question is header visibility i set the header visibility true , the excel show is right but i set the header visibility false, the second matix is not right user property editor , we cannt set the row height with 0 but we can edit the report code set the row height with 0 so, I set the the visibility of header to true. then, set the header row height with 0. ...Show All

  • Visual Studio Team System How to get data From TFS Work Item field!

    Hello, I am working with TFS using ASP.NET, c#. I would like to get Data from TFS for those work item depend on workitem type is bug, Scenario, task, ... State ( Active, Closed...), Type (API, High level Requirement, Security...), Triage (Approved, Investigate..), Priority(1,2...), Severity(Critical, high,...), discipline (Architecture, development...). Is there any API to do this or is there a way to do this at all Please help! Any answer would be greatly appreciated. Thanks in advance. Ddee hi the Field "type" is not a custom field...It is from TFS ... Please look at the below: The Work Item Dimension The following tables describe the co ...Show All

  • Visual C# library not registered error

    Hello, I hope someone will have an answer to this question... Using VS. Net + C# I have a a console project called implementer that communicates with another addin project. Both are supposed to send and receive a "struct" that holds a hashtable to store/change info. I got the addin to show up right and it starts listening to the events been triggered by excel. In one of the events, the addin class, via invocation, is supposed to instantiate an instance of the struct and pass it to the running instance of the implementer class which changes and modifies the info in the hashtable of that struct. when trying to send that struct (which is a dll file by itself but added to both projects as reference) I get the error message s ...Show All

  • .NET Development .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7C812A5B) (800703e9) while starting Visual Studio 2005 IDE

    I am getting error .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7C812A5B) (800703e9) while starting Visual Studio 2005 IDE. It is only showing splash screen when I start the IDE and logging the error message in event log. I have reinstalled the .Net Runtime and VS 2005 but problem is still continuing. I am not able to use VS 2005. Can any one provide some help Hi, I had the same problem on a Win XP, IE 6, Virtual Machine with Visual Studio 2005 SP1, CMS Server 2002 and SQL Server 2005 and Windows Workflow foundation. As previously noted, repairing .NET 2 framework failed, and re-installing the Vis Studio 2005 SP1 also failed. Removing Windows Workflow foundation ...Show All

  • Visual Studio Team System Regular Project Type Templates

    I had a working installation of VSTS with TFS beta 3 refresh. In between, I did not work for 3 months and everything broke. After that, I could get TFS for workgroup going. Before TFS for work group, TFS client was already installed. But after installing TFS for WG, when I try to create a new project, I do not see all the regular project type templates. All I see is "Business Intelligence Projects" and "Other Project Types" under which I see "Blank Solution" and "Search Online Templates". What do I have to fix to see all the regular project types including "Distributed Systems Solutions". You need to install one of the Team System sku's or (if you have i ...Show All

©2008 Software Development Network