TomPearson's Q&A profile
Windows Forms ErrorProvider on TabControl
I use an ErrorProvider on my form to show errors. This works fine as long as I don't use a TabControl. When using a TabControl an error can happen on a TabPage that doesn't have the focus. So I bring the TabPage with the error to front using this code: VB: -------------------------------------------------------------------------------- myTabPage.BringToFront() myTabPage.Select() myTabPage.Show() myTabPage.Refresh() ----- ...Show All
.NET Development 2 projects same solution
my solution is set up: Solution | --vbProject | |-----References | |-----cppProject | |-----mscorlib |--cppProject | |-----References | &n ...Show All
Visual Studio Express Editions Configuring SQL Server Express and Visual Web Designer Express
OS: XP Pro/SP2 Previous installation of SQL Server 2000 Developer Edition, now removed. I am able to successfully install .NET 2.0, SQL Server 2005 Express, and VWD 2005 Express from the Express homepage ( http://lab.msdn.microsoft.com/express/ ). At least, I am not receiving any error messages during download/install. However, I am unable to configure SQL and VWD to talk with each other such that a new Web project in VWD Express can connect to the database for the basic site admin functions, much less any actual data manipulation/storage. All instructions I've found seem to relate to SQL build versions other than wha ...Show All
Visual C# How to dynamic load ASP.NET User Controls in Visual Studio 2005
Did anybody know how to dynamic load ASP.NET User Controls in Visual Studio 2005 if I put the User Controls in the App_Controls subfolder Here is my test code: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class _Default : System.Web.UI. Page { protected void Page_Load( object sender, EventArgs e) { ucUserControl1 test = (ucUserControl1)LoadControl( "~\\App_Controls\\ucUserControl1.as ...Show All
Windows Forms Problem inserting a new record with VB 2005 using a table adaptor and SQL 2005 Express
I have a Windows form that is bound to a customer dataset. The form displays a single customer record with text boxes for FirstName, LastName, Address, etc. I created a Fill Query to accept a key field parameter and return the complete record. When I use my SQL Fill command, passing it the key field (which is an identity field) , it populates the text boxes on the form with no problem. The line looks like this: Me .CustomersTableAdapter.FillByID( Me .ShopTracDataSet.Customers, CustomerID) If I use the SQL generated Updat ...Show All
Visual Basic STRANGE Object reference not set to an instance of an object
I'm trying to run a method ina remoting client application this button event calls this message Private Sub btnProcess_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnProcess.Click Dim WindowClient2 As ClientProcess2 WindowClient2.SendMessage2() End Sub SendMessage2 HAS THIS SET UP: Public Sub SendMessage( ByVal recipientAlias As String , _ ByVal AlertId As String , _ ByVal message As String , _ ByVal isReturning As String , _ ByVal Urgency As String , _ ByVal TimeStamp As String , _ ByVal TimetoExecute A ...Show All
Visual Studio Express Editions Network Programming in VB.NET
I'm in a project which requires me to master VB.NET on Networking side. I found few books but they are more informative in VB.NET basics and not on networking. Any tutorials on Networking side and what should I concentrate in order to master those required skills Suggestions and Help Please http://www.amazon.com/gp/product/1555583156/102-2156605-6512930 v=glance&n=283155 No web site or forum advice can replace a good book, especially on a question this broad. I say buy this book, read it, then ask specific questions here if you get stuck. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. understanding view/world matrix
I have a few questions about this device.Transform.view = Matrix would set the camera for the rendering screen and device.Transform.World = Matrix would place the mesh object into the world space right if all the above is correct what would be the best matrix seting for turning a mesh and placing it into a set location on the screen Yes, you're assertions about those two matrices are correct. Although there is another matrix that you didn't mention - the projection matrix. You probably need to think of the world matrix as being a way for you place and construct all the pieces of your world - irrespective o ...Show All
Visual Studio Team System TFS RC: Error loading Microsoft.TeamFoundation.WorkItemTracking.Server.EventFilter ...
Even though the installation was successful, I am getting the following error four times in a row, every hour: Could not load file or assembly 'Microsoft.TeamFoundation.WorkItemTracking.Server.EventFilter' or one of its dependencies Is this a serious problem Should I be able to fix it or is it a problem with thr RC build Thanks in advance, here is the entire event log entry: Event Type: Warning Event Source: TFS Services Event Category: None Event ID: 3012 Date: 2/15/2006 Time: 8:05:13 AM User: N/A Computer: MyServer Description: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contain ...Show All
.NET Development Setpixel and Getpixel method on bitmap class is very slow
Hello, Right now I am working on graphics assigment in which I am using bitmap class and bitmap members setpixel and getpixel but these two methods are very slow due to which the performance of my application is degrading. Does anybody know the substitute for these two methods and which is fast. Thank you for your patiance. Double post Jerald Check my answer over at this post: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=18107 ...Show All
Smart Device Development need proj. example about .net and sql mobile 2005
Hi, I would like to start a project using sql server mobile and vb.net 2005 for PPC. I could use a project expample on how to read and modify a database from a pocket pc. I couldn't find anything on the net... If someone has something, maybe can send it to me. THANKS GUYS!! Agustin Hi, try http://samples.gotdotnet.com/quickstart/CompactFramework/ - it's for 2003, but the principles are the same, and it takes you through creation/modification Pete ...Show All
Windows Forms How should I prevent the resize of the column width in Datagrid
I set the width of the columns of the datagrid. I don't want during runtime user should change it. How should I prevent from doing this Thanks Have you checked out: http://www.syncfusion.com/FAQ/WinForms/default.asp#44 ...Show All
Visual C# Variable doesn't increment
Hi, I'm creating a Tetris game in which I have an 'x' and a 'y' variable. At first they are set to 0. I use a timer to change the 'y' value to move the figure down. Here's the code: private void timer1_Tick( object sender, EventArgs e) { y++; Graphics grfx = this .CreateGraphics(); PaintEventArgs f = new PaintEventArgs (grfx, this .ClientRectangle); DrawFigure dr = new DrawFigure (f, x, y); grfx.Dispose(); if (y > 569) timer1.Stop(); } Yet, after each event, 'y' goes back down to 0, instead of incrementing. Why is this happening Check that this timer ...Show All
Visual Studio Team System Why do you need the .vspscc and .vssscc files?
Just wondering. In general these VCS overhead files are annoying and kind of get in the way. Can't you just stuff everything you need to know into the .sln and .*proj files Team Foundation uses these to store lists of files that have been excluded from source control. We leveraged some of the existing SCC integration layer in Visual Studio to integrate Team Foundation, and these files were one of the carryovers. I'll have to check into what the logic was in breaking out these SCC settings into separate files as opposed to putting them in the solution and project files' SCC sections. ...Show All
Visual Basic Examples of Visual Basic 2005?
Hey i just started programmin in Visual Basics 2005 and i was wondering if anyone could give me an idea what programs were made with VB and what could be made Thanke you email me at: naturalanthem@insightbb.com Go to a bookstore or library and get a beginners book on VB.Net and read it and do the exercises. A book on VB2003 or VB2005 will work. That is how I learned it. ...Show All
