Re: Ozdotnet list

2017-04-04 Thread Mark Hurd
t; >> >> >> I'd like to propose we move to it and actively promote it once it's all >> up and running. Given the lists currently existing cover a few different >> topics, not just AusDotNet, we should move them all over. Except >> Silverlight. Don't even

Re: [OT] node.js and express

2016-11-27 Thread Mark Hurd
s apply to, and "everyone else" moves on.) Not sure what the solution is, of course. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: [OT] Windows 10 anniversary upgrade

2016-08-14 Thread Mark Hurd
th registry > edits have returned. > > > > Who's managing my PC? Who owns it? > > > > Greg -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: Interview question pseudocode (was RE: [OT] Internal Developer Training)

2016-02-08 Thread Mark Hurd
there are languages that return 1 because the finally happens some what out of band. But, no, it's not a question I'd ask. Regards, Mark Hurd. Sent from my Windows Phone. -Original Message- From: "Arjang Assadi" Sent: ‎9/‎02/‎2016 1:21 PM To: "ozDotNet&qu

Re: Yielding Array property of an underlying object through the Wrapper Class

2015-12-10 Thread Mark Hurd
. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 11 December 2015 at 10:12, Arjang Assadi wrote: > Anyone knows whats a good way to refer to a underlying object's array > property in through the wrapper class? > > Suppose We have vlasses A and B where B is a an array propery of A as such &

Re: Bug in System.Uri parser?

2015-11-11 Thread Mark Hurd
this case, built-in) scheme. (But it would only be a "little bit" of reflection to write your own Unregister, or even Reregister, if you really want to correct this issue now yourself.) On 12 November 2015 at 15:37, Mark Hurd wrote: > Yeah, note that NetPipeSy

Re: Bug in System.Uri parser?

2015-11-11 Thread Mark Hurd
iBuilder(); >> ub.Scheme = "net.tcp"; >> ub.UserName = "guest"; >> ub.Password = "guest"; >> ub.Host = "myserver"; >> ub.Port = 12345; >> >> The Uri property getter for ub throws the same UriFormatException as above.

Re: Bug in System.Uri parser?

2015-11-11 Thread Mark Hurd
quot;myserver"; > ub.Port = 12345; > > The Uri property getter for ub throws the same UriFormatException as above. > > This is all *very* annoying. > > Thomas Koster -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: Mobile passwords

2015-11-10 Thread Mark Hurd
.ly/aAOZcv > > "Going to Starbucks for coffee is like going to prison for sex. Sure, > you'll get it, but it's going to be rough" - Adam Hills > -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: Sharing a database file

2015-11-10 Thread Mark Hurd
e a console to auto-logon so they can run. (The agents are still VB6-based but they implement interfaces and, via COM, run .NET assemblies.) If I was starting from scratch, I'd use Windows Services, probably with a "management" UI available from an external process triggered from a S

RE: Mobile device photos

2015-10-22 Thread Mark Hurd
Just confirmed the browse button allowed me to choose a photo from various sources on my Windows Phone 8.1. I can choose to use the camera to take a new photo with one more "click", so the capture itself seems to be ignored. Mark Hurd. Sent from my Windows Phone. -Origin

Re: [OT] Anyone getting spam?

2015-10-18 Thread Mark Hurd
I've now reported 4 spam to SpamCop, with the last two not explicitly avoiding sending them to you at dconnors at infomotion dot net. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 19 October 2015 at 16:53, David Connors wrote: > Yeah so someone subscribed a spammer using that address -

Re: Odd text encoding

2015-09-10 Thread Mark Hurd
Note that the original XML would have been smaller than the base64 compressed text if you removed the unused namespaces :-) (Of course it presumably would have compressed to smaller again.) -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 10 September 2015 at 15:32, Nelson wrote: > Step

Re: Visual Studio startup delay

