Re: Tech Support

2020-05-28 Thread Glen Harvy

Hi,

Seems I have led you all astray.

1. The website is hosted on the end user's own hardware and is used 
globally.
2. The website forms a part of a booking system as well as a membership 
management system.
3. It is frighteningly cheap with monthly support costs of about AUD$ 10 
per month. I maintain it, not the end user.
4. It is aimed at sporting clubs with costs to be the prime 
consideration in its IT purchases. Cost seems to be also a major 
influence in the company's employment considerations.
5. It's users almost all enjoy fast internet connections and the 
response times for the website is excellent.


The point of my rare post was to help reveal the trial and tribulations 
of the tech support personnel in your respective businesses. It really 
was intended to get a laugh.


As a matter of interest, the new recruit has again turned their computer 
off when going home tonight.


Of some concern to me is that the website refers to my product. 
Unfortunately, the end users will no doubt expect the continuing web 
site woes to be attributed to my program and as has happened in the 
past, this will be the case put forward by the business.



Glen Harvy,
*Aquarius Communications* <http://www.aquacomm.com.au>




--
This email has been checked for viruses by AVG.
https://www.avg.com


Tech Support

2020-05-27 Thread Glen Harvy

Hi,

I have had a series of requests for help from a certain company over 
many years in which they have been using my program. The staff member 
that runs the office is not to bright when it comes to the tech side of 
computers so I have generally remained calm when none of my 
'suggestions' have been heeded.


Over the past few weeks a new staff member has arrived on the scene. I 
don't know if they are a permanent replacement or addition to the team. 
Nor do I know where my usual contact has disappeared to. Nevertheless, I 
was looking forward to perhaps establishing a relationship where 
'self-help' at the coal face may finally become a reality. Alas, I don't 
think this will come to happen.


Content of emails between me and new team member. This is the full 
content and only a staff members name has been ommitted:


*25th May: Me to client:*

Can you please test your website and ensure that this issue has now been 
fixed.

You confirmation that it is now working OK will be appreciated.

*25th May: Reply from client:*

wont be able to check until the 
morning.


Are members still able to go online in the meantime as the site can't be
reached. Let me know, so I can manage their expectations properly.

*25th May: Me to client:*

Your computer "crashed" at about 5:30 pm last Friday and didn't come 
back into action until about 9:30 am Monday. Hence your website was 
down. This has nothing to do with MyCourts except of course your website 
was also down..


Your computer again "crashed" about 5:30 pm this evening. Again, this 
has nothing to do with MyCourts. As at 6:18 this evening, your computer 
seems to be working OK.


We installed the latest versions of MyCourts this morning and as far as 
we can tell, MyCourts has been working fine since then.


I believe your password for user Staff has been changed. As we need this 
to reboot your computer from time to time, can you please advise us what 
the new password is.


*28th May: No reply so Me to client:*

I am only guessing but I understand your computer is actually a laptop. 
If so, and you are closing the screen down when leaving at night, you 
are locking the machine and nothing is working. Hence your website shuts 
down and our ability to login remotely is disabled. This could be the 
reason your website has been unreachable from about 5:30 pm to 9:30 am 
weekdays as well as all last weekend.


Can you confirm this is the case please.

*28th May: Reply from client:*

Its hosted by a computer at the office. Its a bit concerning that we would
have to leave the computer running throughout the night for mycourts to
able to function properly.



--

Glen Harvy,
*Aquarius Communications* <http://www.aquacomm.com.au>



--
This email has been checked for viruses by AVG.
https://www.avg.com


Re: Versioning Solutions

2019-08-17 Thread Glen Harvy

So 

I think it would be best to have separate projects for each version. 
Branching would seem to be a bit over-the-top with maintaining 3+ 
versions because the now superseded version will likely only have bug fixes.


Glen Harvy,
*Aquarius Communications* <http://www.aquacomm.com.au>

On 17/08/2019 4:48 pm, Glen Harvy wrote:
That would mean issuing special keys for specific customers. I used to 
do what you suggest for the "Pro Version", "Web Enabled Version" etc. 
and it worked reasonably well however I need to have a Support 
Subscription that doesn't include getting all the future Improvements.


It may be better to have two licences. One that is restricted to a 
specific version of the product and another for Support. The specific 
version licence would be perpetual whilst the support would be 
renewable. If they wanted to move up to the new/u-beaut version then 
they would need to buy a new specific licence.


That idea is beginning to appeal as it could all be done automatically :-)

Glen Harvy,
*Aquarius Communications* <http://www.aquacomm.com.au>

On 17/08/2019 1:45 pm, mike smith wrote:
I'd wonder if it wouldn't be easier to have just one version, but 
with extra features enabled or not, depending on customer.  Having to 
maintain fixes in multiple versions gets to be a lot of work, 
testing, etc.


Mike

On Sat, Aug 17, 2019, 13:15 Glen Harvy <mailto:g...@aquacomm.com.au>> wrote:


Hi,

Up till now I have been releasing updates to my projects to all
valid licence holders if they have a current 'support/upgrade'
licence. What I want to do is  keep maintaining the current
version (for example version 15) but I also want to release a new
version (for example version 16). I want to charge version 15
licence holders should they wish to upgrade to version 16 but at
the same time I will maintain version 15 for bug fixes and minor
improvements etc.

A complication is that Version 16 will have updated third party
libraries whilst version 15 will only have the current version of
the third party library. Unfortunately, the different versions of
the third party libraries cannot both be installed on the same
machine.

I believe the above scenario will mean that I will need to
maintain separate projects for version 15 as well as version 16
plus (one day) version 17 etc.  Unless I update version 15 third
party libraries to the newer versions of their libraries (and
that is an option) then the separate projects will also need to
reside on separate machines.

I assume that the above can and probably often is resolved by
using Git and branches which I do currently use for tracking but
I was wondering if anyone else can share their experience before
I take any course.



Glen Harvy,
*Aquarius Communications* <http://www.aquacomm.com.au>



<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=emailclient>
Virus-free. www.avg.com

<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=emailclient>


<#m_6029028682910055284_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>









---
This email has been checked for viruses by AVG.
https://www.avg.com


Re: Versioning Solutions

2019-08-17 Thread Glen Harvy
That would mean issuing special keys for specific customers. I used to 
do what you suggest for the "Pro Version", "Web Enabled Version" etc. 
and it worked reasonably well however I need to have a Support 
Subscription that doesn't include getting all the future Improvements.


It may be better to have two licences. One that is restricted to a 
specific version of the product and another for Support. The specific 
version licence would be perpetual whilst the support would be 
renewable. If they wanted to move up to the new/u-beaut version then 
they would need to buy a new specific licence.


That idea is beginning to appeal as it could all be done automatically :-)

Glen Harvy,
*Aquarius Communications* <http://www.aquacomm.com.au>

On 17/08/2019 1:45 pm, mike smith wrote:
I'd wonder if it wouldn't be easier to have just one version, but with 
extra features enabled or not, depending on customer.  Having to 
maintain fixes in multiple versions gets to be a lot of work, testing, 
etc.


Mike

On Sat, Aug 17, 2019, 13:15 Glen Harvy <mailto:g...@aquacomm.com.au>> wrote:


Hi,

Up till now I have been releasing updates to my projects to all
valid licence holders if they have a current 'support/upgrade'
licence. What I want to do is  keep maintaining the current
version (for example version 15) but I also want to release a new
version (for example version 16). I want to charge version 15
licence holders should they wish to upgrade to version 16 but at
the same time I will maintain version 15 for bug fixes and minor
improvements etc.

A complication is that Version 16 will have updated third party
libraries whilst version 15 will only have the current version of
the third party library. Unfortunately, the different versions of
the third party libraries cannot both be installed on the same
machine.

