|
I don't know why this happens either, but making the delegate function (MyDelegateFunction ) public solves the problem. Ugly, I know, but it works. I guess this is a bug and has been corrected in .NET 2.0
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Hi,
Thanks for the reply. It's ugly indeed. It's that I'm not a strict OO purist... I hope that everybody moves to the .NET 2.0 framework soon..
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Hello,
What would be the equivelent command in C# to Eval in VB?
Thank you.
|
|
|
|
|
|
is there anyone help about how can read rfid tags under .NET using c#. if it is possible can you send me an example. Because i try using serialport component and after i open port, i set baudrate but in every run this function, it is halted. what is the problem
Thanks So Much
|
|
|
|
|
Can anybody point me in the right direction for information on how to convert dwg files to emf format graphic files. Can this be done through C# code? Or do I need to get my hands dirty and delve into converting dwg's in C++? Any help or guidance would be highly appreciated. Thanks!
|
|
|
|
|
I'm well known about verison handling with SVN, but I like to start using the option source control that comes with Visual Studio.
I've searched here at CP but I can't find any tutorial on how to set up a server (which program to install).
Any tips where to start?
_____________________________
...and justice for all
APe
|
|
|
|
|
Hi!
AFAIK VS only supports Visual SourceSafe and compatible SCC systems, so you're out of luck trying to use SVN in that way.
But there's an add-on for SVN (Ankh SVN) that can integrate into VS, perhaps you should check this out.
Regards,
mav
|
|
|
|
|
I gladly skip SVN!
Do you have any tip on a good SCC system?
_____________________________
...and justice for all
APe
|
|
|
|
|
Huh?
What's wrong with SVN? I'm using it, too...
mav
|
|
|
|
|
Do you use Subversion on your server?
At this moment I just want it to work and can I make it throug VS2005 and Subversion I am just happy!
_____________________________
...and justice for all
APe
|
|
|
|
|
Hi
I have created an addin. Then i installed it. It gets instaleld successfully,
but when i reopened the VS2003 IDe next time it doesnt open and shows the error System.StackOverflowExcpetion in Drawing.dll file. and asks for debugger.
On debugging the project it points on the textbox that i have added.
please let me know the exact problem and how to rectify it.
Any pointers and help is highly appreciated.
Thanks
Naveen
|
|
|
|
|
Stack overflow exceptions usually happen because of unbounded recursion. Look for recursive calls to paint from within paint event handlers.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Hi Dears!
I am facing a problem. I want to get the names(Not the Datatype) of the controls used in a form on Tabpage @ run time how to achieve this.
Thnx in advace!
|
|
|
|
|
wut r u talking abt? win32 form or web?
mãdhãwã™4ever»(üþ îñ §mökz)®
|
|
|
|
|
I love the irony of you asking what he was talking about in (almost) totally incomprehensible language
|
|
|
|
|
Every Control that you add to a container such as a TabPage has a Name property.
|
|
|
|
|
Hi
I know how to run a program in c# (system.diagnostics.process.start)
but I cannot make it embeded in my form (Like the action that Internet explorer do with PDF files)
for example i want to have Acrobat toolbar in my toolbars or even have the program in a specific fram in my form
Thank you in advance
|
|
|
|
|
|
string[] names = new string[this.Controls.Count];
int i = 0;
foreach (Control c in this.Controls)
{
names[i] = c.Name;
i++;
}
------------------------------ "The Soapbox has been so ..."
|
|
|
|
|
PLease help. Thank u.
DataRow[] row = dataSet1.Profiles.Select("[ProfileId] != '" + dr.ProfileID + "'");
Error Message:
Cannot interpret token '!' at position 13.
|
|
|
|
|
CandyMe wrote: Error Message:
Cannot interpret token '!' at position 13.
Instead of != use <> , and if I am not mistaking when comparing with values the values must not be between quotes...
Note that != is a not equality and = is a equality operator in SQL.
DataRow[] rows = dataSet1.Tables["Profiles"].Select("[ProfileId] <> " + dr.ProfileId);
I hope you understand...because is a rough world out there...
|
|
|
|
|
Thank you it works. I needed to put it inside single quotation as the ID is varchar. thanks!
|
|
|
|
|
hello dear,
i am learning component development in C#.i create my own class library with name HelloWorld.Dll.
in this, i create a class MyComponet. i am using it in window based application in C#.
by including all rererences System.EnterpriseServices and Dll file. but when i create new object of that component it will
give Exception
Acess is Denied on this line
HelloWorld.MyComponent obj = new HelloWorld.MyComponent();
And in stack trace. it give the information.
Acess is Denied
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess,
String& uri)
at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType)
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean
bNewObj)
at HelloClient.Form1.cmdWakeUp_Click(Object sender, EventArgs e) in d:\ankush\books\course cds\bulding com+
application\practices\cs\mod02\solution\helloclient\form1.cs:line 104
So plz help me how i can use my Dll file and remove this Exception.
waiting for ur reply.......
Ankush
Ankush Bindra
Sr. Software Engineer
Schenker India Pvt. Ltd.
New Delhi, India
|
|
|
|
|
Hi,
Try this,
Sometimes this would be the problem. Check your dll property, if it is read only give read write permissions. And give read, write permissions to the files in Debug folder.
I am telling this, because I also had to face this problem. I could solve my problem by doing this.
Regards!
|
|
|
|