# Error : Unable to run the wmnew script...

**URL:** <https://forum.sierrawireless.com/t/error-unable-to-run-the-wmnew-script/2075>\
**Category:** Development tools\
**Created:** [April 8, 2008, 6:08am UTC](https://forum.sierrawireless.com/t/error-unable-to-run-the-wmnew-script/2075 "2008-04-08T06:08:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![swlim](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@swlim](https://forum.sierrawireless.com/u/swlim)\
**Post date:** [April 8, 2008, 6:08am UTC](https://forum.sierrawireless.com/t/error-unable-to-run-the-wmnew-script/2075/1 "2008-04-08T06:08:47Z")

</div>

Hi all,

I’m new to Open AT. 😕  
My goal is to develop an application on Visual [Basic.NET](http://Basic.NET) which will use wavecom library to send out SMS through Wavecom FASTTrack.  
I’m not sure it can be done in Visual [Basic.NET](http://Basic.NET) or not.

So, I’ve installed the Wavecom Open AT.  
I’m trying to run the sample application through the Open AT Project Wizard.  
However, i get this Error “Unable to run the wmnew script; Open-AT or Cygwin may not be correctly installed.”

My 2 questions are:

1. How do i proceed from the error “Unable to run the wmnew script; Open-AT or Cygwin may not be correctly installed.”?  
When i did the installation, it was indicated that the Cygwin has already been installed with the \* mark.
2. How do i add a reference to the wavecom library in Visual [Basic.NET](http://Basic.NET). What file(s) do i need to look for?

Thanks.  
swlim

---

<div class="post-metadata">

**Author:** ![trthaithong](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@trthaithong](https://forum.sierrawireless.com/u/trthaithong)\
**Post date:** [April 8, 2008, 7:11am UTC](https://forum.sierrawireless.com/t/error-unable-to-run-the-wmnew-script/2075/2 "2008-04-08T07:11:30Z")

</div>

Hi swlim,  
You just can develop your application on following environments:

- Eclipse
- Visual C++ 6.0
- Visual C++ .NET 2002 or 2003

–\> Visual [Basic.NET](http://Basic.NET) can not use as the development environment for OpenAT. With Visual C++, .NET, you must install these program before install OpenAT.  
Hope can help you.  
ttt

---

<div class="post-metadata">

**Author:** ![swlim](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@swlim](https://forum.sierrawireless.com/u/swlim)\
**Post date:** [April 8, 2008, 9:04am UTC](https://forum.sierrawireless.com/t/error-unable-to-run-the-wmnew-script/2075/3 "2008-04-08T09:04:26Z")

</div>

hi trthaithong,

thanks for the reply.  
does it support visual c++ 2005 or only up to visual c++ 2003?  
Because before i installed Open AT, i already had Visual Studio 2005 installed.

so, the error due to the fact that i do not have visual c++ 6/2002/2003 installed?

many thanks.  
swlim

---

<div class="post-metadata">

**Author:** ![trthaithong](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@trthaithong](https://forum.sierrawireless.com/u/trthaithong)\
**Post date:** [April 10, 2008, 5:18pm UTC](https://forum.sierrawireless.com/t/error-unable-to-run-the-wmnew-script/2075/4 "2008-04-10T17:18:04Z")

</div>

Hi swlim,  
It should be Visual C++ 6 up to 2003  
ttt

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [April 10, 2008, 6:55pm UTC](https://forum.sierrawireless.com/t/error-unable-to-run-the-wmnew-script/2075/5 "2008-04-10T18:55:43Z")

</div>

> [@swlim](#):
>
> My goal is to develop an application on Visual [Basic.NET](http://Basic.NET) which will use wavecom library to send out SMS through Wavecom FASTTrack.

You don’t need Open-AT for that at all!

> [@](#):
>
> I’m not sure it can be done in Visual [Basic.NET](http://Basic.NET) or not.

I’m sure it can - all you need to do is to send the appropriate AT Commands to the modem through a COM port.

> [@](#):
>
> So, I’ve installed the Wavecom Open AT.

Again, there is no need for that.

Open-AT is for writing applications to run inside the modem itself - you don’t need this.  
You have a PC, and your application will run on the PC - you don’t need any intelligence in the modem.

In fact, you should consider whether you need a modem at all - there are plenty of services available for sending & receiving SMS without the need of any GSM modem…  
For example: [dialogue.co.uk/what\_we\_do/mo … messaging/](http://www.dialogue.co.uk/what_we_do/mobile_corporate_messaging/)

---

<div class="post-metadata">

**Author:** ![swlim](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@swlim](https://forum.sierrawireless.com/u/swlim)\
**Post date:** [April 14, 2008, 6:18am UTC](https://forum.sierrawireless.com/t/error-unable-to-run-the-wmnew-script/2075/6 "2008-04-14T06:18:51Z")

</div>

Thanks awneil.  
Appreciate it.

I can actually start work now. 🙂

Btw, do you happen to know of any sample [VB.net](http://VB.net) 2005/2008 codes to send the appropriate AT Commands to the modem through a COM port?

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [April 14, 2008, 6:33am UTC](https://forum.sierrawireless.com/t/error-unable-to-run-the-wmnew-script/2075/7 "2008-04-14T06:33:50Z")

</div>

> [@swlim](#):
>
> do you happen to know of any sample [VB.net](http://VB.net) 2005/2008 codes to send the appropriate AT Commands to the modem through a COM port?

I don’t but, as far as [VB.net](http://VB.net) 2005/2008 is concerned, it’s just a matter of sending text to a COM port, and receiving text back from a COM port - so you really just need to look for standard COM port examples…

You could try:  
[codesearch.google.com](http://codesearch.google.com)  
[codeproject.com](http://www.codeproject.com)  
[msdn.microsoft.com](http://msdn.microsoft.com)  
[codeguru.com/](http://www.codeguru.com/)  
[developer.com/](http://www.developer.com/)  
etc…
