gritsok77
  • gritsok77
  • 55.25% (Neutral)
  • Newbie Topic Starter
10 years ago
I have VS 2015
All samples of your app are working beatiful , without any exmples in JS (mass.js and simple.js)
I have the next error - 0x80040154 - JavaScript runtime error: Class not registered
In this line : var oMail = new EASendMailRT.SmtpMail("TryIt");
ivan
  • ivan
  • 100% (Exalted)
  • Administration
10 years ago

Hi, if your application is windows store application, you can refer to easendmail installation path\Samples_Windows81\simple.js and mass.js.

If your application traditional javascript, you should use EASendMail ActiveX Object.
If your application is .NET application, you should use EASendMail .NET Assembly.

What is your application type?

gritsok77
  • gritsok77
  • 55.25% (Neutral)
  • Newbie Topic Starter
10 years ago
Hi =)
Thanks for very quick answer .
Traditional JS for Windows Store
ivan
  • ivan
  • 100% (Exalted)
  • Administration
10 years ago
If your application is for windows store, doesn't simple.js or mass.js in Windows81 work?

Please have a look at this topic:

https://www.emailarchitect.net/easendmail/kb/javascript_xaml.aspx 

You need to add reference of EASendMailRT to your project just like above topic introduced.
gritsok77
  • gritsok77
  • 55.25% (Neutral)
  • Newbie Topic Starter
10 years ago
I add reference from ...//EASendMail/windows81.winmd/EASendMailRT.winmd to project ...//Samples_Windows81/simple.js/simple.js
But it cannt work and have the :
Unhandled exception at line 190, column 9 in ms-appx://885adfa9-6f83-450c-a19b-104224b4957d/js/sendmail.js

0x80040154 - JavaScript runtime error:Клас не зареєстровано
gritsok77
  • gritsok77
  • 55.25% (Neutral)
  • Newbie Topic Starter
10 years ago
I installed VS2013
https://www.emailarchite.../kb/javascript_xaml.aspx 
I add EASendMailRT to project ( visible in Solution Explorer in References , but it cant open as a EASendMailRT in VB and C# version )
But , unfortunately , i still getting the same error 0x80040154 - JavaScript runtime error: Class not registered
I dont understand what Im doing is wrong 😞
ivan
  • ivan
  • 100% (Exalted)
  • Administration
10 years ago
could you send your VS2003 project to support@emailarchitect.net so that I can have a check?
gritsok77
  • gritsok77
  • 55.25% (Neutral)
  • Newbie Topic Starter
10 years ago
It is project from your instalation file (EASendMail Installer)- for example project from windows81/simle.js
And my VisualStudio are 2013 and 2015 ( not 2003 , in VS2003 havent JS for Windows 81 🙂 )
I can send you this project , but why ? I think you have your project from installation app and problem only in my machine . Maybe i need to change computer ...
Thanks for all .
ivan
  • ivan
  • 100% (Exalted)
  • Administration
10 years ago
I just tested our sample projects with VS 2013, it worked fine.
If it is possible, please try it on another machine.


Please also have a try the sample in Samples_Windows8, i guess you tried Samples_windows81
gritsok77
  • gritsok77
  • 55.25% (Neutral)
  • Newbie Topic Starter
10 years ago
Hi . I tried your simple.js app for Windows 8.1 and for Windows 8 on :
2 different machines (hp635 and asusN56D) on 2 different platform (Windows 8.1 Enterprise and Windows 8.1 Single Language ) with 2 different VS 2013 and 2015 ............
And .............
They aren't work in js,html,css project for windows store . Error :

-( for app in windows81 file )- cant registered class when you push button .
-( for app in windows 8 file ) - cant open project in windows8.1
Now i am installing vs 2003 , becouse i want to try your version .
gritsok77
  • gritsok77
  • 55.25% (Neutral)
  • Newbie Topic Starter
10 years ago
Hi again .
You wrote : "I just tested our sample projects with VS 2003, it worked fine."
I installed VS 2003 and as i said it version of Visual Studio cant work with your samples from WINDOWS81/simple.js/simple.js (becouse cant open them).
And how did you test this project in vs 2003 if it version cannt open file for windows store in js ?
I spent many times for your project (for windows store app in JS,HTML,CSS)but it isnt work in any machines,system and version .
https://www.emailarchitect.net/easendmail/kb/javascript_xaml.aspx  you must change




to



for VS2013 AND VS2015

I hope you can give me at least some explanation .
Thanks .
Please , test your samples (from file ..../Windows 8.1 /simle.js/simle.js) in VS2013 or VS2015 .
ivan
  • ivan
  • 100% (Exalted)
  • Administration
10 years ago

Hi again .
You wrote : "I just tested our sample projects with VS 2003, it worked fine."
I installed VS 2003 and as i said it version of Visual Studio cant work with your samples from WINDOWS81/simple.js/simple.js (becouse cant open them).
And how did you test this project in vs 2003 if it version cannt open file for windows store in js ?
I spent many times for your project (for windows store app in JS,HTML,CSS)but it isnt work in any machines,system and version .
https://www.emailarchitect.net/easendmail/kb/javascript_xaml.aspx  you must change




to



for VS2013 AND VS2015

I hope you can give me at least some explanation .
Thanks .
Please , test your samples (from file ..../Windows 8.1 /simle.js/simle.js) in VS2013 or VS2015 .

Originally Posted by: gritsok77 




Sorry, it is my mistake, actually I tested with VS 2013. And I built those sample projects with VS 2012 and 2013.

In EASendMail installation path\Windows_81, the source files used





Could you send email to support@emailarchitect.net so that we can communicate directly, maybe we can have an online chat.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.