|
Pete O`Hanlon wrote: you're back at the code you started with (almost).
often better written in my experience. The compiler optimisations seem to work
I've also seen people use this to convert VB to c#.
Russell
|
|
|
|
|
Yeah, reflection is at the core of all .NET language converters, I believe.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
how can i convert my C# Code to VB.Nets?<br />
i mean how to decompile / any other process?<br />
thnx in advance <br />
prashanth
I received this by direct email.
The trick that i've seen used is to compile the code and then use reflector to decompile it. I know someone who uses this to convert code examples that he finds on the web from vb.net to c#. He also did vb6 to c# using the VB upgrade wizard and reflector. I'm pretty sure that reflector allows you to decompile to vb.
Russell
|
|
|
|
|
LOL - another person comes to terms with the hard reality. .NET is compiled to an intermediate language, which is compiled by the frame work to run, and easily decompiled to read, using tools such as reflector.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
That's not a drawback of the language itself.
What I like least about C# is... it doesn't break from C far enough in some cases:
I like that switch statements don't fall through, that's great, but I don't like that the break statement is required, I understand why the decision was made this way, but I don't like it. I would rather that break only applied to loops... have you ever tried to break a loop from within a switch ?
|
|
|
|
|
Parameswar Mal wrote: I want to know that What is the major drawback of C#.NET.
you will not like any other technology as maximum things are readily available.
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Did any one take the Source code from the Client Side. Is that possible in c#.net.
Regards,
A Jabeer Ali
|
|
|
|
|
|
I have two machines. From Machine A to Machine B, i have sent a message using Http Format, if the Queue is full in Machine B, i am not getting any acknowledgement to Admin queue.
Please provide valuable suggestions to me. i have sturck up here.
Thanks in advance
Bala
|
|
|
|
|
Hi
I am using a custom Validator for a text box and I want to fire that validation when value given in the text box fetches any any value from the database.
I am doing select operation with value given in the text box.If it return any records then the validation should fire.
I'm using C#
Thank U
Chandu
|
|
|
|
|
You could call the validator on the TextChanged event handler of your textbox and clear the text if it doesn't fulfill your conditions.
The more I see of men, the better I like my dog. Blaise Pascal.
|
|
|
|
|
Hi All,
I have created a Dll File using Visual C++. I want to use it in C# project. Can anyone please tell me how to do that.
Thanks in advance.
Anurag Gandhi.
|
|
|
|
|
You cannot directly use a MFC dll unless it is a COM dll.
You might have to write a wrapper/managed dll which uses MFC dll. The wrapper dll can then be used in C# using "Add Reference"
Arti Gujare
|
|
|
|
|
I want to be able to extend the label class and add a tabstop functionality so that i can tab into it. This class inherits from the control class which has a tabstop property. How do i override this and provide my label with tabstop
|
|
|
|
|
|
I have a Office 2007 like button. It is based on the label control. Now i want this to behave like a Windows.Forms.Button class. I specify an accellerator key and when i do say ALT+X the click event fires as opposed to transferring focus the next control. Any ideas how this can be done or how i can create an Office 2007 like button without basing the inheriting from the label Class?
|
|
|
|
|
hi,
I have develop the control by using RichTextBox control in C# windows application. I made it expandable vertically. That it alway fit with contents. but when I past some content from Microsoft word document the the control will not expand properly.But it will work wihth other content from some other editor
wihth regards,
vimal
|
|
|
|
|
I want to display the xml data in listview control in the button click.when the data is displayed in listview control,i want to delete the any particular data.This data will be delete from the xml file and list view control.plz help me as soon as posible.
|
|
|
|
|
So you want two things, to read/edit and write an XML file, and to parse an XML file to create data for a list control. Which bit are you stuck with ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I have no any idea about it.so please send me full code and demonstrate it.
|
|
|
|
|
That's not how it works, sorry. Why do you have this task, if you don't know how to work with XML, or with a listview control ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
how made datagrid auto resize column width to fix data length??
thanks
|
|
|
|
|
Hi,
First, set the property "AutoSizeMode" to "NotSet" for the column.
Then set the "width" to desired length.
Manoj
|
|
|
|
|
What I want the datagrid to do, is to auto-resize. It does that already when something longer is inserted into the datagrid. But it does not shrink, when something shorter is inserted from the datasource.
I would prefer to let the framework handle the sizing.. I really do not want to program this - since this datagrid is one among many with this problem. It's pretty standard behaviour to resize columns according to their content.
Why is it that the column width does rezise for strings which are longer, but does not resize for strings which are shorter. Sounds to me like I have to reset the width to standard widths each time I instantiate the datasource?
Hm...
|
|
|
|
|
hi all
i have a problem to show a picture or gif image b/w request and response (b/w server and the client).
what i tried was image visible false basically...
when button click when it request server i made the image visible true...
but the image is visible only after the response from the server ...
what should i do...???
bye
|
|
|
|