|
how to compile a C# program using vs2012 command prompt ?
i wanted to compile my program(Prog name:Demo.cs) which is in this folder(C:\Pra)
when i am trying to compiling my prog like this
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC>C:\Pra>csc Demo.cs
i am getting an error i.e Acess is denied
HOW CAN I SOLVE THIS,Please help me.
Thank you
Sandhya
|
|
|
|
|
Change directory to the target folder "C:\Pra" and run the command from there: you will either need to specify the path to CSC.EXE or use the VS command prompt tool which sets all the required paths as part of it's environment variables.
Trying to run CSC from it's application folder will not work as you do not have write access to anything under Program Files by default, so when it tries to create output file,s you will get "access denied" errors.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
I should to solve next task:
4. Implementation
4.1. User requirements
(You need a modul for your foreign language learning system. Therefore the images will not be general, but frontally oriented face in front of the web camera – this can be used to simplify the face detection phase).
4.2. Chosen algorithm
(State of the art method, or hybrid of different state of the art methods, or your original method or hybrid of existing and your method)
4.3. Chosen technologies
4.4. User interface (as a part of the foreign language learning system)
How could I do that?
|
|
|
|
|
Are you asking for specific implementation details, or are you just wanting the questions asked?
It looks a lot like homework to me, is that correct?
|
|
|
|
|
It is my task really.
I am asking for specific implementation details.
I am agree with you, that it`s look like as a homework.
|
|
|
|
|
Quote: is that correct?
Yes it is correct. These people dont want to do any hard work Sir.
|
|
|
|
|
You're asking for specific implementation details about an extremely complex and wide subject. I suggest you start with some research on image processing, facial recognition and neural nets. It's silly (IMHO) to expect someone to do this for you and provide you with a detailed implementation. For starters, look at the research by Karthigayan, et al. at this[^] link.
/ravi
|
|
|
|
|
Thank you. Your suggestion is on the right route as well as your mark of the issue.
modified 24-Jan-14 22:14pm.
|
|
|
|
|
Do a google search. Explore the nuances of Digital Image Processing. Do some hard work.
|
|
|
|
|
start reading Digital Image Processing.
|
|
|
|
|
From NeuroDimension I have received this reply:
We definitely provide software that can perform image recognition using neural networks and we have examples of it within our software.
But, it is still far from final solution for me.
Let we go forward.
|
|
|
|
|
Bueno mi pregunta es el siguiente:
1º Quiero exportar de DataGridView al Excel Personalizado(En espeficial lo que es la cabecera).
2º Al exportarlo también me genere con los datos gráficos en excel. Todo personalizado.
Le agradezco de antemano su ayuda.
|
|
|
|
|
If you spent any time wandering around this site at all you should have noticed that everything here is written in English.
|
|
|
|
|
Except a few posts like this one.
|
|
|
|
|
Google Translate produces the following:
Member 10546930 wrote: Well my question is as follows:
1. I want to export from DataGridView to Excel Custom (In espeficial what is the header).
2. When I export also generates data with graphics in excel. All custom.
Thank you in advance for your help.
It sounds like you want to generate custom Excel spreadsheets. Have a look at EPPlus[^], ClosedXML[^] or NPOI[^], any one of which should do what you need.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
There is a lot of code required to do this. There are many articles on this site and google.com to help walk you through it. I suggest you find a sample and then come back when you get stuck on a specific issue.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hi, How can I adjust an application winForm to any resoluion at any computer !
|
|
|
|
|
You can make controls grow larger; there's no automatic scaling to any resolution. Look into the docking-properties.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
In practice, you can't do it in quite the way you think: you have to design it to work at any resolution in much the same way the Visual Studio does: a central space for the "work" with the "tools" and suchlike round the edges. Then it's a matter of getting the Dock and Anchor properties right to a large extent.
But if your application does not lend itself to that style of application, then it probably isn't going to work too well at all in "regular" WinForms, because although you can use Dock and Anchor to relocate and resize controls easily enough, it doesn't resize any fonts that the controls are using, so you would end up with a large button with the tiny letters "OK" in the middle, or a tiny button that doesn't fit the word "Cancel" any more.
If that is what you need, then you are better off switching to WPF, because it handles it quite well.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
It depends on what you mean when you say: "adjust."
The other responses here assume you want Controls to get bigger (or smaller ?), or adjust their locations, depending on changes in size of the Form. In general that's a no-win situation with WinForms ... as OriginalGriff points out ... other than, for selected Controls, using Dock and Anchor as recommended.
If by "adjust" you mean determining at run-time the ratio of the current screen resolution to some arbitrary pixel size of the Form/Controls in your design, based on the original screen resolution when you wrote the app: that is another matter, entirely.
Suppose you write an app with a Form size of 900x600 pixels on a machine where screen res is set to 1024x768: now someone runs that app on a machine with a screen res set to 1600x900: do you really want to try and change the Form's appearance ? I suggest you "don't go there."
“But I don't want to go among mad people,” Alice remarked.
“Oh, you can't help that,” said the Cat: “we're all mad here. I'm mad. You're mad.”
“How do you know I'm mad?” said Alice.
“You must be," said the Cat, or you wouldn't have come here.” Lewis Carroll
|
|
|
|
|
For example if I run the application on a resolution 1024*768, it should have the same appearing and size if it runs on a resolution 800*600
|
|
|
|
|
zayno wrote: it should have the same appearing and size No, it should not.
Reread the answers given, or ask for further explanation - but just restating the question is not going to change the answer.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I cannae change the laws of physics, Captain!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Not without rebooting the universe
|
|
|
|
|
I like a man who thinks big!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|