Open Directory with Special Panel in C# wpf - wpf

I Open a Folder in C# with following codes. But I want to disable the address bar so that someone does not understand the file's address. And nobody can go to the previous or next folder!
System.Diagnostics.Process.Start("explorer.exe", #"D:\Project WPF\Atlas\Samle\D-File\MyFiles");
Or open the Explorer in the C# Window.

You could try using ExplorerBrowser. This will help embed the explorer window in your application and will give you more control over what you wish to show.

Related

showing multiple shockwave flash swf in wpf vb.net blend

i'm totally new with vb.net and wpf and i'm trying to show multiple .swf file in a wpf program that i'm writing with blend.is it possible to use a single webview to show multiple swf files?i mean placing like 5 buttons near that webview and by clicking each button, a specific .swf file appear in the webview?
thanks in advance.
Try this steps
1.Copy te swf file in bin folder.
2.Select "Add/Remove Items".
3.Select "COM Components" Select "Shockwave Flash Object". Click OK.
4.You can see the Shockwave Flash Object in the tool bar.
Code:
AxShockwaveFlash1.Movie = Application.StartupPath & "\flashfile.swf"
AxShockwaveFlash1.Play()
Read more: http://wiki.answers.com/Q/How_add_swf_file_in_vb.net_forms_which_is_save_in_resources#ixzz1toABaXKF
SWF Object Project if you like to see:
https://code.google.com/p/swfobject/

Behaviours in wpf apps Microsoft expression blend 4

I am using Microsoft expression blend 4 and i want to add a simple button,in a wpf application, which by clicking it(on "Run Project" mode) navigates the user to another existing wpf application in expression blend 4.This can be done by using a method but maybe I used the wrong method or i used the right method the wrong way.To be more specific i dragged on the button(that i want to make the task i mentioned) the "Launch UriOrFile Action" method but i realised(by making experiments with various files on desktop and using internet url's) that i can only link the running wpf application with random files or internet sites and not to another wpf application as i wanted(when i put the path of the wpf application it pops up a window saying"windows explorer has stopped working",something that didnt occured when i put random file's paths or internet sites url's).If anyone understands my problem let me know!thanks!!
Check out Process.Start. Create a command that fires code that calls that method.

How to display chm file inside a wpf window?

For a special reason, I am experimenting to create a small WPF application to just open chm file. I would like the wpf application opens, it displays the chm file in the main window. Can someone show me some code how to do it?

Can we drop a file in windows explorer from WPF window?

I have a treeview that shows the current file system. I want to add functionality to enable dropping files into windows explorer. If I drag any of the node of my treeview and drop it on any of the window of Windows explorer then the file will be copied to that location. How can I accomplish this?
First read this about how to implement drag and drop in WPF.
The read this for some information about what explorer expects when you drop in it.
Then ask new questions if you still have any.

Can Silverlight HyperlinkButton forced to open page with Internet Explorer?

Can Silverlight HyperlinkButton forced to open page with Internet Explorer?
If someone has defaulted to one browser (let say Chrome), you cannot ask the current browser (using JavaScript) to open the link to a specific browser (i.e. you want Internet Explorer instead of Chrome). I am not sure about Flash or Silverlight's ability to do what you want.
I have found a technique but it is specific to VBScript inside Excel and it may need the UA agent check to make sure it works correctly for a target environment if you want to adapt the similar code in Silverlight:
http://www.mofeel.net/87-microsoft-public-excel/30085.aspx
With HyperLinkButton you can't. If your OOB app is in full trust mode you can use automation object InternetExplorer.Application to open and control IE.
If you have the right permissions in silverlight you can read and wright to disk. So yes you can.

Resources