|
If I have more than one version of one assemblies, then how'll I use old version (how/where to specify version number?)in my application?
|
|
|
|
|
You would normally do this in your app's app.config file.
Read this.[^]
|
|
|
|
|
Curious minds want to know (my client, IOW).
Marc
|
|
|
|
|
I haven't seen anything that says "YES, it's supported!". I know .NET 2.0 has support for the XPath 2.0 data model, but not the query language. I can't find anything about XPath support in .NET 3.0 or above.
I'd be willing to bet that it's not supported for fear of introducing too many XML query languages into the mix.
|
|
|
|
|
Unfortunately, as far as I know it isn't implemented.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
Hi all ,
I have a Form object which is added to a Panel , Is there any way to change the opacity of this form after becoming the child of panel?
I searched through net , but couldn't find any solution .
Thanks in advance .
|
|
|
|
|
No, it's not possible. The entire top-level form is the only one that can use Opacity (and still see a result). If you set the Opacity of a form, treated like a control on a parent form, nothing will happen. The form will still be completely opaque.
|
|
|
|
|
Thanks , but Is there any alternative solution?
|
|
|
|
|
The only way to do this would be to take over the drawing of the client altogether. This is not a solution for the faint hearted.
|
|
|
|
|
Or rewriting your project using WPF. Warning: Rather steep learning curve...
|
|
|
|
|
Hello, I am getting the trusted location error on "c:\documents and settings\XXXXXXXX\Desktop\Projects\app1\app1" which is an absolute local path. According to everything I've read this should only come up on UNC paths... any ideas?
|
|
|
|
|
Is this something you've downloaded? If so, right click on the Project file and select Unblock.
|
|
|
|
|
Thanks Pete, it seems that is the problem.... is there a way to turn off these rediculous 'helpful' features?.
EDIT:/
http://www.nforcershq.com/forum/image-vp592089.html[^] shows how to turn off that annoying thing.
run gpedit.msc
Goto: User Configuration > Administrative Templates > Windows Components > Attachment Manager
Enable: Do not preserve zone information in file attachments
modified on Tuesday, January 15, 2008 10:40:58 AM
|
|
|
|
|
Hello to everybody,
I was wondering how to use this function to have the Real Object instead of the trasparent proxy one.
I'm asking this since I wish to use .NET remoting to remotize a SQLDataReader. Last Time I tried I have a really bad performance, since each single sdr.Read() returns to the remote object and then to the calling client, with a really high time overhead.
I've seen that ObjRef has got this method : GetRealObject(StreamingContext context) , it's possible to use it in the code or it's used just when overriding it? if yes, where I get this StreamingContext?
Thanks
Paolo
|
|
|
|
|
Hi all,
Is there an easy way in .NET (C#) of setting up a drawing area from the page size in the printer settings? I want to produce an effect something like Word/OpenOffice Writer where an A4 page can be drawn to and printed. In MFC I could do this with CScrollView but am struggling in C#.
TIA.
|
|
|
|
|
Afternoon everyone,
Having just spent the last couple of hours refreshing my memory on how Code Access Security works I'm left wondering whether anyone actually bothers with the hasssle of it all. Certainly none of the projects I've worked on do. Seems like a right bore.
Has anyone actively used it, and if so in what context?
Regards,
Rob Philpott.
|
|
|
|
|
Try running your .EXE from a network source without understanding CAS. I do this all the time.
|
|
|
|
|
Dave Kreskowiak wrote: Try running your .EXE from a network source without understanding CAS.
We simply have a policy of "if you want to run that app, copy it to your machine." For the moment, there aren't any apps we have that really need to be run from a network share.
Nice to know where to look if we do though..
It has become appallingly obvious that our technology has exceeded our humanity. - Albert Einstein
|
|
|
|
|
I distributed a policy to all of my machines that just tells CAS that any assembly signed with "this" key is fully trusted. Then I can copy any .EXE I want, signed with the correct key of course, to the net and it runs without any trust issues.
|
|
|
|
|
Hello,
I want send/raise an event inside a workflow activity.
I can't find any example for this. Send an event in the workflow runtime is no problem, but i need the same inside an activity.
Stephan
\\\| \\ - -
( @ @ )
+---------------oOOo-(_)-oOOo-----------------+
| Stephan Pilz stephan.pilz@stephan-pilz.de |
| <a href="http://www.stephan-pilz.de">www.stephan-pilz.de</a> |
| ICQ#: 127823481 |
+-----------------------Oooo------------------+
oooO ( )
( ) ) /
\ ( (_/
\_)
|
|
|
|
|
If you don't get an answer here try asking in the Workflow MSDN Forum.
Kevin
|
|
|
|
|
Is it really important to create event log sources using the method CreateEventSource of the EventLog class? I tried to write a log to an event source that didn't exist in the "Application" log, and the log was written successfully(without creating the source). If it's possible to write event logs to sources without creating them, why should we ever use CreateEventSource?
|
|
|
|
|
CreateEventSource has two purposes.
The first is if the event log didn't exist. In your case, if the Application log didn't exist, you'd have a difficult time writing to it. You have to create the log first before you can write to it. This, obviously, doesn't apply to the Application log on NT Kernel Windows because it's always created when Windows is installed. But, for custom event logs, you have to create them first before you write to them.
The second is security. Not every application can write to every event log. For example, the Security log is off-limits to your application. You have to be cleared to write to an event log. You also have to have a registered event source on the machine in order to write to an event log. If the event source you're using already exists on the machine, you don't need to to create one. YOu simply specify the existing event source.
If you don't specify a Source, th eonly log you can write to is the Application log, which is available for writes from any application, or I should say that it is available for write from any event Source.
Normally, if you create a custom event log, you'd do this at the time your application is installed, not during the execution of your app. Along with the log, you'd create a new Source that is mapped to that log. When your application is run, it would use this Source to write to the log.
|
|
|
|
|
Hi, I have a problem of converting .flv video to .3gp format automatically on my ASP.NET web site. Unfortunately I was unable to find any managed library I can use to solve this task. Do anybody use some or can point me the page I can find some information on how this can be perfomed? Thanks in advance.
|
|
|
|
|
Not sure if there is any. Have you tried googling it?
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|