- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
10 Posted Topics
Hello, I am taking a VB.net class and am having trouble seeing the difference between event driven and object oriented programming. This will not help on any assignments, I have already turned it in, but I do not understand why VB6 is considered event driven and .NET is object oriented. …
Just place this behind the delete button. [CODE]lstReorder.RemoveItem (lstReorder.ListIndex)[/CODE] As long as the user has selected a line in the list box, this will work. -Mike
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, [code] Private Sub Form_Load() VScroll1.Max = (Frame1.Height - Me.Height) + 500 VScroll1.SmallChange = 50 VScroll1.LargeChange = 100 …
[CODE] Private Declare Function GetComputerName Lib "kernel32.dll" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long '------------------------------ 'it is also in the registry at 'HKLM \ System \ CurrentControlSet \ Control \ ComputerName \ ComputerName '--------------------------- 'Use the GetComputerName API Function . Private Sub Form_Load() Dim computer_name As …
[url]http://www.daniweb.com/techtalkforums/thread76114.html[/url]
[quote=t3hfr3ak;368925]ok... I keep getting error 75 "Path/File Access Error"... any suggestions? my code is as follows: [inlinecode] On Error GoTo FileError: Open "C:\t3hfr3akGames\Frogger\Data.FRG" For Input As #2 Do While Not EOF(2) Input #2, StrName, intHighScore lblHigh.Caption = "High" & vbCrLf & StrName & " " & intHighScore Loop Close #2 …
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 the end you get frequency(5)=frequency(5)+1 I know thats pretty much the same as the book's explanation, but sometimes when worded …
[COLOR=Black]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) As String, strgen2(100) As String, strdirect(100) As String, strlead1(100) As String, strlead2(100) As String, strlead3(100) As String Dim selection [/COLOR][COLOR=Black] then change this [/COLOR][COLOR=Black] …
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 I am having is that the sndPlaySound sounds are alot louder the the background. Thanks, Mike
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 > 0 Then Unload p2p(p2p.UBound) End If GoTo finalTimerConnections endTimerConnections: On Error Resume Next finalTimerConnections: p2p(0).Close p2p(0).Listen End Sub Private Sub …
The End.
cricket2030