473,325 Members | 2,816 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,325 software developers and data experts.

Is it really necessary to manually edit Reference.vb?

pat
Group,

In order to communicate with SSL (443) web services, I need to have my
VB.NET client accept certs. This is no big deal when modifying the
References.vb file's New() method with the line:

System.Net.ServicePointManager.CertificatePolicy = New
MyCertificateValidation

...and the associated MyCertificateValidation class.

But this is sorta lame. If I "Update Web Reference", the changes are
naturally over-written by the new Reference.vb.

Two questions for the more learned of you come out of this approach:

1. Is it necessary to modify Reference.vb in the first place?

2. If not, then where can the call be made to accomplish the same
thing?

There is only so much that I can do from the WSDL file, so there must
be an elegant VB.NET solution to this, right?

TIA!

pat
:)

Mar 3 '06 #1
0 876

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

Similar topics

15
by: Randall Smith | last post by:
I've been programming in Python for about 2 years. I think it offers the best combination of simplicity and power of any language I have explored. As I write more and larger and complex programs,...
4
by: Craig | last post by:
I have a page that has a few columns and totals. I've been asked to amke sure that not only is the totals boxes readonly, they must not accept focus from the cursor. However, setting the bo to...
2
by: | last post by:
I would like to add a reference to my project manually. Is there somewhere in the IDE where I can see and modify all of this project's references? Thanks, VM
8
by: Ted Miller | last post by:
Hi folks, I'm looking at moving a large base of C++ code to .Net under tight time constraints. The code runs in mission-critical environments, and I am extremely concerned about the loader lock...
8
by: Peter Olcott | last post by:
Exactly why does C# and .NET require all the extra copying of data?
2
by: VB Programmer | last post by:
I have a gridview control with several data fields. When the user clicks 'edit' for the row I want the user to be able to edit a particular text field. Under that 'edit' textbox is a button. ...
18
by: Earl Anderson | last post by:
First, I feel somewhat embarrassed and apologetic that this post is lengthy, but in an effort to furnish sufficient information (as opposed to too little information) to you, I wanted to supply all...
1
by: dufnobles via AccessMonster.com | last post by:
How can I manually save information entered on a form onto a table? The form information is derived from different tables. I want to inter the resulting information into another table. Please...
7
by: dgk | last post by:
I'm trying to use a Sharepoint webservice. I start a new VB Windows project (VS2008 or 2005). I add a web reference to the Copy service (http://192.168.1.25/_vti_bin/copy.asmx). I add no code, all...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.