|
Ahh! I little more explanation of what you were doing probably would have helped. Like someone else said, it's one of the base .DLL's for WPF support in .NET, so it was a little strange that you'd be asking about just that one.
|
|
|
|
|
Hey Guys,
I have a .net application that obviously has the .net framework as a prerequisite.
Using Visual Studio 2005 & .net Framework 2.0.
If a user has .net framework installed then I have no problem because only my application is installed.
If the user does not have the .net framework installed then he is automatically notified that .net framework must be installed.
For an untrained user this can be an alarming message.
Does anybody know of a technique in which I can show the user a custom message of my own before the .net framework installation runs?
Thanks,
Michael
mjmimmm@hotmail.com
|
|
|
|
|
mjmim wrote: Does anybody know of a technique in which I can show the user a custom message of my own before the .net framework installation runs?
I don't know. Did you have a read through some material on the subject like this?[^]
|
|
|
|
|
First of all, thank you for the great link with a huge amound of resources...
I have spent the last few hours going through them and have not found an answer to my question.
Is there anyway to control the dialogs shown throughout the clickonce installation?
Is there a way to edit the bootstap attached to the dotnetfx.exe?
Anybody have a creative idea?
|
|
|
|
|
You mean this page[^] wouldn't do what you described??
|
|
|
|
|
I saw this resource...
It's a good idea to have the webpage with the installation notify the user that he will need .net....
It's not what I am looking for, I would like the program itself to do this.
I do appreciate the links though.
Any ideas?
|
|
|
|
|
mjmim wrote: Is there anyway to control the dialogs shown throughout the clickonce installation?
You mean like this?[^]
You can then modify the Prerequisites dialog (off of the Publish tab from your project designer, or the setup project property page)
|
|
|
|
|
Hey,
Once again thank you for taking the time to search for an answer.
I believe you quoted this part of the link:
Alternatively, you could host all relevant packages internally on some share or server. You can then modify the Prerequisites dialog (off of the Publish tab from your project designer, or the setup project property page) to "Download prerequisites from the following location" to the appropriate location.
Unfortunately he is only referring to changing the settings so that dotnetfx is downloaded from a local path instead of from the official website of microsoft dotnetfx.
I am searching to add a custom dialog to show up before the prerequisite dotnetfx.exe.
Sorry for being a pest. Anybody have any creative ideas?
|
|
|
|
|
mjmim wrote: Unfortunately he is only referring to changing the settings so that dotnetfx is downloaded from
Sure it is, but it also references modifying the Prerequisites dialog. Did you even bother to check it out before you dismissed it?
led mike
|
|
|
|
|
Hey Mike,
Funny, my name is Mike too...
Quoting the link you sent me:
"You can then modify the Prerequisites dialog (off of the Publish tab from your project designer, or the setup project property page) to "Download prerequisites from the following location" to the appropriate location."
I don't think that the author meant that you can modify the prerequisites dialog itself.
I think he meant that you can modify the prerequisites dialog - the dialog responsible for controlling the clickonce from within the visual studio 2005 developers IDE.
You have an option from the visual studio to state that the prerequisite will be taken from the official website (microsoft) or "Download prerequisites from the following location" - a location of your choice.
As you can see, I defintely read what you sent me and would never dismiss a friend's offer for help .
Bottom line - he was not talking about configuring the installation\clickonce dialog that the user sees. He was talking about where the prerequisite is taken from.
I hope I am clear about what I mean.
So... Does anybody have any creative ideas? I am feeling kinda dumb at the moment ?
|
|
|
|
|
mjmim wrote: I hope I am clear about what I mean.
Yes, I now see that I misinterpreted his statement due to my lack of experience with the subject. My bad.
Have you ever worked directly with MSI tables perhaps using something like the Orca tool?[^] Everything is in tables in the MSI and tools like Orca give you unrestricted access to them for editing purposes. Technically you could develop an entire install from the ground up by hand. Oh man that hurts just thinking about it, I need a beer now.
led mike
|
|
|
|
|
Hey Mike,
Hope you enjoyed the cold one.
So I would use this tool to edit the MSI of the dotnetfx.exe?
Michael
|
|
|
|
|
mjmim wrote: edit the MSI of the dotnetfx.exe?
I would not recommend that.
mjmim wrote: Does anybody know of a technique in which I can show the user a custom message of my own before the .net framework installation runs?
Use it to edit your own MSI to change the text message in the prerequisites dialog. You can even add a dialog, of course that is much more complicated.
led mike
|
|
|
|
|
If I want to create a library for any specific dot net feature what are the minimal basic parts/files/objects I would have to include in it for proper functioning???
Please give details.I am a naive.
|
|
|
|
|
There is no minimum. You could create a totally empty library if you wanted. You just put in it the things you want to.
What kind of library do you want to build?
Perhaps you should find a beginners .net tutorial to get you started with basic things like data types, object structure and how to compile an app.
Simon
|
|
|
|
|
hey thanx for the suggestion . But I already know the basics for .net
I have never created a library please provide me a link for a stuff pertaining to creation of library in dot net.
|
|
|
|
|
Click File->New->Project.
Choose your project type in the left hand box. (Either "visual C#", "Visual basic" then "Windows"). Then in the right hand box, choose the "Class library" template.
Enter the name and location in the text boxes at the bottom of the dialog.
Click Ok.
Simon
|
|
|
|
|
|
can any body guide me what are the key points to keep in mind while converting a desktop application to a web application whereas, language of both will be the same vb.net....
any article or guideline..
umerumerumer
|
|
|
|
|
Desktop apps and web apps are very different things. One can't really be converted to another.
If your desktop app is a client app that uses a server then that is good, you can keep the same server part. If not, and the desktop app does everything itself the first thing you need to do is redesign the architecture of the app into a server-client model. Once you've done that, you can write web gui version to present the information to the user, and talk to the server for the back end processing.
Simon
|
|
|
|
|
ok thanks and yes it is client server application and next question of mine is in previous application developer has used more than 20 datatables to in which on the beggening he is filling the data from the different tables and then using them in the forms...
now what will be the alternative or best approach to do same functionality in the web?????
1) do i have to fill all the datatables and keep them into sesssion if i do that will these session effect the website while loading time???
umerumerumer
|
|
|
|
|
There is a DataList control, or a GridView, both of which can be bound to data sources.
Your best bet is to start asking specific questions in the asp.net forum. Asp.net is not really my area I'm afraid.
Simon
|
|
|
|
|
There are certain programs that if we try to run them more than one time by clicking their icon, we get the recent opened one like Winamp or messenger or anti-virus programs. does such programs ban such a thing through the constructor?
Thanks,
Hesham
|
|
|
|
|
The way I prevent more than one instance of my application is to attempt to create a Named Mutex in the startup code.
If the mutex already exists, then you know that your application is already running.
“Cannot find REALITY.SYS...Universe Halted.”
~ God on phone with Microsoft Customer Support
|
|
|
|
|
Yes, yes... Using a mutex will be enough for the logic part...
Or you could try Process.GetProcesses()... I opted to scan through all the processes so that atleast i can get the hwnd of that process of mine and pop that window out immediately for the user to see...
think fast, be brave and dont stop.
|
|
|
|