DarksAngel's Q&A profile
Visual Studio Team System How to exclude a Folder from a Webproject
Hi We are testing here TFS SP3, and have the following question. We have a website project, that uses TFS as source-control. When adding some files to the folder of the webpage, TFS automaticly adds it to the TFS Soruce control. But when doing checking, it always wants also to checking these files, but I don't want to checking that, as this is just test-data created on the local environment. What do I have to do Thanks Patrick You can correct the TeamBuild issue by overriding AfterGet target to add an exec task and remove read-only attribute on these files, something like the following in TfsBuild.pr ...Show All
SQL Server How To filter data set based on value from another
I have a data set that contains rows with a column for "User ID". I want to filter a second data set that contains one or more user "role names" by "User ID" . I want to do this dynamically without having to define a parameter. I then want to to take the filtered "Role Names" data set and display on a report. Any pointers would be appreciated. Data Set #1 User ID First Last ........ crace Chares Race mmiller Mike Miller Data Set #2 User ID Role cr ...Show All
Visual C++ check if command in nmake makefile succeeded?
Hello, How do I check whether a command in a makefile succeeded and take an action based on that info Here's an idea of what I want (but, this does not work): Foo: cl foo.c if errorlevel 0 echo "success" if errorlevel 2 echo "failure" If I use just cl foo.c and there is an error, the makefile is stopped. If I use just -255 cl foo.c and there is an error, the errorlevel is always 0, even if the command failed.   ...Show All
Visual Studio VisualStudio.CommandBars
In Beta2, I am using the following code: Protected Shared mnuAbout As CommandBarControl Public Shared WithEvents mnuAboutHandler As CommandBarEvents 'EnvDTE.CommandBarEvents I get the menu created, but the menu handler event never fires. Private Shared Sub mnuAboutHandler_Click( ByVal CommandBarControl As Object , ByRef handled As Boolean , ByRef CancelDefault As Boolean ) Handles mnuAboutHandler.Click MsgBox( "About what " ) End Sub Can anyone help Hi Les, What method are you using to create the menu The CommandBarEvents work only with the old style of creating commandbars. With Visual ...Show All
Visual Basic String to Hexadecimal
Hi folks! I need to be able to convert a string, including both text and numbers, to a hexadecimal value. Currently, I can convert numbers to hexadecimal, but it will not allow for text in any way: Dim MyHex As String MyHex = Hex(txtPassword.Text) MessageBox.Show(MyHex) Any ideas greatly appreciated! Tim Private Sub txtNumber_KeyPress ( ByVal sender As Object , ByVal e As System . Windows . Forms . KeyPressEventArgs ) Handles txtNumber . KeyPress If e . KeyChar = Microsoft . VisualBasic . ChrW (13) Then Try Select Case True Case Is = Me . optOct . Checked Curren ...Show All
Windows Forms How to make a column invisible in data grid
Hi All, I wanted to make the first column in my data grid as invisible column because it holds the key for the row. I am trying to use the follwing code . This code poulates my datagrid dgResultType with 3 columns instead of just 2 columns. Me.DsResultType1.Clear() Me.SqlDataAdapter1_ResultType.Fill(Me.DsResultType1) & ...Show All
SQL Server script in removing primary key..
help, I need it now, I need a script for removing a primary key constraint. thanks The name of the constraint -- every primary key is named. -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- < yngielkoh@discussions..microsoft.com > wrote in message news:effa9b68-2bab-4afb-a96b-0e2c18627229@discussions.microsoft.com ... I tried this one but not working.. What do mean by this Constraint_Name whats the name stands for ...Show All
Visual C++ New to VC++. How to link object files from one project to another
Background: * using Visual C++ express * with Platform SDK Have compiled a solution with two projects. 1. The DLL library project 2. The test suite for said library The DLL builds fine. The test suite needs the object files that were used in the build of the DLL. I can't use just the DLL, because some of the test files test non-exported functions. I do not want to specify them manually because the name and number of these files could change. I thought that the correct way to do this was to select "Link Library Dependencies" and/or "Use Library Dependency Inputs", but all four combinations o ...Show All
Windows Forms How to write a scheduler for Windows (newbie)
Hi - I have a web application, which I want to use to send me email reminders of events. To have this send the emails each day about the events of that day, I need to write a windows application/service, which will query my database and loop until all of the events of that day have had an email sent for them. I've only ever written in asp/asp.net - and have access to write .net 1.1 or .net2 on my server - I've never written windows programs. I have visual studio.net 2003 and visual studio 2005 professional. Can anyone please offer any guidance on where to start - if I write a windows app with a timer, will this tie up my processor o ...Show All
Visual Basic Second time I run a process I can't capture output, even though process runs
I am trying to run an external program via a process. I need to start the process several times and capture the output each time. However, VB.NET will only capture the output of the first run even though the process does actually run the second time. The process is started by the button handler Button1_click() which calls the process initialization function InitComp() then runFemtoI2C() which starts the process. I am capturing the output asynchronously with the event handler ProcessOutputHandler() I distilled my program to the code below for clarity. Myproc_exited() just posts a message to the textbox so I know when the process is done. ...Show All
Software Development for Windows Vista How to evalute a workflow parameter in a rule based condition?
Using the PDC bits, I'm trying to assign a rule based condition to an IfElse branch. The rule wants to references a workflow parameter initialized by the host application when the workflow is started. For instance the host initializes a parameter called Name with the value "Test". The IfElse branch1 condition's rule is trying to evaluate a predicate like Name == "Test". What do I need to do to specify in the rule that Name is a workflow parameter Name cannot be a constant value, and I don't seem to be able to access the workflow parameters using the scoped members. Thanks -Joel JD3027, ...Show All
Visual FoxPro foxpro exe and dbf's, fpt's, bak's, tbk's, but now prgs etc.
foxpro exe and dbf's, fpt's, bak's, tbk's, but now prgs etc. I was given a foxpro program and i would like to see the code (the formulas)... i'm not sure how to do this... thank you... modify command <insert your prg file here> modify form <yourformname> use <yourdatabasename> ...Show All
Visual Studio Express Editions Error when trying to create new project
Hey, maybe a strange question, but I couldnt find the answer anywhere. I downloaded the VB 2005 Express Edition beta 2, and registered. I was hoping to be able to use it for the trial periode and then see if I would buy it. After activation, I still get this error when clicking at "new project" The number separator information specified in the NumberFormatInfo is ambiguous for parsing. Now my English isnt very well so I would have no idea what that means. --------------------------------- Also a little extra question, from the videos I have seen of the 2005 Express Edition, it looks very good, can I already order it, because I only see ...Show All
Visual Studio Team System Is TSF Server included in Whidbey Beta2 DVD?
I could not see the TSF Server install option when install Whidbey Beta2. Should I install Whidbey Beta2 on Win2003 to install TSF Server, or is it included in another installtion package Thanks! TFS Server is a separate download for MSDN Universal subscribers. It should be listed as part of the Visual Studio 2005 beta 2 expando as one of the items underneath the team suite iso. --Oren ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Graphics Engine Design
I am looking for material on designing a graphics engine. The main purpose of the engine will be tech demo development and function as shader playground. To start with I have some ideas about decoupling materials and shaders. I would like to have the flexibility that an object can have multiple materials. One part could be a diffuse surface with phong illumination, another part of the same object could be a bump mapped rusty surface with cook-torrance illumination etc. If anyone could point me to some good sources to investigate or have some thought please share. Thanks ...Show All
