Wireless Communication Library Support Forum

Common => Common => Topic started by: novice on March 26, 2008, 10:13:50 AM

Title: Bluetooth Framework Active X on Web
Post by: novice on March 26, 2008, 10:13:50 AM
Good day

Hi

Does Bluetooth Framework applicable in web application?

Thanks


Title: Re: Bluetooth Framework Active X on Web
Post by: Mike Petrichenko on March 26, 2008, 11:48:22 AM
Good day!

Yes it does.
Title: Re: Bluetooth Framework Active X on Web
Post by: novice on March 27, 2008, 08:14:58 AM
Good day

Hi

This may be out of BTF,
i use your BTF Active X in my project for web application, when i am using the vs 2005 to run the project it works , then i try to published it and test  the publish web, i can't view my page,

do you have any idea?

Thanks
Title: Re: Bluetooth Framework Active X on Web
Post by: Mike Petrichenko on March 27, 2008, 08:52:53 AM
Good day!

I am not very good Web developer. But AFAIK it hard depends on how you redestrebute the OCX. You need to deploy OCX on your web server and browser should download it and install (usually it done automatically). Unfortunatelly I do not know morea bout that because bever did the same.
Title: Re: Bluetooth Framework Active X on Web
Post by: novice on April 01, 2008, 03:14:37 AM
Good Day

Hi

in your BTF , every time i start to use BTF and when the  pop up/ nag screen  appear  are you waiting for the user to press the OK button before you continue the process right?

i already distribute/ include the ocx in the the web , but still immovable in connecting , also the pop up/ nag screen does not appear? :'(


Thanks
Title: Re: Bluetooth Framework Active X on Web
Post by: Mike Petrichenko on April 01, 2008, 09:49:35 AM
If nag screen is not appears then the OCX is not registered/initialized. I'll try to make the sample a bit later today.
Title: Re: Bluetooth Framework Active X on Web
Post by: novice on April 01, 2008, 10:37:30 AM
Good Day

Thanks , i' ll wait  :)

thanks
Title: Re: Bluetooth Framework Active X on Web
Post by: novice on April 03, 2008, 05:09:52 AM
Good Day

Hi
i just to want clear something , i am creating creating a project that uses you BTF , in debug mode it works fine but when i installed it and try to test it , it doesnt work , it is immovable in connecting process, the ocx is included already in the installer

question do i need to register the ocx that is in the installed web, even if i install it in same pc where i am working

Thanks
Title: Re: Bluetooth Framework Active X on Web
Post by: Mike Petrichenko on April 03, 2008, 05:12:54 AM
You need to register OCX on the target PC (where page will be opened). I recomend to use ActiveForm for that. Works much better.
Title: Re: Bluetooth Framework Active X on Web
Post by: novice on April 03, 2008, 11:42:53 AM
Good Day

HI


I created a project that used Bluetooth framework Active X version 5.2, the project is Web application

When I test it in debug mode (in VS 2005) it works fine
But when I test it in installed web (the web is compiled )
I installed it in myPC  and open the page in myPC also

I try to  register the ocx where the page is installed
 ?In initializing Bluetooth discovery it has no response, nag screen doesn?t appear
Code for initializing/declaring : BFBluetoothDiscoveryX discovery = new BFBluetoothDiscoveryX();

I try to place the OCX and  register in the bin folder of the installed page
 ?In initializing Bluetooth discovery it has no response,  nag screen doesn?t appear
Code for initializing/declaring: BFBluetoothDiscoveryX discovery = new BFBluetoothDiscoveryX();

I try to  place the OCX and  register wwwroot folder  of the installed page
 ?In initializing Bluetooth discovery it has no response, nag screen doesn?t appear
Code for initializing/declaring: BFBluetoothDiscoveryX discovery = new BFBluetoothDiscoveryX();

I try to  place the OCX and  register inetpub  folder  of the installed page
 ?In initializing Bluetooth discovery it has no response , nag screen doesn?t appear
Code for initializing/declaring: BFBluetoothDiscoveryX discovery = new BFBluetoothDiscoveryX();