2015-03-18 Thread Mark Hurd
That sounds like a network delay, due to attempting to access, say, a shared drive that is not actually available. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 19 March 2015 at 13:39, Greg Keogh wrote: > Folks, sometime in the last couple of weeks I noticed that Visual Studio > 2014 was

Re: Azure and security trust

2015-02-24 Thread Mark Hurd
I /haven't/ followed these links, but I assume the biggest issue for Australian-based cloud services -- that this sort of data should not go offshore -- is covered somewhere in there. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 25 February 2015 at 14:06, Greg Keogh wrote: > FYI - I ju

Re: [OT] Unbelievable ad tracking

2014-12-23 Thread Mark Hurd
I don't know if it was one person's 1 pixel tracker continued into multiple replies or if a couple of you have them added to your messages automatically, but they've been ironic anyway! -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: [OT] Unbelievable ad tracking

2014-12-23 Thread Mark Hurd
> idea. Endless ads for boat add-ons and things I can BBQ pork with ... Mmmm > pork. Imagine if TV was that good. > > ​ No, I mentioned it when suggesting DuckDuckGo earlier in this thread: On 22 December 2014 at 10:45, Mark Hurd wrote: > Personally I prefer to get targeted ads

Re: [OT] Unbelievable ad tracking

2014-12-21 Thread Mark Hurd
+61 419201410 mobile│ +61 3 8676 4913 fax > > SQL Down Under | Web: www.sqldownunder.com > -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: [OT] Unbelievable ad tracking

2014-12-21 Thread Mark Hurd
Personally I prefer to get targeted ads rather than random ads. But if you want to avoid Google's tracking, use DuckDuckGo: http://donttrack.us/ https://duckduckgo.com/ -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 21 December 2014 at 10:34, Iain Carlin wrote: > I had a similar ex

Re: Programmatically call forward

2014-12-16 Thread Mark Hurd
On: *21# Off: #21# -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 16 December 2014 at 18:58, Craig van Nieuwkerk wrote: > I have a client who wants to be able to have a button in our app to turn > on/off call forwarding on their phone system. > > Does Telstra (or Optus) have any API

Re: TraceSource without config

2014-12-02 Thread Mark Hurd
Actually Tom, the page you link to DOES list code "To initialize trace sources, listeners, and filters without a configuration file", though not recommended. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 3 December 2014 at 09:24, Tom P wrote: > Hi Greg > > According to the fol

Re: VB.NET (was Re: VS2013 Windows Phone project)

2014-11-19 Thread Mark Hurd
Yes, there are still VB.NET programmers around. My workplace is using C# for many new projects but we have lots of VB.NET (and some VB6) legacy stuff that won't go away. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 20 November 2014 16:07, DotNet Dude wrote: > Did someone mention vb.net?

Re: Bare bones web app

2014-09-29 Thread Mark Hurd
And I produced a web service, using a simple pass-through aspx label: http://stackoverflow.com/a/2817637/256431 -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: [OT] Couple of fun/useful(?) things

2014-04-08 Thread Mark Hurd
Not really off topic, and not actually spam, like Gmail thinks. On 9 April 2014 10:56, wrote: > Couple of things which I though may be fun/use/interest: > > > -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: Data validation on a business object done by a rules engine - looking for a SIMPLE rules engine

2014-04-08 Thread Mark Hurd
n get automatic recompilation whenever you change the source. > Many Thanks > Greg Harris -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: Debugging Function parameters

2014-04-08 Thread Mark Hurd
sions that may contain Nothing, you can Step Into the specific evaluations since VS2008 (at least). Otherwise your (possibly optimized) code is not reporting the position of the error correctly. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 8 April 2014 20:47, wrote: > Exception occurs at the

Re: [OT] Weird symptoms and SSD

2014-03-24 Thread Mark Hurd
I'd also not trust the backups from now on either. I.e. don't overwrite previous backups with current ones, until you can check that the contents haven't been corrupted already. ​​ -- Regards, *Mark Hurd*, B.Sc.(Ma.)(Hons.)​ On 25 March 2014 14:20, wrote: > My guess is

