Why doesn't my window start? - Printable Version
-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Why doesn't my window start? (/showthread.php?tid=69502)
Why doesn't my window start? by ibragordon on 12-14-2006 at 07:13 PM
I 'm not able to open this window:
Can anyone help me to find errors in this code? Thank you.
<?xml version="1.0" encoding="UTF-16"?>
<Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsichemaLocation="urn:msgplus:interface PlusInterface.xsd" Name="Prova">
<Window Id="WndSending" Version="1">
<Attributes>
<Caption>Plus!Mail - Sending</Caption>
</Attributes>
<TitleBar>
<Title><Text>Sending Email...</Text></Title>
</TitleBar>
<Position Width="200" Height="100"/>
<DialogTmpl/>
<Controls>
<!-- Please Wait Message -->
<Control xsi:type="StaticControl" Id="lblStatus">
<Position Top="12" Width="200" Height="20" Left="0"/>
<Caption>Please wait while your email is being sent...\r\nThis may take several minutes with attachments...</Caption>
<Attributes>
<Align>center</Align>
</Attributes>
</Control>
<!-- OK Button -->
<Control xsi:type="ButtonControl" Id="btnOK" Visible="false">
<Position Top="35" Width="50" Left="75"/>
<Caption>OK</Caption>
<Attributes>
<IsDefault>true</IsDefault>
</Attributes>
</Control>
</Controls>
</Window>
</Interfaces>
RE: Why doesn't my window start? by gravier on 12-14-2006 at 07:17 PM
I had this problem before.
You must save your file in Unicode-16.
With Notepad or Wordpad, Save -> Unicode 16.
Hope it helps.
RE: Why doesn't my window start? by ibragordon on 12-16-2006 at 11:12 AM
Thank you gravier but it's not the cause of the problem.
I can't open windows with simply pasted code from functionally scripts also.
Am i so stupid?
RE: Why doesn't my window start? by Eljay on 12-16-2006 at 11:25 AM
quote: Originally posted by ibragordon
Thank you gravier but it's not the cause of the problem.
I can't open windows with simply pasted code from functionally scripts also.
Am i so stupid?
it must be the problem, because i just copy pasted the code and saved it as unicode and the window opened fine.
RE: Why doesn't my window start? by foaly on 12-16-2006 at 02:44 PM
try opening it with the interface tester:
http://www.msgpluslive.net/scripts/view/154-Messe...-Interface-Tester/
if that works you are doing something wrong in your script itself...
RE: Why doesn't my window start? by ins4ne on 12-16-2006 at 02:52 PM
quote: Originally posted by gravier
You must save your file in Unicode-16.
quote: Originally posted by ibragordon
<?xml version="1.0" encoding="UTF-16"?>
...
RE: Why doesn't my window start? by Spunky on 12-16-2006 at 04:02 PM
I'm not sure that has any bearing on the file encoding the file is saved with, but rather, what the reader should expect
|