elhafid
Posts: 10
Joined: Wed Nov 26, 2008 10:41 pm
Location: France

Add blue DLL to visual studio (VB) 2008...

Thu Nov 27, 2008 2:11 pm

Hello

Please, help

When i ty to add blue dll to VB (visual studio 2008), using project/add references...i have an error like "can' be added, verify that are assembly ou com..."

What is the problem...

Thank you for your help...

El Hafid

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: Add blue DLL to visual studio (VB) 2008...

Thu Nov 27, 2008 2:59 pm

Make sure you are adding the correct DLL.
For VS2008 you should be adding Franson.BlueTools.350.dll to your project if it's a Windows application you are creating.

Regards,
Jonas

elhafid
Posts: 10
Joined: Wed Nov 26, 2008 10:41 pm
Location: France

RE: Add blue DLL to visual studio (VB) 2008...

Thu Nov 27, 2008 3:36 pm

Thank you Jonas

I only try to use an sample provided with bluetools : findandconnect sample.
When executed, devices are found but a device is selected, there is an error like :

"[10108] Franson.Bluetools.BluetoolsExeption : Remote device cannot be found....line272"

Is this error known ? what is the problem with this sample ?

Thank you again...

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: Add blue DLL to visual studio (VB) 2008...

Thu Nov 27, 2008 3:37 pm

Seems like the device is out of range or turned off.
It isn't responding when you attempt to connect to it.

Regards,
Jonas

elhafid
Posts: 10
Joined: Wed Nov 26, 2008 10:41 pm
Location: France

RE: Add blue DLL to visual studio (VB) 2008...

Thu Nov 27, 2008 7:29 pm

Thank you...

What do you advice about using samples and visual studio :
2005 under xp or
2008 under vista ?

Most part of samples seems to work better with visual studio 2005 Doesn't it ?

Thank you again.

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: Add blue DLL to visual studio (VB) 2008...

Fri Nov 28, 2008 12:55 am

The samples are for VS2003 and VS2005, but if you look at them you'll notice how it's done.
The coding is no different in VS2008, you just have to create a similar application for VS2008.

Regards,
Jonas

elhafid
Posts: 10
Joined: Wed Nov 26, 2008 10:41 pm
Location: France

RE: Add blue DLL to visual studio (VB) 2008...

Sat Nov 29, 2008 1:18 am

Hello Jonas

Thank you again...

I just start and test this tools...seems to be a very good work.

My purpose is to create a simple windows which work like this :
- when the soft run, it wait automaticaly for receiving a contact
- when a mobile create a contact and send it by bluethouth
- the pc soft receive the contact created and send a file to the device.

It is difficult to find this kind of code in the sample? How is it possible please ?

Thank you and sorry again.

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: Add blue DLL to visual studio (VB) 2008...

Sat Nov 29, 2008 3:58 am

Look at the ObexServiceGui and the ObjectPush samples. Those are probably closest to what you want to do.

Regards,
Jonas

Return to “BlueTools”