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

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

moorpipe

Member List

ChrisCo
hashmi
Thaina
ray_newbie_SSIS
Marcus Garcia MVP
Chuck Cobb
Roger Jennings
Sreekk
Nick Waanders
B_Lilith
Kline Chen China
katokay
Lejing
JoeBlew
Ravi Kite
Jonathan Gauthier
Shan McArthur
ironfede
Andy Kinnier
Somsong
Only Title

moorpipe's Q&A profile

  • Visual Studio Team System Download FXCop 1.32

    Hi , I want to download FXCop 1.32. Please send me the link. I ahev the link for FXCop 1.35 but I want FXCop 1.32. Thnaks and Regards, ChatanyA Agrawal I too would like to download FxCop 1.32. Because my organization is still running Visual Studio .NET 2003 (lack of funding prevents upgrading), we are also unable to download the .NET Framework 2.0. Whenever we try upgrading to 2.0, Visual Studio starts getting some weird bugs. So I was hoping that you would link to FxCop 1.32 so that I might still be able to use your product. Thanks! ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Applying a texture transformation

    Hi - simple problem here - I've got a cube, to which I apply a texture made from the backbuffer - so far so fairly straightforward. However I want to only use a part of the Texture2D I've created - how do I apply a texture transformation to a Texture2D before mapping it over my cube I assume this is the way to change UV coords. Sorry if this is a chump level question - I'm not quite ready yet for anything that involves writing a custom shader. Cheers, Jubber Wait I just had a flashback of how I was never able to get a texture applied using a BasicEffect even though some things I read suggested it should work. I guess disregard my previous statement, sorry. Here's a document that may help though: ...Show All

  • Visual C# Global instance of a class

    I have a class defined in a separate file (general.cs). Where I have 2 declare the instance of this class in order to have a global object I tried 2 declare it in Program.cs or in form1.cs, but I can't see the object in any other form ... because you also have to make them static, the fields/properties/methods of a static class must be static. you only declare private/public (the way you are thinking) when you create an instance of a class :-) ...Show All

  • Visual Studio EntLib's ExceptionHandling.Logging.dll doesn't get coupied when TFS building

    Hi all, I have a solution that has a web project that uses version 2.0 of the microsoft exception handling application blocks. When I want an error logged to eventlog I call ExceptionPolicy.HandlerException(ex, "My policy"). On run-time, the application block logic in the Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll (haven't looked into what happens internally, it works so I've been treating the application blockls as a black box) instantiates the object responsible for event ogging. This class is in Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll. Note that in this case, the web project contains code that programmatically explicitly calls the ...ExceptionHandling.dll while the declarative ...Show All

  • SQL Server NEED COMMENTS: Why SQL Server Allow so

    this is not a question i need nice comments on this "Why did SQL Server can have same name of indexes on different tables, but Oracle do not" (i maen SQL Server allow same Index name, for any number of time on different tables, but Oracle dont allow to do so) my personal Opinion is , Oracel is Right.(if so then why SQL Server allow this) what about you Regards, Thanks. Gurpreet S. Gill hi thanks to all who send such a nice comments. i think this is a question of long debate, but i find two nice comments i) Indexes having scope only at table level(means, no table can have any relation with index which is on other table), so why to have unique name, for whole database. ii) Oracel having only ...Show All

  • Visual C# MS Excel with C#

    Good afternoon. How to generate MS Excel the document with the table There Is somewhere a demo an example Thanks! Hi, Can you please elaborate on your question Providing additional data could speeden up the process of answering your question. Also take a look at the VSTO (Visual Studio Tools for Office) this tool gives you the capability to modify excel documents. Take a look at it here: http://msdn.microsoft.com/office/tool/vsto/default.aspx cheers, Paul June A. Domag ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. InvalidCastException help

    this issue involves two classes in my program. a class for a custom cursor, and a class for a GUI button both classes are of type DrawableGameComponent, the Cursor component is added to the base.Components list via the Main class that extends Game and the Buttons component is added from another component class called XmlMenuComponent and that is a normal GameComponent class. my cursor class invokes an event everytime the left mouse button is clicked and when i subscribed the Main class the one that extends Game using foreach ( MouseCursor mComp in base .Components) mComp.LeftMouseClick += new MouseCursor . LeftMouseButtonClicked (Cursor_LeftMouseClick); it works and the function Cursor_LeftMouseClick() is execu ...Show All

  • Visual C++ When "It just works!" doesn't. :(

    Hi, To test out "C++ Interop", I created a static library in VC++ 6.0: Here is the contents of the header file (staticLibrary.h): #ifndef STATICLIBTEST_H #define STATICLIBTEST_H #include <string> using std::string; int add352(int value); string sayHello(string name); #endif Here is the implementation (staticLibrary.cpp): #include "staticLibrary.h" int add352(int value) { return value + 352; } string sayHello(string name) { string s1("Hello, you are the greatest, "); return (s1 + name + "!\n"); } This code compiles fine in VC++ 6.0 and it produces an object called "staticLibrary.lib ...Show All

  • Microsoft ISV Community Center Forums How to retrive the text value from the xml tag enclosure url?

    I have some problems with print the XML enclosure tag, this is my code, please provide a complete sample.... Set Nodes = objXML.selectNodes("//item") For Each Node In Nodes Response.Write Node.selectSingleNode("title").Text Response.write Node.selectSingleNode("enclosure").Text next XML sample -------------XML--------------------------------------- <item> <title>My little title</title> <link> http://www.whatever.com</link> <description>my little description</description> <enclosure url=" http://www.whatever.com/images/56308tiny.jpg " length="3000" type="image/jpg" /> </item> Hi dingdong, Text ...Show All

  • Visual Studio 2008 (Pre-release) LINQ to SQL Feature Request: Automatic generation of temporary Stored Procedures based on LINQ to SQL statements

    Hi,   I would like to see a feature in LINQ to SQL, where we can group a set of LINQ to SQL statements into an object, which could be converted into a code by compiler that creates a temporary stored procedure in the target database. This way we could run a single or set of LINQ to SQL statements as stored procedures and get the benefits of stored procedures like eliminating round tripping to database, pre-compiled queries, etc. At the same time we will not be dealing with permenant stored procedures.   This technique will have all the benefits of writing stored procedures in C# and being executed inside database, which is a perfect world when compared to straight LINQ to SQL queries and TSQL based stored pr ...Show All

  • SQL Server Help with group subtotals

    I have contracts grouped by project then grouped by division. On the division group header I want to show the subtotal of all active projects only. CountDistinct(Fields!ProjectId.Value) gives me count of all projects. I can't figure out what I need to get only a subset of projects counted. I need something like: CountDistinct(Fields!ProjectId.Value & Fields!ProjectStatusId.Value = 1) but that isn't allowed. Any help appreciated. Hi If I understand correctley you want to count the Distinct Project ID's where The status ID = 1 If I understand correctley you can try: =IIF( Fields!ProjectStatusId.Value = 1,CountDistinct(Fields!ProjectId.Value),) Hope it helps G ...Show All

  • Smart Device Development Simulating a Key Press using C#

    hi i was wondering if anyone new how to simulate a key press using c#, can anyone provide me with some sample code i am trying to simulate the enter key, which when when simulated triggers a different event, if there isn't a c# method, can i invoke it using c++, and how would i code this There's no direct C# API available that provides this. You have to use P/Invoke to call the Win32 API keybd_event. Try searching the Smart Device Forums for 'keybd_event' - you'll find multiple answers. eg: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=627112&SiteID=1 Michael ...Show All

  • Visual Studio Catastrophic Failu Visual Studio Crashing like crazy!!! WHAT IS GOING ON!!!

    I reinstalled my whole damn operating system thinking that I had broken visual studio somehow... it turns out that was a collosal waste of time... I have a fresh clean windows xp pro sp2 install, and a clean Visual Studio Professional... and whenever I add a dataset to a project, and right-click the designer and hit "View Code", I get this horrifying error: Failed to view the validation code because of the following error: Catastrophic failure (Exception from HRESULT: 0x80000FFFF (E_UNEXPECTED) and it gives me a blank document. If I click the button to Save All open documents, the whole damn program just crashes!! I've submitted the error reports, but that's not going to help me fix the problem... what is goi ...Show All

  • Visual Basic Timer not working in Windows Service

    Hi. I'm new in windows service. I did a few test and I could install it. I add a small function in the start event and it run properly. but when I put it in timer event, it didn't run. I just add a timer from toolbox and in its event i put the code: Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick FileCopy("C:\a.txt", "D:\" & Format(Now, "hh-mm-ss") & ".txt") End Sub I feel that the timer didn't work... and can I use the windows form timer in a windows service Thanks. Omar Mallat Hi, I guess the timer component relies on some one reading and dispatching windows messages from the message qu ...Show All

  • Software Development for Windows Vista How can i vary Directsound playback speed but retain original pitch?

    I have an audio recorder.player component I've written in C# using DirectSound. Can anyone shed some light on how i would slow playback down but maintain the original pitch. I susspect I'll need to FFT the data in the playback buffer, apply some sort of transform to it DFT it to something with more samples per second and play it, but the details are beyond me. Thanks, ger ...Show All

©2008 Software Development Network