Click here to Skip to main content
16,005,222 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralDisplay OLE Object Pin
scitro18-Nov-03 12:40
scitro18-Nov-03 12:40 
GeneralRe: Display OLE Object Pin
Cliff Wellman21-Nov-03 14:11
Cliff Wellman21-Nov-03 14:11 
GeneralVB.NET - generate reports Pin
Sean Wyatt18-Nov-03 12:31
Sean Wyatt18-Nov-03 12:31 
GeneralRe: VB.NET - generate reports Pin
Mike Ellison19-Nov-03 9:55
Mike Ellison19-Nov-03 9:55 
Generalsending a message from one machine to the other in LAN ...... Pin
Mohan G18-Nov-03 9:20
Mohan G18-Nov-03 9:20 
Generalhelp with spliting:still didn't get a help Pin
18-Nov-03 8:04
suss18-Nov-03 8:04 
GeneralRe: help with spliting:still didn't get a help Pin
pnpfriend19-Nov-03 10:34
pnpfriend19-Nov-03 10:34 
GeneralDatabinding problem Pin
Corobori18-Nov-03 4:13
Corobori18-Nov-03 4:13 
I am a newbie programing with VB.NET. I need to write an app separating Data Access Layer and form. In my DAL I have the following method:

Public Function GetcboRelationsDataSet() As cboRelationsDataSet
Dim ds As New cboRelationsDataSet

Try
cboRelationsDataAdapter.Fill(ds)
return ds
Catch exc As Exception
Dim msg As String
msg = "Error reading Widget List from database"
Throw New DALException(msg, exc, Nothing)
End Try

End Function

And in my form this code to bind the dataset:

Private Sub frmListeRelations_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Dim rh As New RelationsHandler

Try
lstRelations.DataSource = rh.GetcboRelationsDataSet
lstRelations.DisplayMember = "sNom"
lstRelations.Refresh()
Catch ex As Exception

End Try
End Sub


Is this correct ? The code runs fine but no data comes up.

jean-luc
GeneralCycle through multiple panels Pin
Brad Fackrell18-Nov-03 3:11
Brad Fackrell18-Nov-03 3:11 
GeneralTracking WebPage Loading on IE through VB Pin
sohel_mallik18-Nov-03 2:11
sohel_mallik18-Nov-03 2:11 
GeneralWhy does VB6 append Ctl to my OCX library name Pin
UKTrebor18-Nov-03 1:08
UKTrebor18-Nov-03 1:08 
QuestionHow do I make menu flat Pin
the_warlord17-Nov-03 15:30
the_warlord17-Nov-03 15:30 
GeneralTree view control Pin
Riffla16-Nov-03 19:20
Riffla16-Nov-03 19:20 
GeneralNeed Ideas: develop a shopping cart Pin
Anonymous16-Nov-03 9:26
Anonymous16-Nov-03 9:26 
Generalcausesvalidation sticky field Pin
Member 69517616-Nov-03 8:25
Member 69517616-Nov-03 8:25 
GeneralRe: causesvalidation sticky field Pin
Hesham Amin16-Nov-03 11:09
Hesham Amin16-Nov-03 11:09 
GeneralRe: causesvalidation sticky field Pin
Member 69517616-Nov-03 17:52
Member 69517616-Nov-03 17:52 
GeneralGenerics in Visual Basic Whidbey Pin
Kevin McFarlane15-Nov-03 11:25
Kevin McFarlane15-Nov-03 11:25 
GeneralSedurity Pin
Anonymous15-Nov-03 9:53
Anonymous15-Nov-03 9:53 
GeneralRe: Sedurity Pin
Anonymous16-Nov-03 5:12
Anonymous16-Nov-03 5:12 
Generalclass / property description Pin
Sarvesvara (BVKS) Dasa14-Nov-03 22:39
Sarvesvara (BVKS) Dasa14-Nov-03 22:39 
GeneralRe: class / property description Pin
Kevin McFarlane15-Nov-03 11:33
Kevin McFarlane15-Nov-03 11:33 
GeneralRe: class / property description Pin
Sarvesvara (BVKS) Dasa15-Nov-03 18:13
Sarvesvara (BVKS) Dasa15-Nov-03 18:13 
GeneralRe: class / property description Pin
Anonymous16-Nov-03 5:10
Anonymous16-Nov-03 5:10 
GeneralRe: class / property description Pin
Sarvesvara (BVKS) Dasa16-Nov-03 20:29
Sarvesvara (BVKS) Dasa16-Nov-03 20:29 

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.