09-27-2007 07:57 PM
09-28-2007 06:01 PM
Hi richjoh,
There should be a setting in your firewall that will unblock LabVIEW. If that option is not available, what are you trying to do in your program?
09-28-2007 09:25 PM
Hi richjoh,
Try opening the INI for the EXE (they always create an INI with the same name) and set server.tcp.enabled=False.
It may be that VI server is enabled when you're building your EXE. I think the EXE inherits the Options so when it starts-up, it wants to allow TCP connections. Try disabling the TCP option before building the EXE and maybe the "server.tcp.enabled" will default to false.
Cheers!
09-30-2007 12:46 AM
Tbd,
I set all the network stuff in the ini file to False and the app still accesses web when I startup.
Still need ideas for this...
09-30-2007 02:47 AM
Hi richjoh,
Have seen this several times at work while distributing a specific EXE (always on XP machines) and thought I understood it - am not so sure now, sorry!
The dialog I've seen looks like the Windows Firewall, but it's the same idea you've described, also described here where it was a ZoneAlarm msg. If VirusScan builds a log of "allowed" connections, it might show the address and port LabVIEW is trying to connect to - this could help diagnose the source of the problem. Zonealarm and Norton Internet Security have such logs, will check a machine running VirusScan tomorrow.
Am on an XP (Prof.) machine now. Compiled several apps under two different versions of LV, rebooted after changing firewall settings, and tried loggin-in as user with less priviledges - the firewall refuses to complain.
BTW, what version of LabVIEW created the EXE?
Cheers.
10-01-2007 12:50 AM
10-12-2008 02:00 PM
I'm running into this problem NOW in 8.6 whereas it was NOT present before in a deployed build of the same code in 8.5.1, 8.5, 8.2, etc.
DNSLookupEnabled=FALSE
servertcp.enabled=FALSE
are both included in the app.INI file (per other notes) but still my app tries to access the internet on startup IF the computer is already connected to the internet. This is behavior I specifically do not want as I want any attempt at internet access to happen ONLY when a user manually selects to do so.
Any suggestions?
10-14-2008 01:46 PM
Hi drval
What exactly are you trying to do in your program? How are you detecting that the app is trying to access the internet on startup?
Regards,
Justin P
National Instruments
10-19-2008 07:21 AM
I'm using webbrowser2 in an ActiveX container in a sub-vi that programmatically calls to the internet. As I understand it webbrowser2 remembers the last URL it SUCCESSFULLY accessed and then tried to access that when it instantiates -- whether or not it is called. The code is based on the shipping example:
ActiveX Event Callback for IE.vi
Try embedding that as a callable sub-vi in a larger app and you should see the same behavior.
10-21-2008 11:22 AM
drval,
I was able to replicate the behavior that you are seeing. It does look like the webbrowser2 does attempt to access the internet, in 8.6, as soon as the vi is loaded. This is new to 8.6. If you can't have this happening, I would dynamically load the vi that is using the webbrowser2 at the time you need it.
Have a great day,
Justin P