Jump to content

Recommended Posts

Posted (edited)

I am wondering what is going wrong in this piece of code

$melding = ClipGet()
if $melding = "There was an error registering your serial number. Please contact support." Then
MsgBox(4096,"Breitnerlaan ICT BV", "Serial klopt niet")
Endif

I have already checked that the error sentence is correct.

Please help

Edited by gazkin
Posted (edited)

There may be hidden chars in the string, try this instead:

$melding = ClipGet()
if StringInStr($melding,"There was an error registering your serial number. Please contact support.")=0  Then
MsgBox(4096,"Breitnerlaan ICT BV", "Serial klopt niet")
Endif

muttley

Edited by monoceres

Broken link? PM me and I'll send you the file!

Posted

That did the trick mate muttley

Thnx

There may be hidden chars in the string, try this instead:

$melding = ClipGet()
if StringInStr($melding,"There was an error registering your serial number. Please contact support.")=0  Then
MsgBox(4096,"Breitnerlaan ICT BV", "Serial klopt niet")
Endif

:)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...