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

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

Nlepor

Member List

feby
koosha
SCWilson
Dudley
FixingTheHoleInTheOcean
Joris Arits
howard dierking - MSFT
Roger Andersen
mtbDad
MikeDai
fode
Jamie Thomson
hotsauce
TechJosh
tkroll
Vivek S
Zadoras
Burnt1ce
ZopoStyle
idos
Only Title

Nlepor's Q&A profile

  • Visual Studio Sandcastle - Events when private members are enabled

    When you define an event, the compiler also creates a private field of the same name as part of the add/remove implementation. When documenting private members, Sandcastle will find both the event E:MyDomain.MyClass.MyEvent and the field F:MyDomain.MyClass.MyEvent. Since the field is compiler-generated, there is no way to document it. It would be good if these fields were automatically excluded. For now, this can be done with a change to the Sandcastle Help File Builder to exclude the compiler generated fields. In BuildProcess.PurgeItems.cs, line 256 (right before the File.Copy) add: // Remove fields that correspond to events xpath = "//apis/api[apidata/@subgroup='field' and //apis/api/@id=concat('E', substring(@id,2))]&q ...Show All

  • .NET Development Microsoft.Practices.EnterpriseLibrary.Data - How access another connection string in the App.Config

    The Microsoft.Practices.EnterpriseLibary - automatically accesses the default connection string when you call DatabaseFactory.CreateDatabase(). It will grab the DEMO connection string. How do I grab the PROD connection string <dataConfiguration defaultDatabase="DEMO" /> <instrumentationConfiguration performanceCountersEnabled="false" eventLoggingEnabled="false" wmiEnabled="false" /> <connectionStrings> <add name="DEMO" connectionString="Data Source=dev;Initial Catalog=DEMO;Persist Security Info=True;User ID=dev;Password=dev;" providerName="System.Data.SqlClient" /> <add name="PROD" connectionString="Data Source=dev;Init ...Show All

  • Windows Forms DateTimePicker - ValueChanged and TextChanged update issue

    I have two DateTimePickers and a ComboBox on a form. If a user changes the value in any of these, I update a listbox (via a function). My problem is that when I scroll through different months on either of the DateTimePickers, it causes the ValueChanged and TextChanged to fire. This causes my update because of the function I put in ValueChanged (or TextChanged). I only want to cause an update when an actual date has been selected (the calendar view disappears and the selected value is placed in the control). What is the correct event to use for this functionality I would appreciate any suggestions - I am pretty sure I am missing something stupid. Thanx! schwanks & Omegaman, Thanks for gi ...Show All

  • Visual Studio Team System Creating different versions of the same project

    Is it possible to create different versions of the same project without having to save the entire project with a different name every time For instance, if i have a file called Main.aspx, is there a way to have Main.aspx version 1 and Main.aspx version 2 Thank you! Like Luis said, this can be achieved through source control functionality. Take advantage of the branching capabilities if you want separate versions of the same project/file(s). ...Show All

  • Visual C# distributed compiler

    A while ago I worked (briefly) on a product called BuilderBooster. This program is an addon for Borland's C++ Builder which has the ability to share the building of projects across a group of networked machines by sending source files securely over a local network connection to another borland compiler. On most projects this was able to speed up build times significantly (we got one project down from around 30 mins to 15 secs). The big question is, does anybody know of an existing solution for doing the same sort of thing with a Microsoft compiler for C# code BuilderBooster can be found at www.builderbooster.com ...Show All

  • Windows Forms How do I include my data files into my installation exe?

    I am using a Setup project to deploy my app. I would like to have my data files included in my installation exe. How do I do that hi again, i must still be misunderstanding you... i deploy data files with my app.... basically, i do what i outlined above, then then build the project. this creates for me a setup.exe (which in my case only does the vcredist'ing if necessary) plus builds the MSI file for my project. clicking on the setup.exe handles the prerequisites, and then automatically starts my installer msi file. when it's done, the app is installed and the data files are sitting on the target machine where they're supposed to be sitting. other than the setup.exe and my msi file, there are no loo ...Show All

  • SQL Server Choose path to travel on!!

    Hi there I am up against a condition where my control flow should be divided into threads and depending on value of a variable i have to choose 1 of the threads. Its something like if a =1 then execute this else execute this one. Thanks and Regards Rahul Kumar, Software Enggineer You need conditional precedence constraints. This article explains them: Introduction to Expressions on Workflow ( http://www.sqlis.com/default.aspx 306 ) -Jamie ...Show All

  • Visual Studio Express Editions autos pane

    Where can we find the autos pane in VB express, I use VB.net at school and just got VB express for my house. I've tried to get it the way i remeber doing it in school, but its not there. Note that it only shows up in the Debug + Windows menu when the debugger is stopped on a breakpoint. ...Show All

  • Visual C# Title Bar Color

    Hi, How can i change the Title Bar Back Color of a particular form in C# Thanks Jith AFAIK you should create shaped form and in this way you could set any back color to your form. For more info check Shaped Windows Forms and Controls in Visual Studio .NET Otherwise Form's title bar is set on OS wide - from display properties in Control Panel. hope this helps ...Show All

  • Windows Forms Embedding other controls inside a cell / inheriting DataGridViewCell

    The datagridview is excellent, and it's obvious your team put a large amount of work into this. I've read the samples and FAQ, and although you haven't specifically addressed this, I am curious for your thoughts. It appears that most of the provided cell types "display-ability" are based ultimately upon text and images, including the button cells. You also provided a nice sample for the datetime picker. But when it comes to controls with more than one edit option or a user control, it would be nice to find a way to embed such a control. I want to embed a datagridview inside a cell, and as the grid is heterogenous, I do not believe I need a column for this as other cells in that column may be simple text. I might fathom h ...Show All

  • Visual Studio Express Editions Save

    How do I Save a file with out calling the dialog box, at the moment I can SaveAs the file(with dialog box) but what I'm after is when you click just save it just saves the file that is opened in its original format with any alterations that have been made. The program is a cut down version of a text editor. Okay, thanx dave. But how do i use the currentfile globally The code you gave, the currentfile is in the procedure level, am i right Coz all i want is to retain the filename everytime after i click the button open in the menustrip and use it for save. If that is the code, do tell me yeah I'm a rookie in VB.. I just want to keep on learning. Coz i enjoy coding! :)   //EDIT: One more thin ...Show All

  • Visual Studio Team System What level of code review can be done using FxCop

    I have gone through the documentation and sample rules and I understand that we can do things like checking for variable names, parameter names etc using FxCop What I want to know is What level of code review can be done using FxCop. For example, Can I scan my code and find out if there are any string variables used in the code that are concatenated over and over again. Will FxCop catch this to suggest that we should use StringBuilder instead. Thanks Hi SarvveshJain, Rules like this require dataflow analysis, which FxCop currently does not expose as a public API. FxCop does however ship a rule that partially does what you're looking for: http://msdn2.microsoft.com/en-us/library/ms182272 ...Show All

  • SQL Server Service problems after SP1 upgrade

    We have an instance of SQL 2005 enterprise that was upgraded to SP1 over the past weekend. This instance has been very stable and the server hardly ever has any issues. After upgrading to SP1 a couple times a day SQL service has been terminating unexpectedly. The following events are being logged - Application Log: Event ID 17311 SQL Server is terminating because of fatal exception c0000005. This error may be caused by an unhandled Win32 or C++ exception, or by an access violation encountered during exception handling. Check the SQL error log for any related stack dumps or messages. This exception forces SQL Server to shutdown. To recover from this error, restart the server (unless SQLAgent is configured to auto restart). SQL Ev ...Show All

  • Visual Studio Team System Rogue Automatic Builds

    We just migrated to a new TFS and as of Friday every project in every Team Project of mine is now automatically being built. At first it was once an hour, every hour, that latest a few hours only. Now it is totally at random. Recently there have also been multiples builds of projects being kicked off. For every build I do receive the success or failure email from TFS. The latest cycle of builds has one build for all projects, almost at an hour cycle. But this has not happened since 11:59 last night (they cycle started at 8:40 PM). I do not see any log files being created for the builds, my drop location is not being modified with ‘build files’, the Event Viewer is clean for build errors or messages (except the build that failed for a pro ...Show All

  • Visual Studio Team System Doubt with my class library projects in SDM files

    Hi, I was designing my app, but I don't know how modeling in my sdm file a class library project should I I mean, I have a DB, a WebService and a Win App, but between the DB and WebService I have a class library project for example dataAccess. Another doubt is how should (or could), I modelmy project if I have my entire project in differents solutions, for example, In 1 solution I have my Webservice and my webclient in the other I have my winclient and in the other I have a windows service client. Thanks an advance, Roy Hi Roy, This has been a popular topic and there have been several good articles written explaining the use of class libraries on Application Diagrams. I've included links to them below: TN_1105: W ...Show All

©2008 Software Development Network