I don't know if there are any events fired under these circumstances, but
you could find out using my EventSpy tool:
http://www.gotdotnet.com/userarea/filedetails.aspx?FileName=EventSpy.zip
Regards,
Urs
-Ursprüngliche Nachricht-
Von: Alex Lehmberg [mailto:[EMAIL PROTECTED]]
Gesendet:
Unfortunately this isn't working in my case. I told not the whole story,
sorry.
What I'm doing is implementing a base class derived from UserControl. This
class is defining several attributes for using own Designers and
RootDesigners. Additionally this class defines a custom
ToolboxItemFilterAttr
We bought it several months ago and although the initial order took a couple
of days to be processed we did get it (XtraGrid and XtraBars) and have been
very pleased with it so far. We only really use XtraGrid and on a very basic
level so have no experience of the support.
We get regular version
Hi,
I have webservice on IIS and I require client certificate for this service.
If I use free trial personal certificate from verisign it works ok. If I
use my own client certificate created in openssl it doesn't work at all.
What kind of certificate is ok for IIS? How to create it in openssl?
Che
Hi Diego,
If you are waiting for the threads to terminate, use Thread.Join.
Otherwise, WaitHandle.WaitAll is the System.Threading equivalent to
WaitForMultipleObjects.
Nick
- Original Message -
From: "Diego Gonzalez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 18,
I guess I have had the opposite experience with them. I bought the
suite (grid and bars) with source code and except for a few minor
hicups... I have been very happy with it. Of course if I don't like
there stuff I just change it until a fix comes along. I am sorry to
hear that you are having so
Sorry to hear about your disappointment. I've been giving DevEx (the
entire suite on subscription) serious consideration. Care to chat OTL?
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
franklin gray
Sent: Wednesday, April 17, 2002 6:53 PM
To: [EMAIL P
As always, a few minutes after I sent the message I figured it out. I needed
to implement INamingContainer.
I seem to be having a string of obvious answer type of questions this week
:)
Erick
- Original Message -
From: "Erick Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: W
To follow onto Bill's provided links, there is very little that has changed
in regards to how you partition your n-tier application. The majority of the
benefits (and what you should especially pay attention to in the Bill links
provided) are the issues of packaging, deployment, versioning securit
How can I use a Button object in my custom control and be able to handle the
click event? I feel like I must be missing something obvious here. I can
render a button directly in HTML, and I can capture that click event, but I
need to embed WebControl objects and handle events from them. The code I
That code was off the top of my head, so there may (is?) a better way.
Regarding the compiler error, it wants a Type, therefore you need to pass
typeof(AssemblyTitleAttribute) for the second parameter. I haven't tried
the method that you're attempting, but that should appease the compiler.
HTH,
Well, from all the recommendation I got about DevExpress's XtraGrid, we bought it. I
am sad to say that I am not impressed with the company. The help files seem to be
missing a lot and part the examples don't work. The only support they have is through
an email, which if I get a response, it
Sean,
Thank you, your code worked nicely. It just seemed to me that something like
this:
Assembly asm = typeof(MyClass).Assembly;
AssemblyTitleAttribute ata = Attribute.GetCustomAttribute(asm,
AssemblyTitleAttribute);
string
Hi all,
Has anybody here had any difficulty dealing with devExpress - I attempted to
make a Amex purchase of there XtraGrid Suite online didn't receive any
notification of my order being actually accepted - I've even tried mailing
with no response. Gee this is all I need now having to track the c
You can find it under Enterprise Samples folder in your Microsoft =
Visual Studio .NET directory. Duwarmish is a good sample.
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of
Cameron Cameron
Sent: Wednesday, April 17, 2002 12:26 AM
To: [EMAIL PROTECTED]
Su
Didn't see if anyone answered this yet, but this usually happens to me
when I am running a webservice/page. I am running the security context
of the spawned ASP.NET process (can't remember what it's called again).
I suggest you impersonate a fully-trusted user to do this.
Alternatively, you can c
Yipes. Guess I better turn off intellisense too...
> -Original Message-
> From: Vadim Melnik [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 1:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET] Problem loading xslt
>
>
> Hello,
>
> One more correction - element doesn't
>
Diego Gonzalez [mailto:[EMAIL PROTECTED]] wrote:
> Is there any way to wait for multiple running Threads? I will
> call WaitForMultipleObjects, but there is no way to get the
> thread handle.
Check out System.Thread::Join and this thread[1] in the archives.
HTH,
Drew
[1] http://discuss.develop
Brent E. Rector wrote:
> Ahh, don't let anyone brow-beat you into not testing as you wish. Unit
> testing is simply a mechanism to help improve the quality of the
> software you write. It's but one tool.
I'm not saying don't test private things, but definitely don't _only_ test
private things. T
Hello,
One more correction - element doesn't have "name"
attribute, probably there
should be "select" one, e.g.:
...
...
Best regards,
Vadim Melnik
_
http://www.docsultant.com/
- Original Message -
From: "Erick Thompson" <[EMAIL PROTECTED]>
Sent: Wednesday, April
Is there any way to wait for multiple running Threads? I will call
WaitForMultipleObjects, but there is no way to get the thread handle.
Diego
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Ahh, don't let anyone brow-beat you into not testing as you wish. Unit
testing is simply a mechanism to help improve the quality of the
software you write. It's but one tool.
Anytime I've a method that's reasonably complex, I like to test it
thoroughly in isolation while my understanding of it is
Yeah - fair point. I guess it was just the validate password function
that got me wondering - I wanted to test my logic (given I am an ex-VB
programmer, and wanted to ensure my string handling in C# was correct)
but without creating these users and roles for the thread context etc
such that the fu
Dean Cleaver wrote:
> So to test the user create function, I have to create 3 such that on
> creation of the last one I have someone with the right permissions to be
> able to create it... Whereas being able to test the several component
> functions of this would have been useful.
Yes, but this
Ah - ok.
Is a shame - often I feel that testing the individual functions is a lot
easier than testing the public interface. For example, the current
project I have, I have to create a super-user, then use their user ID as
authorisation to create a supervisor, and then use their ID to create a
use
Thanks to all for their comments. This is good to see :)
cc line deserves most of the credit here as they wrote this..
Pls let us know if there are particular features that you'd think would
be compelling. I also plan on giving the src to this down the road (just
haven't gotten around to packagi
Hi,
I think what you need is something like this:
This way, you can make the connection between CategoryName and LinkName
using the LinkButton.
Hope this will help you!
S.Putinelu
On Mon, 15 Apr 2002 14:18:32 +0100, Ricardo Figueira
<[EMAIL PROTECTED]> wrote:
>Friends,
>
>Sorry, bu
Microsoft no longer supports distributing .Net via a merge module (MSM).
If you try to add the VS.Net FW MSM, you get an error when you try to
run the resulting install package, stating that this MSM is not the
correct way to distribute the framework...use dotnetfx.exe instead! They
changed this w
Without modifying the Interop assembly, you could cast the object
exposing events to
System.Runtime.InteropServices.UCOMIConnectionPointContainer and handle
COM events the "raw way" instead of using delegates, but it's a
non-trivial amount of work.
Adam
-Original Message-
From: Barrie Gr
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
// Get the running assembly
Assembly a = Assembly.GetExecutingAssembly();
AssemblyTitleAttribute titleAttr = a.GetCustomAttributes (typeof
(System.Reflection.AssemblyTitleAttribute), false)[0] as
AssemblyTitleAttribute;
-- Brent Rector, .NET Wise Owl
Demeanor for .NET - an obfu
Look at the StringBuilder class. Anytime you are doing string
manipulation/building, StringBuilder is the way to go. Remember...String is
immutable so each time you change one, you are actually creating a new
String object and forcing the GC of the old one.
J. Keith Wedinger
Senior Software Dev
I have never used the XtraGrid with a DataSet (I am to much of a control
freak) :) but if you email [EMAIL PROTECTED] with an example they
will probably get back to you the same day (at least they always have
me) also if you bought the source code you could load it up and figure
it out?... Of cour
Microsoft .NET Compact Framework Beta 1:
PR:
http://www.microsoft.com/presspass/press/2002/Apr02/04-17XMLWebPR.asp
http://www.microsoftmobilitypress.com/site/home/article.asp?
PressReleasesID=111
Primary Sites:
http://msdn.microsoft.com/vstudio/device/smartdev.asp
READ BOX ON RIGHT => f
Microsoft .NET Compact Framework Beta 1:
PR:
http://www.microsoft.com/presspass/press/2002/Apr02/04-17XMLWebPR.asp
http://www.microsoftmobilitypress.com/site/home/article.asp?PressRelease
sID=111
Primary Sites:
http://msdn.microsoft.com/vstudio/device/smartdev.asp
READ BOX ON RIGHT => fo
Craig, I'm guessing that what you were talking about here is the subject of
your talk at DevCon. Are you going to post the code from your talk
anywhere? I'm interested in playing with the idea of XSLT SOAP endpoints.
> -Original Message-
> From: Craig Andera [mailto:[EMAIL PROTECTED]]
>
BinaryReader.Read(byte[], int, int);
- first parameter is the buffer to write into
- second parameter is the starting offset
- third parameter is the number of bytes to read
> -Original Message-
> From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf
Of
> Jeff Roberts
> Sent: Wedn
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
Look at the StringBuilder class. Anytime you are doing string
manipulation/building, StringBuilder is the way to go.
Remember...String is immutable so each time you change one, you are
actually creating a new String object and forcing the GC of the old one.
J. Keith Wedinger
Senior Software Deve
On Fri, 5 Apr 2002 19:01:07 -0800, Mahesh Prakriya <[EMAIL PROTECTED]>
wrote:
>Check this tool out and let us know if you have any comments!
Do I have comments? You bet I do! This tool rocks! I love being able to
see how the heap is behaving during the course of my application's
execution and
The Insert method returns a string that results from the insertion and
does not modify the original. Thus you would need to do something like:
strInsert = strInsert.Insert(6,"Insert This");
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMento
Hi,
I am using the release version of the .Net framework. I am attempting to
invoke a Web Service through a Proxy by using System.Net.WebProxy. I
modified the client code (generated by the wsdl executable) to use a
WebProxy. However, the Proxy is not used and the Web Service is directly
invoke
Hi All
Here is a very simple question. I have a string like the following:
string strTest = "This is a test sentence for testing the string insert
method";
I have predefined postions say like 6, 25,29 which are the starting
positions of is,for,testing.
I want to replace these words that start
I'm working on an application where I need to interact with serial ports from within a
.NET application. I have 2 distinct usage scenarios.
In one case, I'm dealing with a GPS receiver so all I have to do is read the incoming
stream from the port.
In the second case, I have to fully interact
> The downside is that you don't get autolaunch as with COM.
> The exe has to be running. A service makes a good base for such work.
Just to clarify: you don't get the autolauch "for free" like you did in
something like ATL. You've got to do the registry munging yourself...
You can read messa
Hi,
I am just starting to experiment with remoting. I have a DLL with a class that
inherits from MarshalByRefObject in the bin directory of a virtual directory. I then
try to create an instance the following way:
dim attributes(0) as Object
attributes(0) = new urlattribute("http://ComputerNa
A tool window add-in for VS.NET that displays a list of assemblies in the
Global Assembly Cache (GAC), Native Image cache and Download cache. Enjoy!
http://www.msjogren.net/dotnet/eng/tools/asmcacheaddin.asp
Mattias
===
Mattias Sjögren
[EMAIL PROTECTED]
You can read messages from the DOTNET
Hi,
We are trying to write a file to a folder on the server from a Web
Service and are getting access to path denied.
Can anyone help?
TIA
Jim
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.c
Are you making sure that the attribute you're trying to read is an
assembly level attribute? For example it should be in the form of:
[assembly: MyAttribute("hello")]
Brian
-Original Message-
From: Sean Greer (SBI-Chico) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 1:10 P
Andy,
Try this:
[DllImport( "kernel32.dll", CharSet=CharSet.Auto )]
private extern static int GetShortPathName(string lpszLongPath,
StringBuilder lpszShortPath, int cchBuffer);
private string GetShortPathName( string in_LongPath )
{
StringBuilder a_ReturnVal = new StringBuilder( 256 );
in
This work for me:
Assembly asm = Assembly.GetExecutingAssembly();
object[] atts = asm.GetCustomAttributes(false);
//find the AssemblyTitleAttribute
for(int n = 0; n < atts.Length; n++)
{
if(atts[n] is AssemblyTitleAttribute)
{
AssemblyTitleAttribute ata = (Assembl
This may be a little OT but I can't seem to get timely help from the makers and I know
some of you are using this grid.
I have a dataset with two tables. A relation set to link the master with the child
table (Groups and GroupDetails). I can add a Detail row to an existing Group row. I
can
Alex,
Try using a label control (with a border) instead of a rectangle. This
will avoid the Z-order issues.
Also, when I implemented the same thing, I used individual label controls
for each grab handle (with ForeColor and BackColor set to Black), and
controlled their movement and that of the b
I have a VC++ 6.0 project which contains source files that do not reside in
the project directory. They reside in a common directory shared by other
projects. All of the projects and their associated common source files are
checked into Source Safe. When I open this project in VC++ 6.0, the com
We do not work across a machine, but on the same server.
Remoting would open an arbitrary port - people could just try to use it.
Just keep the level of "publicicty" low - thn you dont have to many
problems.
For example, we have some COM objects in there, that we do NOT write
into the registry,
The downside is that you don't get autolaunch as with COM. The exe has to
be running. A service makes a good base for such work.
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
HI All,
How can I determine whether the session has ended because the user closed
the application or the session has ended because of Session Timeout. I want
to know this so that once the Session timeout has occurred, I redirect him
to the login page but after that I want him to come to the page w
Do you know if there is a menu editor class that I could override and
connect somehow to my new main menu?
Rory Becker
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Chris Kinsman
Sent: 16 April 2002 16:19
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Bu
We're working with 39 projects, compiling to just over 2MB. No problems so
far - in fact I think we rather like it. Perhaps our time will come ;)
James, are you sure you haven't got some code that is compiling differently
depending on the configuration? Try searching for "debug" and "release" and
Hi Urs
> I had a similar problem with Beta 2 (altough it was VB.NET,
> not C#)
> suddenly getting very weird compiler errors, couldn't compile
> the project anymore. First I also thought it must be related to the
> solution becoming too big or a corrupt solution file or something like
that
> Been there, done that, ditched VS.NET as a build tool.
> IMNSHO, this is a SHOW STOPPER bug in VS that should be fixed asap
[1]. What we
> ended up doing was just using VS.NET strictly for the code editor and
> designers (which are pretty good), and use other tools (makefiles and
NAnt) for th
Hi Brian, here we go.
Call me an beginning interop expert by now (we pulls some fancy strings
here), but I did not do any office work for years.
Inline with ***
Regards
Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)
-Original Message-
From: Barrie Green [mailto:[EMAI
hi all,
I'm trying to develop an office addin, I have got around problems with the
wizard created setup program not working, but I have now hit a bigger
problem.
Events from office don't work correctly in dotNet land, something to do with
sinks not implementing IDispatch, the ms bug report Q3093
I had a similar problem with Beta 2 (altough it was VB.NET, not C#)
suddenly getting very weird compiler errors, couldn't compile the project
anymore. First I also thought it must be related to the solution becoming
too big or a corrupt solution file or something like that. We tried
everything
Why you try to do this in the ASP style, when you have ASP.NET;
Read about web.config/authentication/authorization;
Here you have a sample from a web.config file, which protect all the pages
from a ASP.NET application and use the Forms
authentication mode;
65 matches
Mail list logo