Re: Visual Studio Macros stopped working?

2014-03-05 Thread Mark Hurd
kOverflow question, I originally assumed it was something I did. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: Visual Studio Macros stopped working?

2014-03-05 Thread Mark Hurd
/22063369/256431 all the previous .NET IDEs that did have macros were broken by the update. I also know there are third party macro facilities for VS2012+ but I don't know if they were broken. For completeness, it doesn't affect Express users either :-) -- Regards, Mark Hurd, B.Sc.

Fwd: Visual Studio Macros stopped working?

2014-02-27 Thread Mark Hurd
ere: http://support.microsoft.com/kb/2934830 -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

RE: COM class not found as admin

2014-01-02 Thread Mark Hurd
I believe modern (meaning I don't know which version of Windows started this) Windows systems have a per-user HKCR override. So it is possible to have variations like this. Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) Sent via Windows Phone 8 -Original Message- From: "Greg Keogh&

Re: Problem with FileSystem.DeleteFile method in root directory

2013-10-21 Thread Mark Hurd
f course) and I then couldn't see the file in the Recycle Bin. (I attempted to open Explorer as Administrator to confirm if I could see it then, but I don't think I really succeeded.) However it was returned when I used Explorer's Undo feature, so it was stored somewhere :-) -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: out of memory..urgent...Solution

2013-09-13 Thread Mark Hurd
(or I'm wrong and it /is/ just estimating how many Chars are needed). -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 13 September 2013 14:16, wrote: > If you are interested..memeory issue was resolved by doing the following… > > > > > > Public Shared Function byteArrayTo

Re: Future of .NET

2013-08-21 Thread Mark Hurd
Another non-.NET opinion, admittedly maily because he want's a fully open source solution: http://www.codinghorror.com/blog/2013/03/why-ruby.html -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: decimal.ToString() (JSON Serialization)

2013-08-11 Thread Mark Hurd
ppearance of 4 decimals > base.WriteValue(value); You can simplify this to just: value = Math.Round(0.M + value, 4); -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: decimal.ToString() (JSON Serialization)

2013-08-11 Thread Mark Hurd
Note that, obviously, one of Decimal's claims to fame is that it considers trailing zeros as significant, so serializing /should/ record those details. If you want to adjust that, use Decimal.Round(value, 2), but note that this does not add trailing zeros, only removes extras. -- Regards,

Re: Testing ComVisible in vbscript

2013-07-31 Thread Mark Hurd
the right object name to create. In other words, ProgIdAttribute does not always seem to be processed. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 1 August 2013 15:26, Greg Keogh wrote: > It's working now, but I'm not sure what I did. It's something to do with > regasm ve

Re: [OT] T-SQL GroupBy and Sum on a DateTime

2013-07-16 Thread Mark Hurd
M Sales.SalesOrderHeader AS soh >> >> INNER JOIN Sales.SalesOrderDetail AS sod >> >> ON soh.SalesOrderID = sod.SalesOrderID >> >> GROUP BY DATEPART(year,soh.OrderDate), >> DATEPART(month,soh.OrderDate) >> >> HAVING DATEPART(year,soh.OrderDate) BETWEEN 2005 AND 2012 >> >> ORDER BY OrderYear, OrderMonth; -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: [OT] RSS feed formatting

2013-07-16 Thread Mark Hurd
That seems to be an artifact of IE's processing of RSS. The URL of the subscribed page (as seen in the Properties of the page) is: http://www.microsoft.com/athome/community/rss.xml which is what the shortened url http://aka.ms/AtHomeRSS expands to. On 16 July 2013 22:20, Mark Hurd wrote: &g

Re: [OT] RSS feed formatting

2013-07-16 Thread Mark Hurd
OK, I see now, once you actually subscribe there's no xsl. On 16 July 2013 22:08, Mark Hurd wrote: > When I view source of http://aka.ms/AtHomeRSS the second line is: > > > On 16 July 2013 18:31, Ian Thomas wrote: >> Sorry, I can’t see any explicit XSLT file refe

Re: [OT] RSS feed formatting

2013-07-16 Thread Mark Hurd
estion, maybe someone can explain. > > If I browse to an RSS feed (eg, Microsoft at Work) the browser formats it > consistently. Yet, saving the XML file itself and then later opening the > saved-to-disk file in the same browser (eg, IE10) the display is the > standard XML syntax-highlighted view for any XML file. > > What is happening? > > > > Ian Thomas > > Victoria Park, Western Australia > > > > > > -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: the Open Source community for .NET developers: the value of joining and developing OS VS. for-proffit development

2013-07-10 Thread Mark Hurd
BTW You might want to choose another name: Project Jenks does have a number of hits https://www.google.com.au/search?q=Project+Jenks -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 10 July 2013 22:38, Katherine Moss wrote: > I'll have to look into that if I find it fits my needs, though

Re: Still trying to fix authentication on an ASP.net application: some accounts work and others don't

2013-07-10 Thread Mark Hurd
#x27;val)) You can effectively ignore the DotLisp and see these as SQL queries. ​​ -- Regards, *Mark Hurd*, B.Sc.(Ma.)(Hons.)​ On 11 July 2013 13:23, Katherine Moss wrote: > Thanks. I’m also checking all of the stored procedures; I think there > is one for at least every action on th

Re: the Open Source community for .NET developers: the value of joining and developing OS VS. for-proffit development

2013-07-09 Thread Mark Hurd
"It's not truly hidden unless you go to great lengths to obfuscate it." That's true except when you don't actually provide the software to the consumer. Software as a service makes it quite feasible to provide great technology without giving out the source or binary cod

Re: Parallet.ForEach

2013-06-17 Thread Mark Hurd
Customer destination = new DisplayableCustomer(); Mapper.Map(source, destination); return destination; }); ? (As a .NET 3.5 developer guessing) -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 17 June 2013 22:15, David Rhys Jones wrote: > Oops sent too quickly. > > ICollection da

