wpfnewbee's Q&A profile
Windows Forms .Net
I have the "your organism vbCritter.myanimal counld not be found in the assembly" error and I cleared the namespace and it still doesn't work VB.Net adds a "default" namespace to all types based on the assembly/project name. So for example, if your project was named "Bar", then a class declared in no namespace would still&n ...Show All
Visual Studio 2008 (Pre-release) configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0" ERROR MESSAGE
I get the following message when I try to use the below configuration. I tried taking out the xmlns and got a real error. What am I doing wrong HELP!!!! < configuration xmlns = " http://schemas.microsoft.com/.NetConfiguration/v2.0 " > Message 1 Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration'. C:\Inetpub\wwwroot\Data Source\kpmemorabilia.com\web.config 10 2 C:\...\kpmemorabilia.com\ .NET configuration element is no longer namespace qualified so you should take out the namespace de ...Show All
Visual Studio Team System Baseless merge ?
I've been told a couple of times to workaround problems with branching via a Baseless Merge. Now I'm pretty sure I can guess what this does based on the name, but I can't find any way to accomplish this through the VS2005 UI. I've read all the docs I can find and I've searched google and all I've come up with is the command line option to do "h.exe merge /baseless" from MSDN and the reference from Buck's blog. The description in the docs being : /baseless - "Performs a merge in the absence of a basis version" Am I missing something in the UI or is it just not in there yet Excellent. Thanks, Richard ...Show All
Visual Basic How to reuse My.Resource strings in multiple applications
I have several projects that make up a single application and I would like to have a single place where I maintain my resource strings. I tried creating a separate project for this purpose using My.Resources to manage the strings. This does not work however because the module generated by the 'StronglyTypedResourceBuilder' is declared Friend, and therefore only available within the Resources project. In another post someone suggested modifying the generated code to get around this but it is not just the module definition, but all of the properties as well. This does not seem to be a very good approach to me as it is overwritten each time ...Show All
Windows Forms Raise an event when a script is executed ( WebBrowser control & MSHTML)
Hi guys, I have a problem that I don't know how to fix. I'm using the WebBrowser control in a winforms app to display a webpage with some scripts on. Now the problem is that I need to know when the script is completly executed. I'm also using MSHTML but I cant find anything that is useful to me. Anybody tried this before Thanks Bjorn ...Show All
Windows Forms Why is there no CaptionText in the DataGridView Control?
Hi Folks, this is a question to Mark Rideout (or anyone from MS): Why was the CaptionText property not migrated from the old DataGrid control to the new DataGridView control Is there a replacement or do we have to create a user control combining a DataGridView and a Label Thanks. We talked with some customers and got the impression that it isn't a needed feature as UI's were getting more graphical and more "office-like". We left it up to app developers to combine and style things as they saw fit for their app. -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
Windows Forms Sluggish performance 2005 final release - Us or MS?
We have a windows application, originally developed in VS 2003, now in VS 2005 final release, using Visual Basic. It has become painfully sluggish to design in, though the speed when running the app is fine. My PC is a Pentium 4, 2.5 ghz with one meg ram. I can not tell if the problem is with us and the way we designed the solution, or if it has something to do with Microsoft and Visual Studio as a whole. I realize that you are capable of having a field day on my ignorance but hope you will resist the temptation. When opening the app it takes 3 minutes before we can actually get anything done. The Solution Explor ...Show All
Windows Forms RichTextBox AppendText from class file
I have a main form called Form1 - surpise there. On the form there is a rich textbox called rtbMsg with modifiers set to public. I have a separate class called ping.cs In this class, I am trying to append some text to the rtb, but doesn't want to work.... Form1 frmMain = new Form1(); frmMain.rtbMsg.AppendText("test"); It won't write to the rtb. Reasons Thanks, Zath Does variable frmMain's scope include ping.cs In ping.cs, in the IDE when you type "frmMain." does Intellisense pop up and does it include rtbMsg Or is the form class instantiated in ping.cs Ar ...Show All
Visual Studio Express Editions How to install SQL 2005 Server Express Edition and Visual Studion? When it says...
In each installation guide, it says to unnistall all previous installs... So if i Install the VS 2005 for VB.NET, and i wnat to install the SQL Server, i need to unninstall VS How can I have both, if i have to install the other one before installing Can I just Install the VS 2005, then the SQL 2005 Server Tkx... ...Show All
Visual Studio Team System Migration of Test Cases?
I am working with Microsoft/Asentus with the Roadshows for Team Systems and I had an interesting question from one of the attendees today (actually a couple of them) Is there a way to migrate existing test cases into VSTS Will there be an "Enterprise Edition" of Visual Studio after VSTS (My assumption is no, these will replace) Is there a way to use Foundation server with just the Professional Edition of VS Anyone got any ideas on these Thanks ...and, as I understand it, you'd need to buy a CAL for TFS for each desktop so configured (VS Team Edition SKUs include the CAL already, VS Pro doesn't). ...Show All
Visual C# ReadOnly and const
Dear All, Can any 1 describe me the difference between readOnly and const keywords. What exactly is the difference. A simple example would be greatly appreciated. cheers, Sam This doc on MSDN should be helpfull... http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vclrfreadonlypg.asp The 'NOTE' at the bottom of the page answers your question exactly. :) ...Show All
Visual Studio Team System "Forcing rollback" error saving Work Item via API
I get the following exceptions even though wi.IsValid( ) returns 'true'. Any idea what may be wrong here I looked at the data before performing wi.save( ) and all looked good. Any help will be appreciated. ex {"TF26212: Team Foundation Server could not save your changes. There may be problems with the work item type definition. Try again or contact your Team Foundation Server administrator."} [Microsoft.TeamFoundation.WorkItemTracking.Client.ServerRejectedChangesException]: {"TF26212: Team Foundation Server could not save your changes. There may be problems with the work item type definition. Try again or co ...Show All
Windows Forms .Net active X controls and threading -- object wont dispose with active thread
I am writing a windows forms .net active x control and I have the main functionality working properly in the active x test container, but I have one outstanding problem. My control starts a worker thread linked to the object instance, which it uses to manage a tcp connection. When I shut down the test container, or remove the control, I can't&nbs ...Show All
SQL Server Replication between SQL CE 2.0 and SQL Server 2005 not working
Hi, I've been trying to get my merge replication to work with a sql ce 2.0 on sql server 2005, but it keeps generating shapshot scripts my pocket pc can't execute. Example of my table.sch file in my snapshot folder: drop Table [dbo].[Application] go SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Application]( [AppID] [nvarchar](20) NOT NULL, [AddOnInfo] [nvarchar](50) NULL, [MaxClients] [int] NULL, [AppName] [nvarchar](255) NULL, [NbrDaysHistory] [int] NOT NULL CONSTRAINT [DF_Application_NbrDaysHistory] DEFAULT (10), [NbrDaysFuture] [int] NOT NULL CONSTRAINT [DF_Application_NbrDaysFuture ...Show All
.NET Development System.Net.WebPermission error
I would like to understand what the error: Request for the permission of type system.net.webpermission failed with respect to a web service call means. Is this a high level client server setting, an Internet Explorer security setting on a particular machine, or something else. I would also like to know if I can do anything in the web service code which runs on the client machine to provide access to the webservice to correct the issue. Thanks, Fred Herring It means the code that you are running, does not have such permission when it was loaded. This could happen due to different reasons: You are running code from a \\machine , yo ...Show All
