Michellos's Q&A profile
Microsoft ISV Community Center Forums drop down files in directory list in Word
You would think millions do this... I am on an intranet. I use Word doc to quickly insert hyperlinks then I use that file to quickly/easily get to and open files. But how do I use a list box to display files in a directory and then open the file when selected I know how to work with VBA, the list box etc. But I can't find an example of the code that I need to do this. If I could get any kind of example I could figure it out!!! Thanks ...Show All
Software Development for Windows Vista State persistence in long running transactions
Hi To All, In a long running transaction or human-centric workflow scenarios, Does WWF behave similar to BTS with respect to dyhydration and rehydration Specifically, i am looking for answer whether WWF persists its state into a SQL Server database. If so, does it depend entirely on SQL Server or will it be possible to configure and use any other DB for persistence If it is not so (by keeping the state within its process), Is this really scalab ...Show All
.NET Development SQL Server 2005 XML type looses spaces
Hi all, I am using ADO.NET 2.0 to store an XML string into a SQL Server 2005 xml field. The code is shown below. When an element contains only spaces, it is stored as an empty element in SQL Server 2005. For example, <Str> </Str> is stored in SQL 2005 as <Str /> I've read Denis Ruckebush's post about this at http://blogs.msdn.com/denisruc/archive/2005/09/12/464145.aspx . However, using CONVERT is not an option ...Show All
Windows Forms Custom button column style in datagrid causes error
Hello All, Newbie to C# (first post here as well), but I am familiar with java/perl/php. I was trying to get a handle on creating custom column styles in a datagrid. So I downloaded and tried a simple example using the controls provided ...Show All
Windows Forms Can't anyone help me with this? - "..timeout period elapsed prior to obtaining a connection from the pool..."
I posted this problem but no one responded. I figured I'd try one last time. I'm having a wierd problem. I've been using Visual Studio.NET 2003, and writing an app that up to now has been working perfectly. All of a sudden an error comes&n ...Show All
Windows Forms Dynamic ContextMenuStrip problem
I am dynamically adding ToolStripMenuItems to a context menu during the Opening event and those menu items are coming from the main menu. The problem is that the first time the right-click event occurs and the opening event is called nothing shows up. Repeated right-clicks after that work but until the main menu is activated again. To rebuild the menus during load, I have an array that stores all the menu items needed and use t ...Show All
Windows Forms How do I change a font size of the text according to the control size?
Hi, I want to control a font size according to the control size(Shrink or Expand). If I have a textbox with a some string with font size 10 and I change the textbox size, then the text (i.e font) size should change. Can you anybody help me Hi, You could give it a try using the MeasureString method of the graphics object. http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemdrawinggraphicsclass ...Show All
Visual Studio Team System [RC Upgrade] Unexpected Error: Deserialization failed: The 'EditionID' element...
Hi, I got the following error when running "TFSUpgrade.exe imisfnd1srv /verify": Verifying connection to OLAP Server UPGRADE FAILED Unexpected Error: Deserialization failed: The 'EditionID' element in the 'http://schemas.microsoft.com/analysisservices/2003/engine' namespace is unexpected. Any ideas Thanks, Eli. I ran the tool locally from the Team Foundation Server and it worked... :-) ...Show All
Visual Studio Outlook Addin beta1 would not start Visual Studio 2005 released
Hi, I could use some help. I am new at this. I installed the Outlook addin beta for VS 2005 it shows up for new project but on selection gives this message: Could not load type ‘Microsoft.VisualStudio.CommonIDE.TEmplateWizard.IWizard’ from assembly ‘Microsoft.VisualStudio.CommonIDE, Version 8.0.0.0, Culture=neutral, PublicKey Token=b03f5f11d50a3a’. Please help Thanks Thanks, Yes I only hav ...Show All
SQL Server Problem with linked server to Oracle
I run linked server from SQL Server 2000 to Oracle 9.i. In SQL Server oracle client is xa73.dll. EXEC sp_addlinkedserver @server='ORDB', @provider='MSDAORA', @srvproduct = 'Oracle', @datasrc='ORDB' EXEC sp_addlinkedsrvlogin @rmtsrvname ='ORDB', @useself ='false', @locallogin =NULL, @rmtuser = 'ivr', @rmtpassword = 'jjcom' SELECT * FROM OPENQUERY(ORDB,'SELECT * FROM SUBSCRIBER') but get error like for t ...Show All
Visual C++ Just one more conversion question, please.
I need to get the lResut into _bstr_t type so I can concatenate with other _bstr_t type string to form the DN for creating an Active Directory object. Please help me with this and I hope this is the last conversion I need for this code. Thanks a million! p.s. I assme the lResult in the 2nd SendDlgMessage points to a string of the name of the item selected in the comboBox. Is this correct typedef LONG_PTR LRESULT;//From windef.h LRE ...Show All
Visual Studio 2008 (Pre-release) Local and Remote DB?
How does a local/remote scenario work with DLinq and entity cache Say I have a NewsGroup sorta app that reads new posts from a server and saves them to a local SqlExpress db. On startup, you read objects from local, but want to read any new objects from remote db if they exist. How does that work Same objects, so how does things like Add/Update work Is there going to be conflict between the two dbs with same objects Looking for something tha ...Show All
Windows Forms Can't update underlying database in VB 2005
When I click the SaveItem button on my BindingNavigator control, it appears to complete successfully, but no change is actually made to the underlying database. This is application specific. If I build a new program with a form that has controls bound to the same db, I can update the database with no problem. I added a simple form in the problem application to see if it was form-specific, but the new form won't work either. ...Show All
Visual C# Resize Window and controls on resize..
hi... today earlier i was lookng an application and i looked on the resize event it resized all the controls in it... the labels,, the controls... the listviws,.,, so if u made the form very tiny,,controls were very tiny,, if u resize bigger the form... u had huge controls... and this guy who developed it told me that he used a control that do this... does anybody know about that control :) mig16 hi, you can ...Show All
Visual Studio Tools for Office Deploying Outlook Add-In (after following tutorial Part 2)
First off, it's worth saying that VSTO 2005 is excellent both as a product and as supported by all of the great articles and samples. Office has become a very important Hosting environment for enterprise applications and VSTO (and the community) is exactly what we need. I just finally got my Outlook Add-In to work with one-click deployment, but I needed to customize the SetSecurity project referenced in the Part 2 Walk-thru. I added a &quo ...Show All