Re: Visual studio and SharpDevelop: who uses which on this list and why?

2013-05-03 Thread Mark Hurd
aid version? > > This whole freetard sense of entitlement gives me the sh*ts. > I agree with David's rant, though I do also see Tristan issue, in that the free version is clearly nobbled because you can't access the expansion points that are clearly still there. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: [OT] Gmail and spam

2013-05-02 Thread Mark Hurd
nd Inbox. It's not seen as two separate messages. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 3 May 2013 11:35, David Connors wrote: > On Fri, May 3, 2013 at 10:24 AM, David Burstin > wrote: >> >> I've noticed that my gmail spam folder (spam for the last 30 days) has >&g

Re: Sending emails from extra domains in Office 365

2013-04-26 Thread Mark Hurd
Ha! That's what I do with Outlook Express. I didn't think it'd still be the same! -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 26 April 2013 11:50, wrote: > Magic Grant. That's the winner. It's a pity that it's necessary but this > would of course work a

Re: Glimpse...trace.write

2013-04-24 Thread Mark Hurd
have to cater for in some way in your "simple" logging routine. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 24 April 2013 16:45, wrote: > Appears to be sometimes. Debug mode. > > -Original Message- > From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozd

Re: Sending emails from extra domains in Office 365

2013-04-23 Thread Mark Hurd
IIRC Gmail took a while to implement that second feature too... -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 24 April 2013 13:32, Greg Low (GregLow.com) wrote: > Sorry, have no idea why that one ended up blank. This was it: > > > > Hi Folks, > > > > Office 365 ha

Re: Glimpse...trace.write

2013-04-23 Thread Mark Hurd
use of other actions it takes that you've removed for this post.) -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 24 April 2013 14:25, wrote: > Using glimpse which is great but I have noticed an issues..i think? > > > It appears to output my trace.write(“”) to glimpse

