August 31, 200322 yr Just curious..Are there any other programmers experiencedin Visual Basic other than me or just C\C++ programmers?
August 31, 200322 yr vb, c++, c, c#, perl, java, jsp, asp, html, xml, basic, extensive knowledge of unix, windows, hardware and softwaretoo much to list, that's what comes right away when I think about it, oh yeahassembler
August 31, 200322 yr Author Holy cow.So how experienced are you in VB?Do you have any work you can show me you have done in VB?
August 31, 200322 yr Basic, Turbo Pascal, C, C++, Java, Html, Javascript, Flash.Not terrinly experienced, but i know a thing or two.
August 31, 200322 yr Author Print "I know Basic!"Endvoid main(){printf("I know a little of this language as well!\n\n");return 0;}Private Sub Form_Load() MsgBox "I know this language as well!" Unload MeEnd SUbecho "I know some of this language!\n\n";<HTML><BODY> <CENTER> <H1>I know this language as well!</H1> </CENTER></BODY></HTML>And thats as much as I can think of
August 31, 200322 yr Author Holy cow.You are going back to basic basic basic like they used onthe Commadore. I remember programming Basic like that.Seems like such a long time ago.
September 1, 200322 yr i hate c++ lol jp...i just took about a 2 week class in it and its hard...hehehehe just to see how the computer technology works and stuff...thats y i took manufacturing
September 1, 200322 yr -Razor]Holy cow. So how experienced are you in VB? Do you have any work you can show me you have done in VB? depends if I can find my older vb stuff from vb 6 otherwise it's all .net and .net 2003 java, I got a ton of it lying around here
September 2, 200322 yr I have been programing Basic on Atari64XE....... I have too prgramming this Atari basic language onto Atari 400, 800, 800xl and 130xe : very easy & complete with abreviations command & syntaxes. Egidio.
September 2, 200322 yr package bouncingball;import java.awt.*;import java.awt.event.*;import javax.swing.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright © 2002</p> * <p>Company: </p> * @author unascribed * @version 1.0 */public class FrameBouncingBall extends JFrame implements ActionListener{Container con = getContentPane();GridLayout gri = new GridLayout(1,3);JButton btnBounce = new JButton("One bounce per click");JButton btnAnimate = new JButton("Animate");Paper paper = new Paper(); //Construct the frame public FrameBouncingBall() { this.setSize(new Dimension(400, 300)); this.setTitle("Bouncing Ball"); con.setLayout(gri); con.add(btnBounce); con.add(paper); con.add(btnAnimate); btnBounce.addActionListener(this); btnAnimate.addActionListener(this); } public void actionPerformed(ActionEvent ae){ if(ae.getSource() == btnBounce){ paper.draw(); }else{ paper.animate(); } } //Overridden so we can exit when window is closed protected void processWindowEvent(WindowEvent e) { super.processWindowEvent(e); if (e.getID() == WindowEvent.WINDOW_CLOSING) { System.exit(0); } }}
September 2, 200322 yr package bouncingball;import java.awt.*;import java.awt.event.*;import javax.swing.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright © 2002</p> * <p>Company: </p> * @author unascribed * @version 1.0 */public class Paper extends JPanel implements ActionListener { int yPos = 50; Timer tmrAnimate = new Timer(100,this); public Paper() { this.setBackground(Color.white); } public void draw(){ repaint(); } public void animate() { tmrAnimate.start(); } public void actionPerformed(ActionEvent ae) { repaint(); } public void paint(Graphics g){ super.paintComponent(g); g.fillOval(50,yPos,10,10); yPos = yPos + 10; }}
September 2, 200322 yr this was all for a tiny little prog we had to do before we eventually moved on to the final version, which was a java version of pongpretty colors and suchthis is tiny compared to some of the things I've had to do
September 2, 200322 yr The most difficult program we had to do in Java was a DataBase connector. It had to connect to remote SQL database, get data, put it in tables and draw charts. That was the ultimate after less than 15 hours of Java lecture.
September 3, 200322 yr The most difficult program we had to do in Java was a DataBase connector. It had to connect to remote SQL database, get data, put it in tables and draw charts. That was the ultimate after less than 15 hours of Java lecture. I had a prog like that it was a little shopping cart program user visited a site, and access a remote sql db to order some items most annoying thing about some db's are that you sometimes have to setup the db in windows first, assigning it a name, password, etc then mirror those settings in a program, bleh
September 4, 200322 yr huh, i tried compiling your code kami and i got a few errors. So I went back to the thread and low and behold i forgot the code for class Paper. so i get that, and recompile everything, no errors. I run the program and get the following error:Exception in thread "main" java.lang.NoSuchMethodError: mainPress any key to continue...This error appears in a win 2k console window running from jcreator lite ed (crappy, i know), our IDE. Any ideas?PSIs there anyway to program java or J++ or whatever on .NET?
September 4, 200322 yr kami didn't give you the third section of code, aren't I mean?for java, I use JBuilder, right now I'm running JBuilder 7 Enterprise, or JBuilder 6 Enterprise8 and 9 are resource hogs
September 4, 200322 yr so theres no way to program java with .NET? Damn, could have sworn you could, now i wasted all that time installing that 5 cd beast. Ill try and get Jbuilder, but for now all i have is notepad, .NET, or JCreator. I don't suppose you could post the thrid code section, i'm a relative newb to java and your prog looks like it might be fun and not to complex to try and disect.
September 4, 200322 yr Here, try my first program in Java:import java.awt.*;import java.awt.event.*;import java.util.Random;class kolo extends Panel{private int x,y,r; kolo(int xx, int yy, int rr) { x=xx; y=yy; r=rr; } public void paint(Graphics g) { Random rand=new Random(); Color kolor = new Color(rand.nextInt(),true); g.setColor(kolor); g.fillOval(x,y,r,r); }}public class drawoval extends Frame implements Runnable, ActionListener{ int xx, yy, rr; Thread thread=null; kolo kolko; Button Start, Stop, Exit, Clear, Menu, r1, r2, r3; boolean visible=true; public static void main(String[] args) { new drawoval(); } drawoval() { super.setSize(640,480); super.setTitle("Rysowanie kółek plus jakieś tam bajery"); super.setResizable(true); super.setLayout(null); super.setVisible(true); Menu = new Button("Menu"); Menu.setBounds(10, 30, 80, 20); Menu.addActionListener(this); add(Menu); Start = new Button("Start"); Start.setBounds(10, 60, 80, 20); Start.addActionListener(this); add(Start); Stop = new Button("Stop"); Stop.setBounds(10, 90, 80, 20); Stop.addActionListener(this); Clear = new Button("Clear"); Clear.setBounds(10, 120, 80, 20); Clear.addActionListener(this); add(Clear); Exit = new Button("Exit"); Exit.setBounds(10, 240, 80, 20); Exit.addActionListener(this); add(Exit); r1 = new Button("400/300"); r1.setBounds(10, 150, 80, 20); r1.addActionListener(this); add(r1); r2 = new Button("640/480"); r2.setBounds(10, 180, 80, 20); r2.addActionListener(this); add(r2); r3 = new Button("800/600"); r3.setBounds(10, 210, 80, 20); r3.addActionListener(this); add(r3); thread=new Thread(this); } public void run() { while (thread!=null) { Graphics o; o=super.getGraphics(); rr = (int) Math.rint(Math.random() * 30); xx = (int) Math.rint(Math.random() * super.getWidth()); yy = (int) Math.rint(Math.random() * super.getHeight()); kolko=new kolo(xx, yy, rr); kolko.paint(o); try { Thread.sleep(10); }catch(InterruptedException e) {} } thread=null; } public void stop() { thread=null; thread.interrupt(); } public void actionPerformed(ActionEvent e) { Object obj=e.getSource(); if (obj==Menu) { if(visible==true) { remove(Start); remove(Stop); remove(Clear); remove(Exit); remove(r1); remove(r2); remove(r3); visible=false; } else if(visible==false) { if(thread==null) {add(Start);} else add(Stop); add(Clear); add(Exit); add(r1); add(r2); add(r3); visible=true; } } if (obj==Exit) { thread.stop(); dispose(); System.exit(0); } if(obj==Clear) { Graphics p; p=super.getGraphics(); Random rand=new Random(); Color kolor = new Color(rand.nextInt(),true); p.setColor(kolor); p.fillRect(0, 0, super.getWidth(), super.getHeight()); } if(obj==Start) { remove(Start); add(Stop); if(thread!=null) thread.start(); } if(obj==Stop) { remove(Stop); add(Start); thread.stop(); thread = new Thread(drawoval.this); } if(obj==r1) super.setSize(400,300); if(obj==r2) super.setSize(640,480); if(obj==r3) super.setSize(800,600); }}PS You should try the Linux compiler. Works all the time and you dont need the editor. And its free.
September 4, 200322 yr I have Visual Studio .Net 2003 Enterprise Architect, if you can, try using J#, that might work for java
September 5, 200322 yr i think i have that version, but i dont see an option for J#, maybe i dont have the right version
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.