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

Visual Basic

 
GeneralRe: Flashing Minimized Form Pin
ADY0075-May-06 7:47
ADY0075-May-06 7:47 
Questionwant a function Pin
pptadam5-May-06 0:13
pptadam5-May-06 0:13 
AnswerRe: want a function Pin
Chatura Dilan5-May-06 0:23
Chatura Dilan5-May-06 0:23 
AnswerRe: want a function Pin
J4amieC5-May-06 0:59
J4amieC5-May-06 0:59 
AnswerRe: want a function Pin
Rizwan Bashir5-May-06 1:11
Rizwan Bashir5-May-06 1:11 
Questioncannot grab data from ms access database into list view Pin
penin4-May-06 23:46
penin4-May-06 23:46 
AnswerRe: cannot grab data from ms access database into list view Pin
Quecumber2565-May-06 2:33
Quecumber2565-May-06 2:33 
GeneralRe: cannot grab data from ms access database into list view Pin
penin7-May-06 14:57
penin7-May-06 14:57 
Hi Quecumber256, thank you so much for your help. I already tried and it worked but, sadly i have problem with the statement :

Set ListItemAdd = lstVwDetail.ListItems.Add(, , lstVwDetail.ListItems.Count + 1)

'ListItemAdd.SubItems(0) = rs(0)
ListItemAdd.SubItems(1) = rs!Room
ListItemAdd.SubItems(2) = rs!HostName
'ListItemAdd.SubItems(3) = rs!Environment


when i put the quote for bold statement above, no error but the output is not correct. The output should be in table. Just like in Ms Access. Do u have suggestion on this. Actually i already try to use Data Grid with statement :

Sub Form_Load()

Set DBMain = DBEngine.OpenDatabase(App.Path & "\dbDetail.mdb")
sql1 = "SELECT * FROM DEtail WHERE (Detail.Room)= '" & frmLayout.cbLayout.Text & "';"
Set rs = DBMain.OpenRecordset(sql1)

Set DataGrid1.DataSource = rs




End Sub


.....but i got error Type mismatch for Set DataGrid1.DataSource = rs

Can anyone help me?

Thank you so much
GeneralRe: Done. Yeah! no errors! Pin
penin7-May-06 16:33
penin7-May-06 16:33 
QuestionPrinting problems Pin
kassee4-May-06 23:29
kassee4-May-06 23:29 
QuestionSoftware estimation tool Pin
kassee4-May-06 23:26
kassee4-May-06 23:26 
Questionportability for vb.net Pin
kassee4-May-06 23:20
kassee4-May-06 23:20 
AnswerRe: portability for vb.net Pin
Guffa4-May-06 23:41
Guffa4-May-06 23:41 
QuestionI want to get the screen resolution Pin
Ishalini4-May-06 21:41
Ishalini4-May-06 21:41 
AnswerRe: I want to get the screen resolution Pin
Chatura Dilan4-May-06 22:41
Chatura Dilan4-May-06 22:41 
AnswerRe: I want to get the screen resolution Pin
sathish s4-May-06 23:11
sathish s4-May-06 23:11 
GeneralRe: I want to get the screen resolution Pin
Chatura Dilan4-May-06 23:40
Chatura Dilan4-May-06 23:40 
GeneralRe: I want to get the screen resolution Pin
ADY0075-May-06 0:58
ADY0075-May-06 0:58 
GeneralRe: I want to get the screen resolution Pin
sathish s5-May-06 1:05
sathish s5-May-06 1:05 
QuestionHow do I convert a PrintDocument to a Bitmap? Pin
furjaw4-May-06 19:49
furjaw4-May-06 19:49 
AnswerRe: How do I convert a PrintDocument to a Bitmap? Pin
Duncan Edwards Jones4-May-06 20:36
professionalDuncan Edwards Jones4-May-06 20:36 
QuestionWord documents’s TextChanged event Pin
Chatura Dilan4-May-06 19:40
Chatura Dilan4-May-06 19:40 
AnswerRe: Word documents’s TextChanged event Pin
Rizwan Bashir5-May-06 1:20
Rizwan Bashir5-May-06 1:20 
GeneralRe: Word documents’s TextChanged event Pin
Chatura Dilan5-May-06 2:12
Chatura Dilan5-May-06 2:12 
QuestionImage Editing Canvas Pin
A M SOMAN4-May-06 19:13
A M SOMAN4-May-06 19:13 

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.