This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2012-02-12 10:05:25

cocolover76
Scratcher
Registered: 2011-10-09
Posts: 500+

Re: Visual Basic Official topic

SeptimusHeap wrote:

Daffy22 wrote:

nathanprocks wrote:


it would be cool if someone wrote a program that would probably use wminput to tell Scratch the sensor values of the Wiimote lol

Yeah! Not gona happen in vb though  sad   hmm

Did you make Open Mind?

Ah! Here's Optum, my web browser!

........
Oh, hi person that likes VB tutorials on YT.


http://i.imgur.com/HfEPZ.gifhttp://i.imgur.com/pvKb6.png

Offline

 

#27 2012-02-12 10:37:37

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Visual Basic Official topic

SeptimusHeap wrote:

Daffy22 wrote:

nathanprocks wrote:


it would be cool if someone wrote a program that would probably use wminput to tell Scratch the sensor values of the Wiimote lol

Yeah! Not gona happen in vb though  sad   hmm

Did you make Open Mind?

Ah! Here's Optum, my web browser!

Yes I did and still am!  smile
Ill check out ur web browser  smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#28 2012-02-12 10:49:49

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Visual Basic Official topic

I'd be impressed if someone made a WebKit browser with VB.


Posts: 20000 - Show all posts

Offline

 

#29 2012-02-12 11:17:43

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Visual Basic Official topic

veggieman001 wrote:

I'd be impressed if someone made a WebKit browser with VB.

Ehm, it's easy...
I've made a couple before: you just need the Webkit DLLs. Of course, it involves referencing them, declaring stuff, and lots of code, so it's not something easily done just using the visuals (unlike most VB stuff)

Offline

 

#30 2012-02-12 11:20:26

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Visual Basic Official topic

LS97 wrote:

veggieman001 wrote:

I'd be impressed if someone made a WebKit browser with VB.

Ehm, it's easy...
I've made a couple before: you just need the Webkit DLLs. Of course, it involves referencing them, declaring stuff, and lots of code, so it's not something easily done just using the visuals (unlike most VB stuff)

True, but nearly everyone just makes a Trident browser and calls it good and don't really care because it's easy. I'd be impressed if someone cared enough to use a decent rendering engine.


Posts: 20000 - Show all posts

Offline

 

#31 2012-02-12 12:03:50

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Visual Basic Official topic

veggieman001 wrote:

LS97 wrote:

veggieman001 wrote:

I'd be impressed if someone made a WebKit browser with VB.

Ehm, it's easy...
I've made a couple before: you just need the Webkit DLLs. Of course, it involves referencing them, declaring stuff, and lots of code, so it's not something easily done just using the visuals (unlike most VB stuff)

True, but nearly everyone just makes a Trident browser and calls it good and don't really care because it's easy. I'd be impressed if someone cared enough to use a decent rendering engine.

Oh, yeah, I see your point.

Offline

 

#32 2012-02-12 12:12:08

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Visual Basic Official topic

veggieman001 wrote:

LS97 wrote:

veggieman001 wrote:

I'd be impressed if someone made a WebKit browser with VB.

Ehm, it's easy...
I've made a couple before: you just need the Webkit DLLs. Of course, it involves referencing them, declaring stuff, and lots of code, so it's not something easily done just using the visuals (unlike most VB stuff)

True, but nearly everyone just makes a Trident browser and calls it good and don't really care because it's easy. I'd be impressed if someone cared enough to use a decent rendering engine.

+1
I'd be impressed if someone made a browser that downloads the html source then renders the page and you're the one who coded the rendering.


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#33 2012-02-12 13:29:06

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Visual Basic Official topic

what-the wrote:

SeptimusHeap wrote:

Hey, could somebody look over this code, I don't know what's wrong. It can't send emails.

Code:

    P...

