|
maurofurlan wrote: i don't pretend immediate answers
Yet, you post a follow-up two minutes after the original post.
maurofurlan wrote: I'll write in another site, where to find this
Good luck. Since this is Code Project article they will just refer you to the article and advice you to ask the author.
maurofurlan wrote: i think that will be the last
That's up to you. However, if you take a little time to understand where and how to post questions you will be rewarded with access to the immense knowledge, skill and experience of the the CP community.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Don't assume everyone knows implicitly what you referring to. Since this is an article you should post this to the article's forum, not here.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi guys, i try to write a simple MP3 Downloader using .NET 2.0. I dont know how to use WebRequset and WebResponse classes , some one explain me simple code , How to connect to websites using these classes
Thanks in Advance
|
|
|
|
|
If you want to get anywhere in programming, you'll have to learn to solve most of your own problems. Did you read up on the classes you want in MSDN? did you google for some examples? did you look to some of the CodeProject articles?
In one of the CP articles I wrote, there is a CPsite.cs file and a downloadPage() method which shows how it can be done.
BTW: this answer does not contain hyperlinks. You will have to search a little.
|
|
|
|
|
I try to create WPF crystal report application - the VS 2010 show me some error message that say
"Error: this template attempted to load component assembly 'crystaldecisions.vsdesigner, version=14.0.2000.0' for more information .... need to enable this template ... "
I try to re-install the VS 2010 but this is still does not helping.
Someone can help ?
Thanks.
|
|
|
|
|
hi
i'm a beguinner in .net .and in want to add a google map to my application form.i didn't find a user control for that and i don't know how to create one.
plz can anyone help me
|
|
|
|
|
Search on the internet - see here[^] for an article.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
|
All I need to do is click "Report as Abuse", since you're using the forums to try and get free advertising for your junk.
|
|
|
|
|
WTF. This post should be removed.
|
|
|
|
|
Hello,
I would to use the List type as shows below:
this->telecommandList->Clear();
pTelecommand^ telecommand = gcnew pTelecommand();
pMessage ^message = gcnew pMessage();
pField ^field = gcnew pField("Coherent Mode Select",1,"Coherency");
message->Fields->Add(field);
field->Name = "Not Used";
field->NumBits = 15;
field->Description = "Not Used";
message->Fields->Add(field);
telecommand->Messages->Add(message);
telecommand->SubAddress = 10;
this->telecommandList->Add(telecommand);
telecommandList is declared as List<pTelecommand^> ^telecommandList;
Fields is declared as List<pField^> ^Fields;
and Messages is List<pMessage^> ^Messages
when I write:
field->Name = "Not Used";
field->NumBits = 15;
field->Description = "Not Used";
the first field added to message->Fields List change the value, because it is a pointer to field.
how can i add more different field?
I have another problem with the code below:
List<pMessage^> ^tempCommand = gcnew List<pMessage^>;
for each(pMessage ^mess in this->Messages)
{
mess->EncodeMessage();
tempCommand->Add(mess);
}
this->Messages = tempCommand;
in this case i have the same problem described above.
thank you.
modified on Tuesday, November 2, 2010 9:55 AM
|
|
|
|
|
ref class Field
{
public:
String^ name;
int numBits;
String^ description;
};
ref class Message
{
public:
List<Field^>^ fields;
};
ref class TeleCommand
{
public:
List<Message^>^ messages;
};
List<TeleCommand^>^ teleCommands;
I think this kind of datastructure will solve your issue, also these are handles to the reference, so you can add more items using the Add method like teleCommands->messages->Add( gcnew Message())
Thanks
Radhakrishnan G.
modified on Wednesday, November 3, 2010 12:13 AM
|
|
|
|
|
Is it possible to create a COM server exe in .NET
All samples available are creating a class library
So we can develop a COM Server as exe in .NET?
modified on Tuesday, November 2, 2010 11:26 AM
|
|
|
|
|
|
Thanks
I need to implement the COM Server as exe and it should support automation interfaces
|
|
|
|
|
Hello
what does this error mean?
"500-inernal server error .
There is a problem with the resource you are looking for, and it cannot be displayed."
This project has been written with visual studio .net 2010 and the database is ms sql server 2008.
Every few times I am faced with this error.
Can anyone help me to solve this error ?
Thanks
Davood
D.riazi
|
|
|
|
|
This is too little information to provide any sort of real analysis.
Are you accessing a file anywhere? Maybe your path to that file is not correct
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
Read the forum guidelines. You have already posted this in another forum.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
you should check given link to find out the error
Error Message[^]
Hope it will work 
|
|
|
|
|
I often work with smelly code. One of the things that really stands out to me in the smelly code is long functions/methods. A method will often span many screens and I find it very difficult to follow.
My code used to be like this... when I was at school. I used to think I was a very good coder because I could write long and complex methods. These days I haven't really got the patience for it. Why should I have to work with this code?
Coding for me these days is more like a piece of art or a story. My methods tend to be very small, sometimes one or two lines. I do wonder whether I have lost some of my ability to work with long methods. Is working with bad code a skill that needs practicing?
How would other people see my code? My coding style is very unique compared to what other people on my team do. Although it looks good to me will they find it difficult to work with? Will it be hard to understand if people have never seen this style before?
When I'm changing code I also like to improve (IMO) it, I will use the 'extract method' feature in places to make it more readable. What will people think of this though? They may think I am spoiling 'thier' code.
|
|
|
|
|
I can't smell a question here.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I'm interested in peoples thoughts. Other people must be in similar situations too.
|
|
|
|
|
Your organisation needs to invest in copies of Ndepend[^]. Introduce your team mates to the joys of reducing cyclomatic complexity.
|
|
|
|
|
That looks good. I've used the code metrics in Visual Studio which has the cyclometric complexity, but it looks like this does a bit more.
|
|
|
|
|
I think this post would be much better in soapbox forum.
|
|
|
|