Bob Schmidt's Q&A profile
Visual C++ How to link to the correct STL library when a third party dll is based on VC6?
I have a third party dll targeted for VC6 and .net 2003. It worked well with my old MFC application. After it was migrated to VC 2005, it throws an exception of access violation whenever the stl string information in the object is accessed. Accessing other members of the object is OK. I guess it might be linked to the stl.net library instead of the old stl library that the dll is based on. Anyone knows what is the problem and how it c ...Show All
Visual Basic help !-Access "memo" type truncated to 50 characters when retrieved via dataset
I have an Access data table with one column being memo format (up 65000 characters). I have a VB .NET prog which sets up a datadapter/dataconnector/dataset. The dataset is bound to a datagrid. What shows up in the datagrid "memo" column is truncated to 50 characters. I did a test of reading the data from the dataset into a richtextbox instead and the same truncation takes place ! -Is this due to a flaw in the wizard's generation of the ...Show All
Software Development for Windows Vista Microsoft Windows User Experience: Official Guidelines for User Interface Developers and Designers
How come this book is so so expensive come on a thousand dollars canadian for a book... sooo dissapointed with MS over this... I guess bill is the only one with a copy. http://www.amazon.com/gp/product/0735605661/ref=olp_product_details/104-7637469-6783105 %5Fencoding=UTF8&v=glance&n=283155 You can beat MS press!!! Hit CTRL-P on your keyboard and then take that load of pages off your printer onto your bed and enjoy :-) ...Show All
Visual Studio Tools for Office Deploying Outlook Add-In (after following tutorial Part 2) - fixed!
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
Visual Studio Cast problems writing Add-Ins in C++.
I know, maybe it will not be a new question, but for the moment I wasn't able to find a real good answer. I was writing some Add-Ins for Visual Studio, and I chose to write them in C++; what a big mistake! Microsoft really hates people trying to use this 'old fashioned' language. You can understand it just looking at all those code samples around: nearly all Visual Basic or C#... So actually I found a solution to my problem, ...Show All
Windows Forms Iterating DesignerSerializationVisibility.Content collections?
Running the following code to get the property descriptor of ToolStripContainer.ContentPanel results in a descriptor marked with DesignerSerializationVisibility.Content. ToolStripContainer tsc = new ToolStripContainer (); PropertyDescriptorCollection props = TypeDescriptor .GetProperties(tsc); PropertyDescriptor prop = props[ "ContentPanel" ]; Up until now, I've been using IEnumerable to iterate over objects which are marked Designe ...Show All
Visual Studio 2008 (Pre-release) how to display underline text from control template
Hi, For HeaderedContentControl, is anyway to show underline header I am using TextBlock inside ControlTemplate to display the header text but can not figure it out how to make the header underline thanks chong ...Show All
Windows Forms beta2 deploy web application
I am using Beta 2 IDE environment. I build the code successfully and now I am ready to deploy the code to another server. I am using aspnet_compiler.exe utility to precompile my code. However, I get below error everytime I try to do this. Can you please help error ASPRUNTIME: Object reference not set to an instance of an object. Hi, to upload your pages on a server you just have to copie your files onto a asp.net server and it works. Ca ...Show All
Visual Studio Tools for Office "Lock" table cells
Hi, is it possible to lock some cells in a table in Word Meaning, I have a table where every second row consists of headers. It would be nice if the user tabs through the table without being necessary to tab through all the headers. And just skip from text cell to text cell. best regards Anders Hi Anders, You can prevent users from making edits to the document by using the Protect method of the ...Show All
SQL Server Server Management Studio, Multiple Drops
Is there a way to drop multiple object in one go, with the Management studio, i can only select one at the time, although the 'drop window' seems to be prepared to drop several in one time Kind Regards ...Show All
Visual C++ Project Property Page
Hi, I have just installed Visual Studio 2005 and I am experiencing some difficulty. I want to add a compiler directive (/w) but I dont see that C++ folder when I open the Property Page. Can someone please assist this dummy Do you mean that you want to add a compiler option (switch) Thanks, Ayman Shoukry VC++ Team ...Show All
SQL Server IO Stats and Execution Plans (text)
Hello, As a requirement, I have to send the DBA's IO Stats and Execution Plans (in text format) to them; with 2005, is there a more automated way Before, I tried using a script generator, but it really never did the trick. Is there a better way of automating Thanks. With SQL 2005, you can get this information in XML format in management studio, via a SQL Trace, or from DMV's on the server. DMV's though w ...Show All
Windows Forms Timers
Hey, I added a splash screen to my program but I need to amke it is after about 10 seconds it goes away and shows the main form, I think I need to use a timer but I dont know how to use it... I fiddled around with it and code to see if I could get it to work but I could not get it, so could someone help me out Thanks, I am using Visual Basic 2005. Hello, try this: doubleclick on 'MyProject' to access the project's setti ...Show All
Visual Basic vb.net 2005 and Collection
I attempt to use collection with vb 2005. I wrote this example: Dim sParameter(5) As String Dim collTabella As New Hashtable Dim sName As String Dim SDescr As String sParameter(1) = "1" sName = "1" SDescr = "campo 1" sParameter(2) = "1" sParameter(3) = "1" sParameter(4) = "1"c ollTabella.Add(sName, sParameter) sParameter(1) = "2" sName = "2" SDescr = "Campo 2" sParameter(2) = "2" sParameter(3) = "2" ...Show All
SQL Server SSIS Requests...
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the ...Show All
