|
I guess WPF is now mainstream enough for this forum to be filling with ignorant people, just like the others
priyagee wrote: i am new to wpf
Then you should buy a book and read it.
priyagee wrote: i need to open microsoft word document
Do you mean open inside your program ? What makes you think WPF can do that ?
priyagee wrote: in ribbontoolbar button click
There's a WPF ribbon bar control ? The control you use doesn't really make any difference, or are you saying you don't know how to handle a click event, either ?
priyagee wrote: Can anyone help me .
I doubt it.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi Priyagee,
If you click on the Office Button (the round button in the far left hand corner of the screen), it is the second option on the drop down menu. Just hover over the word “Open”.
Please let me know if you have any other questions.
Cheers,
MSOffice Canada
|
|
|
|
|
Want to get started writing applications on Silveright[^]?
MSDEV brings you a series of training videos on Silverlight 3 at Microsoft Silverlight 3 Series[^]. This series of on demand web seminars will walk through the technology fundamentals, data, graphics, and .NET RIA Services of Silverlight 3.
In addition, you can get training at XAMLFest Online[^].
|
|
|
|
|
If you wish to advertise your wares here then you should pay the site's advertising rates. And since you apparently work for Microsoft, that should not be a problem!
|
|
|
|
|
Good job Bruce.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hi,
Could you please suggest how to reduce the speed of the Accordian item control. By default it is moving fast. Need to reduce the speed on click of accordian item.
Thanks in advance!
|
|
|
|
|
I don't see any property or method exposed to control the speed.
I imagine you'll need to provide a custom template for AccordionItem.
The default template is in the toolkit source code (AccordionItem.xaml).
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
|
I need to perform some action on AutoGeneratingColumn event of wpf DataGrid.
But i can`t use generated event handlers.So i wonder can i specify somehow(by "gesture")that once AutoGeneratingEvent occurs SomeCommand should be executed.
Smth like:
<toolkit:DataGrid.InputBindings>
<MouseBinding Gesture="LeftDoubleClick" Command="local:RegistryTab.ShowServiceDescriptorDialogCommand"/>
<UnknownBinding Gesture="AutoGeneratingColumn" Command="local:RegistryTab.AutoGeneratingColumnCommand"/>
</toolkit:DataGrid.InputBindings>
|
|
|
|
|
I have a button, and its background image is a bmp file. Background of image is black. How to make this black color transparent
|
|
|
|
|
|
You just could set the transparency mask of the image control that is hosted inside your button ...
The fileformat of the picture hosted inside the imagecontrol is not important at all.
cheers noodles
Tztztztz ....
Sorry, is this a Windows.Forms Button ? If so, my answer is only for WPF ... This comes from quick and dirty reading ...
|
|
|
|
|
Thanks for your reply. I fixed my problem by using icom image instead of bitmap as background of button. It is also possible to create transparent image using photoshop.Go through the link
http://www.mediacollege.com/adobe/photoshop/transparent/background.html
|
|
|
|
|
Hi,
When i publish and run my silverlight application I am geting
"The connection to the server was reset while the page was loading." error and the page is not opening. Also in the url it is displaying like "localhost.com"
If anyone have any idea to resolve this please reply me.
Thanks in advance.
|
|
|
|
|
Did you leave a localhost URL somewhere, perhaps in your HTML or web.config?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi Mark Salsbery,
Thank for your reply.
I didn't set any where like localhost.com and also I searched throught out te project and didn't found any thing like that.
If you have any idea to do this please reply me.
Thanks in advance.
|
|
|
|
|
How are you hosting? IIS? Local computer or remote server?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
similar issue with me but I am not using silverlight
debugging a simple aspx page
|
|
|
|
|
akshayavat wrote: I am not using silverlight
debugging a simple aspx page
Then posting on the ASP.NET board would be more appropriate.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Is it possible to dynamically load a usercontrol from a (.net) library?
|
|
|
|
|
All the "built-in" controls you use are dynamically loaded from libraries
so I'd say yes, it is possible.
Add a reference to the library, create an object of a public class that's
in the library, and go...
Or did you mean to ask something more specific?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hello Mark!
Thanks for the prompt answer!
I need to be more specific ...
When the (WPF) windows loads I want to load a UserControl from pos.dll for example.
How do you add dynamically controls in a WPF window ?
|
|
|
|
|
koyllis wrote: I want to load a UserControl from pos.dll for example.
Mark Salsbery wrote: Add a reference to the library, create an object of a public class that's
in the library, and go...
private void MyWindow_Loaded(object sender, RoutedEventArgs e)
{
MyUserControlNamespace.MyUserControl = new MyUserControlNamespace.MyUserControl();
...
< do something with the freshly loaded user control >
}
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I want to use Conditional Compilation Directives (#if, #endif) in my XAML file as well as in the codebehind file. Can anybody provide me links or sample code?
Is there any other technique to do the same? Please guide me.
ex.
#if TASK
<Button Click="AddTask">Add Task</Button>
#else
<Button Click="AddContact">Add Contact</Button>
#endif
|
|
|
|
|
You can only use the Conditional Compilation Directives in code behind. As you can see, they are not valid XML, so they are not suitable for use in XAML. From the look of the quick sample you've posted, you might want to use DataTemplates, Template Selectors and the MVVM pattern. Have a look at Josh Smith's article on MSDN to get a better understanding of this.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|