Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 14th, 2004, 05:36 PM
Registered User
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Giving a program a 'name'

I'm in the process of creating a program that connects to the internet to receive data from a database.

Everytime I come to debug my program my firewall asks me whether I want to allow the program to access the internet.

The problem is that my program doesn't have a name, my firewall just says: " is trying to acess the internet".

Because my program doesn't have a name, I can't configure my firewall to automatically configure access rights for it, so I have to keep manually allowing the connections, and there are about 20 in total. This is rather annoying for me, but for the person I'm writing the program for, it'll be very (in nice terms) annoying.

Does anyone know how I can add a 'name' to my program, so that my (and the clients) firewall can be automatically configured?

Many thanks in advance,

The Badman

"If someone gives you lined paper, write the other way"
 
Old July 22nd, 2004, 12:47 PM
Authorized User
 
Join Date: Jul 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm thinking of two things...

1. Can you set your firewall via the file name - ie your_program.exe ?

2. I've not done it myself, but if you created an 'installer' for your program (think there's a Wizard for this), it should then get installed and be available under Add/Remove programs, perhaps by having this registry entry it might allow your firewall to be configured?

Just two things off of the top of my head, might not be any use to ya's..




Regards

Rob
 
Old September 12th, 2004, 09:57 PM
Registered User
 
Join Date: Sep 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Your program should have a name, whatever you called it.. i.e. MyProgram.exe because when you run (Debug or Release), VS creates the EXE and executes it.

The only other way of giving your program a 'name' is to set it's Assembly information in AssemblyInfo.vb from the Solution Explorer.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Error giving when i create the Subdomain Surjit Classic ASP Professional 0 April 18th, 2008 06:17 AM
SelectedValueChanged event is giving me a headache SQLScott Pro Visual Basic 2005 1 January 2nd, 2008 06:46 PM
Setup Project: Program not added in Start>Program arif_1947 VS.NET 2002/2003 2 March 31st, 2005 06:40 AM
Giving virtual directory own look and feel superkooi Javascript 2 December 27th, 2004 08:19 PM
Giving focus to controls KevinO ASP.NET 1.0 and 1.1 Basics 3 January 16th, 2004 02:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.