Look at http://www.allapi.net/classlib/class.php?id=23
They have a freeware FTP Client written in VB.NET. I use it in my app
myself. It works ok, tough I had to add a few lines of code for additional
error handling.
Urs
-Mensaje original-
De: Nick Wienholt [mailto:[EMA
I'd definatley like to hear more at present we're looking at everything.
-Original Message-
From: Shawn Wildermuth [mailto:[EMAIL PROTECTED]]
Sent: Friday, 10 May 2002 12:33
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] OT: Relational to Object mapping.
I like using the object-like view o
At interop.
C# can work with VTable style interfaces.
Regards
Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)
-Original Message-
From: Erick Thompson [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 9. Mai 2002 23:18
To: [EMAIL PROTECTED]
Subject: [DOTNET] Using IFilter int
Thought of using a commercial installation setup package?
I suggest you have a look at the WISE product :-)
Regards
Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)
-Original Message-
From: Blain Timberlake [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 9. Mai 2002 19:34
It is one of the main entries in the readme.
Ben
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of
Thomas Tomiczek
Sent: Friday, 10 May 2002 2:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] .NET and /3GB
I checked and you are right - there is, though,
I checked and you are right - there is, though, not a HINT - it is
pretty brutal, but you are right, it talks only about ASP.NET :-)
Regards
Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)
-Original Message-
From: Axel Heitland [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag
Hi,
How to open a file in a non exclusive manner ? I need to read a file
that is edited (and saved) with notepad at the same time. The following
construct does'n work:
fs = File.Open(logFile, FileMode.Open, FileAccess.ReadWrite,
FileShare.ReadWrite);
Thank you
Pierre
---
Turn the switch around and make the default "localhost"-127.0.0.1 IIRC.
In other words, if the machine name matches the server, use the server's
IP. Otherwise, assume you're running a development box and use that.
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On B
Nick,
> The best alternative is IP*Works components
Mabry has an ftp component too: www.mabry.com/dotnet
Zane
Yes, I'm affiliated with Mabry. :-)
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
I've been toying with this idea as well. I'm curious, for those that are
spawning worker threads to fetch and load the data, are you doing this
from within the constructor or the OnLoad event? For that matter, is
there a difference practically?
Brian
-Original Message-
From: Dan Souk [ma
Probably. A standard IIS installation with .NET installed give very
little access to the web service. I would impersonate a user with
rights.
Thanks,
Shawn Wildermuth
[EMAIL PROTECTED]
> -Original Message-
> From: dotnet discussion [mailto:[EMAIL PROTECTED]]
> On Behalf Of Jason Bried
Just curious, but why wouldn't you want to use IIS security? If you are
already going over HTTPS why not turn on Basic Authentication and let
IIS do the dirty work, handing ASP.NET the Users Windows Principal.
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behal
Hi,
When I try to create a web application in in VS.NET
I get the message box "Web Access Failed" with the following message:
The default access mode for this project is set to file share, but the
project folder at "http://loclahost/MyTestApp"; cannot be opened with the
path "D:\projects\My
It's been a few years, but I remember liking some of this stuff:
http://www.ambysoft.com/mappingObjects.html
http://www.ambysoft.com/persistenceLayer.html
There are also a ton of links on these pages.
The Persistence PowerTier product also had a very interesting
architecture, but it's a J2EE ser
I like using the object-like view of data you get from using DataSet and
navigating between tables through relationships. If this is confusing,
I'll write about it more in-depth reply.
Thanks,
Shawn Wildermuth
[EMAIL PROTECTED]
> -Original Message-
> From: dotnet discussion [mailto:[EM
http://www.martinfowler.com/isa
Hth
scott
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Rolls, Robert
Sent: Thursday, May 09, 2002 8:45 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] OT: Relational to Object mapping.
Does anybody have a good web site li
Ian ,
Thanks for that ,
I was sort of hoping to do it without using the changed events - I avoid
events unless they are neccesary as forms are cluttered with them and
programmers new o the program often struggle. .
The not uodating until I leave the field is fine as on this contr
Has anyone had any success communicating with devices using serial
communications. I've tried to open a filestream using COM1 as the target
with no success. In desperation I've resorted to using MSCOMM32 to do the
comms for the small project we had to get completed. Is there another way
that anyon
Does anybody have a good web site link that gives a good overview of
relational to object mapping?
Regards,
Robert Rolls
**"
This correspondence is for the named person's use only. It may
contain confidential or legally privi
Suggest you look at the IEWeb Controls from MS. There's a treeview control
you could use to build a menu.
No need to mess with client side scripts, and it's FREE.
http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/over
view/overview.asp
Dick Spence
-Original Message
I was disappointed that the data access app block used the SQL Server
specific data classes, rather than the more generic IDb<> interfaces. Not
entirely surprising, I suppose, but it makes that big chunk of code useless
for those of us that need to support multiple database platforms.
On Wed, 8 M
Actually that was a combination of ProtoView and Sheriden and IMHO they
really dropped the ball on their implementation.
scott
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Chris Anderson
Sent: Thursday, May 09, 2002 4:56 PM
To: [EMAIL PROTECTED]
Subj
Doing a quick search on internet I found this ftp source code in VB6:
http://www.vbfreeware.com/showdld.asp?id=26&type=PSC&H=FTP+Program I haven't tried it.
-Mensaje original-
De: Nick Wienholt [mailto:[EMAIL PROTECTED]]
Enviado el: Jue 09/05/2002 06:54 p.
I have an assembly on a machine that does a P-Invoke to a local dll. The assembly is
exposed
via a web service. If I call the assembly locally without going through the web
service, everything
works fine. If I call the assembly via the WebService, I get an error when I try to
Marshal to dat
Tried not setting it at all and it didn't work on my server or on a testing
server i have hosted with hsugs.ch.
Been playing around with it today and this is a quick summary of what I've
come across in order to get email working:
1) You need to have .net runtime installed correctly
2) IIS needs
Thanks. I checked out the link, but I'm not seeing how I would use this to
create my own protocol. For example, I'd like to be able to put in a URL
"foo://bar" and have a class handle that accordingly. Once I have something
coded, how do I use it, and can I use it in IE on the local machine?
-
I am attempting to call LoadUserProfile from a web service. However, I
get an ERROR_PRIVILEGE_NOT_HELD error when I make the call. I have
assigned, the "Act as part of the operating system" privilege to the
ASPNET account.
The account I am using in the LogonUser call has Administrator privileges
I have users coming into my system remotely (to a web page) - I would like
to authenticate them using a username/password etc. passed over an HTTPS
connection against accounts in an Active Directory. I don't want to use IIS
security but wish to perform the authentication manually.
Here's an examp
> > Erick Thompson spake:
> >
> > How would I go about using the IFilter[1] interface from C#? From what I
> > gather, it's not an automation interface (== not a COM object?),
> > so I'm not
> > sure where to start.
> >
> > Thanks,
> > Erick
> >
> > [1]
> > http://msdn.microsoft.com/library/defaul
Interesting. Thanks. I've always wanted to incorporate threading but it
was never a realistic option pre-.NET.
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
franklin gray
Sent: Thursday, May 09, 2002 5:30 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET]
FTP is missing from the framework, which I guess makes sense considering the
functionality was missing in Win32 (given the problems of using WinInet is
server applications). I saw a sample on DevDex where someone had posted a
FTP class that wrapped the socket .NET classes, but haven't tried it.
-Original Message-
From: Jeffrey Richter (Independent Contractor)
Sent: Thursday, May 09, 2002 3:49 PM
To: Brian Grunkemeyer; Mahesh Prakriya
Subject: RE: Re: [DOTNET] StringBuilder Overhead
For the record, what I say in the book is if a StringBuilder has
ToString called on it AND THEN
SolutionPartners (www.solpart.com) has one they're giving away, includes
source. It still uses client-side script, how much I'm not completely
sure.
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Nischal Muthana
Sent: Thursday, May 09, 2002 5:18 PM
To:
Well, the spawning of a new thread isn't that hard, just dealing with all the little
things such as showing the right cursor, dealing with the case that if a user closes
the form before the retrieval thread is done and so on.
-Original Message-
From: Dan Souk [mailto:[EMAIL PROTECTED]
franklin gray [mailto:[EMAIL PROTECTED]] wrote:
> Just out of curiousity, does anybody use a different thread
> to retrieve data to populate a form besides me? I like how
> it doesn't bogg down the UI thread and forms paint better,
> but it's a lot more work. Just curious.
Sure... very common.
How much is a lot?
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
franklin gray
Sent: Thursday, May 09, 2002 5:10 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Loading forms
Just out of curiousity, does anybody use a different thread to retrieve
data to
John wrote:
> Is there any way around this (Excluding things like giving the ASPNET
> account System rights). I just want to be able to write the script copy to
> my host and have it work.
Actually, you should be just fine if you don't set the SmtpServer property
at all.
Brad
--
Read my web l
Thanks very much for the suggestion. I will surely look into the option of
buyin one. But is there any place on the web I can get the code which I can
stare at. I am not tryin to reinvent the wheel but for curiosity sake just
wanted to see how it can be done.
Thanks
Nischal
>>The controls from
I have done this.
Jacob A. Grass
> -Original Message-
> From: franklin gray [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 09, 2002 5:10 PM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] Loading forms
>
>
> Just out of curiousity, does anybody use a different thread
> to retrieve data
Just out of curiousity, does anybody use a different thread to retrieve data to
populate a form besides me? I like how it doesn't bogg down the UI thread and forms
paint better, but it's a lot more work. Just curious.
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
> Erick Thompson spake:
>
> How would I go about using the IFilter[1] interface from C#? From what I
> gather, it's not an automation interface (== not a COM object?),
> so I'm not
> sure where to start.
>
> Thanks,
> Erick
>
> [1]
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us
Oh bother - we'll sort this out - mark
-Original Message-
From: David Anthoff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 1:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] New content on http://windowsforms.net
I just tried to download the files from the Samples->Task sect
Sounds like you need a Façade of some sort. The problem I see with how you
have this is that Bar inherits from Foo. Downcast Bar back to a Foo instance
and you have all of Foo's methods and properties, undoing what you were
trying to accomplish in the first place.
A façade on the other hand basic
The controls from Infragistics (was Compuware) include a good one one as
well
Merak
>
> If you don't mind buying one, coalesys.com has a good asp.net
> menu bar that can do what you want. I use their menu bar, and
> it works great.
>
> If you want to build it yourself, it takes a lot of
> javasc
Does use the loopback address (127.0.0.1) instead of the name (localhost)
help? Or, what about using the local machine name? I believe that should
resolve to your IP in most cases.
SmtpMail.SmtpServer = System.Environment.MachineName;
Erick
- Original Message -
From: "John" <[EMAIL PROT
If you don't mind buying one, coalesys.com has a good asp.net menu bar that
can do what you want. I use their menu bar, and it works great.
If you want to build it yourself, it takes a lot of javascript/dhtml tricks
to get it to work across all browsers.
Erick
- Original Message -
From:
Hi All
I am tryin to build a Web Form with a MenuBar(On the Left Side of the
screen). The menubar I am tryin to build is similar to the menubar(on the
left side) of the www.msdn.microsoft.com.
Typically, it should get me the sub-menus selection etc.
Did anyone build this kind of MenuBar? Can so
How about using interfaces to expose a subset of the functionality?
Here is one way.
interface Bar
{
Meth1();
Meth7();
}
class Foo:Bar
{
static Bar getBar()
{
return (Bar)new Foo()
}
static Foo getFoo()
{
return new Foo();
}
private Foo()
{
}
Bar.Meth1(){
Yep there was data in the key but yours truely made a typeo in the keyname.
Duh ! Thanks for the help though :)
-Pete
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of
Marsh, Drew
Sent: Thursday, May 09, 2002 4:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [DO
How would I go about using the IFilter[1] interface from C#? From what I
gather, it's not an automation interface (== not a COM object?), so I'm not
sure where to start.
Thanks,
Erick
[1]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/indexsrv/ix
refint_9sfm.asp
You can read m
Reply is below:
How does which SMTP server you are relaying through have anything to do with
.NET deployment or the SMTP class?
* Just saying that it seemed easier with ASP where you would declare the
mail object and send the mail. You really didn't need to worry about which
SMTP Server it was g
Amit,
>How do I register and un-register a COM dll at runtime using C#?
The easiest way is to just call Regsvr32 and let it do the job
(System.Diagnostics.Process.Start()). If you don't want to depend on
Regsvr32, you can do something like this:
http://www.msjogren.net/dotnet/eng/samples/dotne
I have a class that has grown quite large. It has come to pass that I would
like to expose a very small subset of this class' functionality as another
class(?). Here's the example:
I have class Foo with 10 methods lets say (Meth1 - Meth10)
class Foo {
Meht1 {
}
Meth2 {
How does which SMTP server you are relaying through have anything to do with
.NET deployment or the SMTP class?
Best practice probably would be to add a Config Setting in the web.config.
Then you change this instead of it being hardcoded, forcing a recompile.
-Original Message-
From: Jo
>From the MSDN docs:
Return value for GetValue()
The data associated with name, or null if the value does not exist.
Does the value Foo Bar exist? If not, then GetValue returns a null and
calling ToString() on the null object is the cause of your exception.
J. Keith Wedinger
http://bearcatnews.
Peter Vertes [mailto:[EMAIL PROTECTED]] wrote:
> Console.WriteLine(_remoteKey.GetValue("Foo Bar").ToString());
>
> I get an exception saying: "Object reference not set to
> an instance of an object". The only thing that has changed
> here is that the key name whos value I want to get contain
The following link from MSDN regarding the Assembly Registration Tool
(Regasm.exe) may be helpful:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/htm
l/cpgrfassemblyregistrationtoolregasmexe.asp
Todd Seymour
-Original Message-
From: Amit Bahree [mailto:[EMAIL
Hi All,
I'm working on something that involves manipulating the registry
remotely and I'm experiencing something strange. Consider the following:
Console.WriteLine(_remoteKey.GetValue("Foobar").ToString());
Prints out the value of the Foobar key as expected. Now if I do this:
Console
Yeah, guess I could.
Just don't like adding bits like that to my code.
e.g I have a pc and a laptop and the files are checked into SourceSafe.
I check out the files on my laptop and the local smtp server doesn't work
so I extend the Switch statement.
I check the file back-in. Someone else che
I just tried to download the files from the Samples->Task section on
http://windowsforms.net, but none of the links works... Could you have a
look at that? Would be great!
Thanks
David
> -Original Message-
> From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf
Of
> Mike Harsh
> S
I was looking for a framework object that I can use to ftp a file, and
couldn't find one. Do you know how to ftp a file in .NET (VB)?
Any help would be great.
Thanks!!
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://di
How about a simple switch on the machine name?
Switch (System.Environment.MachineName)
{
case "YourMachine":
SmtpMail.SmtpServer = "192.168.0.3";
case default:
SmtpMail.SmtpServer = "WhateverYouNeed";
}
-Original Message-
From: dotnet discussion [mailto:[EMAIL PROTECTED
Hi,
Got it to work...added my ip to the relay list (Event though smtp is on the
same machine!) and then change SmtpServer from Localhost to my IP like so:
MailMessage mail = new MailMessage();
mail.From = "[EMAIL PROTECTED]";
mail.To = "[EMAIL PROTECTED]";
mail.Subject = "Mail Test";
mail.Body =
John [mailto:[EMAIL PROTECTED]] wrote:
> Yep relaying enabledI added my machine's ip address to
> the allow relaying from these computers list.
How about security... who is your component running as?
-Drew
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe
Yep relaying enabledI added my machine's ip address to the allow
relaying from these computers list.
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
Do you have SMTP relaying enabled on your SMTP Server?
I notice your from Address is [EMAIL PROTECTED] so if relaying is not enabled CDO
wont be able to send the message and you will get the error you mentioned.
-Original Message-
From: John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, Ma
Hi,
How do I register and un-register a COM dll at runtime using C#?
For example if I want to unregister c:\somepath\my_com_component.dll how do
I do the equivalent of a regsvr32 /u c:\somepath\my_com_component.dll
from .NET?
Thanks in advance.
Amit.
You can read messages from the DOTNET archiv
The SMTP Component is installed.
It use to work when I had a beta 2 installation.
The code I am trying now is V1 compatible but it is throwing this error.
The To: and From: address is also in the correct format.
Any ideas on why this happens?
Thanks
John
You can read messages from the DOTNE
Actually the issue I am concerned with isn't related to stealing IP it is
related to restricting who can compile against an assembly versus who can
just execute the assembly (development vs runtime license).
--
Keith
On Wed, 8 May 2002 17:18:41 +1200, Alex Henderson
<[EMAIL PROTECTED]> wrote:
>
Wow. That's one of those times you bonk your head and wonder why you
didn't bother to try that. :-D
Thanks!
> -Original Message-
> From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf
Of
> Marsh, Drew
> Sent: Thursday, May 09, 2002 12:47 PM
> To: [EMAIL PROTECTED]
> Subject: Re:
Reggie Burnett [mailto:[EMAIL PROTECTED]] wrote:
> why doesn't this compile to properly return a StructType[] ?
You need to cast... ArrayList::ToArray returns an Object[].
return (StructType[])arList.ToArray(typeof(StructType))
HTH,
Drew
You can read messages from the DOTNET archive, unsubs
What is wrong with this?
Public struct StructType {
Public Int mem1;
Public int mem2;
}
... after adding several elements of type STructType to an arraylist...
return arList.ToArray( typeof(StructType) )
why doesn't this compile to properly return a Stru
Could anyone point me to some good online reference how to write
serviced components in VC++.
I could only find examples in VB and C#.
Thanks in advance.
Sorin Rojea,
senior software developer,
IQ-Ludorum Software
1 905 602 0238 x 2031
You can read messages from the DOTNET archive, unsubscribe
Steve, yeah I got that working great. I'm trying to create an install
package will take care of that all for me though. I.e. just one .msi
file that will install all the stuff it needs, AND install the service
with the proper login name, startup options and all that fun stuff.
Thanks,
=Blain
-
John [mailto:[EMAIL PROTECTED]] wrote:
> Email use to work with my machine and now even example code
> doesn't work.
Did you change the computer configuration at all? System.Web.Mail relies on
the CDO COM library to do it's work and if you don't have the IIS SMTP mail
components installed it wil
Hi all,
Email use to work with my machine and now even example code doesn't work.
I've searched through google groups but there doesn't seem to be a
definative answer on what the problem is and how to solve it.
MailMessage mail = new MailMessage();
mail.From = "[EMAIL PROTECTED]";
mail.To = "[E
Alright, now to sound like a complete retard. That isn't installed with
the .net studio that I can see. I need to do a separate install of the
.net framework SDK to get that help file? I did a search through MSDN
and google for that filename and didn't turn up anything good.
Sorry for the inan
Blain Timberlake [mailto:[EMAIL PROTECTED]] wrote:
> Has anyone done a deployment of a windows service in .net yet?
>
> From the help file it seems like I need to create a custom
> action for my package, but I'm just getting my feet wet in
> .net and not sure I know everything to do.
>
> To insta
Blain ,
>From an article in one of last year's MSDN mags:
"The service class you create can't install itself, however. You must also
supply an Installer class that inherits from
Configuration.Install.Installer. For each service in your project, this
class creates one ServiceProcessInstaller obje
Has anyone done a deployment of a windows service in .net yet?
>From the help file it seems like I need to create a custom action for my
package, but I'm just getting my feet wet in .net and not sure I know
everything to do.
To install the service from a .exe there is the installutil file that
y
80 matches
Mail list logo