I am trying to make my assembly "security aware" and have found that the Microsoft
documentation is poor in regard to many of the .NET permission types. There are 4
types of printing permissions "AllPrinting", "DefaultPrinting", "NoPrinting", and
"SafePrinting". I can understand what AllPrint
mputer security zone.
That's all I have ! It is not much considering the amount of c++ code I have ported !
If anyone can tell me how to solve these issues in managed code that will run in the
Internet security zone I would be a very very happy camper !
jeff roberts
You can read messages fro
why would a Environment.ExpandEnvironmentVariables call throw an exception while being
executed out of the Intranet security zone ?
The exception was "Request for the permission of type
System.Security.Permissions.EnvironmentPermission, mscorlib, Version=1.0.3300.0,
Culture=neutral, PublicKe
Can someone tell me what override's are allowed for a Windows Forms Control in the
Internet and Intranet security zones ? Where is this documented ?
thank you
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.dev
Thanks Tom. Does your book go into web deployment in detail ? Can you give me a link
to where I can buy it ?
Thanks again
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Yes I have and I tried it with your example and I get an exception when I try to a
BinaryReader.ReadByte() call !
That is why I asked if there was a BinaryStreamReader class .
thank you
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor
Thanks again ! I need to read a "binary" file into a byte array, can I do this with
the StreamReader class ? I don't see a BinaryStreamReader Class !
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Does anyone know if I can read a text file from a web server with the FileStream class
? For example, if my .net application was launched from www.ws.com\myapp.exe, could I
read a file from www.ws.com by the name of mytextfile with the following code ?
string Dir = AppDomain.CurrentDomain.Base
I have a question about security zones (MyComputer, Internet, Intranet, etc) I am
striving to create a 100% managed application that may be executed in a partially
trusted environment "zone". I have been reading up on what rights my application has
when started from the various zones. I have
Steve,
Thanks ! I have also found some good information in the Last 3 MSDN Magazine which
talks about Deployment, isolated storage, and security
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Is anyone familiar with the "..NET Zero Deployment" topic ? This is where sending
your browser to http:\\servername\foo.exe causes the Windows Forms application (and
it's assemblies) to be downloaded to the PC and started. My question is what are the
requirements for the Browser (Do I need IE
Can someone direct me to some documentation on web deployment ? I have a .net
application with several .net dll's that I would like to deploy from a browser. Is
web deployment what I am looking for ? I want to avoid the whole setup.exe process.
How does the CLR get installed during web depl
Is there any way to add a tooltip to a menu item so that when the operator drops down
a menu and moves the mouse over a particular menu item a tooltip is displayed ?
thank you
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at ht
Yes I have tried that. That always returns my window to a non-maximized window state.
If I minimized the window from a maximized state, then I want it to restore to a
maximized state !
thanks !
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other Deve
Bill,
Thanks ! that works. I am surprised there is not an easier way than that !
jeff
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Bill,
Thanks, but that always makes my window normal size. If it was previously maximized,
then I want it to restore to Maximized !
jeff
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Thanks !
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
I noticed that when I search the archives, it says that the list will be retired on
7/1/02. What does this mean ?
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
When my window is minimized, I want to restore the window to the previous size and
location from within my application. In WIN32 I called ShowWindow(SW_RESTORE); Can
someone tell me how to do this in c# ?
thanks !
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
sub
I do use Show and Hide, but when I call Show, it only Shows my window in the task bar
and does not restore it !
When a user minimizes my window, I enable the NotifyIcon & disable the ShowInTaskbar
property of my main form. This displays the icon in the task bar. When a user clicks
on the ico
I have a WinForms application that minimizes into the System tray via a NotifyIcon
class. I want to restore my window when the user clicks on the icon in the system
tray back to the size and location it was before it was minimized. I don't see any
Winforms method to restore the window like th
How can I get my application to appear in the system tray. When someone minimizes my
window, I want the window to display a small icon in the system tray. Has anyone done
this in .NET c# ?
thank you
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other
thanks !
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
What is a CurrentUICulture ? How do I use a CurrentUICulture ?
thank you
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Does anyone know if the Netscape explorer supports .NET WebForms ?
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Does TcpClient support SSL. I.e. Can you use TcpClient to connect to a secure server ?
thanks
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Why don't the standard push buttons have a tooltip property ? This would be a nice
feature to have ! No ?
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
thats simple enough ! thanks
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Is it possible to catch more than 1 type of exception ? I am calling a method that can
throw different types of exceptions, how do I catch them all ?
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
When I call the TcpClient.Connect method, the Window network settings window pops up
and asks me what network to use. How can I turn this off ?
thanks
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.
Bryan,
Did you get this ftp source to compile ? I unzipped both the assembly project and the
demo into the same folder, Opened up the assembly project and tried to build it. I
got the following errors:
Any Ideas ?
E:\JEFF\NET\ftp2\Documents and Settings\alexkwok\My Documents\Visual Studio
Is there a simple way to determine if a specific Font is installed from C# ?
thank you
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Where do I find Xceedsoft's Ultimate Suite ?
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Does an enum take up memory ?
public enum XFERDefines
{
XFER_IDLE =0, //no file transfer in progress
SENDING_FILE =1, //sending a file now
}
You can read messages from the DOTNET archive, unsubscri
Chris,
Until today, I did not even know that System.Windows.Forms.Timer existed. I needed a
timer, so I looked in System and saw System.Timer. I assumed that was the class to
use for a timer. How many other people will fall into this trap ? The other bitch I
have is that the System.Window
I created the form from my main form and called Show() from the Timer event. By the
way I have a lot of code that uses the GUI from a System.Timer event. When I get the
event, I create a Graphics object for the from and draw it without any problems !
jeff
You can read messages from the DOTNE
Never returning from a Show() method would seem to be an exception in someones code to
me !
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Mathew,
It sure would have saved me a lot of time if an exception had been thrown !
jeff
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Ian,
Thanks, I'll try it. Shouldn't the Show() throw an exception ?
jeff
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Ian,
I am using a "System.Timers.Timer" !
thanks
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
I have a modeless form that works perfect when shown from a menu click event, but if I
try to show it from a timer event, the Show() method never returns. Has anyone seen
this, or know a way around it ?
thank you
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
sub
Patrick,
Do you know if any of the links for frp are better than the others ?
thanks
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
yes setting it to true stops the form from closing !
thank you
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
When my Windows Form is about to close because the X on the titlebar was clicked, then
my Closing event gets called with a CancelEventArgs object. How can I stop the form
from closing at this point ? If I set the CancelEventArgs.cancel property to false,
then the form still closes !
thanks
Sean,
I don't want to add 4 hours to Now, I want to add 4 hours to an older DateTime !
Thanks,
jeff
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
I am trying to add to the hours of a DateTime object and it does not seam to work:
DateTime t = Convert.ToDateTime("11/1/2002");
string s = t.ToString(); //this yields a time of 12:00 AM
t.AddHours(4);
s = t.ToString(); //still yields a time of 12:00 AM
Why doesn't the H
I get that problem all the time. I just right click on task bar button and close (end
process) it ! It's a pain !
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Is there any way to have text in a ProgressBar. i.e. Have a ProgressBar that also
contains the text "Operation x% Complete" ?
Thank you
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Do you know what happens when I try to read 100 bytes and there are only 50 bytes left
to read ? Does an exception get thrown, or do I get a return code of 50 back ?
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discu
I want to read X bytes from a file with BinaryReader into an offset within a Byte
array. Can this be done, or do I have to move the data after reading it ?
Ex:
private BinaryReader reader;
private byte[] Buffer = new Byte[512];
I don't see any BinaryReader methods that allow me to read the dat
what would be the best way to store them in a database over http/https ?
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
51 matches
Mail list logo