Thanks Michael, I don't mind downloading some custom software - just depends how invasive it is. Do you have any comments on this? Do you use it? I'm just against software as invasive as AOl - where it's virtually imposible to remove. As far as my current carrier, I use cable here so I dont even have a local dialup account to start with. Thanks, Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989
Tatham
Posts
-
US Internet -
US InternetThanks Igor! This was exactly the information I was after.... :-D :cool: Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989
-
US InternetThanks for the tips about Colorado Eyan - unfortunately it's too late to change anything now. Either way, no matter where you go or what you do life is full of dangers and surprises. Get over them, take precautions if necessary, and move on. Continuing in the true style of a geek, I already own a laptop as my primary machine. What I was interested in was information about any hosts that might be suitable, and have good deals that dont involve long term contracts. Anyway, thanks for your help! Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989
-
US InternetRemeber that i did ask for "internet" not "aol-net". I am after a temporary solution just to dial in for the week - not a host of custom drivers and crappy software. I'm not sure if AOL Australia is incredibly different to AOL America or what - but I've been scared off for life. Custom virtual modem drivers? Custom dialers? Custom browsers? Custom email clients? How much more nonstandard can we get? Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989
-
US InternetHey guys... I'm going to be in the US (colorado + california) for a week around christmas and in the true style of a geek am seeking an internet connection. ;) Would anyone have any tips that an Australian might find useful for setting up a dialup account that isn't going to cost me a bucket because i have to pay for 3 months or something stupid. Thanks! Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989
-
Wierd IOHi guys, I am currently implementing an application which needs to support paths like: %windir%\Microsoft.NET\Framework\ The pointers (eg %windir%) are supported by .NET, so i can access file listings easily. However, Directory.Exists returns some wierd results: Directory.Exists("%windir%") => false Directory.Exists("%windir%\Microsoft.NET\") => true Does anyone know of a way to validate these directories properly. I can just request a directory listing, and wait for an exception but this isn't good coding and will slow down the process too much as potentially hundreds will need to be evaluated. Thanks, Tatham Oddie Developer, SSW (www.ssw.com.au
-
TCP Remote EndpointsBlake Coverett wrote: Certainly not enough to implement an SMTP server. :~ I'll have to debate you on this - the entire serhas has been written and deployed. The only functionality restriction I have discovered was this one problem of determining the remote endpoint. Blake Coverett wrote: It doesn't give enough flexibility for anything but the most simple applications. SMTP, POP3, IMAP and the like are all extremely basic protocols. :doh: For more complex protocol implementations (such as when I implemented the DNS client) I will agree that sockets are more appropriate. Although, I do not value the assosciated coding overheads required to implement the more complex solution when an appropriate wrapper is available. Wrappers are designed to simplfy integration. While I will agree that raw sockets present greater funtionality, I think it is critical that when greater functionality is not required, the appropraite (and probably more reliable) wrapper should be utilised. Anyway, thanks for the help - it certainly spurred some research and did solve the problem. :-D Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989
-
TCP Remote EndpointsWhy do you say this? I would have though that something relating to TCP would be best performed by a TcpListener? Is it performance issues, functionality (like what i'm trying to do) or what? Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989
-
TCP Remote EndpointsHey guys... I am writing an SMTP server and am interested in adding support for open relay blacklists. However, beyond the implementation, what I need to achieve is retrieving the remote IP from the
TcpClient
object. I know that this can be retrieved from a raw socket object (which can be generated throughTcpListenet.AcceptSocket()
as opposed toTcpListener.AcceptTcpClient()
), although this doesn't support streaming. Any ideas? Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989 -
Running Windows App over networkIf you are interested in just executing the program from a network share, you will need to set permissions on each of the client computers. Take a look at Administrative Tools > Microsoft .NET Framework Configuration and do soem MSDN searches for 'code access security'. This will most probably be what is causing your exception. Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989
-
Remoting - Custom objectsOk, I thought you only had to include it in the config to get an instance, then from there on it just got whatever objects it needed. Thanks for your help... Most appreciated - it works now! :-D Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989
-
Remoting - Custom objectsI am currently developing a remoting object for my wbsite (www.play47.net) and am experiencing the following problem. If you have any ideas, they would be greatly appreciated... The remoting object has the following method:
public void MailQueueItemsSet(MailQueueItem job)
This returns a custom object which I have defined back to the DB (ie deletes / updates and needed). This object (MailQueueItem) has the following definition:
[Serializable()]
public class MailQueueItem : DataItem, ISerializableNow, from my client application I call the following method:
coordination.MailQueueItemsSet(job);
And receive this exception:
System.Runtime.Serialization.SerializationException: Because of security restrictions, the type play47.mail.RemotingInterfaces.MailQueueItem cannot be accessed. ---> System.Security.SecurityException: Request failed.
at System.Security.SecurityRuntime.FrameDescSetHelper(FrameSecurityDescriptor secDesc, PermissionSet demandSet, PermissionSet& alteredDemandSet)
at System.Runtime.Serialization.FormatterServices.nativeGetSafeUninitializedObject(RuntimeType type)
at System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject(Type type)
--- End of inner exception stack trace ---Server stack trace:
at System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject(Type type)
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObject(ParseRecord pr)
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Parse(ParseRecord pr)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.UnsafeDeserialize(Stream serializationStream, HeaderHandler handler)
at System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryRequestMessage(String objectUri, Stream inputStream, -
Check if Remoting server is running?If it's hosted as a service use a service controller component... However, what you are trying to do implies that the server is always on the client - why use remoting? :confused: "Enterprise Solution Patterns using Microsoft .NET" says that remoting calls can be at least 1000 times slower than a local call in the CLR. Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989
-
Accessing a .mdb database on a CDI'm not experienced in Access so don't quote me - but... Is it possible to open the database as a shared connection - would this remove the need to write the lock file. Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989
-
ASC() in C#Bo Hunter wrote: No you can not So how do you do it? I'm sure they wouldn't have excluded the capability from the C# libraries... :confused:
-
Loading a new image into a PictureBox?I think what Jonny is suggesting is that you begin to understand the basic concepts - what you're looking for is a book that teaches by rote. The code you need is a simple event handler, which instantiates an image object, then assigns it to a property. Really - this is simple if you research the concepts. Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989
-
Windows Service DeploymentI ended up finding the problem. After removing the performance counter object from the installer it worked - of course the counter doesn't work but at least it deployed. Does anyone have any ideas on why this would crash the installer - do i need to ship some form of basic install state file - if so what is the format? BTW leppie - i did deploy it in time. ;P
-
Simple question: StreamWriterAfter you create the StreamWriter (but before using it) do the following:
myWriter.AutoFlush = true;
This seems to work for me Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989 -
ASC() in C#You should just be able to do this:
char myCharacter = 'a'; int myASC = (int)myCharacter;
Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989 -
Windows Service DeploymentI have just finished a windows service app in C#. To deploy, I have created an installer project in VS (2003). For the service registrations, I have added the assembly as a custom action for both the commit and uninstall phases. The installer seemes to run correctly - until the very end. Then I get the following error message :confused:: Could not find file "C:\Program Files\play47\SMTP Server\SMTPServer.InstallState Now, this file DOESN'T exist - but I assume that it should be getting created by the service installer. Any ideas? This is critical and I really need to deploy it today - if you have any idea it would be greatly appreciated! Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989