Click here to Skip to main content
15,899,825 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionTYPE as parameter Pin
MatthysDT10-Jan-07 1:42
MatthysDT10-Jan-07 1:42 
AnswerRe: TYPE as parameter Pin
Guffa10-Jan-07 2:15
Guffa10-Jan-07 2:15 
Questionhow to load image in picture box Pin
arunvjadhav10-Jan-07 1:24
arunvjadhav10-Jan-07 1:24 
QuestionRe: how to load image in picture box Pin
CPallini10-Jan-07 2:35
mveCPallini10-Jan-07 2:35 
AnswerRe: how to load image in picture box Pin
minhnguyen0810-Jan-07 16:34
minhnguyen0810-Jan-07 16:34 
AnswerRe: how to load image in picture box Pin
kigali16-Jan-07 19:50
kigali16-Jan-07 19:50 
QuestionMdi form problem.............. Pin
Nagraj Naik10-Jan-07 1:10
Nagraj Naik10-Jan-07 1:10 
QuestionTableAdapter hiding Pin
shreekar10-Jan-07 1:01
shreekar10-Jan-07 1:01 
Hi
I am using TableAdapters in my middle layer. Now I want to hide them from my UI code. The IDE offers only 2 possible access specifiers - Public and Friend. When I set the access specifier to Friend, the compiler complains that the methods in the table adapter generated code that return a strongly typed data table cannot be exposed. The error is as follows:

********** Error start ************
Error 21 'GetConfigDetails' cannot expose type 'Vigi.DTSysConfigDataTable' outside the project through class 'DTSysConfigTableAdapter'.
********** Error end ************
where GetConfigDetails is the method in the generated code and DTSysConfigTableAdapter is the tableadapter class generated by the IDE.

The strongly typed dataset and the class that is calling it both reside in the same project (hence assembly, I assume) I am returning only the class object from the middle tier.

Any idea how I can hide the dataset(with tableadapters) from the outside world and not get these types of errors?



Shreekar

QuestionVB.net application using mysql database Pin
priya_p23310-Jan-07 0:04
priya_p23310-Jan-07 0:04 
AnswerRe: VB.net application using mysql database Pin
testy_proconsul10-Jan-07 1:00
testy_proconsul10-Jan-07 1:00 
QuestionCreating a File Menu Pin
jady849-Jan-07 23:23
jady849-Jan-07 23:23 
AnswerRe: Creating a File Menu Pin
Colin Angus Mackay10-Jan-07 0:31
Colin Angus Mackay10-Jan-07 0:31 
GeneralRe: Creating a File Menu Pin
jady8410-Jan-07 1:49
jady8410-Jan-07 1:49 
GeneralRe: Creating a File Menu Pin
ChandraRam10-Jan-07 1:57
ChandraRam10-Jan-07 1:57 
GeneralRe: Creating a File Menu Pin
Colin Angus Mackay10-Jan-07 2:04
Colin Angus Mackay10-Jan-07 2:04 
QuestionHow to Get Execution Time Pin
suveenmohan9-Jan-07 23:15
suveenmohan9-Jan-07 23:15 
AnswerRe: How to Get Execution Time Pin
testy_proconsul9-Jan-07 23:56
testy_proconsul9-Jan-07 23:56 
Questionlistview problem ini vb.net 2005 Pin
amaneet9-Jan-07 23:10
amaneet9-Jan-07 23:10 
AnswerRe: listview problem ini vb.net 2005 Pin
johnny19639-Jan-07 23:49
johnny19639-Jan-07 23:49 
Questionlistview Pin
johnny19639-Jan-07 21:01
johnny19639-Jan-07 21:01 
AnswerRe: listview Pin
johnny196310-Jan-07 0:45
johnny196310-Jan-07 0:45 
GeneralRe: listview Pin
johnny196311-Jan-07 6:58
johnny196311-Jan-07 6:58 
Questionglobalization/localization Pin
tawiskid099-Jan-07 19:50
tawiskid099-Jan-07 19:50 
AnswerRe: globalization/localization Pin
testy_proconsul9-Jan-07 21:24
testy_proconsul9-Jan-07 21:24 
QuestionGet and Set property in vb.net Pin
amaneet9-Jan-07 19:24
amaneet9-Jan-07 19:24 

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.