Michael Hogue's Q&A profile
Visual Basic Code Analysis / nested classes / what to do
I discovered by accident that if I took the stuff I'd normally put in a module and nested it in a class (usually as shared) I really uncluttered the autocompletion lists. (I'm a great one for always typing system.windows.forms.... So seeing less and typing more is in for me!) OTH Code Analysis complains loudly about nested public classes, presumably for a good reason. My question is simple - is there a way of correctly using modules so that a mo ...Show All
Windows Forms WYSIWYG HTML Editor Control
There are tons of browserbased WYSIWYG HTML Editor controls. But, i'm building a windows based Content Managment System, and need a HTML Editor for Windows. Anyone know of a control i could use, or a way to export to HTML Is there classess&nb ...Show All
Visual Studio Team System Build FAILED: A database error occurred (SQL error 8152) ---> String or binary data would be truncated.
Hi, I'm running Beta 3 Refresh in a single server environment. I've started moving our source code from StarTeam to TF Version Control, but have run into a problem with the build. I started out with a small sample and a simple build file and everything worked fine. Now I've checked a major part of our source code into TFVS and have set up a team build. The build have multiple solutions with multiple projects and several thousand source files. Th ...Show All
Smart Device Development Debug ATL control in Pocket PC 2003/2005
Hi, I am kind new in developing ATL control for Pocket PC 2003/2005. I have been able to generate a .dll activeX control and I can deploy it in the device. My question is how can debug it throug Visual studio 2005. When I started debugging, a message "a non-executable project cannot be started directly. Please set a command to use to start debugging this project" pops up. Anybody have an idea about this Do I need to write a prog ...Show All
Visual C# strange behaviour for GenerateInMemory=true
Hi everybody, I've got this code: CompilerParameters compilerParameters = new CompilerParameters(); compilerParameters.GenerateInMemory = true; if (compilerResults.PathToAssembly == null) defaultTraceListener.WriteLine("OK"); else defaultTraceListener.WriteLine(compilerResults.PathToAssembly); if it's running within the VisualStudio debugger (I'm an express edition user) I've got no problem: the PathToAssembly is "null" and - I a ...Show All
Visual Studio Tools for Office Button is not getting removed after uninstalling the Word add-in
Hi All, I'm creating and installing a Word Add-in. The add-in creates a button on standard toolbar. When I uninstall the add-in the button is not getting removed. The add-in is the basic add-in from the link http://support.microsoft.com/default.aspx scid=kb;en-us;Q302901 as it is. The code in OnBeginShutdown is as follows: public void OnBeginShutdown(ref System.Array custom) { object omissing = System.Reflection.Missing.Value ; System.Wi ...Show All
Visual Basic Controls Flickering when drawed on the form
Hello there :) This was a Problem in Visual Basic 2003 when having a Form with about 150 Controls the form simply consists of panels and those panels have Labels and controls beside hem the form itself has a background picture ,,, the Panels also have backimages the Problem is when the form is shown the controls are being drawn really slow ... (the form is 1024*768) that wasn't a Problem at all back in VB6 anyway I saw that Visual Basic 2005 has ...Show All
SQL Server VS2005/SQL Server 2005 Mobile subscribing to SQL Server 2000 publication
Hi. I have an upcoming PDA project, and I would like, if possible, to use VS2005 and SQL 2005 Mobile, rather than VS2003 and SQL CE 2.0. However, the back end will be a SQL 2000 publication. If SQL 2005 Mobile subscribes to such a publication, can anyone tell me which (if any) of the new features in SQL 2005 Mobile will be available (In particular, column-level tracking and sync progress status) Thanks. A SQ ...Show All
Windows Forms MDI child call parent variable/object
Can MDI child call back parent variable or any object e.g. - frmParent -Public String conn = "abc.mdb"; - frmChild - Public String test = "demo"; - frmChildTest - how can we frmParent.conn - and can we call frmChild.test , too the issue i would like to call parent variable, It would like to create the database connection in parent , so each child only need to call parent connection, and dont need to recreate on each ...Show All
Windows Forms Adding link label to each row of a datagrid
Hi Can someone provide me a link or walkthrough to add a link label to each row of a datagrid Here, I am using the .NET inbuilt datagrid. I am developing a windows application. The objective is that, assuming I have a link inside a datagrid, when I click the link i want to show details form please help best regards Anz ...Show All
SQL Server Drawing line between table rows and columns
how to insert line between rows and columns in reporting services 2005 ...Show All
SQL Server Problem with New SQL-NS 2005 Book Chapter 6
Hey Guys. Just wondering if any of you have the Shyam Pather Microsoft SQL Server 2005 Notification Services book I recently bought this book and so far its been great. However ive gotten up to chapter 6 and have found that the sample solution just doesnt work. So my question is, has anyone else gotten this sample Music Store web, particularly the Chapter 6 Scheduled Subscriptions working As per the examples i have a Subscription class ...Show All
SQL Server Problems with installing SQL Server 2005 Developer Edition
Hi, I downloaded SQL Server 2005 Developer Edition (x86) via MSDNAA (the package conatins 2 cd images the download program CRC checked them and all. I'm trying to install it on Windows XP prof. sp2). When I mount the first CD, the installation menu comes up, if from the Install menu I select " Server c omponents, tools, Books Online, and samples " an error message pops up saying: "The application or DLL D:\Setup\set ...Show All
.NET Development Generic's - Collections
Hi all, I aint too cluded up on Generics yet, but let me give you a run down on my problem so that you can advise me if Generics is the way for me to go. OK - I have a a couple of collection classes that inherit from CollectionBase. These collection classes all have the same property members that I have overriden,, such as Add, Remove (Overloaded), this, etc etc. I may be going down the wrong route with Generic's here, but could I have one Colle ...Show All
Visual Studio problem in opening project from VSS
Hi guys, Iam using Visual Studio Dot net 2002 version and when Im trying to open a project from source control to my local machine its giving "The project you are attempting to open is a source controlled FrontPage Web and cannot be opened directly from source control. Please use the Open Project From Web command instead." I tried many ways but still its giving the problem. If any one got to know the solution. Do let me know. Thanks and in ...Show All
