Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[General] GUI coding for Visual Basic

Status
Not open for further replies.

karthi06

Junior Member level 2
Junior Member level 2
Joined
Jan 16, 2014
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
209
Hello,

Currently i am working on creating a GUI layout for accident notifier by using visual basic software. I have the Eclipse coding that was intended for smartphone application. The coding is as following:

Algorithm 1:
if input=0
"DETECT1" string is sent
else
"No Detect" string is sent



Algorithm 2:

Software initialized in "splash.java", GUI layout at "splash.xml" for 5 seconds,then to "Menu.java".



Algorithm 3:
"Menu.java" is initialised with GUI layout at "activity_sms.xml".User's details are included.

if(button "START" on click)
compare name>0
phone number>0
passenger number>0
car plate number>0
vehicle model>0
go to "Standby.java" with GUI layout "standby.xml"
else(menu.java)


Algorithm 4:
"Standby.java" with GUI layout "standby.xml", to discover BlueBee

if(button "Discover device" on click)
scan and discover Bluetooth devices
else(standby.java)



Algorithm 5:
if(button "BlueBee" on click)
pair with BlueBee
else(Algoritm 4)



Algoritm 6:
if(string "DETECT1" received)
go to "cancel.java" at "cancel.xml"
else(display string "No detect")



Algorithm 7:
At "cancel.java" at "cancel.xml",

if(button "DO NOT SEND" on click)
go to Algorithm 3
else(go to "SMS.java")


The problem is, i don't know how to re-write the coding into the visual basic software, as some of the terms used in the coding will differ in VB software. Thus, i need your help in solving my problem and thank you very much :)
 

Unless you can enlist someone who programs in VB, you will need to learn how.

Are you already familiar with what the Eclipse program does? How it handles input from the mouse and keyboard, and how it makes screen messages pop up, etc.?
Then you will need to make those things happen using the VB command set.

Doesn't look like an easy job. Such as discovering Bluetooth devices. Or reading the input devices. You may find sample routines included in the VB package.

Some of it is easier. Syntax conversion is sometimes a quick search-and-replace.

The word Java probably refers to routines executed from an accessory library. You'll need to figure out how to include these.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top