Windows Technical Support Scam

Watch out for the Windows Technical Support Scam; This is doing the rounds again.

Basically someone rings you up and tells you that you have a problem on your computer (everyone does by the way). After a lot of talking and showing you that you have an error (they are not really; and certainly not important). They ask you to go to a web site and download some software, then they ask you for a key code.

DO NOT DO THIS!!!!, the software allows anyone with the correct key code access to your PC and they then have full remote access to your computer and all the files on it. They can install viruses and other malware and basically you are screwed.

Try and get as much information about them as possible (Name, contact info etc) and report it to the police. You can do this via the Sussex (or your local) Police web site. Don’t expect much back from them but it ups the statistics and they can use this to get support for the cyber crime division.

If you do fall for it, they pull your internet lead out of the PC or turn off your PC and give me a call, I should be able to fix it.

Google Glass

This last weekend I tried a set of Google Glass. First impressions is that they are comfortable and do not interfere with your vision.

images

While I can see that they will have a place, I was not that impressed with the amount of screen I seemed to have displayed. This could have been because of the setup of the device and may have needed customising more for my head!.

images (1) 

While a nice toy! I think until practical applications that use it more than showing the road ahead and overlaying it, it will be considered a ‘I want one of those’ devices and at £1000 for the initial version, this should drop when they go on general sale, I do not think I would pay more than £200 for a set. A possible practical application would be; your car service manual, and when you look at the car, you could overlay the schematics or instructions to do some minor service function. Any more bright idea’s?

Like all new idea’s I think I will be waiting for Google Glass 1.1 or 2.0.

VB.Net and Object Parameters

I recently had to update some code with a new parameter that needed passing between the calling code and a series of lower level business and data classes. Over a period of years the classes have had more and more parameters added and adding another one meant changing 50+ objects plus all the calling code.

An example of this code is shown below

The Data Class being instantiated

Public Sub New(ByVal _DbType as common.DbType, ByVal _UserID as Integer, ByVal _Signature as String)
….

The calling code

Dim mDataObj as new myClass(common.DbType.SQLServer,myUserID, “John Ellis”)

So adding a new parameter was going to be time consuming and on the off chance any new parameters were going to be added in the future a better solution was required.

To resolve this I created a new Class to hold all the values that would be passed. It is important to consider which parameters are globally needed or you can end up moving them all into this class.

Public Class GlobalParams
Public mdbtype As iapCommon.Enums.DBType
Public mUserID As Integer = 0
Public mUserName As String = “”
Public mSignatureLine1 As String = “”
Public mSignatureLine2 As String = “”

Public Property DBType() As iapCommon.Enums.DBType
Get
Return mdbtype
End Get
Set(ByVal value As iapCommon.Enums.DBType)
mdbtype = value
End Set
End Property

Public Property UserID() As Integer
Get
Return mUserID
End Get
Set(ByVal value As Integer)
mUserID = value
End Set
End Property

Public Property UserName() As String
Get
Return mUserName
End Get
Set(ByVal value As String)
mUserName = value
End Set
End Property

Public Property SignatureLine1() As String
Get
Return mSignatureLine1
End Get
Set(ByVal value As String)
mSignatureLine1 = value
End Set
End Property

Public Property SignatureLine2() As String
Get
Return mSignatureLine2
End Get
Set(ByVal value As String)
mSignatureLine2 = value
End Set
End Property
End Class

This now changes the code above to

The Data Class being instantiated

Friend mGlobalParams as new common.GlobalParams

Public Sub New(ByVal _GlobalParams as common.GlobalParams)
mGlobalParams = _GlobalParams

The calling code
dim mGlobalParams as new common.GlobalParams
mGlobalParams.DbType = common.DbType.SQLServer,myUserID
mGlobalParams.UserId = 20088
mGlobalParams.Signature = “John Ellis”

Dim mDataObj as new myClass(mGlobalParams)

This may not seem a great improvement but now if we want a new global parameter we can add it to the GlobalParams class and we only have to change the code the requires the new parameter. This reduces maintenance also as the GlobalParams are usually set up in the load function of the main program they only need to be populated one and then each time the class is instantiated you are only coding the one line for the New.

Better solution, let me know.

Delivery of IAP Applications System

This week has seen the delivery of the Institution of Analysts and Programmers, Applications system.

This system takes online applications from their web site and manages the application through the various processes from ensuring all the relevant material has been supplied, that the application is reviewed and the applicant informed as to whether they were successful or not. It then awaits the payment of the membership fee and will then automatically create a member record in the IAP’s Membership System.

If you are in need of a custom written membership system, why not give us a call or email us.