Re: [OT] Email and web hosting

2013-04-14 Thread Mark Hurd
No, we've only ever used them for redirection. We've always had other email systems with ISPs or our own Exchange server. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 14 April 2013 13:06, Bec Carter wrote: > So you use a NetRegistry webmail interface? I used StudioCoast for a while

Re: [OT] Email and web hosting

2013-04-08 Thread Mark Hurd
I have no idea how price competitive they are at the moment, but we've been happy NetRegistry www.netregistry.com.au customers for years, and their offerings expanded well as we grew. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 7 April 2013 11:49, Bec Carter wrote: > Hi everyone >

Re: Running code snippets

2013-03-11 Thread Mark Hurd
checker doesn't know about VB.NET features that do still compile correctly. I haven't used it with C# to know for sure how good it is with that. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 12 March 2013 10:30, Preet Sangha wrote: > Not sure about VS but I've used linq pad to do t

Re: LINQ select nullable Id

2013-03-04 Thread Mark Hurd
d = (from t in things where t.Name == "Foo" select > t.Id).FirstOrDefault(); > > In this case I get int zero if there is no match but I want null. Is there > some way of rearranging this to get an Id or null? Remember that the query > has to convertible down to SQL. > > Greg K -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: Custom Attribute

2013-03-04 Thread Mark Hurd
> PrincipalPermissionAttribute is sealed) should reevaluate it? Not even sure > what to search for on Google... I've found a couple of similar > implementations but nothing mentions this issue that I've found. > > cheers, > Stephen -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: Help..reference not working..still no resolution..

2012-11-19 Thread Mark Hurd
This is still just showing Common.dll /is/ being built against the 4.0 libraries. We need to see the build command for that, not the one confirming it's already gone wrong. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 20 November 2012 16:40, wrote: > Common.dll is set to framework v3.

Re: Help..reference not working..

2012-11-18 Thread Mark Hurd
You've built Common.dll with the 4.0 framework DLLs. Note you may have done this with the 3.5 compiler, if your settings were adjusted that way at the time. You'll have to rebuild it with the 3.5/2.0 framework. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 19 November 2012 16:50, wrote

Re: time did not exist

2012-11-08 Thread Mark Hurd
(and no exceptions) in the range of the normal DST changes, including Perth in 2007-09. Similarly for norther hemisphere time zones in late September/early October. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 8 November 2012 18:49, Ian Thomas wrote: > Was 2005 through 2008 when WA experimen

Re: [OT] sql convert datetime problem; forcing order of AND statements

2012-11-08 Thread Mark Hurd
HEN CONVERT(DATETIME, Value, 6) ELSE NULL END AS "Value" FROM DatesTest -- WHERE IsDate([Value])=1 ) select * from sub where sub.Value > GETDATE() -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 7 November 2012 20:26, Wallace Turner wrote: > Thank you for respon

Re: time did not exist

2012-11-07 Thread Mark Hurd
:00 AM 1/1/2012 2:15:00 AM "(GMT+03:00) Kaliningrad, Minsk" 31/12/2011 7:15:00 PM 31/12/2011 8:15:00 PM "(GMT+04:00) Moscow, St. Petersburg, Volgograd" 31/12/2011 6:15:00 PM 31/12/2011 7:15:00 PM "(GMT+06:00) Ekaterinburg" 31/12/2011 4:15:00 PM 31/12/2011 5:15:00 PM "(

Re: time did not exist

2012-11-07 Thread Mark Hurd
times (Local 1/1/09 Midnight to 1AM twice) that are "Invalid" for return to UTC. So as well as not existing between 1/1/09 Midnight to 1AM, WA was out of phase by an hour until Midnight UTC! On 8 November 2012 12:56, Mark Hurd wrote: > In this case you've found an hour whe

Re: time did not exist

