i dont think the article helped me much.
let me put this again:
need to know how to open word and power point sdocuments directly in the browser?
u see i have some pdf, word and powerpoint documents.they are placed in some location on my hard drive.
i have the paths of all thesein my SQL database.
now these paths appear in a data grid like hyper links its something like this:
doc1.ppt (power point file)
doc2.pdf (adobe file)
doc3.doc. ( word file)
so as soon as i click on a hyperlink, the selected document should open up in the browser directly.
the pdf files open directly the word and power point docs do not open.
Please note that i am developing an ASP.net (with VB.net) application
now how do i do this?
Hi there, Seemeen. I took from your original question that you wanted to write a .NET application that would open/manipulate word & powerpoint documents. It sounds like you want - from a user's point of view - to click a link and have the document open directly in the browser, rather than in a seperate instance of the application. Is this correct?
If that is the case, you are dealing with a client-side issue then, not a server-side issue. It's up to the client machine to determine how a document will open. I believe IE by default will open Microsoft Office documents inline rather than in a seperate instance window - so there may be a setting configured on your client machine that is forcing the documents to open seperately. Here are some links to relevant KB articles:
How can you install the DOT net framework completly silently? I use the /Q in the command line of dotnetfx.exe, but it prompts me for the lisence agreement. Is there a way to install it completly silently? I need to do an administrative install on many computers, and it is not possible to click ok for each one.
I have an application, that is built using 1.0.1515.12345 of a component in the GAC. I have auxillary programs(dlls) that also depend on the exact same version. I was hoping there was some way to examine the compiled dll (that doesn't load), to find out which version of the GAC based component it is depending on. All I seem to be able to glean at this point is that it won't load.
I'm hoping to be a little more helpful to the developers of these Dll's.
If I can't then i guess that's life.
I found this article on here on Codeproject.Undocumented Fusion[^]
I am using Treeview for drag and drop, and when I am dragging and moving around the treeview, I would like to highlight the node that has current focus, so that I can come to know on which node it is dropped, just like Explorer window.
How does one go about checking that a particular Library or Component has been installed on a client machine in a .NET environment? I would like to gracefully handle situations where the library has not been installed when the application has been run.
For instance, the ODBC .Net data provider needs to be installed seperately from my application, and I would like to be able to tell the user that it has not been installed if that is the reason my application cannot start up. Can I check that somehow?
The string was originally a unicode string.. But it was converted to utf8 so that it can be sent/transported to a network... Now my task is to convert the utf8 string i got from the network and display it as unicode..
I have a Winform whit a birth date field that I enter
I want to get Pup up Form Whit a 1 week reminder off all my birth date of all my customers & I want an also 3 day remind & at the same date
Exsmpale : if i enter that Tomi birthdate is in 15/08/1974
i want pupup that remind me in 10/08/2004 in 13/08/2004 in
how can I do it ?
I am working whit a Accses Database & C#
thanks allot to all...
I use VC++ 7.1! Much better compliance with standard C/C++ than 6.0, and a better optimizing linker, plus a few stack check options which help secure things. I'm waiting for VC2005 with great anticipation. Now if they'd only put in some gcc-esque things like __complex, __attribute__((unused)), __extension__ and __restrict__ it'd be tons of fun
There are two types of channels that .NET framework provide 1)TCP and 2)HTTP and there are custom channels that u can create using any stream oriented transfer technology like Sockets, Named Pipes and MSMQ.
My question is which channel is suitable in which situation. Can anybody tell me when should i use named pipes channel and when MSMQ.
I'd say, use an HTTP channel when you want to traverse a firewall and a TCP channel when you're working entirely within a single site.
If you need to work with a network that doesn't support TCP, you might use Sockets to create an IPX stream, for example. Or, you could use Named Pipes to support any stream protocol that Windows supports (and, in addition, get support for impersonation, though this might be tricky to handle).
You might use MSMQ if you wanted to queue up requests to level out workload and provide failover capabilities. I'm not actually sure this would be possible with remoting.
You can get array with all child forms and than loop through it. Before calling childs method you need to cast it to correct type.
foreach(From child inthis.MdiChildren)
if (!child is MyChildForm) continue;
//or you can simply do this (but this works only if you have all child forms of same type:foreach(MyChildForm child in MdiChildren)
I created an installer package which has been installed by several clients. Now I want to create a new version. I increased the version number and changed the upgrade code of the installer package and set the RemovePreviousVersion property to True and set the DetectNewerInstallerVersion to True as well. I have several registry setting setup in the registry editor. However if the client has a previous version of the application installed I want the system to remember those settings and not override them. Because the RemovePrevioiusVersion property is set to True the system removes all settings after which they are lost. However if I don't set this property to true the system willl install 2 version of the application on the target machine.
How can I create a package that overrides (or removes) the old version but doesn't override the registr values so that previous configuration settings will be maintained? I spend many days trying to find a solution but haven't had much luck. Also it must be possible to use this package as the first installer meaning that if the client never had the application installed before, he can run the setup to install the application. In other words it is not just a patch for older versions.
I want to know what libraries do I need to read up on if I want to build an app that sends info to a webpage. I am programming in C# using .NET. The info I would be sending would be text to a text box and submitting it to the website, also downloading images from the website as well. How can I do this with .NET without having to manually do this through a browser?