gazkin Posted July 16, 2008 Share Posted July 16, 2008 (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 July 16, 2008 by gazkin Link to comment Share on other sites More sharing options...
monoceres Posted July 16, 2008 Share Posted July 16, 2008 (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 July 16, 2008 by monoceres Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
gazkin Posted July 17, 2008 Author Share Posted July 17, 2008 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now