Question :
1.   Why is it that the initializing BFBluetoothDiscoveryX discovery = new BFBluetoothDiscoveryX() has no response?
2.   Where should I put the OCX and register it?
3.   If I am opening the page same where I installed it , Where should I put the OCX and register it?
4.   If I open the page in different PC , Where should I put the OCX and register it?



Thanks

P.s I just make it more detailed (hope you wont mind)  ;D ;D ;D
Title: Re: Bluetooth Framework Active X on Web
Post by: novice on April 03, 2008, 12:10:30 PM
cont.

the complete code for declaring initializing Discovery / why i said that it doesn't response

BFBluetoothDiscoveryX discovery;

public string Intdiscovery()
        {
            string ret1 = "";
            try
            {
                discovery = new BFBluetoothDiscoveryX();
                ret1 = "OK";
            }
            catch (Exception e)
            {
                ret1 = e.Message;

            }
            return ret1;
        }

it doesnt giving me any error message
Thanks
Title: Re: Bluetooth Framework Active X on Web
Post by: Mike Petrichenko on April 03, 2008, 12:55:07 PM
http://www.google.com.by/search?hl=ru&q=deploying+activeX+for+web+based+applications&meta=
Title: Re: Bluetooth Framework Active X on Web
Post by: novice on April 15, 2008, 09:24:17 AM
Good Day

Hi

Im here again  :)
BTW Thank for the link.

Question / Clear things: i want to create a class that will use BTF Active X is that possible ?
if possible can i used it in web?

Thanks
Title: Re: Bluetooth Framework Active X on Web (and LabView)
Post by: Mike Petrichenko on April 15, 2008, 10:34:04 AM
Good day!

Sure you can create the class which uses the WCL. The better way to do so is use ASP.NET (or simple NET (C#)).

I think I can open the WCL .NET wrapper sources :) There is nothing "private" because it is just a wrapper which can be done by any developer. Aaa. What I wanted to say. :) Aha. So look at this wrapper. All you need to change is just parent class: from Component to Control (or how does is called in NET?).

See what I mean?

[attachment deleted by admin]
Title: Re: Bluetooth Framework Active X on Web
Post by: novice on June 03, 2008, 08:49:00 AM
Good Day

Hi

I am having problem in deploying Bluetooth Framework ActiveX in Web,
under VS 2005 it work fine but when i deploy it doesn't work .
can somebody pls tell me the step by step on how to deploy it in Web i am using Visual Studio 2005
How to create an installer for web application with Bluetooth Framework , i am using the wed deployment project and set up and deployment of visual studio 2005


Thanks
Title: Re: Bluetooth Framework Active X on Web
Post by: Mike Petrichenko on June 03, 2008, 11:30:30 AM
Good day!

Unfortunatelly I do not know how to do web deployment because I do not work with Web and do not develop for Web. AFAIK you need to redistribute OCX on target PC and register it there
Title: Re: Bluetooth Framework Active X on Web
Post by: novice on June 04, 2008, 03:32:26 AM
Good Day

hmmmm.

Thanks
Title: Re: Bluetooth Framework Active X on Web
Post by: novice on June 04, 2008, 03:42:38 AM
God Day

Hi

does it mean you dont have an example for BluetoothFrameworkActiveX in WEB,

Thanks
Title: Re: Bluetooth Framework Active X on Web
Post by: Mike Petrichenko on June 04, 2008, 10:16:43 AM
Yes, I do not have such example.
Title: Re: Bluetooth Framework Active X on Web
Post by: novice on June 19, 2008, 04:09:52 AM
Good Day

INFO:
I found the solution
Some changes is need in the ASP.Net process identity

Thanks
Title: Re: Bluetooth Framework Active X on Web
Post by: Mike Petrichenko on June 19, 2008, 10:56:00 AM
My congratulations! You rae much better .NET developer than me. :)
Title: Re: Bluetooth Framework Active X on Web
Post by: novice on June 23, 2008, 05:43:59 AM
Thanks, for me you are much better developer, i cant do my project with out the help of yours, and your Lib.