|
sailesh_gupta wrote: treat this as urgent
Be careful what you wish for...
|
|
|
|
|
NO NO NO
This is a Datagrid , you cannot do that. and before you type something make sure its correct(English)
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
|
I have made an Outlook 2003 add-in in VS 2005 using VSTO 2005. Now i want to use the same add in to Outlook 2002. How i can do this i need some hint or u can advice what should i do??????
wasim khan
|
|
|
|
|
Google[^]
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
hi 4 all,
can i handle an exception without using try catch blocks,
becouse i have been asked this qustion in an interview and i answered with NO .
if " yes " i can PLEASE explain it for me!!!!
|
|
|
|
|
mrcooll wrote: can i handle an exception without using try catch blocks,
Yes, there's an event that gets fired at the top level of an app if an uncaught exception hits that level. But, that's not really a great way to handle exceptions, because it's so far from the source, that it's hard to recover.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
did u mean the
void Application_Error(object sender, EventArgs e)
{ // Code that runs when an unhandled error occurs Server.Transfer("HandleError.aspx");
}
in web application ?
becouse i dont know what r u talking about in windows app!!
|
|
|
|
|
No, there's an event in a windows app. I forget the details, but I know I implemented it in my windows app for any uncaught exceptions.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
In windows application you can hook up to AppDomain.UnhandledException and Application.ThreadException events.
Using this any handled exception can be handled centrally.
|
|
|
|
|
Beat me to it.
Simon
|
|
|
|
|
|
Cool - two people who could be bothered to look it up
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
|
Look up AppDomain.UnhandledException event.
|
|
|
|
|
yes you can do it at Page level as well as Applcation level with out using try catch.
@PAge: protected override void OnError(EventArgs e)
@Application level: void Application_Error(object sender, EventArgs e)
Imran
[MCTS]
Few have audacity to speak truth
|
|
|
|
|
Thanks for all....
that was helpfull Tips
|
|
|
|
|
Don't use up all the smilies!
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Dear readers,
I'm confused about the interaction between the terms "requirements" and "features".
I read a lot about that but I didn't really get the point.
There are a lot of statements, as:
1.
A feature is built from a group of requirements
2.
Traceability (between requirments and implementation) is possible only for features and not for requirements.
...and a lot more...
Can somebody provide me some information?
Thank's ! !
|
|
|
|
|
Requirements are 'the app needs to do x'
Features are 'we added y to the app, and this deals with requirement x'
It's probably largely semantic, but I'm sure it keeps some consultants in a job.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Thanks's for your answer,
but I still are unable to catch the point probably ))
As I understand you, Requirements are from the user and Features are from the implementation. Am I right?
Let me try an example:
We have 3 user requirements:
R1: Read configdata from file after startup
R2: Store configdata to file at closing
I have the following implementation (-features)
I1: Search file from directory-tree
I2: Read config-file
I3: Interpret config-file
I4: Write config-file
This means:
R1 is implemented by I1 and I2 and I3
R2 is implemented by I1 and I4.
For getting traceability now, I have to check which requirement is implemented by which feature.
Is my thinking right in some way?
With kind regards
|
|
|
|
|
Dear experts,
may be I have a stupid question for the experts.
During my complete sw-career, if I had to parse some information from a text-file, I wrote some hand-crafted functions/classes which were full of (stringcompare, if-then-else-constructs, nested "for"-loops, ....). Finally this code was always totally unmaintainable and unreusable.
An example: Getting the include-structure of a c++ - based program can easily get complicated, because the active include-files get constrained on nested defines.
Now I read something on grammars and parsers which are used for compiler-construction. This seems to be very interesting to a lot of practical problems (not only to my include-structure-parsing-problem).
Due to my beginners level of knowhow I have some questions:
1.
Which links/books are available for beginners?
2.
Is there a way to automatically create a parser solely from a grammar?
3.
Is there any C# - Example available anywhere (e.b. at Codeproject)
Kind Regards
|
|
|
|
|
Tomerland wrote: 1.
Which links/books are available for beginners?
I did a module on compilers at uni, and the text book[^] was quite useful. It's the only book I've ever read on the subject though, so I don't know how it compares. It has several chapters on grammars, parsers and syntax trees.
Tomerland wrote:
2.
Is there a way to automatically create a parser solely from a grammar?
The classic tool is Yacc[^]. It generates parsers (in C) from grammars. I'm sure if you look around there will be ports for whatever languages you use.
Check out here for some other compiler related tools.
http://dinosaur.compilertools.net/[^]
http://catalog.compilertools.net/lexparse.html[^]
There's Irony[^] for .net. It generates compilers for domain specific languages, when given a grammar. (There's also a CP article on it's use here[^]). I haven't tried this out yet, but it's been on my list of interesting things to look at for at least 6 months
There's also an article on a tiny parser generator[^] app posted only a few days ago.
Simon
|
|
|
|
|
Thank you very much for your help,
a very nice overview
With very kind Regards
|
|
|
|
|
You might like to look at COCO/R (type into Google and will be the first hit) for generating from grammars. Its my tool of choice because the syntax is easy to learn and its ported to lots of languages (i.e. it can generate C#, Java......)
Chris
|
|
|
|