lawrieg's Q&A profile
Visual Studio Team System Symbolic name does not apply everywhere
TFS can be accessed through a symbolic name like teamsystem.company.com . This is accomplished by creating a dns entry for the name teamsystem.company.com and then running the activatedt command with this name as the argument on the application tier. We done this on our TFS-server to be able to creating a hot standby later but also to make it easier to move to a different (more powerful) server. But some problems occur. The links to the builds in the builds report on the reporting site links to the physical machine - not to teamsystem.company.com . The same applies to the links to the bugs on the Bugs found without corresponding ...Show All
Windows Forms Setup-Project and copying a folder
Hi ! My Application needs besides the executable file a huge amount of images (about 1500, 3 GB). Ok. Since these images change quiet often, I do not want to embed them into my setup project statically. What I would prefer is to make the installer copy a directory into the target directory. Something like "copy .\images\*.jpg [TARGET_DIR]\" where "." points to the location where setup.msi lies. How can this be realized BIG THANKS FOR YOUR HELP IN ADVANCE!!! Oliver Demetz ...Show All
Visual Studio MS Access and VSS 2005
Hello All, We are about to setup source control for the first time, and the majority of our development is in MS Access (2002). Will VSS 2005 work with the Access add-in for VSS I would like to give it a try if it's possible. Otherwise, we have to go with the current VSS which isn't so friendly for developers working at remote locations. Thanks, -Tom Hi Tom, The Access integration model should work in theory with the VSS 2005 (good idea to test) since the Model has not changed. Unfortunately from my understanding the remote access option is only built into The .Net 2005 Ide and thus would not apply to ...Show All
.NET Development Waiting for multiple events
Hi! Is it possible to wait for multiple ManualResetEvents in .NET cf If not, is it possible to interrupt a thread that is blocking on an event Thanks in advance, Nille nope man, i can see there is no waitall method on waithandle on the cf, sorry i can't help you further, try posting the question on the Smart Devices---> .NET Compact Framework Forum, i'm sure you'll have better luck in there ...Show All
Visual Basic Prevent controls from refreshing or painting (eliminate flicker)
I am measuring code speed as part of an assignment project: For i = 1 To 10000 For Each ctl In Me .Controls ctl.Enabled = Not ctl.Enabled Next Next I've noticed this code runs way faster if I minimize the form and then restore it during execution. The reason seems to be that after I minimize and then restore, it eliminates the flicker from the controls as they toggle between enabled states. My question is if there is any property or method of the controls that I don't know about that will eliminate this flicker programatically (I tried changing the WindowState of the form from ...Show All
Visual C# permissions
Here's my dilema: I am developing a service in C# that checks a users permissions and returns a list of permissions to a client application. The admin needs to be able to easily and intuitively change a users permissions. The permissions that are associated with a user in windows (for example, full access, read only, etc.) is exactly what I need and is a great solution, however I need a few more permission options that are not offered in the OS. There are certain functions in the client applications that only a special few have priveledges to. What I mean is, user 1 may be able to perform task A but not B, and user 2 may be able to perfor ...Show All
.NET Development How to generate a certificate programmatically?
I have a need to generate certificates on the fly. I'd like to know if .NET 2.0 provides APIs to generate such certificates (like those used in ClickOnce signing) Thanks. There is nothing exposed in the v2.0 class library to create your own certificate, although we have gotten feedback that it would be a good feature to consider in the next version For now, you'll have to use P/Invokes. Check out the CertCreateSelfSignCertificate API in crypt32.dll to get you started. -Shawn ...Show All
Visual Studio 2008 (Pre-release) How I can create sample certificate for using with WCF Infocard Message exchange.
I am using WinFx Dec 2005 CTP. I have created a hello world WCF application as mentioned in help docs that uses Infocard. I have also created two certificates one for service and one for client using makecert.exe. The commands are specfied below: Client: E:\>"E:\Program Files\Microsoft Visual Stud io 8\SDK\v2.0\Bin\makecert" -n "CN=MyInfocard1" -sky exchange -ss My -a sha1 -pe -sr CurrentUser Server: E:\>"E:\Program Files\Microsoft Visual Stud io 8\SDK\v2.0\Bin\makecert" -n "CN=MyInfocardServ" -sky exchange -ss My -a sha1 -pe -sr LocalMachine I am using server certificate with service and client certificate wi ...Show All
Visual Studio Team System Removing a source control project from a Team System project.
Is there an easy way to remove a source control project from a Team System project I cannot find a way to do this in the documentation and in the source control explorer, Delete or Remove is greyed out. HELP! Open the solution from VS2005 Go to File->Source Control->Change Source Control From this screen you can unbind the solution from the source control Other that that, I was able to delete a project from a team folder. It showed everything as being x'ed out, but its status still showed as deleted. What version of TFS are you running and what are your credentials ...Show All
SQL Server Create user
I came across this code. if not exists ( select * from dbo.sysusers where name = N'name' and uid < 16382) EXEC sp_grantdbaccess N'Name', N'Name' GO i was wondering if anyone can tell me the significance of uid < 16382 thanks Run the query: select * from dbo.sysusers --in 2000 and earlier The database roles will start at 16383, users are less than this. This isn't the case in 2005 (it is all I have to test on now, and it puts them all together and you can see them as different based on metadata.) Louis ...Show All
SQL Server Microsoft OLE DB Provider for SQL Server
Why do I get the following error each time I am trying to create a new datasource view " SQL server does not exist"...... Hi thanx but i have managed to resolve the problem. Instead of typing local sever name i typed localhost..... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managed DirectX for .NET 2.0 Documentation
Is there any decent documentation out there for Managed DirectX for .NET 2.0 I'm using the latest beta of it from the December 2005 DirectX SDK, but all of the documentation and examples are targeted for the older Managed DirectX for .NET 1.1. I've run into some inexplicable problems and am not sure where to turn. MDX2.0 is sufficiently different enough from MDX1.1 such that the old docs and samples don't help much. (i.e., DSoundHelper no longer exists in the DirectSound namespace) Thanks, --JT http://zhaymusic.com/ Thanks for your replies. I found the articles helpful (particularly th ...Show All
Visual C++ Atlthunk.lib
I'm triying since this morning, to compile a GPL app written in C++ with VC6. But I'm using VC++2005 Express. I've download and installed with succes the PSDK. I've fixed some problems in SDK headers . And I've commented in atlbase.h the line //#pragma comment(lib, "atlthunk.lib") . But, when I try to compile, I've linker errors. And I've seen in a post ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=322284&SiteID=1 ) that the lib was necessary to link some functions like AllocStdCallThunk. So, How can I compile the app wich need those functions without this lib Or where can I find this lib ...Show All
SQL Server Time series problem
I'm going to create an analysis report based on time range. The data is grouped by the hourly range. There're two problems that I'm facing. 1. How can I generate such result set so that it will give me 0 count instead of missing that column 2. How can I vary the start and end time which depends on another table I believe this is quite hard to be complete within a single SQL. However, I would still want to try. The SQL server is the Express version. No analysis service is available. 1. create a table that contains the hour and left join to yourtable 2. take a look at dateadd() function If this does not answer your question, pos ...Show All
Windows Forms DateTimePicker Value/Text properties
I made a DateTimePicker control with readonly functionality using a Textbox control drawn at the same place as the DTP control when in readonly mode. I've overridden (amongst others) the OnValueChanged Method, and there I put "_textBox.Text = this.Text". This all works fine, unless my control is in ReadOnly mode when my form pops up (or when the DTP control is on another tabspage, when the Form pops up). In that case, "this.Text" is always empty. Does this has something to do with te painting I'm out of inspiration... Any suggestions/solutions TIA, Fretje This indeed was the solution for this problem! I ...Show All
