Software Development Network Logo
  • Visual J#
  • Visual FoxPro
  • .NET Development
  • Architecture
  • Windows Vista
  • Windows Forms
  • Microsoft ISV
  • Game Technologies
  • SQL Server
  • Visual Basic
  • VS Express Editions
  • Smart Device
  • Visual Studio
  • Windows Live
  • Visual C++

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

ReddGreen

Member List

Simon St.Denis
BGood
guy691us
Sing Hee
Agent_
Rob Green
SirErugor
morphius1
Hasnul
Jacky Zhou
AvinashA
1Pierre1
Liren Zhao
eastlands
Kent Ogletree
Robert Rouse
Llewellin
Cilim
Will Wilson
JohnSantana
Only Title

ReddGreen's Q&A profile

  • SQL Server Trigger on enable / disable SQL User

    Is it possible to run a trigger whenever a SQL user is disabled or enabled From what I've seen of various sysusers and syslogins tables there isn't a column that represents enabled or disabled. One more thing about non-schema scoped names (like DDL triggers, ...) SELECT OBJECT_ID(' SomeTriggerforAlterLogin ') will always return NULL because it doesn't "know" how to look outside of the schema namespace. This is doc'ed in the BOL, but customers are tripping over it. ...Show All

  • Visual Studio Team System Getting ready to switch to TFS for work items

    For the past 3 weeks the developers have been doing extra work. Trying to manage the WOrk Items in TFS as well as our current product tracker. We are ready to do the switch and stop all our staff from using the current product tracker for our main application. We don't know if we can do it fully. A lot of information in our Product Tracker is about future design's for years down the road, idea's and features everyone and anyone thought would be great, so we're not sure where to put these... What have you guys done as far as switching One day did you walk in and tell your staff / co-workers to use this instead of that and provide traini ...Show All

  • Visual Studio Team System Assigned To Field - Full name insted of User Name

    Currently, the Assigned To field in Work Item shows User ID names. We would like to invoke the full name of the users. Is it possible Thanks in advance, Michael We have recieved a great deal of feedback on this issue.  We are currently looking at the possibility of changing user names in work items (assigned to, etc) to full "friendly" names rather than domain names.  If you ping me again in a week or two I'll be able to let you know if we are able to do it. Brian ...Show All

  • Windows Forms Alternate Office 2003 Theming?

    I just got Whidbey, gotta say, I LOVE IT. Just a few things I'm puzzled by: Why does it seem I can only get the menustrips, toolstrips, and every other -strip that themes in Office 2003 to theme in the same Office 2003 style that Whidbey does  I believe its called Standard, just like Luna and Olive and Silver. I'll keep looking around, and on ...Show All

  • .NET Development Release mode build problem

    Hi. I have a solution with two projects - a c++ wrapper for an unmanaged legacy .dll and a c# project which is using the wrapper. The solution builds (and works) fine in debug mode but not in release mode: MyWrapper error LNK2019: unresolved external symbol "unsigned int __cdecl SomeMethod()" ( SomeMethod@@YAIPBDPADI@Z ) referenced in function _MyWrapper_SomeMethod Has anyone heard of this Also, when trying to run the project on my laptop I get dllNotFoundException on attempting to talk to the legacy dll (I use PInvoke - DllImport[]). This is despite copying the project and dependacies lock, stock and barrell from one machine to the ...Show All

  • Visual Studio Dockable window add-in example?

    I have an idea for an add-in that would work best as a dockable window in the IDE.  Are there any examples of this that I could look over before beginning this little quest We are looking at posting our samples for VS 2005 within the next few weeks, which includes samples creating a tool window using VC, VB, C#, or J#. To get you started, if you are using a .NET programming language, then you can create a .NET User Control, then call the CreateToolWindow2 method which you can pass the location of the assembly and the class name implementing that user control, and we will create a tool window contai ...Show All

  • Visual Studio 2008 (Pre-release) Lambdas in Custom Attributes

    I want to pursue the concept of embedding lamdbas in custom attributes. It is not supported today to my knowledge but I believe could be very valuable for DLINQ and more.  public class Customer {   [Association((c, o) => c.CustomerID == o.CustomerID && o.Status == OrderStatus.Incomplete)]   public Order[] IncompleteOrders; } I believe that a syntax such as this would generalize the join conditions that are supported by AssociationAttribute and allow for additional conditions. In that way, queries need not repeat those conditions.  Note that regardless of whether DLINQ adopts this, there is a deeper is ...Show All

  • SQL Server Schema extraction and comparisons

    Does anyone know of some good tools to extract sqlserver schema information, including the stored procedure definitions, and output them in a form suitable for comparison (XML perhaps ). It needs to be able to run in ant or have an api to write to and extra points if it can do the diffing between extracts. Hello, You may want to see Kentico Compare SQL - http://www.comparesql.com . It compares database table schemas, procedures, views and functions. It's now available for only $49! ...Show All

  • Visual C++ Override printf()

    Hi, I have a C++ .NET assembly that uses some old-style un-managed C++ libs and dlls. Inside the old C++ code, printf() is used for user/developer feedback. Is there some way I can override printf() and do "my own actions" with the strings that are being printed Or somehow "catch" the printed messages that is supposed to be printed to the Console -I want to get rid of the Console window, and let the printf()-information be written to e.g. a file. Thanks :-) I got a good suggestion on the C#-forum for those of you that are interested : http://forums.microsoft.com/MSDN/Sh ...Show All

  • Visual C++ VC 6.0 Debug-Additional DLLs: equivalent in VC 2005?

    In VC 6, under project settings, Debug, there exists a section under Category: Additional DLLs.  This is where you specify additional DLL symbols to be loaded before the process is debugged.  When debugging an EXE without symbols, such as REGSVR32.EXE, i.e. open the EXE up as a solution, and then start debugging, I need to specify additional DLLs such as the DLL that I'm trying to register, so I can debug a registration problem.  Where is the equivalent functionality of specifying additional DLLs to be loaded for debugging in VC 2005 Thanks Ted. There is also the Tools -> Debugging -> ...Show All

  • Visual Studio 2008 (Pre-release) ComboBox InvalidOperationException

    I've run into a strange error with a ComboBox. When I run this particular app over a terminal services remote desktop, I get an InvalidOperationException when I attempt to click on or open the ComboBox. The error message is "An unspecified error occurred on the render thread". When I run the app locally, everything is fine. I was wondering if this is a known issue. This is with the Feb CTP. Thanks. Bruce Bukovics Author of .NET 2.0 Interoperability Recipes http://www.apress.com/book/bookDisplay.html bID=10116 It looks like this problem has been corrected in Beta 2. Thanks. Bruce ...Show All

  • Visual Studio Team System Adding Web Site to Source Control - Error FrontPage Web Access

    (This post was originally in the wrong topic... sorry) I've created a Web site on a network server in-house using Visual Studio 2005.  The Web site runs perfectly well and is accessible from all computers within my domain. I've also created a Team Project under which I would like to add the Web site project to source control.  Attempting to do so gives this error: "Microsoft Visual Studio cannot add some of the projects you have selected to source control because they are Web projects that are using FrontPage Web access. The Visual Studio Team Foundation source control plug-in does not support source control operations on t ...Show All

  • Visual Studio Team System TeamBuild and testing

    Hey all, I wonder if anybody have seen this problem before (and know a solution)... I've got a dual server setup, with Team Build running on the same machine running the App-tier for TFS, I tried running a build, containing a few unit tests, and got the following error: MSBUILD : warning : Visual Studio Team System for Software Testers or Visual Studio Team System for Software Developers is required to run tests as part of a Team Build. So i installed VS Team System for Software Testers on the server containing the build server and TFS.. After this the Unit testing ran fine, so i added a simple webtest into the set of test ...Show All

  • Visual Studio 2008 (Pre-release) sql table mapping per object instance?

    Hi, I have thousands of tables which have identical column definitions, each table varies by name, and each table is dynamically added. At any given time, it is unknown what the table count is. What is known is the structure of each table and the name of all tables. Is there a DLinq solution to this scenario I can only see setting the Name property of the TableAttribute for the mapped class at runtime. But, of course, the attribute allows a single sql table mapping per class. What is needed is a sql table mapping per instance. Cheers, Rana Why the heck are you doing it in the first place Wh ...Show All

  • Smart Device Development Connect with GPRS programatically for Pocket PC Client application

    Hi All, I am developing Client Server TCP/IP based application in VB.Net. My Client Application is Smart Device application and going to be run on PDAs. This Client Application will connect with my server via TCP/IP using sockets. My Server Application is win form based application and going to be run on our server. Problem: { My Client Application needs GPRS to be connected. So, if GPRS is not connected, we have to do it manually. I am looking for the way where i can first check status of GPRS and then if it is in disconnected mode, i can connect is automatically using code. } I searched on net for the same and somewhere I found about Co ...Show All

©2008 Software Development Network