johnlaus's Q&A profile
Visual Basic Datagrid resizing of last column to stretch to edge
Hi, Two questions: 1. How do I get the datagrid last column to resize to the edge 2. Is there a way to get the datagrid to display 10 rows by 3 columns even though there is no data, because I want to link it to a calendar component so when you click on a calendar date it will show the appointments for that day 3. How do I get the datagrid to allow me to double-click and not edit the cell when I click it tnx ...Show All
SQL Server setting sql server authentication for database user - wont let me
I have created a database now I am setting login details for that user. I am using slq server authentication and entering a password of recommended length. I enter my details in my webconfig file and I get -couldnot connect to database specified in connection string for sql data provider. when I check the login properties the password has changed it appears to be the password for NT Authoritysystem, ie same length, what it is Idont know. ...Show All
Windows Forms Caret class?
Is there a class that can be used to display carets or do you have to use P/Invoke with CreateCaret/DestroyCaret/ShowCaret/SetCaretPos Thanks. Unfortunately p/invoke. You can change the cursor position in the textbox by setting the selection, eg: textBox1.Select(3, 0) ...Show All
Visual Basic How Can We create Stand Alone Application(Running without installation from CD)
Dear All, I actually want a application to run on user's pc's from CDrom only. bcz I have lot of images in a .mdb and I don't want users to install all these mdb and application into their pc's. Just I wanted to run my application when the CD rom is inserted into pc without installing it. Just Like macromedia flash Projector.exe. Is there any solution in VB dot net 2003 Please . Also my application has some features which will be lost, if ...Show All
SQL Server SQL Server Reporting Services - components
I'm running SQL Server 2005 Express Edition and Visual Studio 2005 Web Developer Express. How do I get access to the SQLServer Reporting services components so I can get aquainted with the tools john welte ...Show All
Visual C# Problem using EntLib DAAB for .NET 2.0
I created a windows form in VS2005 that uses Enterprise Library - DAAB - version Jan 2006 to access the DB in its constructor. Everything works fine; however, when I created a UserControl that attempts to store that form as a variable, the VS 2005 designer will not let me drag that UserControl onto a new form. It gives me the following error: “Failed to create component ‘UserControl’. The error message follows: ‘System.NullReferenceEx ...Show All
Visual Basic Exception handling doesn't catch errors
I seem to be missing a fundamental point regarding exception handling. My understanding is that when an error occurs, it can be caught by Catch without abnormally terminating the program. Mine will always abnormally terminate when an error occurs. An example is below. When the connection fails to open, the application breaks instead of executing the Catch block. Why Try cnSQL.Open() xMainMenu.ShowDialog() Me .Close() cnSQL.Clos ...Show All
.NET Development error : R2304: Operation name overloading-webservice
hi.. here is de error R2304: Operation name overloading .. i also tried with messagetype attribute like [ WebMethod (MessageName = "xxxxx" )] ... eventhough it occurs.. need solution immd.. thanks in advance.. When generating a schema for the SOAP messages, WebService Framework uses the [WebMethod] name as a top-level element name (wrapper element) and as name of the wsdl:operation in service ...Show All
Visual Studio Team System Can't TFS data tier "share" an existing data tier?
Like everyone else, I'm trying to get a TFS set up (do you think you could make it any more difficult !). At any rate, we were going down the path of a dual-server deployment. + We already have SQL Server 2005 server w/ SP1 running on a W2003 R2 (virtual) server. + I have also already installed the SQL Server Reporting Services databases already on that SQL server box as we intend to use RS in general for our various web development proj ...Show All
SQL Server Schema versioning - change schemaLocation, but keep same namespace ?
Where you have an XSD schema, and want to create a new version of the schema that adds a couple of elements, is changing the schemaLocation hint a sensible way to indicate that an XML document is using a newer version of the schema Or is changing the targetNamespace the way to do this For example: notice the different value for schemaLocation: <mt395 xmlns="urn:incident:mt395" xmlns:xsi="http://www.w3.org/2001/XMLSche ...Show All
Visual Studio Team System Cannot access project portal from remote computer
I'm running TFS in single server mode. When I'm working local on the server everything works great. I can visit the portal and I can create new projects. But - when I try to visit a project site from a remote computer, I get this error in the browser: -------------------------------Start of message ----------------------------- The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other executable program from a directory ...Show All
Visual Studio Team System Create OLAP failed:File system error: Error opening file; \\?\C:\Program Files\Microsoft...
Got this message when I tried to install VS 2005 Team Foundation Server beta3 Refresh: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 07.12.2005 15:40:54 Application Domain: SetupWarehouse.exe Assembly: Microsoft.TeamFoundation.Common, Version=8.0.0. ...Show All
Visual Studio Team System TFS Project creation fails while uploading documents to the Windows SharePoint Services server
ARRGH! 1. Are there any plans to ever update this link with real content It's gotta be getting past the point of embarassing by now: http://msdn2.microsoft.com/en-us/library/ms242875.aspx . I only mention this, because I keep going to that site over and over, hoping that someday there will be a good, official answer on how to set up TFS to work over SSL. 2. I have hacked my way into getting TFS to work with the Application Tier (Sharepoi ...Show All
SQL Server How would you archive a subset of your db if you had to?
I have a database with 6 tables that are all joined together in one way or another. At certain points in time I want to take a subset of the records in one table(based on a criteria in that table) and 'catalog' them somehow along with the related records in the other tables. It's somewhat hard to explain. I want to preserve a point in time in the db so that at a later point in time I can reinstate the records as they were in the past. Is this ev ...Show All
Visual Studio Express Editions Adding TextBox in GridView
I am using GridView in Asp.net Visual Studio Express edition. How to add textbox for every row in gridview. I am working on shopping cart in Asp.net and i have to add textbox to all rows displayed. Also tell me how to add checkbox control such that users can check the desired rows. The checkbox control in gridview displays only the values in database.If we want to add seperately not involving database. Willfin David. ...Show All
