jjamesakaeon@yahoo.com
Posts: 3
Joined: Mon Mar 30, 2009 3:18 pm
Location: Nigeria

Issues with ObjectPush sample on VB.net 2008

Mon Mar 30, 2009 3:36 pm

I am presently trying out the trial version. but cant seem to run the CF samples on vb.net 2008. Kept having error: NuLLRefernceException on m_network.DiscoverDevicesAsync();
"Object reference not set to an instance of an object."



I also want to know if I can do mass file sending. please respond quickly, I need to reach a decision on my project cost.

Thanks

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

RE: Issues with ObjectPush sample on VB.net 2008

Mon Mar 30, 2009 4:17 pm

So is m_network referenced? Or is it null?

Mass sending, you mean many files sent at once? You can code an application that sends multiple items at once, but be adviced that most stacks won't work for more than 2-3 connections at once.

Regards,
Jonas

jjamesakaeon@yahoo.com
Posts: 3
Joined: Mon Mar 30, 2009 3:18 pm
Location: Nigeria

RE: Issues with ObjectPush sample on VB.net 2008

Mon Mar 30, 2009 8:48 pm

m_network is referenced, I made no modification to the original sample code except that VS2008 had to upgrade it from vs2005. I get the advice "Use the New Keyword". does this have to do with the fact that I am running from vs2008? will you advice me to return to vs2005?

by mass sending I mean sending through more than one connection at a time (async and simultaneous). I am actually working on a Proximity Marketing Application and that will be added advantage. I intend to have a Mobile and a desktop version



jjames

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

RE: Issues with ObjectPush sample on VB.net 2008

Mon Mar 30, 2009 11:05 pm

Okay, BlueTools is not tested with VS2008 at all so I don't know the reason for what you describe.

As I stated in the post above, such an application will be very limited due to the problem of keeping multiple connections with the implemented stacks.

Regards,
Jonas

jjamesakaeon@yahoo.com
Posts: 3
Joined: Mon Mar 30, 2009 3:18 pm
Location: Nigeria

RE: Issues with ObjectPush sample on VB.net 2008

Tue Mar 31, 2009 3:26 pm

ok, I'll try it out on VS2005

Return to “BlueTools”