For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > January 2006 > Microsoft.WindowsMobile.Telephony









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Microsoft.WindowsMobile.Telephony
Pawel Janowski

2006-01-19, 4:10 am

Error 1 The type or namespace name 'WindowsMobile' does not exist in the
namespace 'Microsoft' (are you missing an assembly reference?) C:\Documents
and Settings\...\Visual Studio
2005\Projects\DeviceApplication7\DeviceA
pplication7\Form1.cs 8 17
DeviceApplication7

---

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.WindowsMobile.Telephony;

namespace DeviceApplication7
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
Phone myPhone = new Microsoft.WindowsMobile.Telephony.Phone();

myPhone.Talk("555-0100\0");

}
}
}


Peter Foot [MVP]

2006-01-19, 4:10 am

Have you added a reference to Microsoft.WindowsMobile.Forms.dll to your
project - Project > Add Reference...

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net

"Pawel Janowski" <ch0mik@gss.abis.lodz.pl> wrote in message
news:OnfEXLNHGHA.2836@TK2MSFTNGP14.phx.gbl...
> Error 1 The type or namespace name 'WindowsMobile' does not exist in the
> namespace 'Microsoft' (are you missing an assembly reference?)
> C:\Documents and Settings\...\Visual Studio
> 2005\Projects\DeviceApplication7\DeviceA
pplication7\Form1.cs 8 17
> DeviceApplication7
>
> ---
>
> using System;
> using System.Collections.Generic;
> using System.ComponentModel;
> using System.Data;
> using System.Drawing;
> using System.Text;
> using System.Windows.Forms;
> using Microsoft.WindowsMobile.Telephony;
>
> namespace DeviceApplication7
> {
> public partial class Form1 : Form
> {
> public Form1()
> {
> InitializeComponent();
> }
>
> private void button1_Click(object sender, EventArgs e)
> {
> Phone myPhone = new Microsoft.WindowsMobile.Telephony.Phone();
>
> myPhone.Talk("555-0100\0");
>
> }
> }
> }
>
>



Pawel Janowski

2006-01-19, 4:10 am

where can i localized a Microsoft.WindowsMobile.Forms.dll ?

Pawel


Użytkownik "Peter Foot [MVP]" <feedback@nospam-inthehand.com> napisał w
wiadomości news:OSulZpNHGHA.2940@tk2msftngp13.phx.gbl...
> Have you added a reference to Microsoft.WindowsMobile.Forms.dll to your
> project - Project > Add Reference...
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> http://www.inthehand.com | http://www.peterfoot.net
>
> "Pawel Janowski" <ch0mik@gss.abis.lodz.pl> wrote in message
> news:OnfEXLNHGHA.2836@TK2MSFTNGP14.phx.gbl...
>
>



Pawel Janowski

2006-01-19, 8:04 am

http://www.microsoft.com/downloads/...&DisplayLang=en



Pawel Janowski

2006-01-19, 8:04 am

how to deploy a mobile app with this dll ?

w./Regards
Pawel




Użytkownik "Peter Foot [MVP]" <feedback@nospam-inthehand.com> napisał w
wiadomości news:OSulZpNHGHA.2940@tk2msftngp13.phx.gbl...
> Have you added a reference to Microsoft.WindowsMobile.Forms.dll to your
> project - Project > Add Reference...
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> http://www.inthehand.com | http://www.peterfoot.net
>
> "Pawel Janowski" <ch0mik@gss.abis.lodz.pl> wrote in message
> news:OnfEXLNHGHA.2836@TK2MSFTNGP14.phx.gbl...
>
>



Peter Foot [MVP]

2006-01-19, 8:04 am

You don't - this dll is already in the ROM of all WM5.0 devices

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net

"Pawel Janowski" <ch0mik@gss.abis.lodz.pl> wrote in message
news:%23vxQggOHGHA.648@TK2MSFTNGP14.phx.gbl...
> how to deploy a mobile app with this dll ?
>
> w./Regards
> Pawel
>
>
>
>
> Użytkownik "Peter Foot [MVP]" <feedback@nospam-inthehand.com> napisał w
> wiadomości news:OSulZpNHGHA.2940@tk2msftngp13.phx.gbl...
>
>



Pawel Janowski

2006-01-19, 7:10 pm


Użytkownik "Peter Foot [MVP]" <feedback@nospam-inthehand.com> napisał w
wiadomości news:uIe61CQHGHA.916@TK2MSFTNGP10.phx.gbl...
> You don't - this dll is already in the ROM of all WM5.0 devices


hmmm ... if i copied a exe to my device (WM5.0 for smartphone) i got a
notify about missing a dll, when i copied a dll into same folder, this
appliaction ran correctly.

PS. QTEK 8310 + CF 2.0

w/Regards
Pawel


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com