I am able to load MSCOMM into a form. No Error Messages. I cant test it because I dont know the control.
My system is a Clean install using Full OEM/T
windows 98.4.10.1988
AMD650
512MB
Software Updates:
Windows98 :
Q245729 Update
Q256015 Update
Q259728 Update
Q273991 Update
Q214147 Update...
Try adding this "Flag" (varOnOff) into your code, it will make it so the sub only runs once
Private Sub Timer1_Timer()
Dim RAS As Integer
Dim wk(7)
Dim cnt As Integer
wk(1) = "Sunday"
wk(2) = "Monday"
wk(3) = "Tuesday"
wk(4) = "Wednesday"
wk(5)...
I am running a Learning Version of VB 6.0
Under Components I see:
Microsoft Comm Control 5.0
and
Microsoft Windows Common Controls 5.0 (SP2)
I am able to load both of them onto my toolbox.
Private Sub mnuLoad_Click()
fnum = FreeFile
Open "C:\My Documents\Hydroponics\Controler2\Controler2.ini" For Input As fnum
Input #fnum, var1, var2,etc...
Close fnum
End Sub
Private Sub mnuSave_Click()
fnum = FreeFile
Open "C:\My...
Private Sub CheckBox_Click(Index As Integer)
If CheckBox(Index) = 0 Then
'insert your not checked code here
Else
'insert your is checked code here
End If
End Sub
This is what I use to detect a change in a checkbox array.
I have built a "board" that plugs into the par port to control all the fans and pumps in my greenhouse.
The program works properly.
My Question is, for packaging and distrabution, how should I write the code to access my .ini file that holds the variables.
Right now I have it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.