I believe the above scenario will mean that I will need to
maintain separate projects for version 15 as well as version 16
plus (one day) version 17 etc.  Unless I update version 15 third
party libraries to the newer versions of their libraries (and that
is an option) then the separate projects will also need to reside
on separate machines.

I assume that the above can and probably often is resolved by
using Git and branches which I do currently use for tracking but I
was wondering if anyone else can share their experience before I
    take any course.



Glen Harvy,
*Aquarius Communications* <http://www.aquacomm.com.au>



<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=emailclient>
Virus-free. www.avg.com

<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=emailclient>


<#m_6029028682910055284_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>






---
This email has been checked for viruses by AVG.
https://www.avg.com


Versioning Solutions

2019-08-16 Thread Glen Harvy

Hi,

Up till now I have been releasing updates to my projects to all valid 
licence holders if they have a current 'support/upgrade' licence. What I 
want to do is  keep maintaining the current version (for example version 
15) but I also want to release a new version (for example version 16). I 
want to charge version 15 licence holders should they wish to upgrade to 
version 16 but at the same time I will maintain version 15 for bug fixes 
and minor improvements etc.


A complication is that Version 16 will have updated third party 
libraries whilst version 15 will only have the current version of the 
third party library. Unfortunately, the different versions of the third 
party libraries cannot both be installed on the same machine.


I believe the above scenario will mean that I will need to maintain 
separate projects for version 15 as well as version 16 plus (one day) 
version 17 etc.  Unless I update version 15 third party libraries to the 
newer versions of their libraries (and that is an option) then the 
separate projects will also need to reside on separate machines.


I assume that the above can and probably often is resolved by using Git 
and branches which I do currently use for tracking but I was wondering 
if anyone else can share their experience before I take any course.




Glen Harvy,
*Aquarius Communications* <http://www.aquacomm.com.au>



---
This email has been checked for viruses by AVG.
https://www.avg.com


Change address

2018-05-08 Thread Glen Harvy

Hi,

How do I go about changing my email address for this echo.

Glen.


---
This email has been checked for viruses by AVG.
http://www.avg.com


Re: Anybody out there?

2017-12-27 Thread Glen Harvy


Merry bloody Christmas to you too :-(

On 28/12/2017 2:54 PM, Tony Wright wrote:
Merry Christmas everyone from Da Nang, Vietnam, where my brother has a 
house with not 1, not 2 but three, yes three fibre to the home 
connections (he runs a business and needs the redundancy) Each 
connection costs him $8 per month and had no data limit.







---
This email has been checked for viruses by AVG.
http://www.avg.com


Re: [OT] WMWare slow Windows 10

2017-05-16 Thread Glen Harvy
I'm still on vmware 11.1.4 and noticed a substantial slowdown with Win10 
immediately after the last windows update. To try and fix I removed 
heaps of snapshots that I had failed to get rid of and then defragged 
the win10 installation. I then defragged the drive the host drive. 
Loading has improved and the performance has noticeably improved.


glen



Re: Windows folder redirection and Assembly.GetExecutingAssembly().Location and editing a .config file at run time

2017-04-06 Thread Glen Harvy

Hi,

What is the information you need to store? If it's paths then you could 
record the path in the config file and then have that path redirected to 
where you really install the data.


Frankly, changing permissions is very simple to do so changing 
permissions, editing and then changing back is no big deal. I have my 
installer run a simple program to do what you want and it works OK.


Glen.
On 6/04/2017 7:17 AM, Preet Sangha wrote:

team,

I have a .config file (not the main blah.exe.config) that needs some 
special mangling at runtime.



My google fu is failing me. Provided that I'm running on a OS Window 
7+, will the above .net 4.52 call and I write to the file, do I have 
to anything special to allow my program to write to the file? My code 
can request 'Run as ADMIN" access for when they need to do this operation.


The issue I face is that this file belongs to a third party product 
but we have to install it. The file cannot be edited at install time 
as this information is only known later at run time. I'm looking for a 
way to not have to manually have to (a) have to edit the security on 
the file in (b) keep the file protected for any other casual access.



I'm sure this is a solved problem but I don't seem to be able to find 
an answer.





regards,
Preet, in Auckland NZ






Re: Ozdotnet list

2017-04-03 Thread Glen Harvy
I know I don't contribute much but I do support the move although the 
move will likely not increase participation in itself.


If you want to increase participation then we will need to promote the 
echoes and if at all possible gain some support from generous 
benefactors. Getting a web site presence is step 1 as far as I can suggest.


Glen.

On 3/04/2017 4:30 PM, Stephen Price wrote:


It's been some years since the big move to Mr Connors gracious hosting 
of the eList. Thanks for that by the way David!



For whatever reason it lives on, despite the low traffic. Perhaps it's 
the entertainment value of people who live/vent there. Hard to 
measure. I expect David would have a way to tell how many people are 
still on the list.


I do think Aussie developers deserve/need our own identity, and our 
own community. Well, it does exist but I do wonder if other forums 
might better suit the needs (and yet still we are here with people 
subscribed...).


As an Admin of the current group (workload of said role is rather low. 
ie It's been almost ten years since I had to do anything Admin like. 
The Admin list seems to be gone)


I've noticed that Discourse.org now exists and is open source. And 
Free. And has code highlighting built in. And also has elist delivery 
out of the box. As well as a web interface if that floats your boat. 
Ticks all the boxes from what we were looking for many years ago.


Full feature list is here https://www.discourse.org/about/ 



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 talk to me about that. Just don't. Ok?


Seriously, stop looking at me.

So how do we brand it? OzDev? Did we ever end up with a domain name? 
It would be a good time to get one if not.


The best part about this is David will have to do most of the work, 
but if we still have any Admins left on this list (maybe it's just me 
and David?) assistance would be good, just put your hand up.


I have a fond memory of the AusDotNet list and have been on it for my 
entire developer career. It's been invaluable. Time to bring it 
kicking and screaming into the Internet of today, a limelight for 
fellow Aussie developers both existing, and yet to be. We have a big 
community and I'd like to be able to give back to it.


Will do some work on a logo (or outsource it to my daughter who'd 
doing a graphic design degree)...


Discuss.
Stephen





Re: Friday Rant (today!)

2017-01-21 Thread Glen Harvy

For what it's worth, I agree with you wholeheartedly :-(

On 22/01/2017 3:20 PM, Greg Keogh wrote:


So overall, either I'm really missing something, or nothing much has 
changed and WiX is still just a huge XML file with a jumbled set of 
command line tools.


/GK/





Re: Expired MSDN Subscription - Transfer of VS to a new machine

2016-08-14 Thread Glen Harvy

Hi,

I can login to my MSDN account even though the subscription has expired. 
Notwithstanding, it clearly states that a "Product Key" is not required 
nor is one available!


On 15/08/2016 1:10 PM, David Burstin wrote:
>> From memory, if you login to the MSDN subscriber site, you can 
still get access to your old keys


My experience has been that once my subscription expired, I could no 
longer log in to the MSDN site to get my previous product keys.


On 15 August 2016 at 13:34, Ken Schaefer <k...@adopenstatic.com 
<mailto:k...@adopenstatic.com>> wrote:


VS2013 had a static product key – it just varied depending on the
edition you wanted to install.

From memory, if you login to the MSDN subscriber site, you can
still get access to your old keys (though I could be wrong about that)

*From:*ozdotnet-boun...@ozdotnet.com
<mailto:ozdotnet-boun...@ozdotnet.com>
[mailto:ozdotnet-boun...@ozdotnet.com
<mailto:ozdotnet-boun...@ozdotnet.com>] *On Behalf Of *Glen Harvy
*Sent:* Monday, 15 August 2016 11:46 AM
*To:* ozDotNet <ozdotnet@ozdotnet.com <mailto:ozdotnet@ozdotnet.com>>
*Subject:* Expired MSDN Subscription - Transfer of VS to a new machine

Hi,

I'm currently in a dispute with Microsoft in that I have been
unable to "activate" my licence as they claim I have "exceeded" my
activations.
All I want to do is move my VS2013 installation from my old PC to
a new PC.

My MSDN subscription expired some time ago however I'm supposed to
have a perpetual licence. At least that's how I understood it.

They are also adamant that I need a Product Key. Product Keys have
never been needed/available for VS2013 and above when acquired via
a MSDN subscription.

Has any one else ever run into this brick wall?

Glen.







Expired MSDN Subscription - Transfer of VS to a new machine

2016-08-14 Thread Glen Harvy

Hi,

I'm currently in a dispute with Microsoft in that I have been unable to 
"activate" my licence as they claim I have "exceeded" my activations.

All I want to do is move my VS2013 installation from my old PC to a new PC.

My MSDN subscription expired some time ago however I'm supposed to have 
a perpetual licence. At least that's how I understood it.


They are also adamant that I need a Product Key. Product Keys have never 
been needed/available for VS2013 and above when acquired via a MSDN 
subscription.


Has any one else ever run into this brick wall?

Glen.


Version Control

2015-02-22 Thread Glen Harvy

Hi,

I am using ToirtoiseHG to keep track of my projects however I rarely 
need to actually fallback onto using it and am certainly no expert in 
its use.


Having said that, I am thinking of changing my licencing methodology to 
issue licences for specific versions of my application. When substantial 
features are added to my application I want to charge at least some 
upgrade fee. At present, end-users can take out a support contract which 
enables them to upgrades and support but very few actually do this.


Anyhow, the point is that I can see that some users will stick to their 
current version but expect bug fixes whilst they have a support contract 
for the version they own. Whilst I would expect some of these fixes to 
be passed up to newer versions, not all fixes will need to be and in 
fact could cause more bugs.


To be in perspective, I wouldn't think that non-current versions would 
require support beyond say a 2 year time frame. New major versions would 
only come out once or twice a year.


It's seems that I should create projects for each version and any 
cascading bug fixes will need to be applied manually.


I would appreciate any feedback to enable me to make some proper 
planning now rather than later when they may be forced upon me.


Thanks.

Glen.


Re: Programmatically call forward

2014-12-16 Thread Glen Harvy

The short answer is - Yes.

A long time ago, in a galaxy far far away, there were modems. You 
plugged the phone line into them and then plugged the modem into your 
coms/serial port. The software would then send commands to the modem to 
send the appropriate tones for '*' '2' '1'' phone number' '#'.


I see no reason why you still can't do it. CodeProject had several 
examples you can use to send the appropriate code to your modem/router 
and it should also be possible to interface with the modem/router via 
the network rather than the serial port.


You may need an API to the router, not the telco service provider.


On 16/12/2014 10:05 PM, Craig van Nieuwkerk wrote:

Can I do this programatically though, from a .NET program?

On Tue, Dec 16, 2014 at 9:00 PM, Mark Hurd markeh...@gmail.com 
mailto:markeh...@gmail.com wrote:


On: *21forward number#
Off: #21#

--
Regards,
Mark Hurd, B.Sc.(Ma.)(Hons.)

On 16 December 2014 at 18:58, Craig van Nieuwkerk
crai...@gmail.com mailto:crai...@gmail.com 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 anyone knows about for
things like
 this?

 Craig


asp.net / database / coding issue.

2014-02-11 Thread Glen Harvy

Hi,

I have had a problem with one client of mine where they run a court 
rental agency for various councils and they do everything on a 
shoestring. I believe everything in the office is run on a laptop with 4 
gig memory including my software which includes a web server which 
provides their users with the ability to book courts. I have had no 
reports of the problem from any of my other clients.


The specific issue is when I check that there are no present bookings 
before allowing a new booking for any specific time frame.


I have little in-depth knowledge of asp.net however I do believe that 
each customer logged on have their own session state and the html is 
created in that state and then fed to the customers browser. There 
should be no cross-over of this data in-memory however I notice that the 
problem seems to occur when there are more than two users logged in. I 
mention this because the problem may be with my coding and not with the 
database.


Here's the code which I have only just heavily modified in an effort to 
capture the specific problem:


[code=csharp]
  bool available = true;
  string location = ;

  Columns columns = requestedColumnNames(bookingStartDT, 
bookingPeriods);

  int columnsToBeCheckedCount = columns.ColumnsFirstDay.Count;
  int conflictsFound = 0;
  int columnsChecked = 0;


  using (MCData.DBManager dbManager = new 
MCData.DBManager(AppSettings.DataDirectory))

  {
try
{
  location = Day 1;
  dbManager.Open();
  dbManager.AddParameter(@BookingDate, bookingStartDT.Date);
  dbManager.AddParameter(@FacilityID, facilityID);
  dbManager.ExecuteReader(CommandType.Text,
string.Format(SELECT BookingDate, Court, {0} FROM BTable 
WHERE BookingDate = @BookingDate AND Court = @FacilityID, 
columns.CSVFirstDay));
  logger.Debug(+++ FacilityID [{0}], 
dbManager.Parameter[@FacilityID].Value);
  logger.Debug(+++ BookingStartDT [{0}], 
dbManager.Parameter[@BookingDate].Value);

  logger.Debug(+++ SQL [{0}], dbManager.Command.CommandText);
  logger.Debug(+++ Connection string [{0}], 
dbManager.ConnectionString);

  int fieldsReturned = 0;
  using (IDataReader rdr = dbManager.DataReader)
  {
while (rdr.Read())
{
  for (int i = 0; i  rdr.FieldCount; i++)
  {
string column = rdr.GetName(i).ToString();
if (column.StartsWith(T))
{
  fieldsReturned++;
  columnsChecked++;
  if (!Convert.IsDBNull(rdr.GetValue(i)))
  {
logger.Debug(+++ Facility [{0}] Date [{1}] Column 
[{2}] value is not null [{3}].,
  facilityID, bookingStartDT.Date, column, 
rdr.GetValue(i));

conflictsFound++;
  }
}
else if (column == BookingDate)
{
  logger.Debug(+++ BookingDate returned [{0:-MM-dd 
HH:mm:ss}], rdr.GetValue(i));

}
else if (column == Court)
{
  logger.Debug(+++ Court returned [{0}], 
rdr.GetValue(i));

}
  }
}
  }

  logger.Debug(+++ Number of fields tested for null value 
[{0}] of a total TColumn count of [{1}],

fieldsReturned, columns.ColumnsFirstDay.Count);

  logger.Debug(+++ Columns to be checked count [{0}] Columns 
cheked count [{1}],

columnsToBeCheckedCount, columnsChecked);

  if (columnsChecked == columnsToBeCheckedCount  
conflictsFound  0)

  {
logger.Debug(+++ All columns checked. Number of conflicts 
found [{0}], conflictsFound);

available = false;
  }
  if (available  columnsChecked != columnsToBeCheckedCount)
  {
logger.Debug(+++ Not all columns checked. Setting 
availability to false.);

available = false;
  }

  if (available  conflictsFound  0)
  {
logger.Debug(+++ Number of conflicts found [{0}], 
conflictsFound);

available = false;
  }

  logger.Debug(+++ Available status is [{0}], available);

[/code]


Now here's the log portion:

2014-02-12 09:42:07.9304 HP-HP MyCourtsOnline.Default.#wPc ypaul 
Checking For Booking Conflicts RequestedFacilityID [6] RequestedStartDT 
[12/02/2014 5:30:00 PM] RequestedPeriods [3]
2014-02-12 09:42:07.9704 HP-HP 
MyCourtsOnline.CheckForConflictingBookings.#9gg ypaul +++ FacilityID [6]
2014-02-12 09:42:07.9704 HP-HP 
MyCourtsOnline.CheckForConflictingBookings.#9gg ypaul +++ BookingStartDT 
[12/02/2014 12:00:00 AM]
2014-02-12 09:42:07.9704 HP-HP 
MyCourtsOnline.CheckForConflictingBookings.#9gg ypaul +++ SQL [SELECT 
BookingDate, Court, 
T1730,T1740,T1745,T1800,T1815,T1820,T1830,T1840,T1845 FROM 

Re: [OT] Taking iiNet to TIO

2013-12-17 Thread Glen Harvy

Never taken anyone to the TIO but this is my suggestion...

1. Cancel the Credit Card.
2. Get new Credit Card.
3. When threatened by IINet, refer them to TIO complaint number.
4. Ignore any further mail etc from IINet.
5. Move on ...

Merry Xmas

On 17/12/2013 10:44 PM, Girish Madan wrote:

Hi,

Just wanted to ask if anyone had any experience in making a complaint 
against iiNet to TIO.


I signed up on a 24 months Phone, ADSL and TV Combo at the start of 
this year. After 10 months of over charging my credit card, faulty 
hardware and extremely poor customer service, i've had enough and want 
to cancel the contract.


Unsurprisingly, they want me to pay to cancel the contract even though 
i've already been paying for the service that didn't work for a while.


Cheers

Girish


Visual Studio Deployments

2013-10-23 Thread Glen Harvy

Visual Studio 2013: InstallAware 18's new Visual Studio 2013 Add-In 
automatically builds setups from your Visual Studio 2013 solutions, 
automatically including dependencies such as .NET Framework 4.5.1. Did you know 
that our Visual Studio edition is completely free?






Re: Creating Manuals/User Guides

2012-10-29 Thread Glen Harvy

  
  
DrExplain



On 30/10/2012 12:41 PM, Corneliu I.
  Tusnea wrote:

Hi,
  
  
  Anyone has a good way of creating manuals/training/user
guides?
  
  
  I've found HTML/Word very cumbersome and more or less useless
so I'd like something "better".
  
  
  There is also a service (www.dozuki.com) that is the
basis of iFixIt website that looks great and they use an "open
source" format called omanual (http://omanual.com/) however
there seem to be no parsers or content-creators that work with
omanual except the one from dozuki and I don't feel like paying
$150 a month for a service to host few user guides.
  
  
  Thoughts?
  
  
  Thanks,
  Corneliu.


  





Win8 Start Button

2012-10-10 Thread Glen Harvy

  
  
Hi,
  
  Has anyone else noticed that the Start button functionality has
  been 're-instated' in the latest Win8 update? Just move your mouse
  to where the start button used to be and you will be shown the
  link to the Start screen.
  
  Glen.
  

  





Re: VS2012 doesn't support setup projects

2012-10-04 Thread Glen Harvy

  
  


You can’t open
this project in Visual Studio 2012 RC because it doesn't support
that project type. We recommend that you use InstallShield
Limited Edition for Visual Studio (ISLE), a free deployment
solution that directly supports most Windows platforms and
application runtimes. ISLE also supports importing data and
settings from Visual Studio Installer projects. For more
information, see Windows
Installer Deployment.


  
On 5/10/2012 9:33 AM, Donald wrote:


  
  
  it seems to be the case, see blog below from Visual Studio
ALM
  http://blogs.msdn.com/b/buckh/archive/2011/03/17/visual-studio-setup-projects-vdproj-will-not-ship-with-future-versions-of-vs.aspx
  
  
  Visual Studio 2012 Compatibility
  http://msdn.microsoft.com/en-us/library/hh266747.aspx
  
  
  Some people have suggested as an alternative to keep VS2010
around to build .vdproj setup files, but I think this is only s
short term solution.
  

On 5 October 2012 09:12, Greg Keogh g...@mira.net
  wrote:
  

  
I have been sanity checking that
  VS2010 projects will open and build in VS2012. I have
  stumbled across that fact that ‘vdproj’ setup projects
  are no longer supported. I heard nothing about this
  and it’s quite a shock. I have dozens of setup
  projects that with custom actions to install web
  sites, services and desktop apps.
 
Web searches so far hint that I can
  convert the vdproj files into InstallShield Limited
  Edition projects (I’ve never used them), or I’m
  supposed to use WiX (huge learning curve?). THIS link says:
 
Future versions
of Visual Studio will not include the Visual Studio
Installer project templates. To preserve existing
customer investments in Visual Studio Installer
projects, Microsoft will continue to support the
Visual Studio Installer projects that shipped with
Visual Studio 2010 per the product life-cycle
strategy. For more information, see Expanded Microsoft Support
  Lifecycle Policy for Business  Development
  Products. 
 
However, the link leads to a
  generic Support page with nothing about setup
  projects.
 

  What am I supposed to do with all my vdproj files?
  This is a small disaster for migration to VS2012.


   
Greg
 
  

  


  


  






Re: Win8 Tiles, Shortcuts and multi-program applications.

2012-08-22 Thread Glen Harvy

  
  
Hi,
  
  Thanks Ian. Things are certainly hotting up in the new/updated MS
  program world.
  
  So far two people have explained how Win8 Application navigation
  works and now this so it is becoming clear that I wasn't clear in
  the first place. Probably my pathetic attempt at using ozzie
  colloquialisms and assumptions ... sigh.
  
  It is IMHO, far to early to foretell if the general public
  will quickly adapt to the new navigation. Having only used Win8
  RTM on my VM and only to test my own application, I'm certainly
  not qualified to make any educated guesses. I do know that the new
  navigation did not immediately impress me with it's ease but I
  readily accept we have a whole new concept in Win8 and I will have
  to change my ways as well as my program.
  
  I do however believe that until my application evolves and adapts
  to the changing times, my end users will appreciate what
  in effect is a two click start of either my Main program or
any of its Secondary programs. 
  
  This should be easy to achieve by creating a Metro Inspired
  application that does nothing else but open a full screen window
  with a tile/shortcut to each of those programs. If the new Metro
  Inspired application is pinned to the Start Screen (not the Start
  Menu) then the end user will only need to click twice from the
  Start Screen rather than type anything on the keyboard to start a
  Secondary program from the All Apps screen. Alternatively, they
  can use the new Metro navigation technique as I will support that
  as well.
  
  The creation of the new Metro inspired application should take me
  not much longer than a few minutes if you believe the sales pitch
  from DevExpress :-) Designing the Tiles background image will
  take me days although perhaps Blend will come to the rescue.
  
  I hope the above clarifies my original post. I would appreciate
  comments as to whether you believe there is a need to even bother
  with implementing the above and/or if it will prove as easy to
  implement as it sounds?
  
  Thanks,
  
  Glen.

  





Re: Win8 Tiles, Shortcuts and multi-program applications.

2012-08-21 Thread Glen Harvy

  
  
Hi Damon,
  
  Thanks for your response but I think you missed the point of my
  post.
  
  On a blank first time install of Win8 Pro there are 50 Microsoft
  Apps tiles displayed on the All Apps window. I have only installed
  Total Commander which has added 2 more tiles. I'm pretty sure that
  my application will add a minimum of 5 more.
  
  I have over 70 icons/shortcuts on my Win7 Desktop. The mind
  boggles as to how many tiles I'll have on one screen if/when I
  upgrade to Win8.
  
  I can't believe that I am doing this right and MS really expects
  me (the end user) to get used to it.
  
  My immediate thoughts are to spend a day writing a Metro style
  desktop app so the end user has just one point of entry to my
  program/sub-programs and that app will be pinned to the Start
  Window. I don't really have a problem with this either - sounds
  rather a good idea. But is it necessary?
  
  Do you think that is a good idea or am I missing something?
  
  Glen.
  

On 21/08/2012 3:15 PM, Damon Pollard
  wrote:

Start  Right Click  All Apps  Click the
  button [-] in the bottom right corner.
  
  
  This will bring up a 'Directory' listing of all the installed
Apps  Click the category (your program) you want and it will
jump to the set of programs you want.
  
  
  As for the creating icons etc. I have no idea ;)
  
  
  Damon Pollard

On Tue, Aug 21, 2012 at 9:15 AM, Glen
  Harvy g...@aquarius.com.au
  wrote:
  
 Hi Shielas and Fellas,

Installing an application in Win8 results in my desktop
applications 3 "sub - programs" being included as
tiles/links on the Win8 Start Screen whilst the main
programs tile/link doesn't get included on the Start
Screen at all.

I believe I can fix this by pinning the main programs
link to the Start 'Menu' and ensuring the sub-programs
are unpinned to the Start Screen.

The main program still appears on the Desktop Screen but
to locate the sub-programs will mean they are located on
another screen that will in effect hold possibly
hundreds of other sub-programs as well.

There has been some discussion regarding creating a
dedicated Metro Style application that would do nothing
else but act as a launch-pad for the Main and
sub-programs.

I appreciate that eventually programs will be re-written
to accommodate Win8 however this won't happen for years.
I'm not to certain that the current Win8 format with
regards to sub-programs will survive the test of time
either. In the interim, what are you doing to make your
multi-program application 'fit' into Win8 as seamlessly
as possible.

Also, how does one create and add a reasonably decent
'Tile' to hold the applications icon?

I would have thought all the above would have been
discussed to death by now but I can't find much via
Google - probably because I'm using the wrong search
terms!

Regards,
Glen.


   
  


  


  





Win8 Tiles, Shortcuts and multi-program applications.

2012-08-20 Thread Glen Harvy

  
  
Hi Shielas and Fellas,
  
  Installing an application in Win8 results in my desktop
  applications 3 "sub - programs" being included as tiles/links on
  the Win8 Start Screen whilst the main programs tile/link doesn't
  get included on the Start Screen at all.
  
  I believe I can fix this by pinning the main programs link to the
  Start 'Menu' and ensuring the sub-programs are unpinned to the
  Start Screen.
  
  The main program still appears on the Desktop Screen but to locate
  the sub-programs will mean they are located on another screen that
  will in effect hold possibly hundreds of other sub-programs as
  well.
  
  There has been some discussion regarding creating a dedicated
  Metro Style application that would do nothing else but act as a
  launch-pad for the Main and sub-programs.
  
  I appreciate that eventually programs will be re-written to
  accommodate Win8 however this won't happen for years. I'm not to
  certain that the current Win8 format with regards to sub-programs
  will survive the test of time either. In the interim, what are you
  doing to make your multi-program application 'fit' into Win8 as
  seamlessly as possible.
  
  Also, how does one create and add a reasonably decent 'Tile' to
  hold the applications icon?
  
  I would have thought all the above would have been discussed to
  death by now but I can't find much via Google - probably because
  I'm using the wrong search terms!
  
  Regards,
  Glen.
  
  

  





Re: Fwd: Announcing Windows Store and Windows Phone Developer accounts for MSDN Subscribers

2012-08-08 Thread Glen Harvy

  
  
Hi,
  
  Had the same problem once before.
  
  Microsoft actually responded by phone to my post in this list and
  confirmed it was legit. I think they said it was not one of
  Microsoft's better choice of email addresses. It seems it is also
  out of Microsoft Singapore.
  
  

  





Renaming

2011-09-26 Thread Glen Harvy

  
  
Personally, I don't see a change of title
  making any difference to the content.
  

  





Re: HEADS UP: Fwd: Microsoft: Windows Azure - Activation Benefits

2011-09-12 Thread Glen Harvy


  
  
Hi Andrew,
  
  The newspaper article was the main reason I was prompted to look
  into this event further. It was in Sundays Telegraph. It was
  either on page 3 or another subsequent odd page number under "News
  Items". It was a very brief item only.
  
  The bit.ly address is the main reason I thought this was a scam
  although when first clicking the link, I didn't even check the
  address.
  
  I originally didn't look at any little green shields or any other
  item to show it was a genuine web page.
  
  I took no precautions at all 
  
  Another poster has already stated why I did what I did, and that
  was because of the phone call. Because of the phone call I didn't
  do any of the steps I usually take, even if only briefly, to avoid
  these issues.
  
  Whoever used the bit.ly address should be taken out and shot.
  
  Regards,
      
  Glen Harvy.
  

On 12/09/2011 6:34 PM, Andrew Coates (DPE AUSTRALIA) wrote:

  
  
  
  
  
Hi
Glen,

[NB,
Ive added the folk on the CC line so theyre across this
reply and to close the loop with them]

  


  





Re: Window Management software

2011-09-09 Thread Glen Harvy


  
  
It lasted about 20 minutes here
and then threw .net4 errors...

On 9/09/2011 4:40 PM, Wallace Turner wrote:

  
  Thanks, installed Dual Monitor... is awesome, not really sure how
  UltraMon is in business. 
  
  On 8/09/2011 10:50 AM, Williams, Thomas wrote:
  




  I was using ZBar http://www.zhornsoftware.co.uk/zbar/
  (free) to extend the task bar across two monitors 
  recently switched to Dual Monitor Taskbar http://sourceforge.net/projects/dualmonitortb/
  (also free) as it has better Windows 7 theme support.
  
  Thomas
  
  
  From:
  ozdotnet-boun...@ozdotnet.com
  [mailto:ozdotnet-boun...@ozdotnet.com]
  On Behalf Of Stephen Price
  Sent: Thursday, 8 September 2011 11:36 AM
  To: ozDotNet
  Subject: Re: Window Management software
  
  I use
displayfusion, and used to use ultramon. Prefer
displayfusion, it has a few features that ultramon does but
not quite as well. (widescreen wallpapers for example). both
are pretty good
  
On Thu, Sep 8, 2011 at 7:55 AM, Raghu
  Rana raghur...@gmail.com

  wrote:
You could also look at 
http://www.displayfusion.com/

  

  On Thu, Sep 8, 2011 at 8:56 AM, Joseph Clark jcl...@atlassian.com

  wrote:
   I've been using Ultramon for years for just one
  single feature - it extends
   the Windows taskbar onto secondary monitors.
  Can't live without it, now.
  
  
   On Wed, Sep 7, 2011 at 10:38 PM, Wallace Turner
  wallacetur...@gmail.com
   wrote:
  
   Does anyone use any window management
  software, free or otherwise, that
   they swear by ?
  
   I'm looking at Divvy right now...
  
  
  
  
  
  

--
Raghu Rana
Mobile: +61 432 139 301
Email: raghur...@gmail.com
  
  


Peninsula Health - Metropolitan Health Service of the Year 2007
 2009 
  
  

  



Re: I'm getting port scanned ??!!

2011-08-30 Thread Glen Harvy


  
  
Had the same problem about 12 years ago
  and my then isp (TPGI) had no other alternative apart from giving
  me a another IP and then close the subnet being scanned.
  
  Ring your ISP and complain - I doubt if anyone here will be able
  to solve the issue.

On 30/08/2011 4:52 PM, Paul Evrat wrote:

  Any suggestions?

Over 2 weeks now my home office PC is getting port scanned repeatedly from -

174.141.226.96,3479

I get router security alerts so assume they are being blocked but the
scanning continues - very annoying.

My PC has no server applications, generally open for skype, othewise Office,
programming, and mundane uses. Did have a port open a while ago for a server
application but closed. On a fixed IP. 

I have looked up the source (USA) and sent the following email without
reply.


To m...@bodhost.com

Mark,

Port scanning from Bodhost server using -

IP 174.141.226.123  Port 3479

Appears to being used for port scanning.

Please advise urgently.

Regards,

Paul Evrat ..




  





Re: Good looking WinForms apps

2011-08-18 Thread Glen Harvy


  
  
No doubt this thread will be 'hijacked'
  into a Winforms vs WPF discussion however your later comments as
  to why appear perfectly valid to me except for one thing which
  need not be discussed here - .Net4 and .Net3.5 can co-exist as far
  as I know.
  
  Have a look at MyCourts. It's at http://www.mycourts.com.au
  .
  
  It's Winforms but uses DevExpress controls extensively. The DevEx
  controls and skins add enough glitz for my purposes. I have often
  thought about porting it to WPF but have decided that the effort
  is not worth it. At the end of the day, I don't think WPF in
  itself will add one more sale of MyCourts to my bottom line.
  
  I understand that DevEx have a number of WPF controls as well so
  perhaps you could 'keep' some of the glitzy UI. You could perhaps
  sell the switch to your Manager without him actually being fully
  aware of your technical changes :-)
  
  Good luck.
  

