Click here to Skip to main content
15,888,454 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Read selected Excel data into DataGridView using VB.NET2008 Pin
helelark12312-Jul-09 2:10
helelark12312-Jul-09 2:10 
QuestionRe: Read selected Excel data into DataGridView using VB.NET2008 Pin
drexler_kk12-Jul-09 2:15
drexler_kk12-Jul-09 2:15 
AnswerRe: Read selected Excel data into DataGridView using VB.NET2008 Pin
helelark12312-Jul-09 2:17
helelark12312-Jul-09 2:17 
AnswerRe: Read selected Excel data into DataGridView using VB.NET2008 Pin
drexler_kk12-Jul-09 2:25
drexler_kk12-Jul-09 2:25 
GeneralRe: Read selected Excel data into DataGridView using VB.NET2008 Pin
helelark12312-Jul-09 2:28
helelark12312-Jul-09 2:28 
QuestionNetwork Messages? Pin
Paramu197311-Jul-09 21:34
Paramu197311-Jul-09 21:34 
AnswerRe: Network Messages? Pin
Dave Kreskowiak13-Jul-09 3:57
mveDave Kreskowiak13-Jul-09 3:57 
QuestionClass Library question Pin
kmas375211-Jul-09 21:00
kmas375211-Jul-09 21:00 
Hi, hope I'm posting in the right forum.
Got a question on making a general functions class library that will be used in several applications and asp pages, sometimes running at the same time.
I've looked at a lot of samples on the web and they all show you to create an instance of the classlibrary namespace or the classlibrary class.

IE.
dim obj2 as new mycompany.mynamespace.myclass
dim n2 as integer
n2 = obj2.somefunction(...)

What I did was create my class library and put a class in it and declared a function as sharred, then created my dll.
I don't have to create an instance of it and I can use it like the net framework by just coding
n2 = mycompany.mynamespace.myclass.somefunction(...).

Am I going to run into problems doing it this way?
If so how can it be done?
The net framework does this, I mean once I imports it I don't have to make an instance of it in every function.

All the samples I've seen about class libraries do not use the shared keyword.

Could some explain this to me?

Thanks for allowing me to post. Mark.
AnswerRe: Class Library question Pin
Christian Graus12-Jul-09 4:35
protectorChristian Graus12-Jul-09 4:35 
GeneralRe: Class Library question Pin
kmas375213-Jul-09 2:18
kmas375213-Jul-09 2:18 
Questioncrystal report viewer refresh method Pin
KIDYA11-Jul-09 19:44
KIDYA11-Jul-09 19:44 
AnswerRe: crystal report viewer refresh method Pin
writetouser17-Feb-11 16:46
writetouser17-Feb-11 16:46 
Questionneed guidance in vbscripting Pin
spruha36911-Jul-09 18:33
spruha36911-Jul-09 18:33 
AnswerRe: need guidance in vbscripting Pin
dan!sh 11-Jul-09 22:24
professional dan!sh 11-Jul-09 22:24 
GeneralRe: need guidance in vbscripting Pin
spruha36911-Jul-09 23:54
spruha36911-Jul-09 23:54 
QuestionCheck sound card buffer Pin
anomis11-Jul-09 8:34
anomis11-Jul-09 8:34 
AnswerRe: Check sound card buffer [modified] Pin
Henry Minute11-Jul-09 11:07
Henry Minute11-Jul-09 11:07 
AnswerRe: Check sound card buffer Pin
anomis11-Jul-09 19:07
anomis11-Jul-09 19:07 
QuestionHow to change row heigth of a listviewitem(/treeviewnode) Pin
User 584223711-Jul-09 6:48
User 584223711-Jul-09 6:48 
AnswerRe: How to change row heigth of a listviewitem(/treeviewnode) Pin
Henry Minute11-Jul-09 11:11
Henry Minute11-Jul-09 11:11 
AnswerRe: How to change row heigth of a listviewitem(/treeviewnode) Pin
Sonhospa12-Jul-09 0:49
Sonhospa12-Jul-09 0:49 
GeneralRe: How to change row heigth of a listviewitem(/treeviewnode) [modified] Pin
User 584223713-Jul-09 2:51
User 584223713-Jul-09 2:51 
QuestionTranslation to VB [modified] Pin
Saul Johnson11-Jul-09 6:37
Saul Johnson11-Jul-09 6:37 
AnswerRe: Translation to VB Pin
riced11-Jul-09 9:46
riced11-Jul-09 9:46 
GeneralRe: Translation to VB Pin
Saul Johnson11-Jul-09 10:49
Saul Johnson11-Jul-09 10:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.