|
If your setup project was created using the one that comes with Visual Studio, and not using something like Wise for Windows Installer, then yes, the installation will not launch if the .NET Framework is not installed already.
As for the number of machines that have the framework installed? Who cares. A better question would be how many of your customers run on broadband as opposed to dial-up. Also, a user might have the .NET Framework installed, but not the version that your application requires. Instead of trying to decide if you should supply the .NET Framework redis with your app, supply it as a seperate download! Supply a link to Microsoft's download site if you have to. Make sure it's for the version of the .NET Framework that your application requires. They can be installed side-by-side without any side effects.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hello world
can you helpe me
ang get me source code
tankyou
|
|
|
|
|
If you're looking for source code, try Google.
If you're looking for help with YOUR source code, then ask a specific question about it.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello,
I'm trying to use late binding for office automation with the following code example from microsoft:
http://support.microsoft.com/?scid=kb%3Ben-us%3B302902&x=2&y=7#5
Compiling the application is no problem.
But when starting it i get an exception which tells me that something is wrong with mscorlib.dll.
I tried this code example on 2 Windows 2000 maschines and a XP maschine, all with visual studio.net 2003, but always the same exception.
Has anybody an idea?
Regards
|
|
|
|
|
Is it possible to use another method than ToString to display directly contents of objects.
Thx.
Andri Mar Jónsson
|
|
|
|
|
|
Hello
I need a little help in C#. I'm using the webbrowser component to have a browser on my application. I need to send a postdata to a https page.
I know that I can use the method Navigate and specicy the url where I want to pass the values.
What I don't know is how can I use the postdata in the navigate method.
|
|
|
|
|
Hi there:
I strongly beleive there is a strange logical problem with the overall docking behavior of the dotnet controls. What a developer needs is that what control he docks first, gets docked first regardless of in what order the controls were added to the container. But dotnet IDE docks the controls in a specific order that somehow depends upon in what order the controls were added to the container. The worst is dotnet doesn't explains what is that specific order. Let me xplain the problem by an xample:
1) In any form, add a panel.
2) Create 2 label controls on the form called label1 and label2.
3) Drag label1 to the panel.
4) Drag label2 to the panel.
5) Set the Dock property of both to bottom.
6) Doesn't matter, in what order u perform the step 5, label2 will always be at the bottommost position.
Now repeat the same procedure as above, but change the following steps.
2) Create 2 label controls directly on the panel called label1 and label2.
6) Doesn't matter, in what order u perform the step 5, label1 will always be at the bottommost position.
SO u can clearly see that docking behavior is changed in both cases. In step6 of first one, label2 will always be docked at the bottommost position, while in 2nd case, label1 will always be docked at the bottommost position. Is this behavior justified and can developers rely on this type of uncertain behavior. Plz. comment on that.
The practical problem, i'm facing due to this uncertain and unjustified behavior is that:
1) I have made a custom container control, which has a label(acting as a caption). This label must always be docked to the topmost position in this control, so i have set Dock=Top for this label.
2) But due to dotnet docking behavior, when a user adds another control to this custom container and sets the dock property of that control to top, it gets docked at the topmost position and the caption label gets one level down, while it is not expected to change the position inside the control.
Is there another solution available, so that my label always stays at the topmost docking position.
There is anoher issue, at which i need ur comments, although i'm not sure whether its really an issue or not. The issue is based on the basic OOP principle of Composition. In original C++ or Java, when ur class(say ClassA is composed of two or more classes(assume its two classes named ClassP, ClassQ), then none of the classes ClassP or ClassQ is supposed to lose any of its functionality in any way when contained within ClassA. But in dotnet it happens. How?
1) Start a new Cutom Control Project.
2) To ur custom control add a label, that is supposed to act as a caption. Dock it to top.
3) Add a panel to ur custom control and Dock it to "Fill".
4) Build the project.
5) Add a new windows application project as the testing project to ur solution and to the form in that project,add an instance of ur custom control.
6) Run the project and u see the panel has lost its functionality as a container.Y??
In answer u may tell me that if i want my custom control to be a container, i should inherit it from ContainerControl Class. But no, the whole of the control is not supposed to be a container in my case, only the area that contains the panel, need to act as a container. So while talking about the basic Composition principles of OOP, the ClassP and ClassQ should not lose their functionality, but in dotnet panel loses its main functionality as a container.
If u feel these are the problems, plz. tell me how can i notify microsoft about that so that they corret these bugs in their next .net release.
PLZ. HELP ME OUT
ZAM
|
|
|
|
|
I want to know how to write a xp style toolbar , Is there some Sorce Code?
|
|
|
|
|
Are you referring to Windows XP, or Office XP style toolbars? In any case you will need to obtain some third party package to accomplishw what you want, whether it be here in CP or available through purchase. You can always enable the XP themes using a manifest file, but this may not be what you want.
Some examples of good third party UI kits:
http://www.xceedsoft.com/[^]
http://www.janusys.com/[^]
-
Drew
|
|
|
|
|
Hi
I have created and deployed my C# Winform project.
Now I want to add Source Control for a new version of my app so that new users can use the new version.
Is it built in into VS.net or i need to install something before i can get this.
Also when i go to Source Control I see everything greyed out.
thanks..
rt7
|
|
|
|
|
Has somebody tried the February Preview of the VS 2005 Express versions?
I know that MS is warning that they might cause trouble and I want to install and try it on my main machine, that's why I'm asking if you had troube installing and uninstalling it and are there any other troublesome issuies.
Thank you!
|
|
|
|
|
I've tried it, didn't cause any problems. In fact, at my home machine, I've got Visual Studio 2003, Visual Studio 2005 beta 1, and Visual C# Express February 2005 CTP all installed simultaneously, no problems.
Tech, life, family, faith: Give me a visit.
I'm currently blogging about: He has a funny face. And he's my son.
Judah Himango
|
|
|
|
|
Thank you. I wonder if it will uninstall completely without leaving tons of garbage.
|
|
|
|
|
Hi all,
I've a little problem using timer.
I used a timer with an intervall of 1 sec. and i do :
private void timer1_Tick(object sender, System.EventArgs e)
{
counttime++;
}
and i want to retrieve the counttime value at any time in an other function.
i do like that :
public void Func()
{
bool temp = false;
while(!temp)
{
if(counttime == 3)
{
MessageBox.Show("OK");
temp=true;
}
}
}
But the MessageBox is not shown.
Does anybody has an idea ? ( the timer is enabled of course)
Thx in advance
|
|
|
|
|
I tried your given code and the problem was that the main thread was blocked because of the while loop. One solution could be to put the while loop in a seperate thread.
after that the message box was shown
|
|
|
|
|
yes that was the problem
Thx a lot hooray.
cya
|
|
|
|
|
what is the difference between storing my temp info in traditional files(text,binart)and XML files using c#?
i mean when do i need to store my info in XML files?
marcoryos
|
|
|
|
|
|
The primary advantages of XML are:
* human-readable and editable
* can be transformed into different formats using XSLT
* can be queried using XPath expressions
* well defined programmer APIs for editing existing data
* .NET supports serializing objects to XML (and vice versa)
my blog
|
|
|
|
|
The primary disadvantages of XML are:
- big files (because of verbosity)
- appending is slow
Just for record. There are lots of articles on the web discussing topics where to use XML and where XML is not suitable for some reason.
David
Never forget: "Stay kul and happy" (I.A.)
David's thoughts / dnhsoftware.org / MyHTMLTidy
|
|
|
|
|
Happy Friday! Gurus,
I am trying to use the logics from Intel OpenCV DLLs, which were originally compiled by MSVC++ 6. From C# or ASP.NET Apps, when I was trying to add reference to these DLLs (i.e. cv096.dll or cxcore096.dll), I got this error:
“A reference to ‘D:\Programs\OpenCV\bin\cv096.dll’ could not be added. This is not a valid assembly or COM component. Only assemblies with extension ‘dll’ and COM components can be referenced. Please make sure it is a valid assembly or COM component.”
Note: The source code of Intel OpenCV DLLs is open source. I can open this source code project in either MSVC++ 6 or VS.NET 2003.
Question: How can I use these DLLs in .NET environment, preferably in ASP.NET and C# projects?
Thanks with a million
Khang
|
|
|
|
|
|
David, Thanks for replying that quick. I appreciate your tip so much. Have a great day.
Khang
|
|
|
|
|
And i dont mean how do i read/write to the registry, i mean where do i put keys and values?
this is so that when my app ouputs a file, the user doesn't need to do file-open with, and its already done.
|
|
|
|