Have you made sure that your ISP allows you to send emails? I setup my computer before as an email host and my ISP would not allow me to send emails (It's meant to reduce spam).

I've done it before on my rickety old computer that unfortunately crashed...


http://i46.tinypic.com/dw7zft.png

Offline

 

#34 2012-02-12 13:32:25

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Visual Basic Official topic

cocolover76 wrote:

SeptimusHeap wrote:

Daffy22 wrote:


Yeah! Not gona happen in vb though  sad   hmm

Did you make Open Mind?

Ah! Here's Optum, my web browser!

........
Oh, hi person that likes VB tutorials on YT.

And you're so much more skilled?
If you would have downloaded it and looked at it, you would have seen I coded much of it from scratch.


http://i46.tinypic.com/dw7zft.png

Offline

 

#35 2012-02-12 19:07:52

cocolover76
Scratcher
Registered: 2011-10-09
Posts: 500+

Re: Visual Basic Official topic

SeptimusHeap wrote:

cocolover76 wrote:

SeptimusHeap wrote:

Did you make Open Mind?

Ah! Here's Optum, my web browser!

........
Oh, hi person that likes VB tutorials on YT.

And you're so much more skilled?
If you would have downloaded it and looked at it, you would have seen I coded much of it from scratch.

I can make these in VB:
-RTF Text Editor
-Office 2007-style Ribbon
-WPF controls in a NON-WPF program.
Things I plan to make.

Last edited by cocolover76 (2012-02-12 19:08:44)


http://i.imgur.com/HfEPZ.gifhttp://i.imgur.com/pvKb6.png

Offline

 

#36 2012-02-12 19:21:44

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Visual Basic Official topic

Freakish wrote:

I've never don't Visual Basic.

Oh.  tongue


6418,

Offline

 

#37 2012-02-12 19:25:02

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Visual Basic Official topic

cocolover76 wrote:

SeptimusHeap wrote:

cocolover76 wrote:


........
Oh, hi person that likes VB tutorials on YT.

And you're so much more skilled?
If you would have downloaded it and looked at it, you would have seen I coded much of it from scratch.

I can make these in VB:
-RTF Text Editor
-Office 2007-style Ribbon
-WPF controls in a NON-WPF program.
Things I plan to make.

Why did you give me a list of stuff other people have made?

Anyway, maybe want to partner up and make something?


http://i46.tinypic.com/dw7zft.png

Offline

 

#38 2012-02-12 19:37:51

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: Visual Basic Official topic

LS97 wrote:

what-the wrote:

Found some info on communicating with VB.net.

Imports System
Imports System.IO.Ports
Public Class Form1
    Dim WithEvents Port As SerialPort = _
                    New SerialPort("COM1", 9600, Parity.None, 8, StopBits.One)

This is great.
So scratch communicates on COM1, 42001.
So how many bits does scratch use, parity and stop bits?

And the format scratch communicates.

http://www.codeproject.com/Articles/17190/Communication-on-a-serial-port-in-NET-2-0
for more info.

Are you sure Scratch has to communicate on COM1? It's a port that doesn't exist on many computers anymore... including mine  tongue

For the format, it's
byte byte byte byte message
the four bytes represent the size of the message string.

Well on my computer COM1 is the only that always there. Others come and go depending on what I plug into my machine.

Thanks. So what how many bits are in each character? I'm thinking 8.
How many bits signal the end of character? None?


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#39 2012-02-12 19:44:36

cocolover76
Scratcher
Registered: 2011-10-09
Posts: 500+

Re: Visual Basic Official topic

Yeah, maybe I might wanna partner up someday to make this:
http://i.imgur.com/2tJHo.png
(ignore the text formatting things)

Last edited by cocolover76 (2012-02-12 19:45:07)


http://i.imgur.com/HfEPZ.gifhttp://i.imgur.com/pvKb6.png

Offline

 

#40 2012-02-12 19:45:39

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Visual Basic Official topic

I made a browser, but now that I'm on a Mac I don't use it anymore  smile


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#41 2012-02-12 20:31:36

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: Visual Basic Official topic

Yes got VB.net to listen to scratch. It can also communicate if I bother to get the format right.

Code:

Imports System.Net.Sockets
Imports System.Text
Module Module1
    Sub Main()
        For value As Integer = 0 To 50
            Dim tcpClient As New System.Net.Sockets.TcpClient()
            tcpClient.Connect("127.0.0.1", 42001)
            Dim networkStream As NetworkStream = tcpClient.GetStream()
            If networkStream.CanWrite And networkStream.CanRead Then
                ' Do a simple write.
                Dim sendBytes As [Byte]() = Encoding.ASCII.GetBytes("Is anybody there")
                'networkStream.Write(sendBytes, 0, sendBytes.Length)
                ' Read the NetworkStream into a byte buffer.
                Dim bytes(tcpClient.ReceiveBufferSize) As Byte
                networkStream.Read(bytes, 0, CInt(tcpClient.ReceiveBufferSize))
                ' Output the data received from the host to the console.

                Dim returndata As String = Encoding.ASCII.GetString(bytes)
                Console.WriteLine(("Host returned: " + returndata))
            Else
                If Not networkStream.CanRead Then
                    Console.WriteLine("cannot not write data to this stream")
                    tcpClient.Close()
                Else
                    If Not networkStream.CanWrite Then
                        Console.WriteLine("cannot read data from this stream")
                        tcpClient.Close()
                    End If
                End If
            End If
           
            Threading.Thread.Sleep(4000)
        Next
    End Sub
End Module

And on scratch. Activate mesh

 

when green flag clicked
loop
broadcast [start]
wait(4)
change [value] by (1)
loop
I'm not good with these new block...

Last edited by what-the (2012-02-12 20:32:46)


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#42 2012-02-12 20:38:18

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Visual Basic Official topic

cocolover76 wrote:

Yeah, maybe I might wanna partner up someday to make this:
http://i.imgur.com/2tJHo.png
(ignore the text formatting things)

What the heck?!  yikes


http://i46.tinypic.com/dw7zft.png

Offline

 

#43 2012-02-13 00:18:04

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Visual Basic Official topic

cocolover76 wrote:

Yeah, maybe I might wanna partner up someday to make this:
http://i.imgur.com/2tJHo.png
(ignore the text formatting things)

No offence but it looks like you just copied a bunch of distorted pictures onto a background...


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#44 2012-02-13 00:20:46

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Visual Basic Official topic

SeptimusHeap wrote:

cocolover76 wrote:

Yeah, maybe I might wanna partner up someday to make this:
http://i.imgur.com/2tJHo.png
(ignore the text formatting things)

What the heck?!  yikes

You actually want to make a browser that's worse than IE? One with a Ribbon?!?!?!  yikes

*faints*


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#45 2012-02-13 00:21:45

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Visual Basic Official topic

jji7skyline wrote:

SeptimusHeap wrote:

cocolover76 wrote:

Yeah, maybe I might wanna partner up someday to make this:
http://i.imgur.com/2tJHo.png
(ignore the text formatting things)

What the heck?!  yikes

You actually want to make a browser that's worse than IE? One with a Ribbon?!?!?!  yikes

*faints*

Lol +1


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#46 2012-02-13 02:49:36

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Visual Basic Official topic

cocolover76 wrote:

Yeah, maybe I might wanna partner up someday to make this:
http://i.imgur.com/2tJHo.png
(ignore the text formatting things)

Did you make that ribbon yourself or is it a 3rd party control?


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#47 2012-02-13 03:00:30

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Visual Basic Official topic

Daffy22 wrote:

cocolover76 wrote:

Yeah, maybe I might wanna partner up someday to make this:
http://i.imgur.com/2tJHo.png
(ignore the text formatting things)

Did you make that ribbon yourself or is it a 3rd party control?

From what I can see he didn't make any of it xD


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#48 2012-02-13 03:13:36

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Visual Basic Official topic

slinger wrote:

Daffy22 wrote:

cocolover76 wrote:

Yeah, maybe I might wanna partner up someday to make this:
http://i.imgur.com/2tJHo.png
(ignore the text formatting things)

Did you make that ribbon yourself or is it a 3rd party control?

From what I can see he didn't make any of it xD

i've seen that ribbon control before lol.... the browser is just firefox lol and the only thing he made is probably the "CocoBrowse 2012" part lol


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#49 2012-02-13 03:14:55

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Visual Basic Official topic

Lol


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#50 2012-02-13 03:19:38

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Visual Basic Official topic

nathanprocks wrote:

slinger wrote:

Daffy22 wrote:

Did you make that ribbon yourself or is it a 3rd party control?

From what I can see he didn't make any of it xD

i've seen that ribbon control before lol.... the browser is just firefox lol and the only thing he made is probably the "CocoBrowse 2012" part lol

Yeah thought so, the way it way painted on the non client area and everything  tongue
Mind you, nothing to be ashamed of. Open Mind 2 will be using a 3rd party ribbon control.  smile

Last edited by Daffy22 (2012-02-13 03:19:57)


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

Board footer