On 18/08/2011 2:33 PM, Matt Siebert wrote:
Hi folks,
  
  
  Can anyone point out some particularly good looking WinForms
apps? Screenshots will do, a working app I could show someone
would be better.
  
  
  This is a bit of a strange request so I should probably
explain a little...
  
  
  We've built a product using WPF but we have lots of
constraints imposed by the environment we're coding for. This
has caused a lot of extra work with more to come. As such, I
don't think WPF is the right choice and I'm trying to convince
my manager that it's worth considering switching to WinForms
which is much better suited to this environment. He's not a
developer and is fairly visually oriented, and he's worried that
if we were to use WinForms then we may not be able to produce a
good GUI / UX. I've assured him that this isn't the case but
some good examples would help.
  
  
  Cheers.

  





Re: [OT] SMS Gateways

2011-08-09 Thread Glen Harvy


  
  
smsglobal
  
  Give them a ring and they will set you up and give you plenty of
  credit for testing purposes.

On 10/08/2011 5:52 AM, Kirsten Greed wrote:

  
  
  
  
Hi All
Can anyone
  recommend an SMS Gateway, so that I can write
  apps that send text messages?
Thanks
Kirsten



  

  





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

2011-06-22 Thread Glen Harvy

On 22/06/2011 9:04 PM, Scott Barnes wrote:

