473,385 Members | 2,015 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Request for simple code

What would the code look like for a visual basic dialog box that had a
textbox or two to enter variables, some buttons to incorporate the variables
into commands for an open console telnet connection (like Reflections or
Exceed)? The command buttons would include carriage returns. In Aspect, I
called these my "Oobie Doobie Do" buttons.
Nov 7 '05 #1
3 4072
It would look like a strangely written english poem, not even rhyming, with lots
of lines, some of them indented.
Verses would begin
"Public ....." or "Private ...."
and end with
"End Sub"
carriage returns may, or may not, be recognised by the word "VBCrLf", but I
doubt you'd find them on a command button.
"Oobie Doobie Do", I don't know about - I thought that was a song

Argusy

Lawsan wrote:
What would the code look like for a visual basic dialog box that had a
textbox or two to enter variables, some buttons to incorporate the variables
into commands for an open console telnet connection (like Reflections or
Exceed)? The command buttons would include carriage returns. In Aspect, I
called these my "Oobie Doobie Do" buttons.


Nov 7 '05 #2
It does look different than the Aspect scripts. Does anyone have examples of
a script that uses a dialog box to communcate with a terminal emulator? I
guess what I am confused by is how the text in a textbox is defined as a
variable and then how to contain that variable in a command line. Visual
Basic code does not look like it reads from top to bottom.
"argusy" <ar****@slmember.on.net> wrote in message
news:43**************@slmember.on.net...
It would look like a strangely written english poem, not even rhyming,
with lots of lines, some of them indented.
Verses would begin
"Public ....." or "Private ...."
and end with
"End Sub"
carriage returns may, or may not, be recognised by the word "VBCrLf", but
I doubt you'd find them on a command button.
"Oobie Doobie Do", I don't know about - I thought that was a song

Argusy

Lawsan wrote:
What would the code look like for a visual basic dialog box that had a
textbox or two to enter variables, some buttons to incorporate the
variables into commands for an open console telnet connection (like
Reflections or Exceed)? The command buttons would include carriage
returns. In Aspect, I called these my "Oobie Doobie Do" buttons.

Nov 7 '05 #3
To be a bit more serious about your request....

I haven't gone down this route with VB, using it to communicate with terminals
or emulators, so I can't help you much, but if Dick Grieir is around, he may.
(He writes books on comms with VB)

I get a sneaking suspicion that what you're after is a "dotnet" scenario.
Try asking this in newsgroups with the words "dotnet" or "vsnet" in their name.

BTW, classic VB code does read from top to bottom, but it's all in "packets"
which are controlled by events that are created either by the program's user,
such as clicking on a command button, or tabbing out of a textbox into the next
textbox, or from a trigger (such as a modem wanting to be recognised)

I've yet to even look at a VB.NET (or later version) program - I think I'd be
needing my youth again to understand it

Argusy

Lawsan wrote:
It does look different than the Aspect scripts. Does anyone have examples of
a script that uses a dialog box to communcate with a terminal emulator? I
guess what I am confused by is how the text in a textbox is defined as a
variable and then how to contain that variable in a command line. Visual
Basic code does not look like it reads from top to bottom.


<snip>

Nov 8 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Gerhard Pretorius | last post by:
ON Win 2003 IIS6, Since yesterday, (12 Aug 2003) for some strange reason, (after installing WindowsServer2003-KB823980-x86-ENU.exe) I cannot pass the Request object to to VB COM DLL. I have...
6
by: Daniel Rimmelzwaan | last post by:
I want to send a biztalk document to an aspx page, and I need to see some sample code, because I just can't make it work. I have a port with transport type HTTP, pointing to my aspx page, something...
0
by: Frank 'Olorin' Rizzi | last post by:
Hello everyone. This is quite convoluted, but I'll try to make it simple. I have a couple of bottom-line questions (I guess): 1~ what happens between the Page_Load routine in the code behind...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
2
by: Dave | last post by:
running server 2003, .net 1.1, developing with vs 2003. i have a simple one function webservice that takes 4 string inputs. calling it with http post from simple form made by cutting out the demo...
5
by: Bobstar | last post by:
Hello. In the good ol'ASP-days I allways handled all request vars within a class. I want to do the same in ASP.NET. It can be done smart and maybe not so smart - and I need help for the first...
5
by: chromis | last post by:
Hi there, I've recently been updating a site to use locking on application level variables, and I am trying to use a commonly used method which copies the application struct into the request...
4
by: .nLL | last post by:
Hi, im am a classic asp developer and started to learn asp.net but got stuck with a simple problem even before i step in to further. to learn i have started from a simple project (a login system...
3
by: vijaykumardahiya | last post by:
Dear Sir, I have two queries. First question is: I have a Html page. On which Have two buttons Submit and Issue. I want when I click on Sumit button request should be go to submit.jsp. and When I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.