Advertisement

05.10.2008 at 07:51AM PDT, ID: 23391694
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.7

How to Set NULL value in VB 2008

Asked by DEWebWorks in Microsoft Visual Basic.Net, VB Database Programming

Tags:

Hi,

I'm transitioning from VB6 to VB2008 and I have a few simple questions. First of all, where is a simple example of creating a text log file and appending to it? Everytime I search, I come up with .ini file manipulation. I just want to create a text file and whenever my program throws an error, I want to write the line out to that text file.

Second (and much easier, I'm sure) I'm reading in a text (csv) file and populating a database. I have a field that can be NULL. If there is not a value in the text file for it, and I do nothing, I get the error that my stored proc is expecting a value. So, I need to send in a NULL value. When I use vbNull, it's inserting a 1 into the field instead of NULL. I have this so far... Start Free Trial
1:
If String.IsNullOrEmpty(Network) = True Then Network = vbNull
 
Keywords: How to Set NULL value in VB 2008
 
Loading Advertisement...
 
[+][-]05.10.2008 at 07:55AM PDT, ID: 21539244

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.10.2008 at 08:19AM PDT, ID: 21539347

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.10.2008 at 08:26AM PDT, ID: 21539376

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.10.2008 at 08:42AM PDT, ID: 21539408

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.10.2008 at 12:43PM PDT, ID: 21540281

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual Basic.Net, VB Database Programming
Tags: Visual Basic 2008
Sign Up Now!
Solution Provided By: Sancler
Participating Experts: 4
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628