I've found the problem - my assembly calls web-method and loads image from another host.
I suppose i should write something to web.config on that very server. can you say what?
Also what's the purpose of .Assert(), when i do this:new SecurityPermission(SecurityPermissionFlag.AllFlags).Assert();
before the method that loads image, i get this kind of exception:
"System.Security.SecurityException: Request for the permission of type System.Security.Permissions.SecurityPermission...
Can the user somehow allow this activitiy for this particular app? like saying "Allow this app to do this un-secure activity? Yes\No", or i should always
create the Code group for this assembly?
The .Net Framework 1.1 doesn't directly support the serial port (It is now supported in version 2.0). You will have to use IJW, P/Invoke or a combination of the two. I believe there are some articles on Code Project that deal with this issue.
I need one help from you, please help me.
When i create deployment program in .NET, i used script in custom actions (install) for retrieving existence of older version of that product.
If (old version exists)
display popup message box with Yes/No button
If (user click Yes button)
Install new version
uninstall old version
If (user click No button)
rollback installation from new version
Keep the old version as it is
I couldn't get idea to rollback current installation . Please help me.
Is it possible in any other way other than script programming?
Using Microsoft Visual C++ .NET (2003)
I would like to put three windows into a Form.
Each window should be resizable inside the
real estate of the form.
Is the above allowed/supported in the
Many thanks for any guidance/example.
i have a problems and want its solution by all people
first understand the problem
i have two different source code (source file) written in C#. now when i compile the both seperate compiler generates the MSIL files for both. keep in mind untill now these are two different files. no i want that when JIT (just in time compiler) after MSIL generate the NATIVE CODE it should combine both files and generate the single EXE or ASSEMBLY files
i can use ILMERGER avilable in .Net framework or any other utility.
PROBLEM IN SOLUTION
i have to provide the reference in my file so that it can be merge with the 2nd file like i have to write USING ILMERGER in my one file
now i do not want any kind of reference or even a hint included in my both files they should be independent
I have read several articals and started to write my own code.
As I want to keep in track with all the handlers of my threads so as to Abort them when necessary. How to inform my thread manager to remove the handler form thread queue before a thread is sure to finish.
I can pass a delegate to every thread as that the thread can call it just before its end. Are there any other better methods?
I have read the article on the XML editor, and although this uses regular expressions to define tokens, I am wondering if there is a easy way to use Lex and Yacc with .NET 2? I am using VC++ and the 2005 IDE. Any help would be greatly appreciated!
There are quite a lot of different collections, like ArrayList, HashTable, Queue, SortedList, Stack, HybridDictionary, ListDictionary, OrderedDictionary, StringCollection, StringDIctionary, etc., and base classes to easily make specialized collections yourself.
If you use framework 2.0 you also have strongly typed collections like List<T>, Dictionary<T,T>, LinkedList<T>, Queue<T>, SortedDictionary<T>, SortedList<T,T>, Stack<T>, etc.
I have an MDI Parent form with some toolbars docked to all four sides. I found the MDIClient control in its Controls collections, then I removed it and replaced it with a SplitContainer, placing the MDIClient control in Panel1. In Panel2, I placed another control. The SplitContainer is oriented so that Panel1 is above Panel2, so it appears as though the MDIClient control is now above the control in Panel2 (just like VS2005 appears with one form docked at the bottom).
My problem is this:
The SplitContainer appears to be partially hidden by the toolbars that were already on the MDI Parent form.
Using other gadgets I have the same problem!
(I have three gadget from North to South;
in order to allow the South-est to resize properly
I attempted to use SplitContainer but it does not
If you find solution, please let me know.
Im trying to create an installation wizard for an application that i have written, I know that it could be done using the "Setup n Deployment" project in VS dot net..
All i require to do is, on click of the install wizard icon(that i create using VS DOT NET), a .reg file(that i have created using regedit)should be invoked that will create a button on the IE browser.
can i make this happen?
IS there any installation wizard creation manual/doc/tutorial available?
Pls help me...