473,386 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

WLAN connections

Hi,

I got a project coming that requires my app to connect together 3 or more
computers by Wireless network without a WLAN router available. I believe it
could be done with some kind of software routing on one of the computers. I
have been searching for som kind of info around this for weeks but don't
really know where to start..

Anyone have any idéas?

Best regards
/Thomas
Mar 16 '07 #1
5 1792
Hello ThomasZ,

First of all, this is the wrong group for your question. This group is
about the .NET Framework.
>I got a project coming that requires my app to connect together 3 or more
computers by Wireless network without a WLAN router available. I believe it
could be done with some kind of software routing on one of the computers.
This sounds like what you want is simply ad hoc mode, which is the mode
that is used when computers talk among themselves without a router being
present. This does not in itself require any software router either, as
long as data doesn't have to be routed elsewhere.

You can find some info about ad hoc mode here:

http://www.wi-fiplanet.com/tutorials...le.php/1451421
Oliver Sturm
--
http://www.sturmnet.org/blog
Mar 16 '07 #2
Hi Oliver,

Sorry if I ofended your sense of order but I tried to be brief in my
description in an attempt not to scare people away with a lot of details. So
here are the details:

Today I have a VB6 application that our people use when working in groups at
client offices. The application sets up networking with shell commands and
sets IP adresses, network shares, decrypts client data and set up our
buisness application to connect to this netshare. One user selects to be a
server and contains the client data that all other users use. A hub is used
to achieve the networking in this scenario but nowadays all our users have
laptops with WLAN adapters so my next project is to rebuild the VB6
application in VS2005 so we can use WLAN and our users won't need to carry
hubs and cables around anymore.

I have not found a good approach to achieve the network connections, set IP
and share folders or how to get a WLAN working with more than 3 computers. I
have seen som mention of WMI beeing used to achieve network mapping but have
not found any relevant infromation about how this would be done. So any
pointers to info on any of the above would be really appreciated.

The link you gave me seems vey interesting, I will read it on Monday.

Best regards
/Thomas

"Oliver Sturm" wrote:
Hello ThomasZ,

First of all, this is the wrong group for your question. This group is
about the .NET Framework.
I got a project coming that requires my app to connect together 3 or more
computers by Wireless network without a WLAN router available. I believe it
could be done with some kind of software routing on one of the computers.

This sounds like what you want is simply ad hoc mode, which is the mode
that is used when computers talk among themselves without a router being
present. This does not in itself require any software router either, as
long as data doesn't have to be routed elsewhere.

You can find some info about ad hoc mode here:

http://www.wi-fiplanet.com/tutorials...le.php/1451421
Oliver Sturm
--
http://www.sturmnet.org/blog
Mar 17 '07 #3
Hello ThomasZ,
>Sorry if I ofended your sense of order
Eh? Where does that come from? Because I said this isn't the right group?
Well, your post didn't contain a single reference to anything related to
..NET, that's why I said it - nothing to do with a sense of order, but with
your chance of getting a good reply to your question.
>my next project is to rebuild the VB6
application in VS2005 so we can use WLAN and our users won't need to carry
hubs and cables around anymore.
I don't quite understand what that has to do with your application... are
you writing an application that duplicates what Windows can easily do
itself, i.e. set up an ad hoc WLAN connection? I understand from your
further details that this is what you're trying to do - maybe it's just
me, but I don't really see the point in that.
>I have not found a good approach to achieve the network connections, set IP
and share folders
Okay, setting up shares - that's a different thing from what I mentioned
above. Well, in a way.
>or how to get a WLAN working with more than 3 computers. I
have seen som mention of WMI beeing used to achieve network mapping but
have
not found any relevant infromation about how this would be done. So any
pointers to info on any of the above would be really appreciated.
Nope, don't have any, sorry. Never tried doing that kind of thing from a
..NET application.
Oliver Sturm
--
http://www.sturmnet.org/blog
Mar 17 '07 #4
Dear Oliver,
I was not trying to be mean in any way, I just wanted to express that I
understand your point of view but maybe I used the wrong phrases when
replying. I am sorry but English is not my native language so maybe I was
missunderstod.

