Questions

nvc944

Newcomer
Joined
Apr 25, 2003
Messages
14
Hi guys,

I am a new to this VB.NEt and need some help I am doing the questions at the back of chapter 4 and need some help..

1. NET is equivalent to Web Services, true or false? Explain.
2. What is the namespace of this class:
System.Data.SqlClient.SqlDataAdapter

3.I'm creating a class called Employee and I'd like to make the method
GetPerformanceHistory available to derived classes only. Which access modifier should I use?

4. Write a line of code to display a message box that show the current
time and format it to "hh:mm:ss"

5. I created a class library and used ClassLibrary8 as my project name.
Now I want to wrap my classes in a root namespace called Apr14VBNET and name
my assembly VBNET123. What do I need to do?

6. What does #region <region_name> ... #endregion do?

Can I have a little help.. I am soo confused from vb 3 to this!! big jump, thanks.
 
You couldn't answer ANY of these questions yourself? Did you read the chapter first? These should all be pretty easy if you read the book, I would assume.

If you gave me any sign that you'd at least tried answering these, then maybe I'd be willing to help.

-nerseus
 
Hello..

Sure what sign do want? I have the other questions done..
I send post them not a big deal..
 
What sign? Well question 2 is this:
2. What is the namespace of this class:
System.Data.SqlClient.SqlDataAdapter

You could have said "I think it's System.Data.SqlClient or maybe it's SqlClient - I get confused on namespaces". But just blindly typing the questions and asking for the answers... well, as divil said: nil points for research!

-Ner
 
thanks guys

1) In the assembly project, right click the References in the File View and choose add, use the browse to locate your DLL.

2) System.Data.SqlClient if that does not exist then right click the References folder in the file view, choose add then scroll through the list until you find System.Data then Add it to the project

3) Private - Avaliable to this class only
Protected - Avaliable to this class and all derived classes ONLY
Public - Avaliable to everyone
Friend - Avaliable to all classes WITHIN this assembly

4) VB6's Integer will become 'Short' in VB.NET; VB6's Long will become 'Integer'
in VB.NET; and VB.NET new 64 bit 'Long' doesn't have an equivalent in VB6.

5) .NET is equivalent to Web Services, true or false? true

6)

7)


8) dim dtdatetime as datetime = now()
dim smsgDate as String

smsgdate = dtdatetime.tostring("H")
lbltime.text = smsgdate


this is what I have so far with research, I naturally have no idea or I would not be posting for help soo thank you all for the input.
 
Ner,
Such patience... saintly.
Wyrd must not have seen this yet. Would like
to read his response.

For most programers, I think a big part of the satisfaction is rising
to the challange. Staying on the steep part of the learing curve.
The less likely success is the more interesting the problem becomes.

nvc944, the forum doesn't do homework.

Quote from Yoda: Try not, do.

But at least try.
 
Back
Top