Define: Code.
Define: Home
Define: Ownership
Define: Exclusivity

etc.

What if I wrote some code that I stole from someone else on Codeplex. 
If the company in question owns that code and I don't, does that 
mean they are the ones getting sued for copyright infringement?

In terms of your first sentence, you are the one that is at fault.


How about if I use open source code to fix problems at work without 
permission of said work and it breaches the conditions of the open 
source license but sadly wasn't caught until say version 9 of the 
software.  Who's at fault?


You are. If the police can prove you broke the speed limit on 1st 
January 2007 then they can charge you with that offence even if you have 
driven on the road since that time.




What if you write the software on Saturday post the maximum National 
Employment Standards and then the said company claims copyright for 
the said work whilst making profit from it. Can I the employee return 
fire and lodge a complaint against the NES? :D


No. Was the copyright claim either stated before you used it or at least 
implied sufficiently for you to be intelligent enough to know that. I 
doubt whether you would like to plead insanity.


Just like a puppy, you may own it and its great when the going is good 
but when it piddles on the floor, you also own that to.


No you don't. The piss on the floor belongs to the owner of the floor. 
You can be sued for defacing the said property.
Most employment agreements are a waste of both your time and the 
employers as they usually have very loose terminology around restraint 
of trade and copyright. It's not just a case of saying We own your 
work you have to spell it out more in specifics when it comes to our 
field for example. Typically a good contract will have clauses that 
have a cascading explosion effect to them - kind of like a role 
playing game where the spell triggers another spell and so on 
 basically nerfing you to the point of non-existence.


