The file is protected with the password ghj001.
===
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
ROTECTED]
-Original Message-
From: Chris Day [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 5:09 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Programmatically installing "File and
Print
Sharing"
Use the ServiceController class to get a list of ser
Yeah this should be fine. Basically you are opening a HttpWebRequest
and keeping it alive so that you can have a connection between IIS and
Client B.
The only issue I can see with this is does it support two-way
communication? If it does than everything is sweet, otherwise it may
prove expensi
Use the ServiceController class to get a list of services to see if
"Server" has been installed.
If it hasn't then you will need to create an unattended setup install
file and use the sysocmgr utility to install the required components.
For this utility you probably want to start at
http://support
Let me try and summarise what I think you are saying.
There are three actors - ClientA, ClientB and IISServer
The idea is that ClientA and ClientB want to talk to each other but for
some reason they can't talk to each other directly but they can talk to
IISServer.
Your proposal is as follows
1.
Do you get an InnerException? This may explain what the error in the
child request is.
Chris
-Original Message-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Francesco
Sent: Monday, 9 May 2005 11:45 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
The other option is a little more work but it wouldn't require a
MethodInfo.Invoke for every call.
Load the IUtility type and the utility object then using Reflection.Emit
create a new class derived from the utility object inheriting from the
IUtility interface. If the method signatures match it
Similar to Word you could create a temporary file whenever someone
starts a new session, and depending on requirements update that file
with details of the session periodically. Then if the user ends the
session you delete the file. Then on start up the application checks
for these files, if it f
Do you have a simplified version of the problem you can send? Just
paste it inline as you can't send attachments.
-Original Message-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Baudouin,
Andrew
Sent: Thursday, 21 April 2005 8:06 AM
To: ADVA
be required to be used
in
any number of ways by different customers.
regards
-Original Message-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Chris Day
Sent: 20 April 2005 01:02
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET
Is there a reason why you can't invoke a delegate on the UI thread (from
the background thread) which constructs and displays the modeless form?
private void myBackgroundThread(Form mainForm)
{
// do stuff
If (someCondition)
{
mainForm.Invoke(new OpenModelessFormDelegate(OpenMod
I've had this issue before, where the loading of an STA threaded COM
component causes the whole process to pause in a wait state
indefinitely.
The way I solved this was to create a new Thread, make it STA threaded
then point it to a method which then loads the COM component. This
solved the probl
Just put the results of the call to the function plus the extra html
directly into the placeholder Text property.
myPlaceholder.Text = ""
Regards,
Chris
-Original Message-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Gregory
Sent: Mond
Checking the code for MessageQueue in Reflector is looks like it is using
overlapped I/O (System.Threading.Overlapped), which uses completion ports.
Chris
-Original Message-
From: Mike Woodring [mailto:[EMAIL PROTECTED]
Sent: Thursday, 24 March 2005 10:54 AM
To: ADVANCED-DOTNET@DISCUSS.DE
Powerpoint and Word are pretty similar, so...
http://www.codeproject.com/csharp/WordAddInPart1.asp
Chris
-Original Message-
From: Robert Pohl [mailto:[EMAIL PROTECTED]
Sent: Thursday, 10 March 2005 9:41 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET] PowerPoint Add-I
Create a member variable of the type of the form you are popping up, then
when you need to update it check if it is null, if so create and display it
otherwise just update the form that already exists.
Chris
-Original Message-
From: Adnan Siddiqi [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
Also another gotcha...especially note win2k
On MSDN (October 2001) this restiction is stated into the remarks
section:
Terminal Services: The name can have a "Global\" or "Local\" prefix to
explicitly create the object in the global or session name space. The
remainder of the name can contain an
Create a new table AB which stores a relationship between table A and table
B, then create foreign key relationships between the columns in AB and the
respective columns in table A and B.
Then when you select out you can left join table A to table AB and if there
is a null then you know there is n
Have you tried Process.Threads?
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdiagnosticspro
cessclassthreadstopic.asp
-Original Message-
From: Jekke Bladt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 9 February 2005 7:10 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [
Google and ye shall find, check the last post.
http://tinyurl.com/46gka
> -Original Message-
> From: Blain T Timberlake [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 26 August 2004 12:28 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [ADVANCED-DOTNET] ServiceController status
> returning wrong
There are many statuses in that enumeration, what status do these
services actually have?
Member name Description
ContinuePending The service continue is pending.
Paused The service is paused.
PausePendingThe service pause is pending.
Running The servic
> -Original Message-
> From: Kristoffer Sheather [mailto:[EMAIL PROTECTED]
> Sent: Friday, 13 August 2004 2:34 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [ADVANCED-DOTNET] Recompiling ASPX Pages
> And exactly what is he supposed to be compiling? A detailed
> description of the ASP.net dy
The easy solution is to put your database connection string into the
section of the Web.config file, then read it in from there
using
System.Configuration.ConfigurationSettings.AppSettings("ConnectionString
") (where you named the setting ConnectionString for example). This
means if you ever want
> Am I going about this the right way? Does anyone have real
> world experience working with a solution this large with lots
> of cross subsystem dependencies? Any insight on the subject
> is appreciated.
We just had the split projects, each person built their own then used
file references.
Also you might want to put it all into one transaction. The option is
to write it out to a file and then bulk insert it.
Chris
> -Original Message-
> From: Ivan Towlson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 8 July 2004 9:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [ADVANCED-DOTN
System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory()
> > I'm looking for .NET Framework installation path using which i can
> > execute InstallUtil.exe from setup.exe and install the
> Windows NT Service.
> > Is there anyone knows how to get full .NET installation
> path and
As long as the pdb and the source file is available from somewhere you
can set break points wherever you like.
>From the unstable's solution vs.net open the stable source file, set
break point where you want it to be, debug solution and voila(!)
execution will stop at the break point.
Chris
> --
This article contains some "best practice" issues when it comes to
versioning web services it won't help with your issue but it may help
with the "bigger" concerns!
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservi
ce/html/service04032002.asp
> -Original Message-
>
> -Original Message-
> From: Josh Blair [mailto:[EMAIL PROTECTED]
> I want the wizard to be flexible and allow them choose from
> MSSQL, JET, and generic ODBC sources. Can OleDb in ADO.NET
> support this type of flexibility or will I need to
> System.Data.SqlClient, System.Data.OleDb,
> -Original Message-
> From: Saravana Prasad S [mailto:[EMAIL PROTECTED]
> The problem is the reader thread can not keep sending
> millions of messages to MSMQ as there is a memory limit. I
> treid to send as mamy messages as possible to msmq. But after
> sending two and a half
I'm not sure if this works, and it is inefficient but call
GetEnumerator() on the MessageQueue class then iterate though each
message incrementing a counter, and voila you have the number of
messages. I'm not sure if iterating is going to pull the messages off,
or that it will be quick!
If you ju
The other option is to call BeginConnect then Thread.Sleep your timeout
value and then check if the callback was successful if not throw an
exception, and the call back should swallow the connection if eventually
successful or swallow an exception if it can't connect.
> -Original Message-
One thing you may want to try is that once you have gotten to the start
of the document pass the stream into a BinaryReader. I've found that
StreamReaders really don't like binary data in the stream!
StreamReader sr = new StreamReader(someXmlStream);
// read through to word doc
BinaryReader br =
Or go for P/Invoke with SHBrowseForFolder, however check the newsgroups
because I believe there were some issues with this.
> -Original Message-
> From: Frans Bouma [mailto:[EMAIL PROTECTED]
> Sent: Friday, 5 March 2004 1:31 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [ADVANCED-DOTNET] Fol
> > There is another style of persistance which is to persist the
> > object via some sort of serialisation and then record any
> > changes in a log, and then taking full snapshots of the
> > system every now and then.
> >
> > This is the basis of the prevayler concept. Having played
> > with i
> Just in case you do not know (like most people) there is
> exactly ONE system on the market that makes transparent
> persistence, and this is in the java world. This is done by
There is another style of persistance which is to persist the object via
some sort of serialisation and then record
There is a nice little article about this on msdn
http://msdn.microsoft.com/library/default.asp?url=/msdnmag/issues/03/07/
DataPoints/toc.asp
However there is a caveat, I couldn't get the new rows to merge back
into the client-side dataset without a constraint exception. To get
around this I ju
Try adding this code to the top of the assembly where the rest of the
'.extern's should be
.assembly extern System.Data
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 )
// .z\V.4..
.ver 1:0:5000:0
}
Or you could use ildasm to look at an already compiled assembly and just
copy what you see there
It's easy just use the XML compliant and ()
instead!
> -Original Message-
> From: Jeff Varszegi [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 25 October 2003 12:29 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [ADVANCED-DOTNET] How to create an enumeration
> that exposes formats
>
>
> One
I know that when using properties there are a lot of read only (get
accessor only) properties which would be useful to have auto-generated
for me. Think of the Count property in a collection. Internally it's
read/write but externally the property has a get accessor only.
Having a short-hand way
Have a look at
http://www.dotnetremoting.cc/DisplayPage.aspx?key=OSR_BiDirTcpChannel
This could take care of the NAT problem. I'm sure there is another
project that has the same idea, but I can't find a link to it at the
moment.
Another one to look at, that looks like it is a bit more complete i
[EMAIL PROTECTED]
> Sent: Monday, 25 August 2003 11:44 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [ADVANCED-DOTNET] Custom ServerTransportSink
>
>
> Chris Day -- did you mean "is incorrect" when you say
> "is...WRONG!"? That is, did you mean that Brant Fa
That remoting ignore's customErrors tag is in fact WRONG!
People may have tried it but put the tag in the wrong place. It should
be like this
HTH
Chris
> -Original Message-
> From: Brant Fallin [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 23 August 2003 12:56 AM
> To: [EMAIL PRO
>
>
>
>
>
>
>
Change this line to
and see if that works.
Chris
Can you provide a simplified version of your app + .config files?
Setting impersonate=true is okay unless you want anonymous access from
the client to the server.
> -Original Message-
> From: JC Oberholzer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 24 July 2003 6:49 PM
> To: [EMAIL PROT
What is your whole .config file?
> -Original Message-
> From: Rakesh Ranjan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 24 June 2003 6:18 PM
> To: [EMAIL PROTECTED]; Chris Day
> Subject: Re: remoting exception not propagating to the client
>
>
> I have tried
oting or web services? You subject
> says remoting, but the description of the error you're seeing
> sounds like web services.
>
> -Mike
> DevelopMentor
> http://staff.develop.com/woodring
>
>
> >
> > -Original Message-
> > From: Mode
Your .config file should look like
> -Original Message-
> From: Rakesh Ranjan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 24 June 2003 3:28 AM
> To: [EMAIL PROTECTED]
> Subject: [ADVANCED-DOTNET] remoting exception not propagating
> to the client
>
>
> I have a server runn
48 matches
Mail list logo