|
Hi, can someone pleez teel me how to create an exe file out of your c# code in Micro soft visual studio 2010.
|
|
|
|
|
Have you tried to build your application?
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
yes i have. i wanted to know. how do we get a single icon which we can click and get you application running. without opening the visual studio.
|
|
|
|
|
Well, I'm still using VS 2008, but if the layout is the same, there should be an exe file created in a subdirectory of your project\bin directory. However, if you want to distribute your app and it needs any other libraries, etc., you should create a Setup Project or Publish it from the Build menu, assuming the menu layout of VS 2020 is similar to 2008.
I create a Setup project for all of my applications and when I get things working the way I want, I just build the setup project and create an installable msi file.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
i m understand yr ans;
pls define specifically
|
|
|
|
|
You REALLY need to pickup a beginners book on whatever language you're using and work through it.
You make an .EXE file every time you run your app from inside Visual Studio. He was telling you where to find it, but apparently you have no idea where your project files are saved.
Look in %USERPROFILE%\Documents\Visual Studio 2010\Projects.
|
|
|
|
|
Here is the exact path where (project name) is the project name :
%USERPROFILE%\Documents\Visual Studio 2010\Projects\(project name)\bin\debug\
|
|
|
|
|
Build a solution, you will find the exe file in the output folder. If you want to build the exe file from command line then there is a command line utility csc.exe to make an exe file from cs file.
Refer http://msdn.microsoft.com/en-us/library/78f4aasd.aspx[^] for the same.
Hope this helps.
All the best.
I quit being afraid when my first venture failed and the sky didn't fall down.
|
|
|
|
|
If you have to ask you're in the wrong career. Perhaps something in sales would better suit you.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
You need to invoke the compiler csc.exe .
You can do this via Visual Studio directly by using the Build menu option or via the command line[^].
Too much of heaven can bring you underground
Heaven can always turn around
Too much of heaven, our life is all hell bound
Heaven, the kill that makes no sound
|
|
|
|
|
How to call a web service in a Smart Device Project ?
|
|
|
|
|
There are video's on MSDN that explain the most common tasks[^]. Two of them are examples on calling a webservice.
Bastard Programmer from Hell
|
|
|
|
|
Hello,
I have a problem concerning OpenSSL and dotnet encryption. I would like to transform a RSA public and private key generated by OpenSSL into a dotnet one. This key is then used for further actions. For security reasons the usage of an external keystore or keyfile is not a solution. I have included a small part of an old cpp code I have to use and have marked two lines where I think it is possible to export the keys. The RSA key structure comes from an extenal PKI server. In fact the PKI server delivers an array of public keys for selected users when sending a message. The private key for each user is always stored local. Could one help me?
Thanks a lot for your help
Volker
############## start code ##############
typedef struct _KEY_POINT
{
unsigned short size;
unsigned short key_size;
unsigned long crc;
unsigned char key_data[1];
} KEY_POINT, * PKEY_POINT;
unsigned char * encryptRSA( const unsigned char * pSrcBuffer,
unsigned long * pBufferSize,
const PKEY_POINT pPublicKey)
{
RSA * pRsa = NULL;
unsigned char * pPublic_data = pPublicKey->key_data;
pRsa = d2i_RSAPublicKey(&pRsa, (const unsigned char **)&pPublic_data, pPublicKey->key_size);
}
unsigned char * decryptRSA( const unsigned char * pSrcBuffer,
unsigned long * pBufferSize,
const PKEY_POINT pPrivateKey)
{
RSA * pRsa = NULL;
unsigned char * pPublic_data = pPublicKey->key_data;
pRsa = d2i_RSAPrivateKey(&pRsa, (const unsigned char **)&pPublic_data, pPublicKey->key_size);
}
############## end code ##############
|
|
|
|
|
Hello,
I am making an application and needs to build a hierarchy with binding list. if anybody knows how to get this, please help.
|
|
|
|
|
Hello,
.Net Grid supports various methods of data binding giving programmers a broad choice in application implementation. Generally speaking, data binding is a way to connect graphical components to data sources that greatly simplifies application logic, reduces code volume and greatly improves application quality. Here is the solution of your problem hierarchy with binding list
|
|
|
|
|
Pls help resolve the issue.
Source: .Net Runtime 2.0 Error
EventID:5000
EventType clr20r3,P1 test.exe,P2 1.0.0.0,P3 .., P4 mysql.data P5 5.0.7.0,P6 464b5d79,P7 21c,P8 76,P9 mysql.data.mysqlclient.mysql, P10 NIL.
Console Application abruptly closing with above error in EventLog.
Not able to find out the cause.
Any help will be appriciated, thanks inadvance.
No Defeat Is Final Until You Stop Trying!.......
|
|
|
|
|
Don't post the same question in multiple forums. It just makes it harder to collaborate on answers.
|
|
|
|
|
Resolved issue...
There was mysql dump backup running which caused unhandled exception for .net applications, so applications were closed abruptly.
As the mysql user for .net applications not having enough permissions, they got terminated with unhandled exception[you are not owner of this thread], Now we have provided sufficient permissions for the user and everything is working perfect.
Hope this may help someone who face this issue.
No Defeat Is Final Until You Stop Trying!.......
|
|
|
|
|
Hi,I want to dynamic increase some column for table of RDLC!i'm not sure how many column in the Table.
|
|
|
|
|
|
Hello,
How to detect if the computer has Pixel Shader? (in VB.NET or C#)
Regards.
Mehdi Ghiasi
|
|
|
|
|
Just curious. I have a master form with a DataGridView on it showing me the records of a DataTable. The same form also holds 3 buttons. (An "Insert", "Update" and "Delete" button).
Clicking "Insert" I do :
CustomerForm Form = new CustomerForm(m_CustomerDT.NewCustomerRow());
:
if (Form.ShowDialog() == DialogResult.OK)
m_CustomerDT.AddCustomerRow(Form.CustomerRow);
Clicking "Update" I do :
CustomerForm Form = new CustomerForm(m_CustomerDT[DataGrdVw.SelectedRows[0].Index]);
:
Form.ShowDialog();
In the CustomerForm_Load handler I initialize my CustomerForm controls like :
if (!m_CustomerRow.IsNull("LastName"))
{
LastNameTxtBx.Text = m_CustomerRow.LastName;
:
}
In the OKButton_Click handler I do the opposite, saving the values back in the DataRow.
Everything works fine that way, but is it the correct way to go ??
Shouldn't I use DataBindings, BindingContext's, CurrencyManagers etc ... If so, why and how should that translate for my context ?
|
|
|
|
|
I'd say in a Windows Forms project that is perfectly acceptable and gives you the control you need to validate the data entered.
In WPF however you really want to take advantage of the binding model within WPF and MVVM.
I have heard that people are successfully implementing MVVM in Windows Forms which would be a nice way to go.
"You get that on the big jobs."
|
|
|
|
|
I am developing a numerical modeling package for Geophysical applications, and need a well log chart control. I have tried using MSChart, but it does not even come close to the look of a well log. I know of at least one commercial product, but the license fees are prohibitive.
As an example, a typical well log has a logarithmic Y axis from 0.2 - 2000, with major ticks at 1, 10 100, and 1000. If I use MSChart my major ticks are on 0.2, 2, 200 2000, and the labels read 0.199999999, 1.9999999, etc.
Also in a well log the Y scale is actually part of the legend, with each curve getting is own scale.
There are other differences, so the question is can I derive my own control from MSChart, so I can get more control over the chart behavoir? I have never created a control, so I would need a pointer to some book or tutorial. I got nothing from a google search. Thanks.
|
|
|
|
|
spainchaud wrote: tried using MSChart, but it does not even come close to the look of a well log.
Given this then why do you want to derive from it? I would say you would be better of creating your own control.
I know the language. I've read a book. - _Madmatt
|
|
|
|