The agreement sets out what the parties thereto agree to agree about. 
Not what they will dispute in the future.


The courts generally find it hard to enforce trade/copyright disputes 
between both parties and often will look for the most obvious signs of 
breaching the trust of an employee or employer. In that if you took 
your code to jettison your career in a competitor of tomorrow 
well..you need to trick the court(s) into believing that the employers 
fears are a fabrication of paranoia. If you can't then its really down 
to who poses the most convincing argument - weak contractual 
agreements be damned.


Unless the Court is bound to apply precedents and/or statute law (ie 
laws written by the government that has jurisdiction of that law) then 
they will apply common sense as it is deemed to be in their view. It is 
up to the parties to convince the judge as to what is common sense or 
otherwise explain to him/her the precedents and or laws that may apply 
in the given case.


Bottom line see a lawyer and ask them How do i break out of jail. If 
they are good they'll give you a list of ways this could potentially 
be argued free  clear. I'm yet to see a contract that looked anything 
like the the one i saw for when Microsoft hired the Adobe Photoshop 
Architect. From what i sneaked a peak at, this guy couldn't fart in a 
public place without Microsoft owning formally giving the rights to 
the said public's consumption of its methane composition :D


Similarly, Microsoft may be sued for the effects of said methane. The 
lawyer can be charged with aiding and abetting the escapee.


No one can anticipate what the judge will decide and that's why lawyers 
are the only ones that always win.








Re: [OT] Why IE9 64-bit?

2011-03-24 Thread Glen Harvy


  
  
Hi Ian,
  
  I'm speechless!
  
  Glen.

On 24/03/2011 6:08 PM, Ian Thomas wrote:

  
  
  
  
A Q for Friday. Why would
  anyone want a 64-bit browser?
Im quite content
  with IE9, and installed the beta some time ago.
  Firefox-Opera-CHROME dont
  interest me now that IE handles MHT file save and load
  better, and Im inclined
  to agree with David Connors that browsers became ho-hum a
  long time ago (well,
  thats my extension of his remarks about IE and Netscape).
  
Just installed the final
  IE9 release, and the beautiful (ugh) website detected my
  64-bit CPU
  (I assume) so I downloaded the installer stub and
  completed the install for the
  64-bit version, but I was reminded by that that both
  32-bit and 64-bit versions
  are available/installed (for all the IE9 releases I have
  tried). 
afaik 32-bit is loaded by
  default by Windows 7, and I cant see that a user would
  gain from running
  the 64-bit version when all 32-bit apps that dont use /
  address more RAM
  function fine with Win7. 
Anyone? 

Ian
  Thomas
Victoria
  Park, Western
  Australia
  

  





Upgrading a VS2010 web forms app to .net4

2011-01-24 Thread Glen Harvy


  
  
Hi,
  
  I have asked this question in the asp.net forums as well as
  stackoverflow without any success and I am hoping that someone
  could help me out.
  
  First of all I just changed my Target Framework from 2 to 4 in a
  asp.net web forms application that was working perfectly well in
  asp.net2 and now I have this problem. 
  
  My post on asp.net
  has all the gory details but essentially I have created a new Web
  Forms application in VS2010 that targets .Net4. It runs fine in
  the developer web server - it should as there are no changes :-).
  I then add a reference to a dll that I have compiled for .Net4 and
  VS2010 freezes. When I use Task Manager to shut VS2010 down I get
  the following error messages. The message regarding the source
  file is not displayed until I run Task Manager to shut VS2010
  down. For testing purposes, I removed that dll and added a
  reference to a commercial dll compiled that targets .Net2 with the
  same results.
  
  Can anyone suggest what I am doing wrong.
  
  
  
  Thanks - any and all suggestions appreciated .
  

  





Re: Upgrading a VS2010 web forms app to .net4

2011-01-24 Thread Glen Harvy


  
  
On 25/01/2011 12:56 PM, Noon Silk wrote:
So, is it the combination of your dll and the
  commercial dll that causes the hang in vs2010?
  

No - either causes the problem ... I have tested all three scenarios

1. No dlls works fine
2. commercial dll - nope
3. My dll - nope

