|
Try hooking into the System.Windows.Forms.Application.ThreadException event. Other than that I have no idea . Normally at least an error dialog should be displayed.
|
|
|
|
|
RajeshGuptha wrote:
- Earlier, I was creating and releasing a COM object in a method that was being called many times. Now, I moved the creation into the class constructor and the releasing into the Dispose().
If this COM object, or any other Interop call you do, call the ExitProcess() API, you'll see the behavior you described: the program closes silently, without any exception. To try isolating the problem, try to remove the COM object and any interop call, even if your program does not work, and see if still closes. If it does not close anymore, try adding each interop call you do until you find what is the culprit.
I see dead pixels
Yes, even I am blogging now!
|
|
|
|
|
Hi,
I am new programmer in bluetooth technology.
I need to write sample code for searching bluetooth devices and print their name.
This has to be done in Pocket PC.
I have already sample code for this downloaded from internet.
Problem is that, there are two files Bthdef.h, and BluetoothAPI.h
I am not able to locate these files.
Can anybody tell version of SDK where these files are....
Regards,
Sagar
|
|
|
|
|
Can anyone tell me what the minimum required permissions are to be able to write to the Windows event log?
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.
My Blog[^]
|
|
|
|
|
Hello.. I am developer in C# (compact framework .net )and need get at hardware´s serial number of identification in a pocket pc with windows Mobile 2005.
Please help me with any source code do it.
Thanks..
Fer
|
|
|
|
|
What I wanna do is to be able to fill an ArrayList from my designer...
what I got is this
public class WebCustomControl1 : System.Web.UI.WebControls.WebControl
{
private ArrayList liste = new ArrayList();
.
.
public ArrayList Liste
{
set
{
foreach(string ele in value)
{
liste.Add(ele);
}
}
get
{
return liste;
}
}
....
If I fill the Array 'hardcode style' I can see the elements but I can't add new elements in the designer...
How terrible is wisdom when it brings no profit to the wise
|
|
|
|
|
public string Liste
{
set
{
liste.Clear();
char[] seps = { ';'};
String[] values = value.Split(seps);
liste.AddRange(values);
}
this seems to solve my problem but is there no other way?
How terrible is wisdom when it brings no profit to the wise
|
|
|
|
|
How i can close a form created in a local scope of function with new key word.
Form is a child of main mDI form.
Secondly How object of local scope like form object remain there as local objects of functions get destroyed with function scope
Thanks in advance
Iftikhar
|
|
|
|
|
I suggest you read up on Garbage Collection (GC). In .NET, reference types (Form is a reference type) are not destroyed when they leave the scope, instead there is something called a garbage collector that does the memory cleanup when it decides to, based on a variety of factors.
[EDIT] To answer your first question, just declare a member variable to hold the form, you can then Close whenever you please, on the member variable. [/EDIT]
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Thanks for ur reply. but the problem is not as easy. I dont want to decalre variable that hold the form reference. i just want to know is there any child forms list which can be accceed through MDI form. So that I get my form through that list and do what ever i want to do with that.
Iftikhar
|
|
|
|
|
How I can raise events behind proxy or firewall. PLEASE suggest a soloution. Is it really a need to custom implement the sinks or we can by pass them. A piece of code on that will be really help full. I have problem related with this issue
Iftikhar
|
|
|
|
|
Hi All,
I just findout a special button control: AquaButton for .NET for my application. I think it's really cool.
http://www.econtechvn.com/en/aquabutton_detail.htm
But anyone tried this before?
I'm going to buy it and I need your comments.
Thanks,
NicVan
|
|
|
|
|
Give it a rest - fair dinkum.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hey all,
I'm writing a modular application which is essentially an application framework. I would like users to be able to select the modules they want to use AND I would like them to download new modules as they are developed. Any ideas how I can 'attach' code to my application?
|
|
|
|
|
Search for "plugin based architecture" here or in Google, you should get plenty of pointers.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Hi
Can anybody explain me the article "Administrate SQL Server2000 From Pocket PC" By "rasheed1979". How to create such an application? Guide me step by step as i m going to develop this type of application for the first time.
|
|
|
|
|
|
virgo* wrote:
Guide me step by step as i m going to develop this type of application for the first time.
Isn't that what the article is for ? Why not ask the author if it's not clear ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
well! how to contact the author....from where can i get step by step guide to develop such application...i hav to develop server side only of such application in SQL server, ASP.NET, ADO.NET, web services
|
|
|
|
|
There's an email link available next to the normal reply options if you view any of the comments he's made in the forum at the bottom of the article. You should try posting there first though. I agree with Christian that the article looks to be an explanation of what you want. IF you're still having diffuculty a more focused set of questions would be beneficial.
|
|
|
|
|
well i want to contact author of this article...how can i contact the author....where is the link to contact him...well my question is how to develop such type of application in .NET.i hav no experience of programming etc.If i want to develop & deploy such an application how to develop such application.i havnt developed even a single application in .NET...hope u understood my question now
|
|
|
|
|
Like they said, go to the article your talking about. Scroll down to the bottom of the page and click on "New thread". You can post your question in the forum for that article.
To make it simple, click here[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
thnx mr Dave Kreskowiak...i just posted there too...but if anybody here can help me....you are more than welcome
|
|
|
|
|
If you've never done any programming at all, I strongly suggest you set aside this project for a while, buy a good introductory programming book, read it, and work through all the examples it contains. When you buy the book, make sure it's one intended for someone who's learning to program for the first time, as opposed to one targeting an experianced programmer looking to aquire a new language. The odds of finding someone willing to handhold you to the extent you appear to want/need without being paid are slim to none.
|
|
|
|
|
Yep - very good advice indeed.
Christian Graus - Microsoft MVP - C++
|
|
|
|