MikeB75077's Q&A profile
Visual Studio Team System Team Build Test Config Deployment Issue
When we add a deployment folder to a test config the items will deploy without any issue locally. However, when we use the same test run config in a team build the build fails to deploy the items correctly and the build fails to run the tests. To reproduce this create a solution with a test project and a DB project. Add some files to the Create Scripts folder in the DB project. Add a unit test to the test project that passes. Under Solution Items right click on the test run config and choose properties. Add the Create Scripts folder from the DB project to the deployment items (Note: add the folder not the individual items). Run the unit test ...Show All
Visual Studio VSS folders structure
Hi, I have an existing solution (in VS2005) containing multiple projects. The solution resides in, let's say, c:\F1\F2\F3 folder. I'm trying to add the solution to VSS (from VS) and when I'm asked to choose a location I'm selecting specific folder in the VSS tree. Let's say I have the VSS structure like this: Root::Projects::P1, and I'm hitting P1 folder. I'm expecting that the solution file will be added under P1, and all other files/folders will be placed/created correspondingly, like this: Root::Projects::P1::MySolution.sln Root::Projects::P1::FolderA <- this folder exists in the solution and so on. What I have is a dif ...Show All
Visual C++ Loading a picture to FlexGrid cell?
Hello, I am using Microsoft FlexGrid in VC++ 6.0. I need to add a picture(bmp) to a cell in the flexgrid. I achieved this using VB and Flexgrid. But the function required to load a picture is not seen in VC++. What may be wrong with me Hoping to get a solution soon. TIA, Regards, Jahfer V P Hi All, Finally, I got the solution from the site www.codeproject.com. see the link below. http://www.codeproject.com/script/comments/forums.asp msg=1084266&forumid=1647#xx1084266xx OR ...Show All
.NET Development Application runs slowly first time with Framework .NET 2.0 on Windows 2003 Server
We are developed an application in .NET 2.0. On Windows XP SP2 and Windows 2000 and others, works fine all times, but when you try to run on Windows 2003 Server, the first time takes a lot. We have check that this time are consumed in database access. All next times you run the application works fine. Do you know some bug related to w 2003 Server or only may be an specific configuration on this server Thanks in advance. The first connection to the database will always take more time, once a connection has been established it can then be pooled and then gets reused the next time that your program calls the data ...Show All
Visual Studio Express Editions Connecting to Remote SQL Server
Hi Everyone, I have looked everywhere on the Microsoft site for an example of how to add a Datasource for a remove SQL Server, all the wizard wants to do is creat its own database file. All I want to do is connect to an established database so I can start playing around with it. Is it at all possible Kind Regards, Paul Just to clarify, the key point is "...the express IDE could not connect..." You can connect to any database (pretty much), such as MSDE, SQL Server, Oracle, MySQL, etc. through code using VB 2005 Express. ...Show All
Windows Forms Navigating relationship
Hello, I have a DataSet ds with two DataTables, dtAccounts and dtBalances. I have created a relationship with dtAccounts the parent and dtBalances the child. Navigation is through a DataView dvAccounts on dtAccounts: BindingContext[dvAccounts].Position += 1; I want to display parent-child data on a form with some of dtAccounts fields in TextBoxes at the top and ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creating a new texture fails with "first chance exception"
I have an application in which I create a texture to later write directly into. It works fine on my development machine, but on the target machine it fails with A first chance exception of type "microsoft.directx.diretct3d.invalidcallexception" occured. The code looks like this texture = new Texture (renderer.Device, 720, 576, 0, Usage .None, Format .A8R8G8B8, Pool .Managed); The pixelformat is the same as the device. I have tried with sizes which are a power of two and other memory pools as well as other usage modes. Allways the same error pops up. I have enabled unmanaged debugging in vs2005 and am using debu ...Show All
Visual Studio Express Editions connection string mystery
Hello everybody, I have experienced a strange problem with connection strings. Whenever I add a new datasource (SQL 2005 express database in this case) to my project using the wizard it creates an connection string for me automatically in the app.config file like this: < add name = " RSSReader.Settings.rssConnectionString " connectionString = " Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\rss.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True " providerName = " System.Data.SqlClient " /> Everything seems to work fine - I can read the data and bind it to controls, etc. BUT: Whenever I try to upda ...Show All
Visual Basic How do I expose the properties of a control in a user control? (VB2005, B2)
I can get to the sub-control in the user control by making the modifier public. When I re-build the project, it resets the values of the modified controls back to their default values. Why is this Do I need to compile these user controls into a dll, attach them to the project and then this wont happen Not sure I can create dll's in VB 2005 Express Does anyone have any experience with this that can help me Thanx a mil, Dale I can get to the sub-control in the user control by making the modifier public. Could you help me understand what you are sayin here I'm not sure I understand "sub-control" and modifier. ...Show All
SQL Server MDAC 2.8 Fatal Setup Error. This setup does not support installing on this operating system
I have XP Pro SP2 with MDAC 2.8.1022. It had a problem so I tried to reinstall MDAC and got a Fatal Setup Error. This setup does not support installing on this operating system. I downloaded MDAC 2.8 1177 and get the same error. I thought of uninstalling/reinstalling SP2, but this is a 2 month old Dell Latitude 610 with factory installed XP. There is no Windows Service Pack 2 option listed in the Control Panel > Add/Remove Programs. There's some other strange things, so I wonder if they are related. 1) I have Paul set up as an administrator account. Some folders like MSSQL show that account with no p ...Show All
Visual Studio Team System Event log errors RTM Workgroup edition
I have just installed the workgroup edition on a fresh installation of Windows Server 2003 R2. I'm getting the following errors in the application event log on boot: 1) MS SQL Server - Failure Audit - Event ID 18456 "Login failed for user 'domain\tfsservice'. User: TFSSERVICE Followed by 2) Windows SharePoint Services 2.0 - Error - Event ID 1000 #50070: Unable to connect to the database STS_Config_TFS on THUNDER. Check the database connection information and make sure that the database server is running. Any ideas Regards Phil Lee How are you running the database Is it ru ...Show All
Software Development for Windows Vista WorkflowCompiler -
Hi: I am new to WWF and have written the following method to compile XOML. I have used Dharma's famous WorkflowShell as the starting point. But I do not know what to use in the WorkflowCompilerParameters when you call CompileFromSource. Are there compile options that you can pass As you can see, I am just newing the object and passing it in and it works. I would appreciate if you could provide some direction. private WorkflowCompilerResults CompileWorkflow( String WorkFlowXOML) { WorkflowCompilerParameters compilerParameters = new WorkflowCompilerParameters (); compilerParameters.GenerateInMemory = true ; ...Show All
SQL Server Anyone else finding this painful?
Although I am sure I will grow to love this new product I can honestly say that everyday has been a painful experience. Most of this, once again, is the learning curve to the new product. Moreover, each accomplishment leaves us feeling as if we are doing things the wrong way. Here is an example... We are populating lookup tables from a staging environment. This is pretty straight forward, insert records that don't already exist in the destination. Unfortunately, the only way we could get this to work properly, outside of just writing T-SQL for everything, was to use a lookup transformation and redirect the error rows into the table. Altho ...Show All
Visual Basic I am attempting to write my 1st DLL in Visual Basic
I am using Visual Basic 2005 Express to attempt to write my 1st DLL and keep getting an Entry Point Not Found error when go to use the DLL even though it compiles. What do I need to do to fix this problem. You need to specificy your routines like this: <ComVisible(True)> _ Public Class NetComTool <ComVisible(True)> _ Public Function Test(ByRef Input As String) As String MsgBox("You've called Test" & Input, MsgBoxStyle.OkOnly, "") &nb ...Show All
Windows Forms Event handling in design time mode
Hello. Can i handle event in my custom control, when it mode - design time For example, my control contain Button. Can i handle Button.Click event Thanks all, for any help. Thank you very much. I understood this idea. It`s not difficult... Thank you. ...Show All
