Perhaps the list can be maintained as one, but shifted to a newsgroup?
Newsreaders are much more capable than clients at dealing with a
high-volume of messages, and they can keep track of threads much better
as well...
I agree with the previous replier about the ambiguity with some topics
such as
This is the right way, thanks!
One question:
what about ADO.NET postings?
often they are
- SQL (language&server) problems,
- OLE DB related
- or very specific to one of the (new native) data providers!
DOTNET-DATA ?
regards
Thomas
> -Original Message-
> On Behalf Of Ahern, Sh
I thought it says 'hey, that is a .NET PE', lets see if there is any COM
object or whatever to handle it...the stub of x86 code doesnt get run.
test: put something in the x86 code that triggers a GPF and see if it is
reached:
xor eax,eax
mov ebx [eax]
This is probably similar to how win31 recog
- Original Message -
From: "Brad Wilson" <[EMAIL PROTECTED]>
Sent: Thursday, May 30, 2002 8:10 PM
Subject: I am not out of the office. I swear! :)
> Zane Thomas wrote:
>
> > Dunno about the rest of you, but I get much more tired of getting a
couple
> > of "I will be out of the office unt
On Fri, 31 May 2002 09:43:12 +0100, Ian Griffiths <[EMAIL PROTECTED]>
wrote:
>By default a strongly-named assembly can only be called by full-trusted
>callers. I think this is intended as a 'secure by default' setting,
because
>it should reduce the chances of someone being able to use the luring
Local machine:
Dell laptop
Pentium 3 (500 mhz)
Wireless network card (11mpbs)
256 MB RAM
Windows .NET standard server (beta 3)
I suspected that it could be the beta OS. So I dropped the exe onto
another machine and tested again. It was faster so I went back to the
original machine and it ran
How about binding the controls to a DataSet and then pass the DataSet to the
business logic to do the insert? In this way, once you define
UserMobilePhone2 you don't have to change the signature of AddUser, you just
ammend the DataSet definition, add the control and tweak the business logic.
My
how about XML?
-Original Message-
From: Stephen Patten [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 4:55 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Best Practice for Passing Arguments
Hi All,
Just wondering if there is a better way to pass arguments around than the
way I am ri
Hi All,
Just wondering if there is a better way to pass arguments around than the
way I am right now(code posted at end of messsage). This one happens to be
all strings so I guess a Array or ArrayList might suffice, but what if the
values are of different types? Any help would be appreciated.
Th
The overwhelming success of DevelopMentor's DOTNET list over the past 22 months has
been both a blessing and a
burden to the .NET developer community. The popularity of this list has resulted in an
enormous volume of
traffic, making it difficult for some subscribers to participate in discussions
Wow! The same code that requires 1.2 seconds on my machine requires 43
seconds on your machine? Are you running an x86 emulator on a 68030? :-)
I added the BeginUpdate & EndUpdate calls and the average time to load
(without referencing the Message property on EventLogEntry) is about 1
second.
Wow, that is a huge difference man
Wayne Lee
This email has been scanned with Norton AntiVirus 2002
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Walt Ritscher
Sent: 31 May 2002 20:25
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Eventlog Viewer
I te
The Listview control adds some overhead to the process also.
Make a call to Listview1.BeginUpdate before adding items. Then call
Listview1.EndUpdate after you are done.
I tested Sean's code on our network. Before adding the BeginUpdate call
the code tested at 43 seconds (local machine). After
Good stuff, thank you. I discovered when I bound to the control I actually
wanted (TextBox child of the custom control) that my roundtrip happened as
expected, without any new events. Still, this is good to know.
Jim
- Original Message -
From: "Marsh, Drew" <[EMAIL PROTECTED]>
To: <[EMA
Im wondering about preselection using ASP:Listbox. Can I have items
preselected using this control. Is this a manual effort of walking the
items and making them selected or is their another way?
thx much..
me
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscrib
Jim Galasyn [mailto:[EMAIL PROTECTED]] wrote:
> So how do I get that modified field set to true?
You need to define an event called "Title2Changed" and fire that event when
the property is changed. That way, when you add the databinding, the
architecture will use reflection to look for the event
exactly why I do it...
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
I made some changes to the code that you posted and running against a remote
workstation with 1100 entries it takes 1.2 seconds to populate the listview
(100 Mbps, dual 1.2 GHz Athlon). If I fetch the Message property, the time
goes up to ~ 5 seconds.
One of the things that I notice is that you'
> -Original Message-
> From: Brent E. Rector [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET] COM Interop calling a C# DLL from VB6
>
>
> The best technique is setting the GUID/IID/CLSID's using the
> GuidAttribute.
I also st
I'm doing a dead-simple text binding in C# UI:
this._ctlTitle.DataBindings.Add( "Text", this._movie, "Title2" );
This populates the control just fine. But when I change the text in the
control, the binding doesn't seem to care. If I get the binding from the
DataBindings collection and look at it
I tested your code on our network.
Local Machine:
1458 Entries = 12.8 seconds
Remote Machine:
1970 Entries = 1 minute 48 seconds
Local machine running Windows .NET server (beta 3).
Remote machine running Windows 2000
Walt Ritscher
-Original Message-
From: dotnet discussion [mailto:[EM
Unfortunately I don't think this will work. The add-ins already have the
required resources. Here is the more detailed description of what I want to
do. I fear I won't be able to do what I want due to .Net licensing policy
:-(...
We have a generic container which runs our application. The applica
Ahh... that must be it, then.
Patrick Burrows
Stores are open but I Ain't got no money
Now Playing: tori amos - cornflake girl (patcast)
> -Original Message-
> From: Adam Nathan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002 2:37 PM
>
Really? I'm really surprised by that. I did it twice in a row, copying
off the generated TLB file after the first time and looked in OLE View.
The uuid had definately changed.
Patrick Burrows
Well I woke up this morning With the cold water
Now Playing: tori amos - cornflake
Actually VB.NET only increments an AssemblyVersionAttribute ("1.0.*")
the first compile after loading Visual Studio. Repeating compiles during
the same Visual Studio session do not subsequently change the version,
unlike C# compiles. To get the version to change in a VB.NET
application, you must e
Right, recompiling with no changes does not change the auto-generated
GUIDs. Note that auto-generated LIBIDs and CLSIDs are based off of the
assembly's version number, and by default, Visual Studio .NET projects
are marked with a version of "1.0.*" (inside AssemblyVersionAttribute).
This will cau
Ah,
I must've misinterpreted this bit - " I can read a remote machine's app
log in seconds, but my code takes over a minute to read the same
information."
Thought you were having local problems. Sorry, I'm at home so can't try
it on a remote pc at the moment mate.
Wayne Lee
This email has been
Couldn't those resources be embedded into the assemblies that you are
loading at runtime? If so, you can access the dynamically loaded assembly's
resources from the exe using the ResourceManager object.
Paul Ballard
[EMAIL PROTECTED]
>From: Peter Zaborski <[EMAIL PROTECTED]>
>Reply-To: "Modera
Oops, bound to the wrong control. Never mind...
- Original Message -
From: "Jim Galasyn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 31, 2002 9:18 AM
Subject: [DOTNET] Simple Data Binding problem: pull from control?
> I'm doing a dead-simple text binding in C# UI:
>
>
You get the same results because you are at the #document node, which is not
the first element.Here is an example that shows the difference. At the
document level, InnerXml and OuterXml *appear* to have the same output
(OuterXml is actually the entire document, while InnerXml is a document
fr
I've had problems with a lot of machines, in that, when I use SQL Profiler to profile
a program running in VS.NET in the debugger, I must use TaskManager/End Task to close
Profiler afterward. Other folks have reported this doesn't happen on their machine(s).
This doesn't bother me much, and I'v
The best technique is setting the GUID/IID/CLSID's using the
GuidAttribute. However, a recompile with no changes does not cause the
guids to change. In fact, I just tested that to make sure the docs were
correct. I recompiled your code below numberous times without making any
changes to the source
Take a look at the attribute flag. It should allow you to
specify the uuid for each interface, so that they do not change between
compiles. That's as close to binary compatibility as I've found, although
you (the programmer) are required to uphold the contract of no interface
changes - it's not d
Hi All
I am trying to get back the XmlDocument as a string. I am using the
xDoc.OuterXML;
where xDoc is my XmlDocument.
But the OuterXML seems to work like InnerXML, returning me only the data in
the nodes. I want to whole of the XML including the data and the nodes too.
Can someone let me know
Also, it seems better to have all your classes implement an interface,
and then use those interfaces for the TypeLibs.
Question: Is the compiler at this point handling all the binary
compatibility issues?
If I have a DLL and it implements an interface like the code pasted
below. It will generat
I had some issues with the beta bits and SQL Server debugging in Visual
Studio .NET. If SQL Server was installed after Visual Studio .NET, then the
debugging hooks didn't seem to function in Visual Studio .NET, so SQL
debugging would throw an exception.
I was not able to replicate the issue usin
Why not embed the resources in the plug-in assemblies, and use the same
mechanism you use to load the plugins to load their resources?
M
-Original Message-
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED]] On Behalf Of Peter Zaborski
Sent: 31 May 2002 16:41
T
This is a mismatch between the way the GCHandle class is defined and the
way C++ implements the -Wp64 warnings. In short, intptr_t and
System::IntPtr were not recognized as fully compatible. This will be
fixed in the next release.
-Original Message-
From: Thomas Tomiczek [mailto:[EMAIL
I can't offer you a reason for your colleague's issues, but I can assure you
that SQL Server 2000, Visual Studio .NET and the .NET framework are
compatible. I've installed SQL Server 2000 on several machines running
Windows XP Professional and Visual Studio .NET. To date I have encountered
zero
I'm doing a dead-simple text binding in C# UI:
this._ctlTitle.DataBindings.Add( "Text", this._movie, "Title2" );
This populates the control just fine. But when I change the text in the
control, the binding doesn't seem to care. If I get the binding from the
DataBindings collection and look at i
Hello,
A colleague of mine recently installed SQL Server 2000 (client software
only?) on a machine already loaded with .NET Framework and VS.NET. He
encountered some pretty severe problems afterwards--not sure of all the
details. My question is: is it still considered best practice to uninstall
V
Casey, keep in mind that it's still Beta 1. A lot could be changed for v1.0
-Alex
On Thu, 30 May 2002 13:05:53 -0400, Chesnut, Casey
<[EMAIL PROTECTED]> wrote:
>The integrated help documentation in the CF beta has the generic info,
>i'll tell you my specific observations from writing this arti
David Williams wrote:
> Basic level question maybe, but I can find no other place to ask.
:)
> What happens when an exception is thrown in a constructor (New() for us
> VB'ers)? Is the class created?
It is in mid-creation. The resulting code that is attempting to create it,
though, will not se
I posted this to the "regular" dotnet mailing list but had no replies.
Perhaps someone on this list has an answer?
I know it's possible to embed resources in an assembly during the compile
process. Which works fine if you know all the resources you need at that
time. However, I have a situation w
The .snk files are only key files generated and used when you are signing
and generating a Strong Name. As Brent said, you only need a Strong Name
when putiing Inetrops in the GAC. This is not neccessary to call .NET code
from COM. Some examples show it that way but it is 100% not required. You
ca
Basic level question maybe, but I can find no other place to ask.
What happens when an exception is thrown in a constructor (New() for us
VB'ers) ? Is the class created? More importantly, are any resources that
might have been started prior to the exception free'ed? In particular to
my cases,
>> In my more cynical moments, I've occasionally thought it would be
extremely useful if there were a rogue .exe/virus that actually did
reformat hard drives. It would force evolution of computer users, or at
least Darwinian survival policies.
Brent, don't wish thatwe'll all be beckoned to o
An AppDomain is analogous to what a process is in WinNT,2K,XP,etc... It's a
a logical Process boundary. It loads it's own assemblies just the same way
a process loads it's own DLLs. One major difference is that there can be
many AppDomains in a Process. The CLR Host manages this. So, in turn, you
Hi Marco,
I'll try to write some application reproducing this behavior this weekend.
Maybe Monday i'll send it to this list. The application that i have is
impossible, it has about 50 classes and its code has a few thousands of
lines.
Manuel
- Original Message -
From: "Marco Russo" <[EM
I observed similar problem:
1. Client calls methods asynchronously.
2. Some process runs on server side that
is CPU intensive (BUT NOTE: it runs with
LOWEST priority). This process has nothing
in common with .Net Remoting Server's process, except
running on same machine.
Randomly the remoting ser
An AppDomain is the managed equivalent of a process. Over time IIS will
likely unload your AppDomain and start a new one. I don't recall how
long IIS keeps an AppDomain around before it recycles it. The default
may be forever. The settings are in machine.config though.
-- Brent Rector, .NET Wise
That's not a way "around" the security model any more than booting to a
DOS disk and running a program is, or installed a device driver.
Sorry to be so blunt, but anyone that downloads an unknown .exe to
his/her hard drive and runs it, is a fool.
In my more cynical moments, I've occasionally tho
--- Jon Jagger <[EMAIL PROTECTED]> wrote:
> The ECMA C# specification says that you can overload based on ref/out
> parameters. Eg 10.6
>
> interface ITest
> {
> void F(ref int x);
> void F(out int x);
> }
>
> The Microsoft C# compiler used to allow this overload but now it doesn't.
> Does
Oh yeah :-)
The funny thing is...there is a way around all this stuff. Create an Exe and download
it to the machine, then run it. Have that Exe call a Web Service that returns a byte
array(s) which is my dll(s) and exe. Then save the array(s) as a file(s) on the
harddrive, then kick of the
Jon,
>Does anyone know why Microsoft made it illegal? If there is a good reason
>(possibly related to the CLR) then perhaps the change should be made to
>the ECMA document too.
ref and out parameters are almost the same once compiled to IL. The only
difference is that out parameters have an [ou
LOL--OMG, nevermind on this thread. I am such an idiot.
I had my DLL and a test EXE in the same solution.
I had been changing the AssemblyInfo on the test app, not on the DLL.
*That's* why it kept telling me it wasn't named strongly.
D'oh!
FWIW, Just checking off the "Register for COM Intero
What I have done (If I remember correctly) is ...
Select case true
case sender is SomeObject1
case sender is someObject2
...
end select
-Original Message-
From: Rathna Raj [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 8:16 AM
To: [EMAIL PROTECTED]
Subject:
FYI,
This is the correct link: http://www.sellsbrothers.com/tools/Genghis/
/Johan
-Ursprungligt meddelande-
Från: Craig Andera [mailto:[EMAIL PROTECTED]]
Skickat: den 31 maj 2002 15:37
Till: [EMAIL PROTECTED]
Ämne: Re: [ADVANCED-DOTNET] Web Page Content Parsing
> Are there any better
It was a patch that enabled this behavior. It is by design and will not
be changing (at least for the foreseeable future).
-- Brent Rector, .NET Wise Owl
Demeanor for .NET - an obfuscation utility
http://www.wiseowl.com/Products/Products.aspx
-Original Message-
From: franklin gray [mai
Don't know of any articles, but the best reason I can think of to use XML is for cross
system comunication like B2B.
-Original Message-
From: Wayne Lee [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 4:17 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Advice
Dear all,
For several ye
FWIW, I just found
http://www.codeproject.com/dotnet/cominterop.asp#PART2
Which seems to be a very good and detailed discussion of doing COM
interop. I'm about to sit down and read it, but from the sample I just
looked at, there is nothing in there at all about needing .SNK files.
Patrick Burrow
I have seen something like this too and have put it off hoping MS will come up with a
patch soon.
-Original Message-
From: Wayne Kelly [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 1:41 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Strongly named assemblies require Full Trust ???
Patrick,
I am not sure about an equivalent ComClass attribute, but have you
considered using the REGASM utility to expose your .NET assembly as a COM
object? This tool reads the assembly's metadata and adds the appropriate
entries in the registry so that any COM client can use the object. You
The docs are wrong when the claim a .NET assembly used via COM interop
must have a strong name. As you state, they only need a strong name in
order to be added to the GAC. As long as you understand the assembly
search rules, you can use an assembly via COM interop (i.e. by a COM
client) by placing
No, they don't *need* to be in the GAC; in the same directory as the COM
project is also sufficient.
John
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Richard Birkby
Sent: Friday, May 31, 2002 4:41 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] COM I
The remaining question I have is, What exactly is an AppDomain?
If my object is created from a Web Service call, is the Web Service the AppDomain?
Does this imply that when the Web Service call is finished, the AppDomain is no longer
"Live"?
The reason I ask is because I am using this object
I ported JTidy to J# in Beta2 days:
http://www.thundermain.com/code/JSharpTidy.aspx
I attempted to port it to C# but eventually gave up. Perhaps someone with
VJ6 and JUMP might be able to easily port it.
Richard
> -Original Message-
> From: Moderated discussion of advanced .NET topics.
Manuel,
I've no solution, but this is very different from what I observed with
remoting. My server stop to answer client request only if it goes to
100% cpu processing a client request. With an Idle system, I never
observed a similar situation.
It would be interesting a sample to reproduce the sa
Sorry, I realised this just after I posted it.
Yes, it's definately a bug - you can see it happening in the VS.Net XML
designer (see below).
The problem is that XmlConvert uses the following code:
public static string ToString(Decimal value) {
return value.ToString(null, Nu
COM classes are globally registered in the Registry. To do this, they need a
unique ID - a GUID.
By default, .Net classes are not globally registered. To do this, you must
place the assembly in the GAC (the equivalent of the registry) and give it a
strong name (the equivalent of a GUID).
Richar
> Are there any better approaches to meet the requirement - may
> be something like re-usable HTML parsers or Web page content
> parsers already available or pre-defined classes/libraries in .Net?
Well, there's nothing built-in, so you have a few choices. This is the
order I would do them in.
1)
Ok... I guess I'm not understanding what a strong name is (in .NET
terms). Why do I need a snk file? All I want to do is call my C# DLL
from VB6.
I use sn.exe to create an SNK file. And I set AssemblyKeyFile and
AssemblyKeyName properties. But it is still saying my Assembly doesn't
have a strong
What's the C# equivalent of the VB attribute?
Or, more to the point, how do I expose a class in my C# DLL so it can be
called from a VB6 EXE?
Patrick Burrows
Well I sleep like a baby With the snakes and the bugs
Now Playing: flamenco collection storm - gipsy kings - salsa
Yes.
-Original Message-
From: Shai Bar-Lev [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 11:47 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Code behind error in ASP.NET
Does the codebehind is compiled into dll and it's under directory bin
under H:\AspNetUnleashed\Chapter05\
Thanks Ian & Jeroen! I guess they had to make XP understand the CLR file
format so that they could do the security handoff on XP as well. This is
still speculation, but at least it makes sense now in light of the
platforms that support that feature.
Cheers,
-John
http://www.iunknown.com
-O
Hi
I have an html button on a page(say Opener) On click of which pops up a
window , where I am filling up some textbox and I have to pass that
textbox value to the Opener page and associate it with a listbox there.
It gets added to listbox also but when I try to save the data its not
saving newl
You can Typecast the sender as Control and use the name or Tag property to
find out who.
-Original Message-
From: Torben Frandsen [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 5:44 PM
To: [EMAIL PROTECTED]
Subject:[DOTNET] Who did it?
[VB.Net] I'm thinking of wri
XML is the answer to world hunger and piece. It's the compilation of all
modern computer science. It is a silver bullet. Plus, it does damn good on
your CV. It will get you the partner you you never dared to call. And it is
yet an extra bullet on your feature list.
Also, XML adds structure (infos
See System.Activator.CreateInstance()
--
Graeme Foster ([EMAIL PROTECTED])
Principal Software Engineer
Aston Broadcast Systems Ltd. (http://www.aston.tv)
Disclaimer: I really don't have a clue what I'm on about.
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Beh
Object newInstance =
System.Activator.CreateInstance(System.Type.GetType("className"));
-- Henkk
- Original Message -
From: "David B. Bitton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 31, 2002 3:23 PM
Subject: [DOTNET] Call class by name
> Java has a function called
Java has a function called Class(string) that allows you to instantiate a
class by string literal. Does C# have this?
--
David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com
Code Made Fresh DailyT
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other Dev
I'm running Windows XP. Are you reading your local application eventlog? My
times are for reading the log of a remote machine.
Simon
-Original Message-
From: Wayne Lee [mailto:[EMAIL PROTECTED]]
Sent: 31 May 2002 11:58
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Eventlog Viewer
I did
The ECMA C# specification says that you can overload based on ref/out
parameters. Eg 10.6
interface ITest
{
void F(ref int x);
void F(out int x);
}
The Microsoft C# compiler used to allow this overload but now it doesn't.
Does anyone know why Microsoft made it illegal? If there is a good
[VB.Net] I'm thinking of writing a common validator that will handle the
Validating even of multiple controls. I need to know which control raised
the event. Is that possible? I can't seem to find anything in the sender
object.
Med venlig hilsen / Kind regards,
Torben Frandsen, IT-koordinator
==
Thanks Greg, good suggestion but it didn't help. I did pull the
useragent info from a working browser. This really has me stumped. A
few more details:
1) Running W2K Pro (development pc)
2) .Net Studio v1.0 (1.0.3705)
3) Source page is an aspx page with a single user control.
4) WebRequest pag
MSDN:
XmlConvert also provides methods that enable you to convert from a
string to a .NET Framework data type and vice-versa. Locale settings are
not taken into account during data conversion. The data types are based
on the XML Schema (XSD) data types. The table found at Data Type Support
betwee
I know!
But the problem isn't the parser, it's the XmlSchema 'compliant'
XmlConvert.ToString(decimal) function.
I thought the whole point of the XmlConvert class was to provide
XmlSchema compliant conversion functions.
And as such, the XmlConvert.ToString(decimal) shouldn't write the
exponential
I did the same as Vincent and copied this code into my win prog here.
It takes about 2-3 seconds to fill my listview with the application log,
however I only have 534 items in there!
What os's are both machines running? Same?
Wayne Lee
-Original Message-
From: dotnet discussion [mailto
The conversion calls
dec=Decimal.Parse("5E-05", NumberStyles.AllowLeadingSign|
NumberStyles.AllowDecimalPoint|
NumberStyles.AllowLeadingWhite|
NumberStyles.Allo
One would assume that the following would work:
string decimalString = XmlConvert.ToString(0.5M);
decimal dec = XmlConvert.ToDecimal(decimalString);
However it throws a FormatException because the string conversion
results in an exponential format, which isn't permitted in th
It takes 1 minutes 40 sec to read 2218 entries from a remote workstation. I
need to use the Listview to keep a similar look and feel as the Windows NT
event log viewer.
-Original Message-
From: Vincent Van Proosdij [mailto:[EMAIL PROTECTED]]
Sent: 31 May 2002 09:53
To: [EMAIL PROTECTED]
S
I tried trashing the tiny piece of bootstrap code that gets place in all
.NET EXEs - the JMP instruction that calls into CorExeMain. It turns out
that if you replace this with garbage it doesn't matter. It seems to be
pretty much equivalent to trashing the DOS stub - neither of these bits of
cod
Why would that be easier than searching through the list of FontFamily
objects returned by the mechanisms I mentioned?
--
Ian Griffiths
DevelopMentor
- Original Message -
From: "Dustin Wish with NCA Communications" <[EMAIL PROTECTED]>
> Try doing a search through the harddrive on the
Hi John,
The Windows XP loader does understand the .NET PE format (at least it
can recognize them and hand them over to mscoree.dll). If you run
http://www.frijters.net/test.exe on Windows XP, it'll print out "hello",
if you run it on Windows 2000 it does not (it causes an exception, but
this isn
Dear all,
For several years I've been an MCP in SQL. Passed both dev and dba
exams. And am also a vb/asp developer. I have been working with several
big companies and have done many projects.Currently been working with
.net for over a year but mainly learning vb.net/asp.net and recently
(last 3-4
How many entries are there in your log? Maybe you can display only the
errors. I tried your code on 1000 entries, writing only the errors to
xml and it performs quite nice. Thanks for the snippet. I was not aware
of how easy this
Was. I've incorporated it into my dataaccess/debug/tracing framework
By default a strongly-named assembly can only be called by full-trusted
callers. I think this is intended as a 'secure by default' setting, because
it should reduce the chances of someone being able to use the luring attack
on such an assembly.
But if you want your strongly-named assembly to be
Hi,
I'm still fairly new to .NET, but I want to create an eventlog viewer using
C#. Attached at the bottom is some code I've already written. My problem is
that I can't match the performance of the Windows NT eventview for reading
the application event log. I can read a remote machine's app log i
Is it possible to get actual values from
System.Reflection.ParameterInfo?
I have a stackframe containing the invokation information, like which
method was invokated. But i also want to get the real values of the
parameters of this method invokation.
StackFrame recFrame = stackTrace.GetFrame(1);
The Win32 API GetLongPathName() is not avail. on NT4 ...
Quote MSDN for !? GetShortPathName ?! :
"Alternatively, where GetLongPathName is not available,
you can call FindFirstFile on each component of the path
to get the corresponding long name."
it seems .NET
Directory.GetFiles, Director
1 - 100 of 101 matches
Mail list logo