2012-11-07 Thread Mark Hurd
nutes wadate -1)) 09:00:00 > (TimeZoneInfo:ConvertTimeToUtc (.AddMinutes wadate -1)wstTimezone) 31/12/2008 2:59:00 PM > (TimeZoneInfo:ConvertTimeToUtc (.AddMinutes wadate 60)wstTimezone) 31/12/2008 4:00:00 PM > All the local times in between are invalid. Drop a note at Connect. --

Re: Greetings

2012-10-10 Thread Mark Hurd
your question is? -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: Windows 8 and the Start Button

2012-10-04 Thread Mark Hurd
And the Ubuntu 12.04 upgrade has caused problems itself... -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 4 October 2012 16:54, noonie wrote: > Not yet... but getting closer. It is sad that it's taken too long :-( > > On Oct 4, 2012 4:50 PM, "David Richards" > wrote: &g

Re: VNC over wireless vs cabled

2012-09-20 Thread Mark Hurd
1410 mobile│ +61 3 8676 4913 fax > > SQL Down Under | Web: www.sqldownunder.com -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: Have I got an "official" VS2012?

2012-09-20 Thread Mark Hurd
o the mark :-) Of course I have no idea what will be the "official" RTM build though. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 20 September 2012 17:03, Greg Keogh wrote: > Folks, I downloaded this file from the MSDN Subscriber download page: > > en_visual_studio_profess

Re: [OT] Hash collisions

2012-05-02 Thread Mark Hurd
MD5 and 79 collisions for SHA1 and they all were only duplicates; no triplicates, etc. > CRC32 checksums of the same 250047 inputs produce no collisions. > > I'll look into this more when I get some hobby time (maybe next Xmas!) > > Greg > -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: Users who compulsively highlight or click text as they read it -are you out there?

2012-04-17 Thread Mark Hurd
And if I recall correctly, that was only with headings that were available for double-click to edit. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: Very simple LINQ query

2012-03-28 Thread Mark Hurd
For completeness, the VB.NET If is lazily evaluated too (but not the old IIf). -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 28 March 2012 21:38, Michael Minutillo wrote: > Yeah. In C# the expressions are lazily evaluated as well so you won't get an > Admin created unless the query

Re: Very simple LINQ query

2012-03-28 Thread Mark Hurd
gt; > All of your samples have this. In VB.NET there is the two-valued If statement that can simplify this to Dim individual = If(query.FirstOrDefault, New Admin()) I believe the C# equivalent is var individual = query.FirstOrDefault()??(new Admin()); -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: redirect trace to textbox performance

2012-02-22 Thread Mark Hurd
;t actually looked it up to confirm, but I guess the TextChanged event is actually (sender As Object, sText As String) and the infrastructure used to allow alternative event signatures seems a bit "interesting". Whether it is actually a performance issue though, I don't know -- profile i

Re: How to feed xmldocument as in-memory string into browser (IE9)?

2012-01-12 Thread Mark Hurd
You need to get hold of a document object and doc.write the xml to it. You'll have to set up the document object with the right styles, etc. to get the XML to display right. Writing to a temporary file is most likely to be much simpler. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: GetMethod disambiguate

2012-01-08 Thread Mark Hurd
e: > Folks, I’m using reflection to get a method of an object, but there are two > methods that look like this: > > Foo.CreateObject(); > > Foo.CreateObject(); > > I can’t figure out how to call GetMethod(???) to get the first one. Anyone > know off the top of their head?! &

Re: ASP.NET web site

2011-12-13 Thread Mark Hurd
Could it require ASP.NET 1.1 not 2.0? -- Regards,Mark Hurd, B.Sc.(Ma.)(Hons.) On 14 December 2011 16:52, Peter Maddin wrote: > That is what I first thought, so I checked up on some asp examples. > > It does not look like asp so I suppose it must be asp.net using vb.net just > reall

Re: Setting DOS environment variables

