473,651 Members | 2,659 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sub Compiling error

1 New Member
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_WhileOpe n()

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.b mp"
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.b mp"
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.b mp"
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.b mp"
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.b mp"
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.b mp"
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 1104

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

Similar topics

0
2061
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 Unfortunately the binary for Python-2.4 isn't available yet and I'd hate to step back to a previous version. I'm glad I managed to set up my XP machine to being able to compile extensions using the VC++ toolkit which freely availbale from MS. See
0
1988
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. Information: Architecture: PowerPc on AIX version 5 Compiler:
11
3187
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 message: parsefcns.cc: In function `void get_token(std::ifstream*, char**)': parsefcns.cc:57: error: cannot convert `std::basic_string<char, std::char_traits<char>, std::allocator<char> >' to `char*' in assignment make: *** Error 1
4
11340
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 LNK2020: unresolved token (0A000007) memset LINK : error LNK2020: unresolved token (0A000008) free LINK : error LNK2020: unresolved token (0A00000A) atexit LINK : error LNK2020: unresolved token (0A000028) wcscpy LINK : error LNK2020: unresolved...
1
1901
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 arrise. It has been suggested to me that I should use the following pattern when compiling my programs, but I am not sure I understand the "pattern", Try creating a text file along the following lines where the /r are the dlls you are...
1
1722
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 intranet which will comprise basic content with a number of small data-driven ASP.NET applications. I need to keep things simple, so I need to avoid stuff which needs too much in-depth knowledge to work.
6
2591
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 tutorial. I use the standard c++ compiler which comes with ubuntu breezy distro. I guess that somethig is wrong with it or (more likely..) I should use some option when compiling. This is, for instance, one of the codes: // template specialization...
8
2197
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 existing code. The options I've considered so far: 1. Create a new MC++ GUI project and add the *.c files to them and mark them with pragma unamanged. However, the /clr option does not compile *.c files, so I rename them to *.cpp, and now they...
6
10790
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 have tried to take code written and tested under C++ .Net and tried compiling it in Linux via gcc but I keep getting errors. The code: #include <iostream> using namespace std;
2
11273
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 basic compiling on this new Dev C++, when i try to print something like: #include<iostream.h> using namespace std; int main () { cout << "Hello to the world" << endl; system("PAUSE") return 0;
0
8347
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8792
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8457
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7294
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6157
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5605
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4143
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1905
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.