Trouble with intelliprog component

  • Thread starter Thread starter Zlajoni
  • Start date Start date
Z

Zlajoni

Hi everybody,

I have downloaded the demo component from intelliprog, and I would
like to make demo to work before I buy the component.
My app is runing on WIN CE.
I have mannualy added an connection, and want to try to enumerate the
connections from the code....but I keep getting this exception:
"TypeLoadException Could not load type Intelliprog.Net.RasEntry from
assembly Intelliprog.Net, Version = 1.0.1279.0, Culture = neutral,
PublicKey Token=null."
Where after my app crashes.

This is the simple code I am trying to execute:

private void button2_Click(object sender, System.EventArgs e)
{
RasEntry[] rasEntries;

rasEntries = Ras.Entries;
if (rasEntries.Length > 0)
{
lbDeviceName.Text = rasEntries[0].DeviceName;
lbAreaCode.Text = rasEntries[0].AreaCode;
lbCtryCode.Text = rasEntries[0].CountryCode.ToString();
lbDevType.Text = rasEntries[0].DeviceType;
lbPhoneNr.Text = rasEntries[0].PhoneNumber; }
}

Am I doing something totaly wrong here? Does anyone have a clue what
is happening? Or there is some one who can give me some sample code to
look at?

Regards
Zlajoni
 
Is the Intelliprog.Net.dll file copied to your program folder on the device?
Sounds like the dll is missing at runtime.

Peter
 
Hi Zlajoni,

Since RAS Component is a commercial product you should contact me directly
on the problems with it. Please seand me an email on
(e-mail address removed)

Thanks... Alex
 
I have made sure that the Intelliprog.Net.dll is added as a refferance
in VS, an I can also see the classes and function in the dll. So I
don't think so that problem lies there.

To Alex Yakhnin:
Alex I tried to email you several times at: a.yakhnin(at)att.net, but
I never recived an replay. But later I have read that u had probs with
your mailserver, so maybe that is the case.

I am writing my app in c#, and I'll be greatful if you had some sample
code for me to see how you use intelliprog.net. I know that there is
the demo with the component, but I keep getting the same exception
both with the demo and my own app.

Regards
Zlajoni
 
Back
Top