|
You only posted it 6 hours ago. Give the author a chance. Very few authors sit waiting for comments to pour in on articles.
|
|
|
|
|
Pete O'Hanlon wrote: You only posted it 6 hours ago
But, but its urgent!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
not realy,maybe i will look for another library to use
|
|
|
|
|
I am looking for a robust .NET targeting ASN1 framework. To my surprise I found only a few solutions and very little competition in this area.
Downloaded the trial of one of the "leader" (Objective Systems). Opened the first code sample and got worried after reading just a few lines of code:
public static void Main(System.String[] args)
{
System.String filename = new System.Text.StringBuilder("message.dat").ToString();
Is this framework as shallow as their C# skill?
Did any one worked with Objective Systems ASN1C?
Or may be someone can recommend an alternative?
Thanks
|
|
|
|
|
That's really bad code, appropriate for "The Weird and The Wonderful" or "the daily WTF".
|
|
|
|
|
Yeap, I could not believe my eyes neither. But this is true. The code fragment is from their official C# samples.
|
|
|
|
|
I'm a beginning C# student. Have been searching the web for code snippets for 18 hours, that line up with this scenario. Here's the question:
The following loops do not appear to be working as intended. Explain what is wrong with each of them and write a version that might work better.
for(int ind = -1; ind < 10; ind++){
Console.WriteLine(“{0} {1} {2}”,ind, ind*=ind, ind*=ind);
}
int I =0;
do{
total /= ++I;
} while (I > 10);
Thanks everyone.
|
|
|
|
|
Member 9880210 wrote: beginning C# student
So read the guidelines, your title does not meet spec, you have not asked a question relating to what you have attempted, you are posting a homework question and asking for an answer. You have nit demonstrated any ability to think.
I do applaud your attempt to research the problem but your inability to define your problem is probably contributing to the extraordinary amount of time you have spent on your search!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
As you have code samples, one way for you to solve this would be to paste them into a console application and actually run them. I'll give you a hint with the second one - this loop will only run once because of the post condition test (the problem isn't a divide by zero error as you'd first expect because i is pre-incremented from before it's evaluated).
|
|
|
|
|
Pete,
That is helpful and thank you for commenting.
|
|
|
|
|
You're welcome. Good luck with progressing with coding - it does get easier, honestly.
|
|
|
|
|
Perhaps, if you tried looking at them yourself, and working out what they are doing it would be more obvious what they should be doing.
Then you wouldn't have wasted 18 hours on your homework, you would have spent thirty minutes or less and finished it...
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
|
|
|
|
|
Hi,
I have a C#/.Net User Control that is a viewer for particular file type.
Now i want to convert it to an ActiveX control for the internet explorer which gets loaded when we open that file type with internet explorer and the file gets opened within the control.
It is the similar feature like Adobe PDF Viewer ActiveX control. When we drag n drop a pdf file over the internet explorer, the pdf reader control is loaded and file is opened in that control.
Please help me with this.
-- modified 4-Mar-13 0:11am.
|
|
|
|
|
NevilPrajapati wrote: Please help me with this
Help with what? You did not say anything about any kind of a problem.
|
|
|
|
|
Hi,
I have described my full problem in the question. But if you are not able to see it in any way then here it is:
I have a C#/.Net User Control that is a viewer for particular file type.
Now i want to convert it to an ActiveX control for the internet explorer which gets loaded when we open that file type with internet explorer and the file gets opened within the control.
It is the similar feature like Adobe PDF Reader ActiveX control. When we drag n drop a pdf file over the internet explorer, the pdf reader control is loaded and file is opened in that control.
|
|
|
|
|
|
NevilPrajapati wrote: I have described my full problem in the question
No you did not. You just described what it is that you want to do. What you did not do is describe a problem. "i want" is not a question nor is it a description of a problem.
|
|
|
|
|
Option 1: Rewrite your .NET User Control as an ActiveX Control (requires VC++ or VB6)
Option 2 (recommended): Create a COM Callable Wrapper for your .NET Control. Read this[^] for more information. (Still needs .NET Framework to be installed in the target machine)
|
|
|
|
|
sir, I'm doing my college project in windows8 i.e speech2text.
so I want to add a calculator ,notepad or wordpad in my application.
I want detail idea how I use calculator,notepad or wordpad with my voice.
Thank's in advance.
|
|
|
|
|
Did you read "How to get an answer to your question" just above?
Take particular note of #2 and #11.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
|
Hi,
Have a look at my article about Speech Recognition, Speech to Text and Text to Speech:
Speech recognition in C#[^]
The quick red ProgramFOX jumps right over the Lazy<Dog> .
|
|
|
|
|
1. Create a new VS windows form application.
2. Add a button to it.
3. Double click the button to add the click event.
4. Add a new class to the project. Change its declaration and make it a partial class using the same name as the main form.
5. Move the button click event into the partial class.
6. Go back to the main form and double click the button so that it opens the click event in the code window.
If, like my VS (2012) you'll find it doesn't actually open the event code. In fact, like mine, you'll probably find it places the cursor where the code used to be in the main form. In other words, it doesn't jump to the code in the other source file where you created the partial class and copied the code to. It also does the same in VS2008.
If it's a bug, is there a workaround?
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.
|
|
|
|
|
Confirmed this is the same on my machine.
I searched and found this[^] which seems to say it's not considered a bug but by design as a limitation of the Forms designer.
|
|
|
|
|
No, it's not a bug, , there is no workaround for it, and if you think about it, it does make a bit of sense.
If you double-click on a control to generate an event, the code will go into the file of the same name as the myFormName.Designer.vb file. It's the only file that it knows with 100% certainty belongs to that form.
|
|
|
|