|
Hi,
I am trying to create a installer project using VS2005 and i am getting the following errors:
Error 19 No 'PublicKey' or 'Hash' attribute specified for file 'dotnetfx\dotnetchk.exe' in item '.NET Framework 2.0'. D:\Common ATE\MIO\Dotnet driver\InstallerProject\IADniMio_Installer\IADniMio_Installer\IADniMio_Installer.vdproj IADniMio_Installer
Error 20 Could not find required file 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\dotnetfx\dotnetchk.exe' for item '.NET Framework 2.0'. D:\Common ATE\MIO\Dotnet driver\InstallerProject\IADniMio_Installer\IADniMio_Installer\IADniMio_Installer.vdproj IADniMio_Installer
Can anyone help me with it?
Regards,
Priya.
|
|
|
|
|
Hi,
first of all I would check if the file 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\dotnetfx\dotnetchk.exe' is present on your system. If not reinstall Visual Studio or remove the bootstrapper from your installer. Maybe this fixes the first issue to.
Regards
Sebastian
|
|
|
|
|
I guess the installation of .NET Framework 2.0 is Existing Problems,and Missing File also.
Study Hard!
|
|
|
|
|
I suggest you find the required file from successful installer project.
Study Hard!
|
|
|
|
|
Hello,
I want to get Hardware Configuration & Software Details of system through Domain. actually i got all computer name of Domain using DirectoryEntry. then i want to get Ip Address of all computer and as well as Hardware Configuration & Software Details by using computer name.
Thanks & Regards
Raushan
|
|
|
|
|
For local machine, these details can be obtained through Win32 classes[^]. Don't know if you would be allowed to fire the queries on other machines in the network.
|
|
|
|
|
Thanks for reply..
u r right, but when i get all computer name of domain then i have passed Username & Password. then i would like to fetch hardware configuration by using domain username & password.
|
|
|
|
|
I have to get CPU weightage and RAM weightage and Disk IO weightage for Load Balancing in TFS2008 for Build,Deploy and Test Progress. I foungd the Below Formula to find that.
Host Rating = (Free CPU * CPU Weight) + (Free Memory * Memory Weight) + (Free Disk * Disk Weight) + (Free Network * Network Weight)
But I dont know about the CPU Weight,Memory Weight,Disk Weight and Network Weight.
How can I get the all details .
If any c# code is there to find that......
|
|
|
|
|
Point[] pts = new Point[]
{
new Point(100, 300),
new Point(200, 200),
new Point(300, 100),
new Point(400, 300),
new Point(500, 100),
new Point(600, 300),
new Point(700, 500),
new Point(800, 200),
new Point(900, 300),
};
GDI.Graphics.DrawCurve(Pens.Red, pts, 0.5f);
Hello i am drawing a curve using the Graphics.DrawCurve method but i cant seem to find a way of changing the Thickness/Width of the line that draws the curve . Is there an alternative function for changing the curve Thickness/Width ?
|
|
|
|
|
Hi,
how would you do it with paper and pen?
Just take a thicker pen, look at the various constructors.
And don't forget to look at some of the Pen properties, which may become relevant when you choose a wider pen.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
We don't all have wide pens.
|
|
|
|
|
If you don't have a wide pen, use a regular pen and do a convincing Parkinson act.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
We do have. Check these:
Pen oPen = new Pen(Brushes.Black, 2);
Pen oPen = new Pen(Color.Black, 2);
|
|
|
|
|
If it were that easy I wouldn't get so much spam.
|
|
|
|
|
I have two file list that I would like to combine into one using an index;
private List<string> fileList = new List<string>();
private List<string> fileList1 = new List<string>();
How would you define the declaration?
Thank you in advance
modified on Thursday, July 2, 2009 10:15 PM
|
|
|
|
|
Not 100% sure what you want to achieve - do you want to end up with a single list containing the strings from both lists, or some sort of 2 dimensional array?
___________________________________________
.\\axxx
(That's an 'M')
|
|
|
|
|
Hello,
I have two file list that are used in multiple places in the project.
One list is for a master list of files.
The second is for a "checked out" list of files.
It would be great if I could access them as fileList[index]
- index = 0 for master
- index = 1 for checked out.
This way I can use the same routine for searching and processing.
Thank you in advance
|
|
|
|
|
O, I see. There is nothing two-dimensional about that, it is just two normal lists, which you may or may not store in an array, i.e.
<code>List<string>[] twoLists=new List<string>[2];
twoLists[0]=new List<string>();
twoLists[1]=new List<string>();
I don't see much potential benefit from putting both lists in one array though, as you are going to pass one or the other to some methods. Keeping them separate allows you to use more meaningful names.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
Or use a Dictionary<String,Boolean> and use the boolean to indicate checked out.
|
|
|
|
|
Great. I like that, a dictionary to get one attribute for free.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
Hi,
if you want one large List that contains all elements, have a look at List.AddRange
if you want a real two-dimensional list, there is no such thing; in .NET collections such as List and Dictionary are one-dimensional.
if you want the equivalent of a jagged array, you can build a List<List<string>> and append elements to each row of such pseudo 2-D structure.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
Hello,
I am using the following bat file to install my application on a user computer. However, the client want to be able uninstall the application if the application is installed, and then install the new version of the application.
However, I have 2 problems.
1) how can I detect if the application is installed or not?
2) If it is installed, how can I uninstall it?
The application is a C# 2005.
Many thanks for any advice,
@ECHO OFF
:: Copy the configuration file
copy config.xml "%AppData%\DataLinks.xml"
:: Search for the CONFIG file, if this doesn't exit then the user doesn't have the .Net framework 2.0
SET FileName=%windir%\Microsoft.NET\Framework\v2.0.50727\CONFIG
IF EXIST %FileName% GOTO INSTALL_DIALER
ECHO.You currently do not have the Microsoft(c) .NET Framework 2.0 installed.
ECHO.This is required by the setup program for CAT Dialer
ECHO.
ECHO.The Microsoft(c) .NET Framework 2.0 will now be installed on you system.
ECHO.After completion setup will continue to install CAT Dialer on your system.
ECHO.
:: Install the .Net framework and then run setup to install the CAT Dialerr
PAUSE
ECHO Installing... this could take serveral minutes...Please wait....
START /WAIT NetFx20SP2_x86.exe
:: If the user cancels the installation of the framework exit batch file
IF errorlevel 1 GOTO EOF
Start CATSoftphone.exe
ECHO ON
EXIT
:: .Net framework has been skipped contine to install the dialer.
:INSTALL_DIALER
ECHO *** Skiped Dotnet Framework 2.0.50727 ***
ECHO Installing... Please wait...
START CATSoftphone.exe
ECHO ON
EXIT
|
|
|
|
|
I am not very sure why you are trying to install through the batch file.
You can very much use a setup project to accomplish this. If you have it installed already, then it wil prompt you. Anyway, please find the details of
Seup Project[^].
If you ask my opinion, I would suggest you to try ClickOnce[^] installation which has many advantanges over MSI installation.
|
|
|
|
|
A lot of code I have come across recently has
If (null == something)
whereas I tend to write
if (something == null)
which seems to me to be much more logical and easily readable -
So the question is, is there a good reason for using the former over the latter?
___________________________________________
.\\axxx
(That's an 'M')
|
|
|
|