Yes it is basic Windows functions I am using for this application. The idéa
behind this is that it's supposed to be easy to use for our users with
limited computer knowledge. With a press of one button they can connect our
buisness application to each other without having to go through the steps of,
setting static IP, sharing folders, decrypting files(in the share). The VB6
version is very appreciated among our users since it makes their task alot
easier when outside the office.

You're previous link was very interesting and it seems like it might work
"out of the box" to set up a multiuser ad-hoc network. I still have to test
this live though..

I am looking at the wmi path since it seems to be the only way to configure
the netadapter in a manageable way.

Again I am really sorry if I offended you, it was never my intention

Best regards
/Thomas
"Oliver Sturm" wrote:
Hello ThomasZ,
Sorry if I ofended your sense of order

Eh? Where does that come from? Because I said this isn't the right group?
Well, your post didn't contain a single reference to anything related to
..NET, that's why I said it - nothing to do with a sense of order, but with
your chance of getting a good reply to your question.
my next project is to rebuild the VB6
application in VS2005 so we can use WLAN and our users won't need to carry
hubs and cables around anymore.

I don't quite understand what that has to do with your application... are
you writing an application that duplicates what Windows can easily do
itself, i.e. set up an ad hoc WLAN connection? I understand from your
further details that this is what you're trying to do - maybe it's just
me, but I don't really see the point in that.
I have not found a good approach to achieve the network connections, set IP
and share folders

Okay, setting up shares - that's a different thing from what I mentioned
above. Well, in a way.
or how to get a WLAN working with more than 3 computers. I
have seen som mention of WMI beeing used to achieve network mapping but
have
not found any relevant infromation about how this would be done. So any
pointers to info on any of the above would be really appreciated.

Nope, don't have any, sorry. Never tried doing that kind of thing from a
..NET application.
Oliver Sturm
--
http://www.sturmnet.org/blog
Mar 20 '07 #5
Hello ThomasZ,

Okay, I understand the point of what you're doing. I would still suggest
you try and look at modern mechanisms that may make your task easier - I
suspect your old application was possibly not written for current Windows
versions, and there may be things that have changed since then, like the
introduction of good WLAN support for instance, also in the user interface.
>I am looking at the wmi path since it seems to be the only way to configure
the netadapter in a manageable way.
Assuming you still have to do that, you may be right - I'm sure there are
also API calls for this, and also for the share creation part of things. I
can't tell you anything about this as I've never done it myself. I'd have
to look it up and I don't have that much time at the moment, sorry.
>Again I am really sorry if I offended you, it was never my intention
No problem :-)
Oliver Sturm
--
http://www.sturmnet.org/blog
Mar 20 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mudge | last post by:
Hi, My hosting provider only allows me to use 50 connections to my MySQL database that my Web site will use. I don't know what this 50 connections means exactly. Does this mean that only 50...
2
by: Bob | last post by:
We have a production web site that's data intensive (save user input to DB and query for displaying) with the ASP.NET app part on one W2K server and SQL 2000 DB on another W2K server. I have set...
0
by: Steven Van Dalem | last post by:
Pocket FrameWork VS2003 - VB Is there an easy way to tell if you are in range of the WLan, and thus connected? I would like to know this before I try to send information over the network. ...
17
by: Peter Proost | last post by:
Hi Group, I've got an interesting problem, I don't know if this is the right group but I think so because everything I've read about it so far says it's a .net problem. Here's the problem, we're...
6
by: Thorbjørn Jørgensen | last post by:
Hi I am trying to create an application that can configure some of the properties of a WLAN card, for instance BSSID. I can read the BSSID without any problems using the System.Management class. I...
4
by: Vhdl.eu | last post by:
Hi all, Is there anyone who knows how to access the Wlan Driver in Windows XP by mean of a VB.NET application? In other words; how can I use the Wlan driver from Windows in my next VB.NET...
1
by: irvine4ever84 | last post by:
I have a notepad,which having a data store into it and then overwrite by a new data every 1 second constantly. I want to read the data (which is the total bandwidth usage of my whole WLAN)which...
5
by: Usman Jamil | last post by:
Hi I've a class that creates a connection to a database, gets and loop on a dataset given a query and then close the connection. When I use netstat viewer to see if there is any connection open...
10
by: ycinar | last post by:
I am trying to familiarize myself with a C++ application which has a bug. I'd like to have the application connect to WLAN when LAN is not available and vice versa. Basically, it fails to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.