Will Lyman's Q&A profile
Visual Studio Team System Large solution performance (Was: Useless output from TFS source control)
It pains me to see that even the new Team System source control writes the same pointless drivel to the Output window in visual studio: ---- Operation started at time 3:32:18 PM ---- ---- Operation completed successfully at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation completed successfully at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation started at time 3:32:19 PM ---- ---- Operation completed successfully at time 3:32:19 PM ---- ---- Operation started at time 3:32:19 PM ---- ---- Operation started at time 3:32:19 PM --- ...Show All
.NET Development XP Visual Styles on TreeView controls
Hi, I'm currently working on a project where I have to use 4 treeView controls the user can show or hide. So far so good, no big deal, BUT: Somehow, there's always 2 of those treeViews that have the old styles, basically old scrollbar design, and 2 with the new XP styles (new scrollbar design)! I create all of them in the same way! I'm using VS 2005 beta2. Anyone had that problem before or knows anything about that It's really important... looks kinda stupid with different scrollbars on one form... any help is much apreciated! Thanks, Vince Hi again, sorry, didn't find that before... ooops... there's actually ...Show All
Visual Studio Does VSS 2005 have Netsetup?
Does VSS 2005 have a netsetup or equivalent I much prefer that installation tool versus toting and inserting a CD at every client box. Mike Hi Alin- This is an old thread, but I have a related question. We would like our many developers/users to uninstall their VSS 6 clients and then install the VSS 2005 client. We do not want them to have the option to install the Administrative tools or the server components (which are installed with the Default installation and available with the Custom installation). The old netsetup.exe for VSS 6 only installed the client, without the Administrative tools. I ...Show All
Windows Forms User consent prompt
Hi, I would like to make a suggestion regarding the user consent prompt end-users get when a ClickOnce application requires additional permissions. In the ClickOnce FAQ it is stated that the permissions requested by the app will not be presented to the end user as those would be difficult to understand by most, but I think you at least should add a but ...Show All
Visual Studio Tools for Office Word VSTO 2005, assembly Link property
Hello, I tried to use a Word VSTO 2005-project and I don’t know how to add the Assembly Link property in design time. I then tried to setup the _AssemblyLocation and _AssemblyName properties manually for the document, and Word doesn’t find the assembly. Can anybody help me Thanks! VSTO 2005 doesn't work like 2003, in this respect. If I understand correctly, you want to use an existing document as a VSTO project container In that case, start in Visual Studio 2005. File/New/Project. Select Office for your programming language on the left, then Word Document fr ...Show All
Visual Studio Team System WebTest with Team Build?
Is it possible to run WebTests with Team Build I'm using Beta 3 Refresh and I couldn't manage it to work, no matter what I do the test always fail under Team Build (it runs perfect when using Test Manager). I'm getting the error: Results Top Level Tests ------- --------------- Failed (FullTests/)c:\fullbuild\projeto apresentacao\fullbuild\sources\classlibteste\testproject\webtest1.webtest Run has the following issue(s): F:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets : warning : Cannot open the ASP.NET project 'F:\Documents and Settings\Administrator\My Documents\Visual Studio ...Show All
Visual C# ExecuteScalar erro
{ SqlConnection conn = new SqlConnection (); conn.ConnectionString = "Data Source=(local);" + "Initial Catalog=bd;" + "Integrated Security=SSPI;" ; SqlCommand sqlComm = new SqlCommand ( "SELECT * FROM utilizador WHERE user=@user;" , conn); sqlComm.Parameters.Add( "@user" , SqlDbType .VarChar); sqlComm.Parameters[ "@user" ].Value = user.Text; conn.Open(); Int32 teste = 0; teste = (( Int32 ) sqlComm.ExecuteScalar()); --> ERROR {"Object reference not set to an instance of an object."} conn.Close(); } wha ...Show All
Smart Device Development Application hangs after a few minutes
Hi, sorry for posting many questions but I have no clue why and have investigated this thuroughly. The issue does not happen with .NET 1.0 CF but with .NET 2.0 CF My mobile smartphone application runs WM5. It has .NET 2.0 CF The application simply connects to the server - thats all. nothing more, nothing less. Simple "connection" program. When connecting, it creates a TcpClient object and of course if that is successful in establishing a connect - I create a Thread which listens to incoming communication. Thats it. Thing is, and it is frustrating that after a few minutes, the application seems ...Show All
.NET Development socket not released
Hi, I currently have an app that spawns a connection to server, the server requires hard IP and Port for both my app and the server itself. It then sends a command and disconnects. The problem is that I have to wait ~5 minutes for the socket to become usable again. I know that windows likes to maintain the socket for a few minutes. Any idea on how I can get around this. I call the socket.close() method when I am done sending my parameters. I tried setting socket.setSocketOption(SocketOptionLevel.Socket, SocketOptionName.DontLinger, true) but it does not seem to release the socket fast enough (still taking ~5 minutes) for me to s ...Show All
Visual Studio Can't run the Guidance Package
Hello. I have installed the SC-BAT have executed the sample application but can't seem to run the Guidance Package or enable the Guidance Package Manager. I have followed the instructions for doing both but to no avail. When I build the guidance package solution (GuidanceAutomation.sln) I get the following output: ------ Build started: Project: Library, Configuration: Debug Any CPU ------ Library -> C:\Program Files\Microsoft SC-BAT\GuidancePkg\Library\bin\Debug\GATLibrary.dll ------ Build started: Project: SmartClientDevelopmentInstaller, Configuration: Debug Any CPU ------ SmartClientDevelopmentInstaller -> C:\Progr ...Show All
Visual Studio Team System New Projects do not get retrieved on get latest version
We're experiencing some difficulties here. I've added 3 new projects to our Solution and checked them in. However, no one in my team gets them when they get latest version from Source Control, or from the Solution Explorer. They have to manually go and "Add Project from Source Control" from the File menu. What could cause this I've checked out the solution file from Source Control, built the solution (for some reason when we build the entire solution it asks to check out the Solution File) and then checked it back in, but no one gets it. At the same time, if we branch this solution to a new branch, it will not carry ove ...Show All
Windows Forms Cargar un formulario desde un parametro
Me encuentro creando un menu dinamico en vb2005, donde los nombres de las formas se encuentran en una base de datos y deseo ver si se puede pasar el nombre de la forma como parametro para cargar dicho formulario algo asi Private Sub FormaLoad(ByVal StrFrm as String) Dim MyForma As String = StrFrm Dim Cargar as New MyForma MiForma.showDialog() End Sub Espero me puedan ayudar o dar su recomendarion, mi cuenta de correo es alvaro.gomez@uees.edu.sv Hola. - Hi. Primero decirte que si posteas en espanol es posible que nadie conteste porque no lo entienden. Si lo que quieres es mostrar formularios sab ...Show All
.NET Development Wireless Communication using VB.NET
i am making an application that will perform wireless communication over laptops. i want to send an ID for a product from a user laptop to a laptop that has the database. the database then takes the ID and returns the price of that product. i need help on how to perform wireless communication using VB.NET i would greatly appreciate if someone could provide me with some sample code. if someone has such code for wireless communication using VB.NET, please share it with me. any other help would also be great... thanks in advance Assuming you want to use TCP to access the network, then Syst ...Show All
Visual C# Access vs c# as frontend
We are looking at a new business application. the application will deal with hr, QA, sales, payroll, inventory, etc. One sales consultant came to us and stated that using sql server 2005 as the backend and microsoft access as the frontend is a good decision. I really do not think it is a good idea. I would rather see something in c# that ties to sql server. dont get me wrong I love access but I think it has it place and for an application for the future I just feel this is a really bad idea. This application is going to be used by 40 users. I want a system that is scaleable and robust. What are other thoughts ...Show All
Visual Studio 2008 (Pre-release) Rendering a button to a bitmap (whats wrong with this code?)
Seems simple enough, but I get an image of a black button instead. Here's my code... In XAML I have... .... <Grid.ColumnDefinitions> <ColumnDefinition/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition/> </Grid.RowDefinitions> <Button Width="50" Height="50" MinWidth="0" MinHeight="0" x:Name="Button" Content="Button" Click="ButtonClicked" Background="Red"/> .... In my Click handler I have... private void ButtonClicked(object sender, RoutedEventArgs e) { RenderTargetBitmap rtb = new RenderTargetBitmap((int)this.Button.ActualWidth, (int)this.Button.ActualHeight, 96d, 96 ...Show All
