does this compile on your machine -
I have this simple code with what I think is no flaws, but yet it won't compile. I think it's just my compiler being gay again, but I wanted to see if you guys could compile it.
Code:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class CurrencyConverter extends JApplet implements ActionListener
{
JComboBox cbFrom;
JTextField txtAmount;
JList list;
String[] strCurrency = {"US Dollar", "Canadian Dollar", "Mexican Pesos", "Australain Dollar"};
public void init()
{
Container pane = getContentPane();
pane.setLayout(new FlowLayout());
JPanel row1 = new JPanel();
JLabel lblAmount = new JLabel();
txtAmount = new JTextField(10);
row1.add(lblAmount);
row1.add(txtAmount);
JPanel row2 = new JPanel();
JLabel lblFrom = new JLabel("From");
cbFrom = new JComboBox();
cbFrom.add(strCurrency);
row2.add(lblFrom);
row2.add(cbFrom);
JPanel row3 = new JPanel();
list = new JList("---------Results---------");
row3.add(list);
pane.add(row1);
pane.add(row2);
pane.add(row3);
setVisible(true);
setContentPane(pane);
}
public void actionPerformed(ActionEvent ae)
{
}
}
<Moderator added green checkmark in the first thread>
MDAC and the compile machine -
Does anybody know why it makes a difference what machine I use to compile VB code? When I compile code using the MDAC 2.1 reference on a machine with MDAC 2.5, the executable will not run on a machine with 2.1, it will give an error 430. Seems odd to me.
Question about use API -
Hi,
In a vb6 application, we did use the API WinABsPos, when compile the program I got the error saying "Ambiguous Name detected: RECT" and I checked the project and it only declare once.
Dim WinAbsPos As RECT
The thing is the same application without any code change
Run-time error '91' when using version compatible dll -
Hi there,
This issue has been bogging me down for long now. I have dll which has all the forms application needs (with user controls) and the way it's done so that any change in gui can be just done with compiling this dll. This dll is version compatible so anyone can compile and ru
Remote Compilation of VB Program -
Hi All,
I am facing a problem with VB compilation in my company. Actually, I have to create my VB programs on one of the business specific server. But I can not compile the program on the server machine. It is a seperate non-server machine with compilation environment (with all spec
Compile errors -
There are three developers where I work. One of us coded a new project and it runs fine on his machine. When I try and run it on my machine I get a compile error on adOpenDynamic. When we try and run it on the other developer's machine we get past that but get a compile error on Tr
Urgent: Getting error when compile the VB6 project on different PC -
Hi,
When execute the statement like:
.Open strConPath & "Test.mdb", "Admin", "", adConnectAsync
I got the error saying "Compile error, can't find project or library", but the same source can compile on the other machine without any p
About compiling and running C# apps -
My C# books are pretty much mentioning this with one sentense. But I like to know what is going on under the hood here. And I don't get it 100%.
When you compile a C# app. Then it is compiled to MSIL? Right/Wrong?
and then when you run it, then it is actualy compiled to nativ
Using a form from a second project in the first project -
I have searched and can't seem to solve this simple problem.
I have created an app that I use to configure information regarding a machine. Call it "config". I have also created a second app that does some things with the machine. Call this "compile".
I wish
Problems with PWS on Windows 98 -
I am trying to develop a website on my Win98 machine using PWS. I create an ActiveX component using VB, compile the DLL and call it from an ASP page. This works fine the first time I compile it. However, when I try to compile it a second time after minor modifications, it gives me an &
How do I compile VB5 from win/98 to win/95 -
I updated to win98se but I still have my VB5.
I'm trying to figure out how to compile as though
I had win/95 on my machine. I'm trying to create
a version of my software for someone who only
has win/95. Thanks for any replies..
RDO Compile Errors -
I'm having trouble creating an rdo connection....particularly errors with the rdoEngine object.
I'm making reference to msrdo20.dll and can create objects as such.
Private Sub Command_Click()
dim db as rdoConnection
Set db = rdoEngine.rdoEnvironments(0).OpenConnection
Help getting VBA to compile -
I'm having a problem getting VBA to compile properly. I am using the Internet Assistant Wizard Add-In functions, but I want the user to be able to still run the Excel workbook even if the Add-In is not present. I have included checks in my code to end the sub routine if the Add-in is
Urgent! softbutton activex -
Dear Members,
Here is a softbutton activex control project. But I can't compile it in my machine for error:
"Method or data member not found" on the line
Property Get Visible
:
:
Can you help me sort out the problem - how can I compile it correctly? I would a
Compile of EXE with UserControl -
I have made a custom user control for connecting to an IRC server. but when i compile my project to an EXE i get a problem.
On the machine i used to develop the projrct it runs fine, but if I try and run it on another machine i get the error:
Failed to load control 'IRCVB6' from
Problem Transfer Source Code -
Hi,
I am build my software at computer with Win98. Everything works fine here. But when I copy the source code file and bring it to my computer with WinXP, it has problem. The problem is when I tried to compile it at WinXP machine, it popup an messagebox saying "Compile error: Ca
Compile options -
Is there any way to make a complete compile that will run on any windows machine, including NT?
I have an application that when installed on some computers says there are drivers or libraries missing. Is there any way to include all of this into the application?
VB error messages in ms office -
I am suddenly having the following problems with
microsoft excel and word 97. I am getting the followng error mesages when I open the programs:
excel: Compile Error in Hidden Module:AutoExeNew
word97: Compile Error in Hidden Module:AutoExe
When I close excel, I get
Compile Error
VB6 to VB9 -
Hello Users,
I have an existing project written in VB6. But I have Visual Studio 2008 installed on my machine.
When I click on the project, it is automatically getting converted into VB9. When I compile the program it gives me lots of compile time errors.
What can I do?
Any
Windows XP Compile Problem -
ok I am running windows XP Pro edition with VB6 Ent Ed and am haveing problems not being able to install a compiled program onto another machine that is not XP.
I write a program....use the VB package and deployment wizard and package it up. Take it to another machine (win2k, 98) a
remote debugging of an ASP.NET application -
Hello,
I am working with a collegue on a ASP.NET application using two computers on a network. Since our division does not have money to spend on VS.NET we installed Sharp Develop on each computer and are doing all the programming with that (everything is codebehinds so it serves are
Office 97 & Office 2000 references -
Good Day!
I work on a project that integrates Microsoft Office into the package It uses templates with Word and spreadsheets with Excel!! The problem I am having is the Following.... I previously used Office 97 and compiled on a machine with Offcie 97! Now I have upgraded to Office 20
Compiling disabled -
Does anybody have any idea why I cannot compile anymore on this machine? Actually, it's with my user because I can compile with other NT user. Why is this option disabled?
Will somebody compile this for me... -
Will somebody compile this for me please, its a small program to open/close a cd-rom remotely. I never wrote this code, I would compile it on the computer i'm on now, but the college have disabled winsock use in vb.
Its got a few more features, but nothing of any use as far as i kno
Executable error -
I have an application that I have compiled and placed on another machine I'll call Machine A. I connected remotely to another Machine I'll call Machine B and copied the exe from Machine A to the desktop of Machine B. I can run the exe from the desktop of Machine B but I can't run the e
"You do not have the appropriate license to use this functionality" Meaning.. -
Hi,
I was trying out this sendmail program from www.freevbcode.com which uses a class module. However, when I compile the EXE file and run it in the directory with the included DLL, I get this error message. When I compile the DLL on my own machine, it runs, so what does it mean?
RESOLVED - Help! -
Our system is made up of a client, with a couple of dll's holding the forms, processing etc. The problem i'm having is that when the dll is compiled on a 2000 machine, 95 machines crash on a certain process. The same process doesn't crash on 98, NT, 2000 & Me machines though. When
VB6 for Windows CE -
I have a HP Windows CE machine and would like to write programs for it too. Is there any software which could compile a VB6 project to run on a Windows CE machine?
Thanks,
James
VB6 app w/ Crystal Reports 8 won't compile. -
I inherited a VB6 app with Crystal Reports 8 reports and made some changes to it. It won't compile on my machine. (I didn't make any changes to the Crystal Reports.)
When I try to compile it I get the following error: Compile Error: User-defined type not defined. I have checked
rdo problems -
I'm having trouble creating an rdo connection....particularly errors with the rdoEngine object.
I'm making reference to msrdo20.dll and can create objects as such.
Private Sub Command_Click()
dim db as rdoConnection
Set db = rdoEngine.rdoEnvironments(0).OpenConn
OCX Version Errors -
I have 2 OCX controls a grid, and a date control, that I need to ship with an application. The two controls are compiled on a Win 2000 machine (SP2) with VB6(SP5) and run OK when installed on an NT machine(though for various reasons this may be a red herring).
But when installed on
[02/03] Compile VB.NET Project -
I work with a big VB.NET Project. When I compile this project, Visual Studio often crash and exit and It also take long time compile it. Now I want to compile it by using VBC.exe? Need help how to compile? Is it good idea to compile project using command instead of Visual Studio? Thank
Java setup -
Hi,
I'm a very nu-be and need some help. On my home machine(Win98)I had no problem setting up and compiling.On my work Win NT machine(trying to learn during lunch)I can find the java version (2.2.2) in dos but when trying to compile it doesn't seem to recognize anything. I don't know
VB6 Installation Problems -
Hi,
I am trying to install VB& on my machine. I have used the same CD to install VB on others machines I ve worked on and they worked fine.
But when i install vb on my machine, it installs. I run VB and open a new project and try to add new components - such as VB6 Com Contr
How java is platform independent -
I can make a java program and I can compile it and can run it also but my question is that if any machine is not having jdk how I can show him my program.
I only want to know how I can transfer my program from one machine to another where the later one do not have jdk
DLL Updating -
I have several DLLs I wrote in my application. Say I found a bug in one of my DLL files and I go to fix it. Now how would I update the computers that are running my software. Do I need to unregister the old dll and save the new one and register it? Or do I just need to delete the old a
VB .NET takes too long to compile -
Hi,
I am a VB6 developer studying VB.NET and I've got a problem in my home Windows XP, and this problem does not happen in my office Windows XP. The Visual Studio .NET Enterprise Architect is taking too long to compile even the simplest projects (1 form, 1 button). It take 3 minutes t
Version compatibility =( -
Here's my dilema... I'm running Windows XP, and I'd like to develop a particular application that will possibly be used in various version of Windows, including 98, ME, XP, and/or 2000. But the problem I've run into is that XP has later versions of most of the controls than previous
Compile & Distribution Question -
After working for three long months I have finally completed work on a VB6.0 application. I used Installer 1.1 to create the distribution package. Everything seems to be okay except for the following:
1. I used simple graphics with labels over top of them for buttons. AFter
Addin Designer Public Property -
I have just set up a new PC and installed VB6 sp5. I have opened an existing Addin Project on my new machine and attempted to compile it. I get the message 'No creatable public component detected'. On my old machine the Addin Designer component (IAddinDesigner) shows a Public proper
InnoSetup - ********** Which is needed to compile a Project in VB6 -
Hi,
i downloaded InnoSetup Compiler 5.1.4. I am using this, is it enough to compile a Project in VB6 and install in a client machine or not. Is it necessary to install ********** in my pc or not. InnoSetup Compiler and ********** is a free Software or what. Kindly reply about this