| Dart Home | PowerTCP Winsock for ActiveX | Custom Development | Reply | PowerTCP Winsock for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Winsock for ActiveX Topic: Vista Support? |
| edh1 From: Morrisville, NC USA Posts: 2 Member Since: 01/05/07 |
posted January 5, 2007 10:59 AM Is the RAS control supported for Windows Vista? Any known issues? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 5, 2007 1:44 PM I just tested it using our sample app and I was able to connect using a connection that I had already created using the Vista connection wizard, but I was not able to Add a new connection or edit the existing one. In other words, the Phonebook.Add and Phonebook.Edit methods do not work in Vista but the ConnectEntry method does. Unfortunately I cannot provide a timeline for when (and if) this will be addressed, but if this is crucial to you, please contact David Harry (sales@dart.com) to find out what options are available. For your reference, I have created a support issue for this and it is #4225 |
| edh1 From: Morrisville, NC USA Posts: 2 Member Since: 01/05/07 |
posted January 5, 2007 2:58 PM Thanks for the quick response Tony. We'll get in touch with David. Best, -Ed |
| mikei From: Morrisville, NC USA Posts: 12 Member Since: 01/05/07 |
posted January 5, 2007 3:36 PM Tony, Our code does not use any of the three calls you mention (ConnectEntry, Edit, Add). We use the call to Connect(string PhoneNumber, string User, string Password, string Domain, string CallbackNumber) Do you have any way of testing that with your sample app? The issue we are experiencing is that when .Connnect is called, the Vista OS prompts the user to select a network connection type (Home, Office, Private). In XP the call to .Connect would not yeild any prompts or popups from the OS. Thank you, Mike |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 8, 2007 9:40 AM I tried Connect with the phone number and it appeared to work. I don't have a dial-up account at the moment but I verified by setting the number to my cell phone. |
| mikei From: Morrisville, NC USA Posts: 12 Member Since: 01/05/07 |
posted January 8, 2007 9:43 AM Were you prompted by the Vista OS to select type of network connection (home, work, private, etc) BEFORE the call went through or did it just dial as soon as .Connect was executed? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 8, 2007 9:46 AM It just dialed the number. |
| mikei From: Morrisville, NC USA Posts: 12 Member Since: 01/05/07 |
posted January 8, 2007 12:42 PM Can you please post the exact code as well as the parameters that the sample app uses? Every time .Connect is called in our application, we get prompted by the Vista OS. It seems like its creating an entirely new dial up connection each time it is called. For example, the first time .Connect is called with the following parameters: .Connect("#777", "", "", "", "") The operating system will prompt "Select a location for the '.#777 1' network" If .Connect is called again with the same parameters, the OS will prompt: "Select a location for the '.#777 2' network" So, for some reason it is always creating a new dialup connection, naming it using the phone number and appending a number to the end of it. That number increases by one each time .Connect is called. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 8, 2007 1:08 PM I just created a new forms project and added one Ras control and one button. This is the only code for the entire project: Private Sub Command1_Click() Ras1.Connect "#777", "", "", "", "" End Sub When I press the button, the modem begins dialing. Have you checked with the System Admin to see if there are some security settings that have been changed from the default? |
| mikei From: Morrisville, NC USA Posts: 12 Member Since: 01/05/07 |
posted January 9, 2007 1:57 PM I have created a one line sample app just like yours and I always get the "Set Network Location" prompt when .Connect is called. No Vista security settings have been changed, they are still default. I have also tried disabling the Microsoft firewall and that did not help. Do you konw of anyway to disable the "Set Network Location" prompt? Also, please let me know what build of Vista you are testing with. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 9, 2007 2:04 PM Have you configured the modem on that machine yet? Maybe all you are seeing is the box that comes up the first time you use it. What happens if you do what it wants? Build # is 6000 |
| mikei From: Morrisville, NC USA Posts: 12 Member Since: 01/05/07 |
posted January 9, 2007 2:56 PM I have installed the driver for the modem. Beyond that I'm not sure that there is any more configuration that I can do. Any suggestions? After the OS prompts to set the network location, I can choose either Home, Work, or Public. I've tried all of them and no matter what I choose, the connection is made successfully. So there is no problem getting my app to dial and connect. It's this intermediate prompt from the OS that is my main concern. I am also using Vista build # 6000 |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 9, 2007 3:03 PM Have you created a connection using windows and gotten it to work on that computer? |
| mikei From: Morrisville, NC USA Posts: 12 Member Since: 01/05/07 |
posted January 9, 2007 3:10 PM Yes, I did create a dial up connection and that did work. When I did that, it prompted to set the network location. But on all dialing attempts after the initial one, it did not prompt anymore. Creating this dial up connection did not solve my issue when using my Dart sample app. That still prompts every time. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 9, 2007 5:12 PM There must be something in your OS that is causing the "network location" dialog to appear that is not on mine. If you can tell me what that is maybe I can determine how to avoid it. |
| mikei From: Morrisville, NC USA Posts: 12 Member Since: 01/05/07 |
posted January 10, 2007 10:35 AM Perhaps it's the modem/driver that is causing it. What type of modem are you using? How did you obtain the driver for it? I'm using a Novatel Wireless Merlin S620 PCMCIA modem from Sprint. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 10, 2007 10:45 AM I tried on two different Dell Inspiron laptops using the built in Modem with the default drivers supplied by Vista. Perhaps your computer has multiple locations defined? If so, what you are seeing would make perfect sense to me. |
| mikei From: Morrisville, NC USA Posts: 12 Member Since: 01/05/07 |
posted January 10, 2007 11:34 AM My computer does in fact have multiple locations. It has three network devices (LAN, WLAN, and the Novatel Modem). Vista requires you to set the network location the first time you connect for each given device. So if your computer has more than one network device, then it has multiple network locations. It does not make sense to me that it would ask to set the network location every single time that my modem connects via DartRas.Connect, because it does NOT ask if I connect using a regular dialup connnection. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 10, 2007 11:41 AM Connect allows you to Connect using a phone number only, therefore the OS has no idea which location you want to use. Why don't you use ConnectEntry instead? |
| mikei From: Morrisville, NC USA Posts: 12 Member Since: 01/05/07 |
posted January 10, 2007 1:50 PM Is your sample app using ConnectEntry? Because I thought it was using Connect this whole time. The reason we are not using ConnectEntry is that we are trying to avoid the requirement of having to create a dial up connectoid in network connections. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 10, 2007 2:02 PM Yes, it has always used ConnectEntry. As far as I know, it's not possible to use the RASAPI to dial a non-existant connection. When you dial by number, the RASAPI must create a volatile entry that it uses once then gets rid of. |
| mikei From: Morrisville, NC USA Posts: 12 Member Since: 01/05/07 |
posted January 10, 2007 2:15 PM Tony, please go back and read your post from January 8, 2007 1:08 PM. I was under the impression that you and I were using the same code when comparing our results: .Connect("#777", "", "", "", "") Now you are telling me your app was calling .ConnectEntry() this whole time. I'm confused. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 10, 2007 2:28 PM I think you are confused by the term "sample app". In my first post I was referring to the sample that we ship with the toolkit. Next, you informed me that you did not use ConnectEntry but rather Connect. So then I changed the sample so that it used Connect as you requested to see if it worked. Then I informed you that yes, Connect also works. |
| mikei From: Morrisville, NC USA Posts: 12 Member Since: 01/05/07 |
posted January 10, 2007 2:34 PM Thanks for clearing that up. All I want to know is this: When you call .Connect("#777", "", "", "", "") in Vista, are you prompted by the OS to set the Network Location? If you are not getting prompted, I'd like to figure out why so that we don't have to resort to using .ConnectEntry(). That's all I'm trying to alleviate. We do not want the users of our software to have to set the Network Location everytime a call to .Connect is made. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 10, 2007 2:50 PM No, I am not prompted by Vista because I do not have multiple locations defined. |
| mikei From: Morrisville, NC USA Posts: 12 Member Since: 01/05/07 |
posted January 11, 2007 12:18 PM Do you have any idea or target date when the PhoneBook.Add and PhoneBook.Edit functionality will be supported in Vista? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 11, 2007 12:39 PM No, not at this time. I believe someone else with your company was already discussing this with Dave though. |
| Reply | PowerTCP Winsock for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|