|
"You simply don't have the background to implement a security system yet."
It has to start someday... better now than later. Any advice about books, sites? Thanks!
|
|
|
|
|
blackbaro wrote: It has to start someday... better now than later
Yeah, but not with a project like this.
|
|
|
|
|
is there a way to have the date monitored for changes?
|
|
|
|
|
can i add dll reference of project that create on framwork 2.0 to a project that created on framwork 1.
i tried to add reference of a project that craeted on VS 2005 (Visual studio) to project
on VS 2003 and i got error message that claime that assembly is not valid even due i tried to add a dll file.
please advice
|
|
|
|
|
hi dude
i am not clear with your question but to my knowledge it will be because of higher version to lower version thats from vs2005 to vs2003 and frame work.
its common in every language
with regards
Balagurunathan.B
|
|
|
|
|
tomertro wrote: can i add dll reference of project that create on framwork 2.0 to a project that created on framwork 1
No, you can't. YOu can go the other way though. This is because the framework tries to maintain backwards compatibility, not forwards. The code in the .NET 2.0 DLL project will most likely only work under the .NET Framework 2.0. You can NOT load two different versions of the .NET CLR into the same process at the same time.
|
|
|
|
|
Thank you very much!!!!!!!!!!!!
|
|
|
|
|
I think so no coz there is not much backward compatibility ..
|
|
|
|
|
|
I am using VS2005 object browser to explore unfamiliar concepts, but even after reading some help files I am still groggy on GetLifetimeService(). Can someone tell me when this would be used and to what end?
I think I understand it in a web context but I am looking at the instance in MarshallByRefObject base of a Windows Forms dialog box component.
Regards.
|
|
|
|
|
Given a MFC process and a .NET service, how does the MFC process communicate with the .NET service?
Which IPC should I use?
Thanks.
|
|
|
|
|
Hi,
I have a C# code snippet using thread and delegates which works fine in debug mode i.e. with break points and the same code doesn't work in run mode. I am running this on Windows XP 64 bit OS and .net 2.0. Any help in this regard is appreciated.
AZ
|
|
|
|
|
.netEnthu wrote: I have a C# code snippet using thread and delegates which works fine in debug mode i.e. with break points and the same code doesn't work in run mode. I am running this on Windows XP 64 bit OS and .net 2.0. Any help in this regard is appreciated.
I presume by "run mode" what you really mean is "Release"? Or are you taking the debug build and running it outside of Visual Studio?
Also, it helps if you post the snippet so we can see what is going on. Saying it "doesn't work" is somewhat vague and unhelpful.
|
|
|
|
|
In Debug some values will be set to default values while in realse it may be assigned with null. Code depending on those may give some error also. Pls check for #if Debug kind of directives in this case the could will only work in debug mode never in release mode
|
|
|
|
|
subrata.jana wrote: In Debug some values will be set to default values while in realse it may be assigned with null.
No it won't.
An integer will be assigned 0 by default in Debug and Release. A Boolean will be false in both. A reference type will be null by default in both debug and release.
Can you cite any example where an object is assigned one value by default in a Debug build and another in Release?
|
|
|
|
|
Thanks to correct me. Then only we can check for #if Debug .in this case.
|
|
|
|
|
.netEnthu wrote: the same code doesn't work
Dont hesitate to be a little bit more specific, so we might be able to help.
.netEnthu wrote: a C# code snippet
care to share it ?
|
|
|
|
|
Do you have any threads running ? Are the bugs UI related ? I often find that breakpoints can make code work, because it will force a break which causes things to work where otherwise they face a race condition, or where a paint message gets lost due to too much processing happening for it to occur, that sort of thing.
What is the nature of the bug ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
may be one of your threads working depends on other thread .. and at runtime a deadlock creates due to lesser time or some other reason.
|
|
|
|
|
I am new to this service and would like to know if it is appropriate to post an open job requirement on this discussion board? I have an immediate need for a Senior .Net Architect with experience developing in C# for the Compact Framework. The position is located in Orlando, FL. I can receive resumes at: dgordon@ciber.com. If this type of posting is not welcomed then just let me know and it will not be repeated. Thanks in advance.
Dale
|
|
|
|
|
This is a programming question forum.
Ben
|
|
|
|
|
dalegordon wrote: if it is appropriate to post an open job requirement on this discussion board?
No, it's not. They go here[^].
|
|
|
|
|
Ok, sorry for the inconvenience and I appreciate the heads-up on the job advertisement section.
|
|
|
|
|
Hi everyone,
The problem I have seems simple at first:
I have a bunch of data (strings, int etc.) and a XSD file. I need to create an Xml compliant with the XSD and having the data inside.
(The whole thing is command basically parsing and creating custom Xmls based on the command type and parameters.)
"Simple" ends here.
Does anyone have an idea how to do this (in C#)?
Thanks in advance.
|
|
|
|
|
I am currently creating a Web application that uses a master page, a .aspx page and then a couple of user controls. Depending on the choice the user selects, I load the selected control into a placeholder. Everything works when I debug but when the application goes live I get the following error at runtime when trying to load the controls:
System.InvalidCastException: Unable to cast object of type 'ASP.customer_details_ascx' to type 'Details'.
This is what the code looks like, and the error is thrown on this line:
Details ctrl1 = (Details)LoadControl( "~/Customer/Details.ascx" );
protected void Details_Click()
{
Details ctrl1 = (Details)LoadControl( "~/Customer/Details.ascx" );
PlaceHolder1.Controls.Clear();
PlaceHolder1.Controls.Add( ctrl1 );
}
I have changed the "batch=false" in the web.config, and have changed all the <%@ Reference %> directives to <%@ Register %> directives in the Main .aspx page. But none of this seems to fix the problem. Please help with any suggestions, I have searched the web for hopeful answers to the problem but they did not work (they were the <%@ Register %> and "batch=false"). It seems to be a problem that many people are facing.
Thanks
Jeff
|
|
|
|