|
I have a small program that runs the MSDE installer, then attaches a database etc. Now MSDE installs MDAC, but the program imports System.Data.SqlClient, which requires MDAC, and works nearly on every target machine.
Am I correct in guessing that the runtime only loads the MDAC stuff when it is first required, so the first function call to install MSDE doesn't use any data access, and by the time the second runs, the data access dll's are already present.
My blog.
|
|
|
|
|
can anyone tell me how to open an existing microsoft word and microsoft powerpoint document in dot net?
seemeen
|
|
|
|
|
|
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:
http://support.microsoft.com/?kbid=162059[^]
http://support.microsoft.com/default.aspx?scid=kb;en-us;254918[^]
http://support.microsoft.com/default.aspx?scid=kb;en-us;193823[^]
You can check the settings it describes to see if you have any of them set on your machine.
|
|
|
|
|
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.
thanks
|
|
|
|
|
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[^]
|
|
|
|
|
Hi,
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.
Thanks,
Sreepathi
|
|
|
|
|
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?
Thanks for any pointers.
-swc
|
|
|
|
|
How do you convert a utf8 string to a unicode?
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..
|
|
|
|
|
string s = System.Text.Encoding.UTF8.GetString( bytes ); If you prefer VB to C#, leave off the semicolon.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hello there
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
15/08/2004
how can I do it ?
I am working whit a Accses Database & C#
thanks allot to all...
please help...
|
|
|
|
|
I see that MS has just released VS6 SP6. So a supposedly dead product gets its sixth SP while a live product, VS .NET, has yet to receive one - at least as far as the IDE is concerned!
Kevin
|
|
|
|
|
How many C++ developers continue to use VC++ 6, and how many have moved to VC++ 7? This number will say whether the product is alive or dead.
...Plug & Pray...
|
|
|
|
|
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
|
|
|
|
|
Dimitris Vassiliades wrote:
This number will say whether the product is alive or dead.
I was thinking more in terms of Microsoft's definition of dead, i.e., they might declare it "dead" and drop support for it even though it still has high usage.
Kevin
|
|
|
|
|
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.
Need urgent response ....
@!$h@
|
|
|
|
|
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.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
If my parent form has a menu botton "Save_All",
With a click it wants to call the "Save" functton in every child form,
Is it possible...??
Can the parent form use the functions of its children...??
And can the children form use the variables of their parent...??
|
|
|
|
|
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 in this.MdiChildren)
{
if (!child is MyChildForm) continue;
((MyChildForm)child).Save();
}
foreach(MyChildForm child in MdiChildren)
{
child.Save();
}
|
|
|
|
|
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?
Thank you,
K
|
|
|
|
|
You probably want to use System.Net.HttpWebRequest .
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hi,everybody,
I can find the file mscorcfg.msc, but I cant run it(.NET Framework Configuration Tool (Mscorcfg.msc)) on my pc.
How to correct the problem?
Thanks for any reply!!!
Alan Shen
|
|
|
|
|