Yes, that makes sense. But somehow, inside the method, doing something like
base.Call()
will actually invoke the superclass method. Is there any way to simulate that functionality outside of the overriden method call?
r -€
Yes, that makes sense. But somehow, inside the method, doing something like
base.Call()
will actually invoke the superclass method. Is there any way to simulate that functionality outside of the overriden method call?
r -€
Hello all, I was wondering if there was a way to overcome the "dynamic method lookup" done by MethodBase.Invoke when invoking virtual methods. For example:
public class A
{
public virtual int Call()
{
return 1;
}
}
public class B : A
{
public override int Call()
{
return 2;
}
}
... invoking it somewhere else ...
B obj = new B();
MethodInfo method = typeof(A).GetMethod("Call", BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public);
int a = method.Invoke(this, null);
the final value of a
would be 2 and not 1. Anyone know how to get around this? (P.S. A page on the columbia university website details the default behavior[^] under the 'Remarks' section of Invoke ) Thanks in advance!
r -€
Definitely get Rainlendar[^]... it has an iCal plugin
r -€
Hey guys, I'm thinking about replacing my AMD Mobile Athlon 64 3000+ in my eMachines M6805 notebook with a new Turion 64 MT-32.. 1) Has anyone ever tried anything similar? 2) Any foreseeable problems with this replacement? (i.e. memory controller clock speed, etc.) 3) Will it improve my currently terrible battery life? This is the reason I want to upgrade!!! (1.5-2 hours right now) 4) And they're both Socket 754 but I'm not sure if the motherboard supports Turion.. Any comments and/or help would be greatly appreciated...
r -€
d? ill delete after you reply
r -€
Hey guys, 1) I noticed that my local cache of web files from a site on my server is being stored in C:\Documents and Settings\Roman\Local Settings\Temp\VWDWebCache. Is it possible to force VS .NET 2005 to store the cache with my solution file, so i can have a local copy? I tried editing the SLN file... changing it to the right directory but it refused to change.. 2) Anyone get this error when adding files/editing files located on a Windows 2003 Server x64 with FrontPage Server Extensions 2002 from inside of VS .NET 2005:
Unable to add 'C:\Documents and Settings\Roman\Local Settings\Temp
\...\Default2.aspx' to the Web. An error occurred
accessing your Windows SharePoint Services site files...
The thing is, it actually adds them to the server, but VS .NET 2005 seems to think it doesn't.. It's just really annoying! 3) Anyone know how I can use Subversion SVN source control in combination with VS .NET 2005 to have source control for this website? Thanks in advance guys!
r -€
Hey guys, 1) I noticed that my local cache of web files from a site on my server is being stored in C:\Documents and Settings\Roman\Local Settings\Temp\VWDWebCache
. Is it possible to force VS .NET 2005 to store the cache with my solution file, so i can have a local copy? I tried editing the SLN file... changing it to the right directory but it refused to change.. 2) Anyone get this error when adding files/editing files located on a Windows 2003 Server x64 with FrontPage Server Extensions 2002 from inside of VS .NET 2005:
Unable to add 'C:\Documents and Settings\Roman\
Local Settings\Temp\...\Default2.aspx' to the Web. An
error occurred accessing your Windows SharePoint Services
site files...
The thing is, it actually adds them to the server, but VS .NET 2005 seems to think it doesn't.. It's just really annoying! 3) Anyone know how I can use Subversion SVN source control in combination with VS .NET 2005 to have source control for this website? Thanks in advance guys!
r -€
perhaps, but i don't think it will update both the remote project and the local one if i make changes to any of the web site files... only one of them is there a more elegant solution?
r -€
Hey guys, When i make a new web site in VS 2005 Pro, it keeps the source files in my IIS root directory. When I move my site to my server, I'd like to keep a local copy in the same folder as the solution (.sln) file. I think it was possible in VS .NET 2003, or even standard. Please let me know if anyone has run into this.. Thanks!
r -€
I've made sure of that, I still have the same problem.. thank you for your help..
r -€
I'm using C# (.NET 2.0 framework).. Is it possible to force an XML file that doesn't reference an XSD schema to be validated against a specified XSD schema? Here is a code segment I'm using:
XmlSchema schema = XmlSchema.Read(
new StringReader(MySchemaStringTextBox.Text),
ValidationCallback);
XmlReaderSettings readerSettings = new XmlReaderSettings();
readerSettings.Schemas.Add(schema);
readerSettings.ValidationType = ValidationType.Schema;
readerSettings.ValidationFlags = XmlSchemaValidationFlags.None;
XmlReader configReader = XmlReader.Create(new StringReader(MyXmlTextBox.Text), readerSettings);
XmlDocument config = new XmlDocument();
config.Load(configReader);
config.Validate(new ValidationEventHandler(ValidationCallback));
ValidationCallback never gets called, unless a schema is actually specified in the XML file. Thanks in advance!
r -€
Hey, I have derived a class from ContentPlaceHolder
to control what types of controls can be placed into the master page as content. However, I keep getting this error:
Cannot find ContentPlaceHolder 'SomeContent' in the master page
'MyMasterPage.master', verify content control's ContentPlaceHolderID
attribute in the content page.
The error makes sense, since the place holder isn't a direct ContentPlaceHolder, but instead, a derived class.. Has anyone encountered this type of problem? I can't override the CreateMaster function in the MasterPage class since it's not overridable Any suggestions would help! Thanks
r -€
-- modified at 20:16 Saturday 12th November, 2005
I sent you an e-mail with a few screenshots. It's a DI-524
r -€
I opened up 500, 4500 UDP and 1723 TCP (routed to vpn server) and it still doesn't work.. anything else i can try?
r -€
By the way, thanks for the wonderful link!!! I will print that out
r -€
Well, I would prefer to use PPTP since apparently L2TP requires certificates.
r -€
I have a win2k3 server set up as a VPN server (Remote access server role) operating behind a D-Link router. The problem is as follows: Connecting with VPN (set up using Windows XP VPN network connection) works when the client is behind the same router as the VPN server works perfectly. Connecting from an external client does not work... it waits on "Verifying username and password" and then stops at: Error 721: The remote computer did not respond...
On the server side I find the following text in IPRouterManager.LOG right after I get the 721 error message: [1004] 22:10:19: Error adding route, Stack bit == 0 [1004] 22:10:19: ProcessDefaultRouteChanges: Not default route /32
I set up the router as follows: 1) Port forward TCP 1723 to the server on the router that the server is behind. 2) Likewise for UDP 500 3) Enable PPTP and IPSec pass-through Can anyone help me out? I've tried soooo many different things.. I'm hoping a Microsoft MVP for networking can find this post and figure it out! :) Thanks in advance..
r -€
-- modified at 23:50 Wednesday 14th September, 2005
ahh, http://www.ebaumsworld.com[^]
r -€