It seems like you're affected by two issues at once; a
  crash in the commercial dll is initating the debugger, and vs2010
  isnt handling that correctly. So it seems like we can just claim
  there is an issue with the commercial dll, but I'm probably
  missing something. I really can't say anything useful.
  
  The commercial dll; is it publically available? What is it? Is it
  definately built for .net 4? Does it work when attached to other
  non-webforms projects? (Say, a console application)? What does it
  do? Did you have to install anything, or is it just as-is?
  

The commercial dll targets .net2 and works very well in all other
.net2 and .net4 web forms projects. My dll targets .net4 and works
well in all my win forms projects.

The commercial dll works well in win forms applications targeting
.Net2 and as far as I know, everyone else's projects.
How much code is required, and what is it, to generate
  this issue from scratch? 

Very simple

Create a new win forms project targeting .net4. Add the dll and try
to use a method in said dll in the load event of the default page.


  On Tue, Jan 25, 2011 at 12:46 PM, Glen
Harvy g...@aquarius.com.au
wrote:

   Thanks for responding 
  
  I have tried a completely new web forms project and it is
  that project I am now trying to get working. The only
  thing that I add to the new project is my dll and then as
  another test the commercial dll. The result is the same.
  
  I have the source for my dll however this is no longer the
  sole issue. The commercial dll has the same affect as my
  dll.
  
  I also distribute this web forms site as a built-in web
  server so including my source is not my desired option.
  
  mm.


  
On 25/01/2011 12:25 PM, Noon Silk wrote:
It's hard to answer this as-is I
  think.
  
  Can you try starting a totally new webforms project
  and check if you can reference the dll there?
  
  What is the dll? The person on the asp.net forum was asking you to
  add a reference to the project instead of the dll, on
  the assumption you actually have the source for the
  project (that generates the dll). Do you? If so,
  including it in your solution, and just adding a
  reference to it, will be fruitful, but may not be
  possible.
  
  
  On Tue, Jan 25, 2011 at 11:42
AM, Glen Harvy g...@aquarius.com.au
wrote:

   Hi,
  
  I have asked this question in the asp.net forums as well
  as stackoverflow without any success and I am
  hoping that someone could help me out.
  
  First of all I just changed my Target
  Framework from 2 to 4 in a asp.net web forms
  application that was working perfectly well in
  asp.net2 and now I have this problem. 
  
  My post on asp.net has
  all the gory details but essentially I have
  created a new Web Forms application in VS2010
  that targets .Net4. It runs fine in the
  developer web server - it should as there are
  no changes :-). I then add a reference to a
  dll that I have compiled for .Net4 and VS2010
  freezes. When I use Task Manager to shut
  VS2010 down I get the following error
  messages. The message regarding the source
  file is not displayed until I run Task Manager
  to shut VS2010 down. For testing purposes, I
  removed that dll and added a reference to a
  commercial dll compiled that targets .Net2
  with the same results

Fwd: Re: Upgrading a VS2010 web forms app to .net4

2011-01-24 Thread Glen Harvy


  
  


 Original Message 

  

  Subject: 
  Re: Upgrading a VS2010 web forms app to .net4


  Date: 
  Tue, 25 Jan 2011 15:05:43 +1100


  From: 
  Glen Harvy g...@aquarius.com.au


  Reply-To:
  
  g...@aquarius.com.au


  To: 
  Noon Silk noonsli...@gmail.com

  




Here's my code,  all of a dozen or so
  lines. ...This is the only change to the default site created
  automatically ..
  Default.aspx.cs:
  
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.UI;
  using System.Web.UI.WebControls;
  using MCCommon;
  using VistaDB;
  
  namespace TestDLL
  {
    public partial class _Default : System.Web.UI.Page
    {
      protected void Page_Load(object sender, EventArgs e)
      {
    //VistaDB.Provider.VistaDBConnection.ClearAllPools();
    string dbLocation = @"C:\ProgramData\BlahBlah\Resources";
    ASPxLabel1.Text = dbLocation;
    //int result =
  MyTools.ConvertSNumberToBaseBookingNumber(3.45);//
  CommonData.DataDirectory = dbLocation;
    //ASPxLabel1.Text = result.ToString();
    //Application["DataDirectory"] = dbLocation;
    //Application["AppDirectory"] = dbLocation;
    //CommonData.AppDirectory = dbLocation;
  
  
    //string test = CommonData.AppDirectory;
  
  
    //using (ConfigManager cfgmgr = new ConfigManager())
    //{
      cfgmgr.SetConfigData("DataDirectory", "C:\\");
      cfgmgr.SetConfigData("SharedDataDirectory", "C:\\");
      //cfgmgr.GetConfigData();
      
    //}
      }
    }
  }
  and web.config:
  
    system.web
      trust level= "Full" legacyCasModel="true" /
      compilation debug="true" targetFramework="4.0"
    assemblies
      add assembly="DevExpress.Web.ASPxEditors.v10.2,
  Version=10.2.3.0, Culture=neutral,
  PublicKeyToken=B88D1754D700E49A" /
      add assembly="DevExpress.Web.v10.2, Version=10.2.3.0,
  Culture=neutral, PublicKeyToken=B88D1754D700E49A" /
      add assembly="System.Windows.Forms, Version=4.0.0.0,
  Culture=neutral, PublicKeyToken=B77A5C561934E089" /
      add assembly="System.Design, Version=4.0.0.0,
  Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /
      add assembly="DevExpress.Data.v10.2, Version=10.2.3.0,
  Culture=neutral, PublicKeyToken=B88D1754D700E49A" /
      add assembly="VistaDB.4, Version=4.1.0.0,
  Culture=neutral, PublicKeyToken=dfc935afe2125461"/
      add assembly="MCCommon, Version=9.0.4.0,
  Culture=neutral, PublicKeyToken=d0c57861bf8e7fbf" /
    /assemblies
  
  
  If I comment out the two references in web.config ie VistaDB4 and
  MCCommon, the site works fine. 
  
  If I uncomment either of these two lines AND LEAVE THE web.config
  references commented out:
  
 
  //VistaDB.Provider.VistaDBConnection.ClearAllPools();
    string dbLocation = @"C:\ProgramData\BlahBlah\Resources";
    ASPxLabel1.Text = dbLocation;
    //int result =
  MyTools.ConvertSNumberToBaseBookingNumber(3.45);//
  CommonData.DataDirectory = dbLocation;

  The web page displays but with no data displayed for result.
  
  All the above worked just fine in asp.net2 - well at least in my
  real project.
  
  The whole project can be downloaded here. I've
  included MCCommon.dll in the project directory but I left the
  project structure as is for information purposes.
  
  
  

On 25/01/2011 2:02 PM, Noon Silk wrote:
So then, your code - how much of it is there?
  
  If you like, send it to me privately and I'll have a quick look
  later tonight (I don't have VS2010 on this machine; too blue).
  
  I'm really a bit confused. It seems pretty hard to diagnose
  without knowing more, but at this point I'm not sure what to ask.
  I would think, if  your dll compiles fine for .net 4, and so does
  the other project, the combination thereof shouldn't cause
  anything particularly "magical" to happen. It should just crash in
  the typical way and allow deduction of the errors, or work.
  
  
  
  On Tue, Jan 25, 2011 at 1:32 PM, Glen
Harvy g...@aquarius.com.au
wrote:

  

Re: Closing form instance

2010-12-17 Thread Glen Harvy


  
  
Can you explain what you mean by
  'automatically'. I can't come to grips with the scenario and why
  you would need to use SendMessage at all.
  
  Form A pops up a message box presumably because of an error. The
  message box can show Form B which contains further detailed data
  about the error or the price of eggs in China blah blah...
  
  

On 18/12/2010 12:49 PM, Ian Thomas wrote:

  
  
  
  
  
I have an instance of a
  help form that is started from a Help button on a
  messagebox, itself hosted on
  a Windows Form. It uses a handler for the HelpRequested
  event, and distinguishes
  between different Help messages via the tag property of
  the sender control. I think
  that is fairly standard or commonly used. 
The only way I can find to
  close the help form automatically, is by storing its
  handle and using
  SendMessage(hWnd, WM_CLOSE,0,0) which seems clumsy (I
  believe any Form.Close()
  actually does the same, but its the declarations and
  single line bits of
  code in various places that just seems messy). 
Of course closing the
  application (or the form hosting the messagebox) closes
  the help form, and I dont
  see any bad side-effects anywhere. 
Are there better ways? 

  

Ian Thomas
  Victoria Park, Western
Australia
  

  





Re: Setting CMD-window title

2010-11-29 Thread Glen Harvy


  
  
google is your friend :-)
  
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.mainwindowtitle.aspx

