Search Results

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: cricket2030
Forum: Visual Basic 4 / 5 / 6 Apr 17th, 2008
Replies: 12
Views: 2,867
Posted By cricket2030
So your list box is in access, is it linked to a table or query?
Forum: Visual Basic 4 / 5 / 6 Apr 16th, 2008
Replies: 12
Views: 2,867
Posted By cricket2030
.listindex is the items index in the list. You could try setting a variable to it.

a = lstReorder.ListIndex

then do:

lstReorder.RemoveItem (a)

I have attached the project that I have...
Forum: Visual Basic 4 / 5 / 6 Apr 16th, 2008
Replies: 12
Views: 2,867
Posted By cricket2030
Just place this behind the delete button.

lstReorder.RemoveItem (lstReorder.ListIndex)

As long as the user has selected a line in the list box, this will work.

-Mike
Forum: Visual Basic 4 / 5 / 6 Mar 19th, 2008
Replies: 9
Views: 8,298
Posted By cricket2030
VScroll1.Max = (Frame1.Height - Me.Height) + 500 <= This is used to set the max on the vertical scroll bar. I used a frame control and extended it beyond the height of the form, so to get the...
Forum: Visual Basic 4 / 5 / 6 Mar 17th, 2008
Replies: 5
Solved: comp name
Views: 952
Posted By cricket2030
Private Declare Function GetComputerName Lib "kernel32.dll" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long

'------------------------------
'it is also in the registry...
Forum: Visual Basic 4 / 5 / 6 Jun 8th, 2007
Replies: 2
Views: 2,748
Posted By cricket2030
http://www.daniweb.com/techtalkforums/thread76114.html
Forum: Visual Basic 4 / 5 / 6 May 19th, 2007
Replies: 7
Views: 2,832
Posted By cricket2030
Since you never create the file 'Data.FRG', you end up in FileError where it tries to remake the same dir. Thats where the error is coming from.

Try this
After:

MkDir...
Forum: Visual Basic 4 / 5 / 6 Apr 25th, 2007
Replies: 2
Views: 2,973
Posted By cricket2030
mResponses(x) will always be a number from1 to 10. 'x' is the student number, mResponses(x) is that students response. So if that student says 5 then frequency(mResponses(x)) = frequency(5).

in...
Forum: Visual Basic 4 / 5 / 6 Apr 25th, 2007
Replies: 9
Views: 8,298
Posted By cricket2030
You could try changing these 2 settings
VScroll1.SmallChange = 50
VScroll1.LargeChange = 100

If you make your form into a MDI child, then the MDIform will supply scroll bars to view the MDI...
Forum: Visual Basic 4 / 5 / 6 Apr 25th, 2007
Replies: 2
Views: 1,178
Posted By cricket2030
Try making your variables into array's.

try:
declare your variables like this,

Dim strmovie(100) As String, strimdb(100) As String, strper(100) As String, stryear(100) As String, strgen1(100)...
Forum: Visual Basic 4 / 5 / 6 Apr 23rd, 2007
Replies: 9
Views: 8,298
Posted By cricket2030
Forum: Visual Basic 4 / 5 / 6 Apr 22nd, 2007
Replies: 9
Views: 8,298
Posted By cricket2030
Place the scroll bar on the form, take everything else and place them in a frame. make sure the frame is the max height you need.

Then you can do something like this,


Private Sub Form_Load()...
Forum: Visual Basic 4 / 5 / 6 Feb 21st, 2007
Replies: 2
Views: 2,394
Posted By cricket2030
Can you do that with out having the other sounds stop the background ones?
Forum: Visual Basic 4 / 5 / 6 Feb 19th, 2007
Replies: 3
Views: 2,228
Posted By cricket2030
You need to index the winsock controler, look in the properties. Set the index to 0. after that it should all work.

2852
Forum: Visual Basic 4 / 5 / 6 Feb 19th, 2007
Replies: 2
Views: 2,394
Posted By cricket2030
Is there any way to adjust the volume per sound when using the sndPlaySound function?

I am using an MMControl for background music, and currently using sndPlaySound for all other sounds. The issue...
Forum: Visual Basic 4 / 5 / 6 Feb 19th, 2007
Replies: 3
Views: 2,228
Posted By cricket2030
This how I have been doing that.

requires a timer => conncheck
winsock control => p2p(0)

Private Sub conncheck_Timer()
Dim a As Integer
If p2p(p2p.UBound).State = 8 And p2p.UBound...
Showing results 1 to 16 of 16

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC