Answer Questions
LKeene TabItems displayed vertically
Hi all, I want to display my TabItems vertically, like this (bottom pic): Image I've tried to get this effect by using RotateTransform, but that doesn't do the trick. It only rotates the content, not the TabItem-header itself. Thanks in advance for the help, Frances Unni Ravindranathan has been created an XPGadget which shows how to do this kinda stuff, you can download the source from this blog . Sheva I think you're looking for TabStripPlacement . < TabControl TabStripPlacement = " Left " > < TabItem > < TabItem.Header > < TextBlock > < TextBlock.LayoutTransform > < RotateTransform Angle = " 90 " /> </ Tex ...Show All
Ido Flatow set document path in word saveas dialog
Hi all, I hope someone can help me. I'm programming in Visual basic. In my word template project I would like to preset the document path (preferably to a sharepoint document library) and the document name in the built-in word dialog when the user presses the save commandbar button or chosses the file save as menu. I haven't had any luck with this. Thanks for any help Greets Speedtriple If you were working without VSTO, in a Word template or document, you'd include two procedures in an embedded VBA project: FileSave and FileSaveAs. For anything else, you need to sink the DocumentBeforeSave event. For example, in C#: private void ThisDocu ...Show All
Roy mm Would it be hard to add support for SQL IN (...,...) ?
i.e. string[] cities = { "London", "Paris", "Seattle" }; var query = dataContext.Customers.Where (c => cities.Contains (c.City)); LINQ to SQL gives this error: NotSupportedException: Queries with local collections are not supported It should instead convert this query to: select * from customers where City in ('London', 'Paris', 'Seattle') Without this kind of support from LINQ to SQL, what it the best way to support what Joe is trying to achieve, where a field is to be compared to a dynamically provided small set of values Matt, I'm sure this has already been considered during your "mapping of a feature for remoting collections of values to the server" but I'll throw it out ther ...Show All
Antoine Galland deploying add-ins without installing PIA's in Target machines..
hi all, i ve a seious issue regarding installing addin that i ve created for Outlook 2003 . it will work fine in the machines in which i manually install outlook 2003 PIA.. i dont want to make it an overhead on the users.. or my addin in fail if the user in case uninstalls that thinking that it's not required.. how do i deploy this properly.. i saw many posts asking not to deploy the office 2003 pia's and even asking to exclude them from them from the dependency list.. i m totally confused.. wats the right way to follow ur help is much appeciated.. thnkz in advance.. You can start here: http://blogs.msdn.com/mshneer/archive/2006/01/05/deployment_articles.aspx thanks for the promt reply .. wat i m try ing ...Show All
smileyke no dynamic image location in crystal reports for VS 2005?
Hi, I use a database table where the file path of an image is stored in a column. I want to dispay the corresponding image for each row in a report, but found no way to bind to a file. Has anyone some suggestions Thanks, - Stefan Hellp Stefan, I am trying to Open Images dynamically, whose Path locations are in the field for sql-server database. I try to follow the direction , you had given - it is not quite working for me "After including an picture object to an report you can do a right mouse click on it, popup menu item "Fromat Graphic", Tab Picture. There is a "Graphic" section where it is possible to define a formula (which can be bound to a database field) for the image source." ...Show All
Wicket Getting Relationship Schema Data from CdmEntityType
OK, So I'm using CdmEntityType to crawl a type, but I can't seem to find the relationships. Is there a simple way of getting the list of relationships within a given type Thanks! Mike Ah! This is great... however, it appears this code is for the more recent code, and not the AugustCTP, which is what I'm working with. :) I'm waiting for the FebCTP before getting the latest bits... No worries on the conflict. I'm close to getting done with a little project I've been working on w/ EF... I hope to have something on CodePlex by next weekend (maybe even this one if things go well!). Also... is there an example of this EntityContainer path that you mention Maybe that works w/ the Aug. codebase Th ...Show All
schalmeti Creating a Derived Type in the Designer
I am attempting to re-create my previous VideoGames database using the designer. I want to see if I can do everything I need without tweaking the underlying XML once. So far its working with NavigationProperties. However, either its been too long since I've used this stuff, or the designer is limited. I am trying to create a derived type called WiiGames that derives from VideoGames, that uses a condition where the VideoGame.Type.ID is 1 (Wii). Anyone have a walkthrough on how to do this in the designer and/or how to start using the designer and finish using XML Has anybody created a conditional derived type Thats really all I need here is how to fix this syntax so I don't get the above runtime exception about the mapping... It looks ...Show All
pavel989 VS 2005 is better than DLL hell?
Please please please someone bring back DLL hell (which was never really that big of an issue) -- DLL hell is a considerably better trade-off that dealing with interpreted, buggy, slow, and "mysterious" development platform called VS 2005. So many issues with VS 2005: 1. Why is it so slow I mean slow even on a very fast system with 4GB RAM, multiple processors (3Ghz zeons) and 10K rpm hard drives. Is it just a flawed design 2. Why did SP1 not really improve anything and seems to have caused more problems than it solved Debug corruption (no symbols loaded) and a host of other issues. 3. Why is the simple task of moving multiple controls around on a ASPX page via the VS IDE so painfully slow and unresponsive 4. Wh ...Show All
EZ1976 Can't edit text in RichTextBox (VSTO 2005)
Hi, When I add a RichTextBox to my Word document at Runtime, my textbox displays correctly my formated text. But if I try to change the format ot some text in the RichTextBox once Word is launched, nothing happens! How can I enable the formating of text in the RichTextBox Thanks, Claudia Thanks for your reply! So there is no way to introduce (in my code) a control like a textbox, which allows the later user to format text in the textbox Thanks, Claudia Hi Claudia, If you are using VSTO, the RichTextBox control isn't supported (which is why it is not enabled in the designer). The Windows Forms RichTextBox control wraps the Win32 Rich Edit Control. ...Show All
dribar438960 Exception from Form.ShowInTaskbar=true
Hi, i'm working with VSTO2005 and Outlook 2003. If the user clicks on a menubutton i show a WindowsForm with ShowInTaskbar=true. If the user hits the minimize button the form is minimized to the system tray: private void TasklistForm_Resize( object sender, EventArgs e) { if ( this .WindowState == FormWindowState .Minimized) { this .ShowInTaskbar = false ; this ._NotifyIcon.Visible = true ; } } If the user selects the Show button of the contextmenu of the NotifyIcon, the following code is executed: void Show_Click( object sender, EventArgs e) { this ._NotifyIcon.Visible = false ; this .ShowInTaskbar = true ; this .WindowState = FormWindowState .Maximized; } But in the Line this .S ...Show All
Uwe Heinkel Parameterising ProjectType in VS2005 templates
Is it possible to parameterise the ProjectType node in studio 2005 template files The problem I have is like this, our development team write in both C# and VB and I want to write a guidance package to help speed up development in both code camps. The classes within my package are generated using code (CodeDomProvider, etc) so I can squirt out class code in either language Ok. But I have hit a problem when it comes to solution & project files as they are templated and have the language set in the ProjectType element. Do I need to write 2 packages with the majority of stuff exactly the same but different solution & project templates or am I missing a trick here Can I either: parameterise the ProjectType element in ...Show All
Ryn Message Namespace / invoking class functions
I'm trying to see how to accomplish this with WCF, any help would be greatly appreciated. I am setting up 3-4 WCF services and in one of them, I want it to essentially be a wrapper of stored procedure calls. So, it would basically be a set of function calls with the parameters strongly typed in the Function call. However, since we are going to have a lot of these, I want to be able to separate these out by program utilization. For Example (pseudo code): Dim client as New IWCFStoredProcedureClient client.webSites.GetProducts() client.scanner.RetrieveOrder(OrderId as Integer) And the service contract would have a list of those methods in there. It's kind of an organizational thing. The other problem I'm trying to solve is the abi ...Show All
laboremus Rubber Banding
Howdy, Ian G did a blog article back in 2004 on rubber band selection in WPF http://www.interact-sw.co.uk/iangblog/2004/02/06/rubberband that showed how to do this by placing a rectangle in the visual tree at an appropriate level. Is this still the way to go Or is there a different preferred method Thanks Paul dave45 wrote: This url gives VB code for a SimpleCircleAdorner class and: myAdornerLayer = AdornerLayer.GetAdornerLayer(myTextBox) myAdornerLayer.Add( New SimpleCircleAdorner(myTextBox)) but doesn't explain how to create an AdornerLayer, (Dim myAdornerLayer as AdornerLayer returns Nothing, how do I GetAdornerLayer is ...Show All
Jinz asp.net web application in vb or c# it freezes
every time i try using asp.net web application in vb or c# it always freezes and says not responding. the error message i get is C:\DOCUME~1\User\LOCALS~1\Temp\WERd93c.dir00\devenv.exe.mdmp C:\DOCUME~1\User\LOCALS~1\Temp\WERd93c.dir00\appcompat.txt im using windows xp professional. can sum 1 please help me. i have looked through the forums and havent found anything help full. thanks. ...Show All
Kdean6869 Making custom user control as root of xaml
i'd like to create a class that inherits from a WPF control say UserControl or Grid and then have another XAML whose code behind in turn inherits from that class. On using the name of the custom class in the Root element of the XAML, get an error saying this is an invalid root element. Is there a way to get around this Here are the classes and XAML files: Get an error in View1.xaml saying that the root element is invalid. Window1.xaml <Window x:Class="WindowsApplication1.Window1" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " Title="WindowsApplication1" Height="300&quo ...Show All