On 30/11/2010 10:11 AM, Ian Thomas wrote:

  
  
  
  
  
From
  .NET, I am starting a Win32 application with process.start
   

  process.StartInfo.FileName = var1

  process.StartInfo.Arguments = var2

  process.Start()

  process.WaitForExit(
The CMD window shows the
  path and executable name (var1), but I would like to
  change the title display
  text from .NET (since I run multiple instances of the same
  application with
  different args).
So far, I cant
  discover how I can do that with a Win32 call. Any ideas? 

  

  
  Ian Thomas
Victoria Park, Western
  Australia

  

  





Re: Secure FTP

2010-11-18 Thread Glen Harvy


  
  
Get your boss to buy an nSoftware
  subscription - you'll never look back.

On 19/11/2010 3:29 PM, Alastair Waddell wrote:

  
  
  Secure FTP 
  
  I have just had
a requirement come over my deck for secure FTP
  (from within our .NET application)
  so before
  I embark on a
  Google journey to hell (I hate site
  aggregators, but
  thats another story) has anybody got any
  recommendations? Price is not an issue.
  
  
  
  Alastair
  
  
  
  
  
  
  Important Notice
  This email contains information
  which is confidential and intended solely for the use
  of the individual or entity to whom it is addressed.
  Please notify the sender immediately if you have
  received this e-mail by mistake and delete this email
  from your system. If you are not the intended
  recipient, any form of distribution, copying or use of
  this communication or the information contained or
  attached is strictly prohibited. Although Disability
  Services Commission has taken reasonable precautions
  to ensure no viruses are present in this email, the
  Commission cannot accept responsibility for any loss
  ordamage arising from the use of this email or
  attachments.
  
  
  





Remote control hardware / software

2010-09-23 Thread Glen Harvy




Hi,

I have received a few requests for a hardware / software solution that
will allow a user to enter a PIN at a remote unattended site that will
then contact via a wireless connection my software located off-site and
providing the PIN is accepted, at least allow a door/gate to be opened,
lights come on, dancing girls flash their tits etc etc etc.

Does anyone know of such a beast available within Australia that will
do such a thing via a suitable wireless interface?

Thanks,

Glen Harvy.







Re: ASP.NET / SQLCE

2010-08-26 Thread Glen Harvy




I have used SQL CE for an ASP.NET website
for years without any problems whatsoever.

Can't comment on the Linq as I've never used it.

On 26/08/2010 6:53 PM, Matt Siebert wrote:
Hi all,
  
  
  Besides the "SQL Server Compact is not intended for ASP.NET development"
exception (which can be worked around as suggested here),
is there any reason not to use SQLCE in a small ASP.NET project?
  
  
  I'm a total ASP.NET
/ IIS noob andI have to do a bit of customisation to a pre-built .NET
2.0 asmx web service. The service currently uses an MS Access .mdb
(which seems odd - I thought SQLCE was meant to replace Access for
these kinds of applications).
  
  
  My customisations need to do some data access (not a lot though)
and I'd like to use LINQ to SQL for this if possible.Obviously I'm
not storing a lot of data, and I'm only looking at Compact Edition
since the hosting provider isn't keen on full SQL Server / Express...
  
  
  Is SQLCE a bad way to go? Is LINQ to SQL not a good idea?
Should I try to convince the hosting provider to give me SQL Express?
  
  
  Thanks all.







Re: Retrieve parameters

2010-07-30 Thread Glen Harvy




Trap the error and any required data in a
tcf and then upload the data to a website for you to process etc.

Trap unhandled exceptions with  
 Application.ThreadException += OnThreadException;
and do the same.

What's an Exception Block?

On 30/07/2010 3:08 PM, Anthony wrote:

  
  
  

  
  Adding some debugging cod to my winforms
application.
  
  When an exception is raised..i want the
application to send
me the error with the parameters passed? Can i use reflection to do
this? Or is
there a better way?
  
  Do people use the Exception Block by MS or roll
their own?
  
  
  Is
your website beingIntelliXperienced? |
www.yougoingmyway.com
?
regards
Anthony (*12QWERNB*)
  Is your website being IntelliXperienced?
  
  
  
  







VS2010 Class member icons

2010-06-22 Thread Glen Harvy




Hi,

The VS2010 icon for a Property value is a memoedit box with a
hand/finger pointing down in the top right corner. I'm sure you all
know it well so excuse my description.

Now if that icon has what appears to be the reverse of a DL envelope
over-imposed on it in the bottom left corner, what does that property
become? Mailable :-)

How can I access said property and where can I find an explanation of
these icons.

Thanks,

Glen.








Re: Implement IDisposable?

2010-06-15 Thread Glen Harvy
I've never understood much of the theory either however I have had some 
bad experiences with not implementing IDisposable and adding the bellow 
mentioned code to all my classes. That is, the GC does everything when 
it want's to ie when it has time to do it - it is not top priority. That 
means that unless you specifically dispose/destruct an object, it will 
remain in memory for at least some time. That fact alone caused me grief 
when my project later used that value when it shouldn't have. Again - it 
was my fault it was there but I just assumed the GC would have disposed 
it already.


The argument has been put that the GC will do it and Finalizers (are 
they the same as Destructors - I don't think so) handle it for you so 
why even bother. Ok - why bother even having Finalizers and Destructors 
if the GC will do it. I chose the opposite - your code is the most 
important thing now-a-days, not disk space or memory usage, so therefor 
what have you got to lose by properly implementing a Dispose method.


Using users (using()) is far preferable than tcf in my opinion. I 
understand that using dispose within a tcf block adds the dispose call 
to the GC stack. In other words, there will be a time delay in having it 
really destructed (really disposed). using() on the other hand 
apparently calls the destructor immediately.


In a VS scenario, the Dispose is included in the designer.cs code page 
because each control created by the designer is placed into a container 
control. When the form is closed, the container is disposed of by 
calling the dispose method and that's why putting the dispose method in 
the designer.cs file makes sense. However, I move this code to my .cs 
file if I need to specifically dispose of an object in my code ( this is 
rare nowadays because I use using() almost all the time.)


As a matter of course, that is whenever I create a class I add the 
following at the end:



#region Dispose
/// summary
/// Performs application-defined tasks associated with freeing, 
releasing, or resetting unmanaged resources.

/// /summary
///

~*() // This is the Destructor ... Put the name of you 
Class where the * appears.

  //  The tilde ~ is the actual destructor indicator
{
  // In case the client forgets to call
  // Dispose , destructor will be invoked for
  Dispose(false);
}

public void Dispose()
{
  Dispose(true);
  // Ensure that the destructor is not called
  GC.SuppressFinalize(this);
}

/// summary
/// Releases unmanaged and - optionally - managed resources
/// /summary
/// param name=disposingctrue/c to release both managed 
and unmanaged resources; cfalse/c to release only unmanaged 
resources./param

protected virtual void Dispose(bool disposing)
{
  if (disposing)
  {
// Free managed objects.
  }
  // Free unmanaged objects
  // Free your own state (unmanaged objects).
  // Set large fields to null.
}
#endregion

This works for me and I'm most lilely not going to change anything but 
if someone wants to tell me what damage Idoing to my computer I'm happy 
to listen :-)


Glen.