473,385 Members | 1,429 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Sub Compiling error

1
Hi,

My script errors when compiling with:

SCRIPT: Compiling Error => Line 59 : Expected statement (-2146827264)

'Variables available on this screen can be declared and initialized here.
Dim i
Dim j

'Procedures available on this screen can be implemented here

'This procedure is executed just once when this screen is open.
Sub Screen_OnOpen()

End Sub

'This procedure is executed continuously while this screen is open.
Sub Screen_WhileOpen()

For i = 9 To 13
$FwdCmb_05[i].Description = "Fwd Cmb " & CStr(i)+1
$FwdCmb_Pics_05[i].Description = $FwdCmb_05[i].Description

For j = 0 To 0
$FwdCmbCR_05[j].Description = "Fwd Cmb Control Unit " & CStr(i)+1
$FwdCmbCR_Pics_05[j].Description = $FwdCmbCR_05[j].Description

If $FwdCmb_05[i].Amp_A = 1 Then
$FwdCmb_Pics_05[i].Amp_A = "web\Ok.bmp"
Else
$FwdCmb_Pics_05[i].Amp_A = "web\FAIL_RED.bmp"
End If

If $FwdCmb_05[i].Amp_B = 1 Then
$FwdCmb_Pics_05[i].Amp_B = "web\Ok.bmp"
Else
$FwdCmb_Pics_05[i].Amp_B = "web\FAIL_RED.bmp"
End If

If $FwdCmbCR_05[j].Amp = 1 Then
$FwdCmbCR_Pics_05[j].FwdCmbRC_Amp = "web\Ok.bmp"
Else
$FwdCmbCR_Pics_05[j].FwdCmbRC_Amp = "web\FAIL_RED.bmp"
End If

If $FwdCmbCR_05[j].PS_A = 1 Then
$FwdCmbCR_Pics_05[j].FwdCmbRC_PS_A = "web\Ok.bmp"
Else
$FwdCmbCR_Pics_05[j].FwdCmbRC_PS_A = "web\FAIL_RED.bmp"
End If

If $FwdCmbCR_05[j].PS_B = 1 Then
$FwdCmbCR_Pics_05[j].FwdCmbRC_PS_B = "web\Ok.bmp"
Else
$FwdCmbCR_Pics_05[j].FwdCmbRC_PS_B = "web\FAIL_RED.bmp"
End If

If $FwdCmbCR_05[j].Pwr = 1 Then
$FwdCmbCR_Pics_05[j].FwdCmbRC_PS_A = "web\Ok.bmp"
Else
$FwdCmbCR_Pics_05[j].FwdCmbRC_Pwr = "web\FAIL_RED.bmp"
End If

End Sub

'This procedure is executed just once when this screen is closed.
Sub Screen_OnClose()

End Sub


I'm new to VB and would appreciate help.

Thanks in advance,

m.
Jan 22 '07 #1
0 1096

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Martin Bless | last post by:
I need to access a MSSQL database (MS-Sql, not MySQL!)and would very much like to use mssql-0.09.tar.gz which is available from http://www.object-craft.com.au/projects/mssql/download.html ...
0
by: pruebauno | last post by:
Hello all, I am having issues compiling Python with large file support. I tried forcing the configure script to add it but then it bombs in the make process. Any help will be appreciated. ...
11
by: Arturo DiDonna | last post by:
Hello everyone. I am trying to compile someone else code and I am stuck with compilation problems using the g++ 3.3 compiler. Basically, when compiling the following code, I get this error...
4
by: Aaron Queenan | last post by:
When I build a C++ library to .NET using the managed C++ compiler, I get the following error message: Linking... LINK : error LNK2020: unresolved token (0A000005) _CrtDbgReport LINK : error...
1
by: Jim Heavey | last post by:
Hello, trying to round out my knowlege here about compiling. To date I have used VS.Net to do all my compiling "majically", but I want to understand how to do it on my own, should the need ever...
1
by: Mike Hutton | last post by:
I need some help. I am trying to set up our development environment so as to make life easy for my fellow developers (none of whom have used ASP.NET or VS.NET before). We are developing our...
6
by: Josefo | last post by:
Hello all. I am a newbie following the C++ tutorial in : http://www.cplusplus.com/doc/tutorial/templates.html I am unable to succesfully compile any of the examples with templates of this...
8
by: WebSnozz | last post by:
I have an application written in C that does a lot of low level stuff. It does a lot of things like casting from void*'s. I want to create a new GUI for it in either C# or MC++, but reuse the...
6
by: Cybex | last post by:
I am taking a C++ class and would like to use a Linux based IDE vs C+ + .Net but I am a little lost in how to go about this. I think that the IDE and compilation tools are separate under Linux. I...
2
by: renagade629 | last post by:
Can anybody help me understand what i'm doing wrong or what I'm missing? Is there anyother good and commendable C++ program I can use (free) from the internet like Dev C++? I'm having trouble doing...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.