Advertisement

06.08.2004 at 04:44AM PDT, ID: 21017280
[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!

6.8

Check For Correct Registry Value

Asked by ADawn in Visual Basic Programming

Hello All,

I'm trying to check for the correct registry values when my application starts. The following is what is used to set the values of my calendar controls throughout the program:

'Color1 = 255            'This value can change
'Color2 = 11777465   'This value can change
'Color3 = 16557892   'This value can change

Dim sSplitThese() As String

iRegistryValues = Get the above color values from the registry. 'These values can be change by the user in the option's area of my program.

sSplitThese = Split(iRegistryValues, ":")

With MyCalendar
 .TitleBackColor = sSplitThese(0)
 .TitleForeColor = sSplitThese(1)
 .TrailingForeColor = sSplitThese(2)
End With

Now, there may some typos above (I'm not at my computer). If the user manually changes registry values, like add a 'Letter' to the string or remove one of the array values I receive an error.

If a 'Letter' is added I receive a Type Mismatch error. If an array value is missing I receive another error (I forget the error).

The array should look like this. 255:11777465:16557892

But, if it is changed to (say) this 25ss5:117dd77465:165ww57892 , I get an error.

If one of the array values are missing, like this 255:11777465: , I receive an error.

Any way of checking for these errors?

ADawn
   










Start Free Trial
[+][-]06.08.2004 at 04:48AM PDT, ID: 11258860

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

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

 
[+][-]06.08.2004 at 05:08AM PDT, ID: 11258994

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

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

 
[+][-]06.08.2004 at 05:45AM PDT, ID: 11259286

View this solution now by starting your 30-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

Zone: Visual Basic Programming
Sign Up Now!
Solution Provided By: djjaries
Participating Experts: 3
Solution Grade: A
 
 
[+][-]06.08.2004 at 05:58AM PDT, ID: 11259409

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.08.2004 at 06:10AM PDT, ID: 11259510

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

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

 
[+][-]06.08.2004 at 06:17AM PDT, ID: 11259592

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.08.2004 at 06:30AM PDT, ID: 11259715

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

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

 
[+][-]06.08.2004 at 06:51AM PDT, ID: 11259897

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.08.2004 at 07:17AM PDT, ID: 11260146

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

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

 
[+][-]06.08.2004 at 08:36AM PDT, ID: 11261260

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44