2011-10-25 Thread Mark Hurd
), but are not generally able to be changed by external processes. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 26 October 2011 10:28, Greg Keogh wrote: > Chaps, I think I’ll abandon this experiment again. I’m not happy with the > way the new function stuffs your values into the HKCU or HKLM hiv

Re: Name of process

2011-10-14 Thread Mark Hurd
And just emphasising the answer to the question asked: the process is "interpolation". -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 14 October 2011 17:32, Ian Thomas wrote: > Not the answer you want – just to point out that this is a not-uncommon > requirement, and software tools

Re: XMLSerializer error

2011-10-11 Thread Mark Hurd
IIRC these are because the XmlSerializer generates the C# code required for the serialisation and compiles it "on the fly" and the file not found errors are signals to it that this has not yet been done. There may be a fix whereby you ensure the serializer IS pre-compiled. -- Regards,

Re: Simple or hard solution

2011-09-29 Thread Mark Hurd
Whoops, I was sure the OP of /this/ thread was someone other that Anthony :-) -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 30 September 2011 10:59, Mark Hurd wrote: > Note that if this were possible, Anthony Mayan's request to display > all arguments to a function would be possib

Re: Simple or hard solution

2011-09-29 Thread Mark Hurd
Note that if this were possible, Anthony Mayan's request to display all arguments to a function would be possible, because reflection can give you the argument names, as was mentioned. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 29 September 2011 17:01, wrote: > Hello > > Spri

Re: Get Method Argument values?

2011-09-28 Thread Mark Hurd
t'd probably rely on the .PDB being present. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 28 September 2011 02:04, Anthony Mayan wrote: > thanks Billl...did some more research and appear to have to implement > Aspect Oriented Programming using .NET which i never knew > existed...mm...s

Re: [OT] Security clearance for work in Canberra

2011-09-26 Thread Mark Hurd
I agree with Tony. Your future employer will always get you clearance confirmed. There is no point initiating it your self. Of course you'll save everyone a lot of hassle if you report in your resume anything that may be a red flag. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 26 September

Re: Assembly binding woes

2011-09-19 Thread Mark Hurd
Can't help, but that sounds like a well enough explained problem for stackoverflow.com. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 19 September 2011 15:57, Matt Siebert wrote: > Hi all, > I have some assembly binding weirdness happening that I don't fully > understand.  I

Re: Image meta data

2011-09-14 Thread Mark Hurd
expect you'll find discussion of such things at WikiMedia Commons http://commons.wikimedia.org. > > Greg -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: [OT] SMS Gateways

2011-08-11 Thread Mark Hurd
Be careful with SMS Global: http://www.google.com.au/search?q=SMS+Global+ACCC http://www.austlii.edu.au/au/cases/cth/FCA/2011/855.html -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 10 August 2011 07:12, Kirsten Greed wrote: > Thanks Paul & Glen, I am checking out their trial now. >

Re: Set property of texbox by name

2011-07-28 Thread Mark Hurd
ith you James. >> >> I usually do something like (psuedoish) >> >>       if (b.Name.ToString().ToLower().Trim() = "foo") b.Text = "bar"; > > IMO > 1) ToSring is unnecessary >  2) Trim is unnecessary > 3)  Use String.Compare rather than ToLowe

Re: ASP.NET ItemCommand before PreInit

2011-07-28 Thread Mark Hurd
ked by the sequence of processing. > > > > Greg -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: [ot] Junior dotnet/web programmer required to start yesterday!

2011-07-17 Thread Mark Hurd
obile: +61 417 >> 189 363 >> V-Card: https://www.codify.com/cards/davidconnors >> Address Info: https://www.codify.com/contact >> > > i think i got more comments from the dotnet list then actual > applicantsdidn't know it was such a sensitive issue!  lolits all > good..i now have someone if any was interested.  Yes..we do pay > peanuts...but we only want monkeys! > > > Anthony At least you're honest. Hopefully your prospective applicant saw this whole discussion :-) -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: TestQuest

