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

Visual Basic

 
GeneralRe: searching from a text file Pin
MagicGirL8328-Feb-05 15:21
MagicGirL8328-Feb-05 15:21 
GeneralRe: searching from a text file Pin
Christian Graus28-Feb-05 15:26
protectorChristian Graus28-Feb-05 15:26 
GeneralWindows Form Flicking Pin
micdevnet27-Feb-05 16:36
micdevnet27-Feb-05 16:36 
GeneralRe: Windows Form Flicking Pin
Christian Graus27-Feb-05 17:02
protectorChristian Graus27-Feb-05 17:02 
GeneralRe: Windows Form Flicking Pin
micdevnet27-Feb-05 17:09
micdevnet27-Feb-05 17:09 
GeneralRe: Windows Form Flicking Pin
Christian Graus27-Feb-05 17:12
protectorChristian Graus27-Feb-05 17:12 
GeneralRe: Windows Form Flicking Pin
micdevnet27-Feb-05 17:24
micdevnet27-Feb-05 17:24 
GeneralData suggestions Pin
DavidMLevine27-Feb-05 15:56
DavidMLevine27-Feb-05 15:56 
I have an Access Database to read from.

this is query15:
SELECT TempData.ID, TempData.TemplateID, TempData.Images
FROM TempData
WHERE (((TempData.Size)="15x15"));


It is filling an imagelist with image names from the database. The currently working code is as follows:

Dim ImageList1 As New ImageList()
Dim Count As Integer
Dim Path As String
Temp15Adapter.Fill(TempDS151)
ImageList1.Images.Clear()

Aspect = "15x15\"
If Aspect = "" Then MsgBox("oops", MsgBoxStyle.Information)

For Count = 1 To TempDS151.Query15.Count
Path = TempDS151.Query15(Count - 1).TemplateID
ImageList1.Images.Add(Image.FromFile("C:\Adobe Project\Icons\" & Aspect & Path & ".jpg"))
Next Count
For Count = 1 To TempDS151.Query15.Count
Path = TempDS151.Query15(Count - 1).TemplateID
ListView1.Items.Add(Path)
Next Count
ListView1.LargeImageList = ImageList1
For Count = 0 To TempDS151.Query15.Count - 1
ListView1.Items(Count).ImageIndex = Count
Next Count
ListView1.View = View.LargeIcon

ListView1.Update()
Me.Update()

What I need to do now is filter the queries on TempData.Images depending on a listbox choice (1..12). I would hate to make 12 queries because I will also have to make a similar change to the TempDS151 dataset (for other than 15x15). This is my first adventure with database useage, so I am doing thing 1 step at a time. My initial question may hold up, or I may be shortsighted on my question. Anyone have some help as to which route to travel? I labored a few days just to get THIS to work, so any confusing suggestions will need some kind of example or at least written "For Dummies"
Thanks in advance...

Let me know if I am missing any pertinant info.

David M. LevineX|
GeneralRe: Data suggestions Pin
Dave Kreskowiak1-Mar-05 4:18
mveDave Kreskowiak1-Mar-05 4:18 
GeneralRe: Data suggestions Pin
DavidMLevine1-Mar-05 4:55
DavidMLevine1-Mar-05 4:55 
GeneralThe process cannot access the file " " because it is being used by another process. Pin
MagicGirL8327-Feb-05 14:34
MagicGirL8327-Feb-05 14:34 
GeneralRe: The process cannot access the file " " because it is being used by another process. Pin
Christian Graus27-Feb-05 14:48
protectorChristian Graus27-Feb-05 14:48 
GeneralRe: The process cannot access the file " " because it is being used by another process. Pin
MagicGirL8327-Feb-05 14:51
MagicGirL8327-Feb-05 14:51 
GeneralRe: The process cannot access the file " " because it is being used by another process. Pin
Christian Graus27-Feb-05 14:55
protectorChristian Graus27-Feb-05 14:55 
GeneralRe: The process cannot access the file " " because it is being used by another process. Pin
MagicGirL8327-Feb-05 15:00
MagicGirL8327-Feb-05 15:00 
QuestionHow do i close the program i just made??? Pin
Anonymous27-Feb-05 11:58
Anonymous27-Feb-05 11:58 
AnswerRe: How do i close the program i just made??? Pin
Mitch F.27-Feb-05 12:04
Mitch F.27-Feb-05 12:04 
GeneralRe: How do i close the program i just made??? Pin
Anonymous27-Feb-05 12:15
Anonymous27-Feb-05 12:15 
GeneralDoes anybody know? Pin
Anonymous27-Feb-05 12:53
Anonymous27-Feb-05 12:53 
GeneralRe: Does anybody know? Pin
H@is@here27-Feb-05 12:59
H@is@here27-Feb-05 12:59 
AnswerRe: How do i close the program i just made??? Pin
Christian Graus27-Feb-05 13:02
protectorChristian Graus27-Feb-05 13:02 
AnswerRe: How do i close the program i just made??? Pin
robprogger27-Feb-05 20:13
robprogger27-Feb-05 20:13 
GeneralRecording Times from Windows Media Player Pin
Mitch F.27-Feb-05 11:07
Mitch F.27-Feb-05 11:07 
GeneralRe: Recording Times from Windows Media Player Pin
H@is@here27-Feb-05 11:40
H@is@here27-Feb-05 11:40 
GeneralRe: Recording Times from Windows Media Player Pin
Mitch F.27-Feb-05 12:00
Mitch F.27-Feb-05 12:00 

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.