Click here to Skip to main content
15,886,919 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Event and Functions Pin
Christian Graus10-May-07 23:32
protectorChristian Graus10-May-07 23:32 
AnswerRe: Event and Functions Pin
GgAben11-May-07 3:11
GgAben11-May-07 3:11 
AnswerRe: Event and Functions Pin
TwoFaced11-May-07 7:51
TwoFaced11-May-07 7:51 
QuestionList assemblies Pin
Sonia Gupta10-May-07 21:16
Sonia Gupta10-May-07 21:16 
AnswerRe: List assemblies Pin
Dave Kreskowiak11-May-07 3:23
mveDave Kreskowiak11-May-07 3:23 
Questionhow can i give access permission to Active directory user in vb.net Pin
koolprasad200310-May-07 21:14
professionalkoolprasad200310-May-07 21:14 
AnswerRe: how can i give access permission to Active directory user in vb.net Pin
Dave Kreskowiak11-May-07 3:21
mveDave Kreskowiak11-May-07 3:21 
Questionnewbie: class enum query Pin
aitch4210-May-07 21:09
aitch4210-May-07 21:09 
Hi-
I'm new here, trying to convert an asp project into asp.net, and tidying up as i go. I have a background of VB6, but have not coded for a long time. So have come up against many problems (so i expect to be active here for a while!)
And i am using the .net studio

The first query is trivial, it must be:

One problem i have is the adovbs.inc constants, which i have read ought to be in a class: but you cannot have public constants in a class, so to use enums.
I have found examples: but i cannot get them to work at all, however simple they look. Ideally, i will have a cls.ADOConstants that is separate to my clsDBRead: but even initally, i cannot get the code below (which is a class, clsDBRead) to see adUseServer, it is underlined in blue with "not declared"
---------------
Imports Microsoft.VisualBasic

Public Class Class1

Enum ADO_constants
adUseServer = 2
adUseClient = 3
End Enum

Public Function getKingdoms() As colKingdoms
MsgBox(adUseServer)
End Function
End Class
-------------------------

It has to be really trivial, but it is stopping my progress (to the next bit which is database access: i have controls bound to SQL statements no problem, but now i need to store the DB results in a dataset or class or collection: more fun! )

thanks -

aitch
--x---
AnswerRe: newbie: class enum query Pin
Christian Graus10-May-07 21:37
protectorChristian Graus10-May-07 21:37 
GeneralRe: newbie: class enum query Pin
aitch4210-May-07 22:25
aitch4210-May-07 22:25 
GeneralRe: newbie: class enum query Pin
Christian Graus11-May-07 0:59
protectorChristian Graus11-May-07 0:59 
GeneralRe: newbie: class enum query Pin
aitch4211-May-07 6:29
aitch4211-May-07 6:29 
Questiondeployment process in vb.net Pin
Sonia Gupta10-May-07 20:41
Sonia Gupta10-May-07 20:41 
AnswerRe: deployment process in vb.net Pin
Christian Graus10-May-07 20:45
protectorChristian Graus10-May-07 20:45 
GeneralRe: deployment process in vb.net Pin
Sonia Gupta10-May-07 20:53
Sonia Gupta10-May-07 20:53 
GeneralRe: deployment process in vb.net Pin
Christian Graus10-May-07 20:58
protectorChristian Graus10-May-07 20:58 
QuestionRe: deployment process in vb.net Pin
Sonia Gupta10-May-07 21:12
Sonia Gupta10-May-07 21:12 
AnswerRe: deployment process in vb.net Pin
Christian Graus10-May-07 21:40
protectorChristian Graus10-May-07 21:40 
AnswerRe: deployment process in vb.net Pin
P P Vilsad11-May-07 9:32
P P Vilsad11-May-07 9:32 
QuestionURGENT REGEX Pin
ant1xxx10-May-07 19:52
ant1xxx10-May-07 19:52 
AnswerRe: URGENT REGEX Pin
Christian Graus10-May-07 20:43
protectorChristian Graus10-May-07 20:43 
QuestionAbout Dll hell Pin
anujose10-May-07 19:31
anujose10-May-07 19:31 
AnswerRe: About Dll hell Pin
Christian Graus10-May-07 20:34
protectorChristian Graus10-May-07 20:34 
Questionhow to delete a value in datagrid from vb.net windows apllication? Pin
sathyan_829410-May-07 19:18
sathyan_829410-May-07 19:18 
AnswerRe: how to delete a value in datagrid from vb.net windows apllication? Pin
Tirthadip10-May-07 19:47
Tirthadip10-May-07 19:47 

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.