2011-07-11 Thread Mark Hurd
I assume you've used ProcessMonitor or FileMonitor to determine that. When you don't mind devenv crashing, try finding the handle in ProcessExplorer and closing it. See if any resulting error helps tell you who/what is writing to the file. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: [OT] Software "ownership" (was BYO Computer @ Suncorp)

2011-06-21 Thread Mark Hurd
or at least has first rights to it). This is why open source development on work or /own/ time is an issue. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: [OT] ozdotnet own posts

2011-06-19 Thread Mark Hurd
BTW Although the "ozdotnet post acknowledgement" does arrive, it has the wrong timestamp, and this is also the case for the Ping list acknowledgement, so I don't think it is a list-specific configuration issue. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 19 June 2011 12:26, M

Re: [OT] ozdotnet own posts

2011-06-18 Thread Mark Hurd
I've just tested on the Ping list with a non-Gmail account and both settings for "own posts" worked as expected. It /is/ Gmail doing its thing here. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 17 June 2011 08:38, David Connors wrote: > On Fri, Jun 17, 2011 at 7:08 AM, G

Re: unit testing gone mad

2011-06-05 Thread Mark Hurd
I wouldn't be writing these tests just for themselves, but they do check if someone attempts to change the base class without knowing what is going on. Similarly for the member tests. If these were perhaps created automatically, that would be OK, just. -- Regards, Mark Hurd, B.Sc.(Ma.)

Re: SQLite bulk insert performance

2011-05-28 Thread Mark Hurd
hinted that I had to use PRAGMA >> synchronous = OFF. That’s too weird, so I put a using DbTransaction around >> the bulk inserts and now the whole migrations runs in 10 seconds. >> >> I’m going to cc a copy of this post to the authors of SQLite, as this is a >> shocking gotcha. I’m utterly gobsmacked by the poor performance of the >> inserts without a transaction around them. >> >> >> Greg > > -- > > w: http://jcooney.net > t: @josephcooney -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: install .net 4.0 on different drive

2011-05-21 Thread Mark Hurd
mpty drive, stopping the relevant services before hand. Then delete the original and make the junction in its place, and start the relevant services again. BTW My current favourite disk usage program is WinDirStat http://windirstat.sourceforge.net/ -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 21 May

Re: Non Standard Column Names

2011-05-03 Thread Mark Hurd
I'm not on SQLDownUnder, but is the problem that [Test ID] is an autoincrement column and so is not included in the Inserted columns? -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 4 May 2011 12:18, Anthony wrote: > Oops..wrong group..sorry > > From: ozdotnet-boun..

Re: Is it possible to override a class?

2011-04-29 Thread Mark Hurd
&replace if you feal safe to do so and do the Find All References after to check they've all been changed, as you suggest. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 29 April 2011 16:42, Wallace Turner wrote: > Just a word of warning, that search does not find class members so

Re: Is it possible to override a class?

2011-04-28 Thread Mark Hurd
ot;find usages" feature to find all instances and I can see how the class is > used, then use search and replace to change to the new class (Button -> > MyButton), then refresh the find usages to ensure I got them all. > Of course that much is available in the basic Visual Studio. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.)

Re: GetCurrentMethod possibly returning the "wrong" method (was Re: Raising property changed events)

2011-03-24 Thread Mark Hurd
d-compiler-inlining.aspx but there are a number of clones of this info) So have things changed or was Alex Clark wrong? -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 25 March 2011 02:40, David Kean wrote: > I chased this up with one the devs on the JIT team. He confirmed that the > JIT/NGEN do

Re: Raising property changed events

2011-03-22 Thread Mark Hurd
On 23 March 2011 15:00, Mark Hurd wrote: > I believe it was in this mailing list that we previously confirmed > using GetCurrentMethod, even when included in convoluted ways, > guarantees the method will not be inlined. Gmail says GetCurrentMethod has /not/ been mentioned before on thi

  1   2   >