[program-l] Re: [External] Re: getting started with visual studio 2022 as a complete newbie

  • From: Rodney Haynie <rodney.haynie@xxxxxxxxxx>
  • To: "program-l@xxxxxxxxxxxxx" <program-l@xxxxxxxxxxxxx>, Jim Homme <jhomme@xxxxxxxxxxxxxxxxx>
  • Date: Wed, 21 Dec 2022 17:09:28 +0000

You are doing just fine Aaron. All of your responses are coming through.
HTH.
Rodney


Rodney Haynie

INFOMC, Inc.

From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On Behalf 
Of Aaron Spears
Sent: Wednesday, December 21, 2022 11:39 AM
To: program-l@xxxxxxxxxxxxx; Jim Homme <jhomme@xxxxxxxxxxxxxxxxx>
Subject: [External] [program-l] Re: getting started with visual studio 2022 as 
a complete newbie


This email was not sent from InfoMC.


Hi.



 When I reply to myself, are the messages actually reaching the list or are 
they just going straight to myself? I haven't ever gotten a response on here 
when I reply to one of my own messages in order to keep the thread.



If it helps I just sent a reply to my first message in the thread asking for 
help with adding sound files as resources. If that's not showing up on your end 
but this is, I think I've got issues.





I'm replying to Jim's message now just in case. Jim, the book is super helpful. 
I was pleased to discover that so far as I have gotten, I have understood 
everything completely. Not too surprising since I've been coding with vb script 
since about 2006 or so. I'm not finished yet, but I've been able to go a long 
ways already with my first project. It's in working form but with plenty of 
bugs and I'm worthless at making the gui layout work. Controls are all the 
wrong sizes and in the wrong places. I definitely have some learning to do with 
just the form layout but I don't know what to do with it.







Cheers:

Aaron Spears, AKA Valiant8086 General Partner at Valiant Galaxy Associates "we 
make (VERY GOOD AUDIOGAMES) for the blind comunity" http://valiantGalaxy.com
On 12/15/2022 10:34 AM, Jim Homme wrote:
Hi Eric,
Go here.
https://www.bookshare.org/browse/book/3812257/Visual%20Basic%20in%20Easy%20Steps

Jim

==========
Jim Homme
Senior Digital Accessibility Consultant
Bender Consulting Services
412-787-8567
https://www.benderconsult.com/
Support the dreams of independence through employment for students with 
disabilities with your Amazon purchases.
https://smile.amazon.com/ch/83-0988251

From: program-l-bounce@xxxxxxxxxxxxx<mailto:program-l-bounce@xxxxxxxxxxxxx
<program-l-bounce@xxxxxxxxxxxxx><mailto:program-l-bounce@xxxxxxxxxxxxx> On 
Behalf Of Aaron Spears
Sent: Wednesday, December 14, 2022 7:11 PM
To: program-l@xxxxxxxxxxxxx<mailto:program-l@xxxxxxxxxxxxx>; 
sonfire11@xxxxxxxxx<mailto:sonfire11@xxxxxxxxx>
Subject: [program-l] Re: getting started with visual studio 2022 as a complete 
newbie


Hi again.



Ok I did what I tell other people to do, try harder for a while before blurting 
out the questions. I don't know what happened with the label1, but I deleted 
that and made a readonly text box instead and put something silly like

"click that there click me button to be hello worlded at"

and I've got it so that when I do indeed click the click me button (with my 
space bar), the text of the text box does properly change to what I wanted, 
which is just "hello world".



I'm pretty sure I'll hit more speedbumps, but I might have enough to run with 
once I find another decent piece of documentation. Tips on that would be super 
welcome. I'm currently experimenting with windows forms and visual basic. I 
have a distinct goal in mind, monitoring a folder in dropbox. So I'll be 
learning how to implement my existing vb script knowledge of how to do file 
management in a way that visual studio is happy with. Gonna try something I'm 
pretty sure someone else already did, which is see if I can manage to use a 
file sharing service like Dropbox as the backend for a multiwindow chat client.



If I ever get that working I'll look at learning how to do networking the way a 
real chat client should do, which I know is super ambitious at this stage.





Cheers:

Aaron Spears, AKA Valiant8086 General Partner at Valiant Galaxy Associates "we 
make (VERY GOOD AUDIOGAMES) for the blind comunity" http://valiantGalaxy.com
On 12/14/2022 12:07 AM, sonfire11@xxxxxxxxx<mailto:sonfire11@xxxxxxxxx> wrote:
Hi,

In solution explorer, find form1.cs and press ENTER on it. It will then load 
the WinForms designer (a graphical drag/drop) user interface designer. Once it 
is loaded, tab around until JAWS says “button1”. When you arrive at “button1”, 
press ENTER. It will place you in the sub that the tutorial is describing. Here 
is where you type the source code below:

Label1.text = “Hello world!”

To run the app afterwords, press Ctrl+F5.



From: program-l-bounce@xxxxxxxxxxxxx<mailto:program-l-bounce@xxxxxxxxxxxxx
<program-l-bounce@xxxxxxxxxxxxx><mailto:program-l-bounce@xxxxxxxxxxxxx> On 
Behalf Of Aaron Spears
Sent: Tuesday, December 13, 2022 10:50 PM
To: program-l@xxxxxxxxxxxxx<mailto:program-l@xxxxxxxxxxxxx>
Subject: [program-l] getting started with visual studio 2022 as a complete 
newbie


Hi



I've always coded in notepad or ed sharp. I'm trying to find out if I can make 
some programs using visual basic which I'm relatively familiar with 
syntax-wise, and windows forms. I made a hello world based on this tutorial:

Tutorial: Create a Windows Forms app with Visual Basic - Visual Studio 
(Windows) | Microsoft 
Learn<https://learn.microsoft.com/en-us/visualstudio/ide/create-a-visual-basic-winform-in-visual-studio?view=vs-2022>



So I've done everything except the following step.



3.
In the Form1.vb [Design] window, double-click the Click this button to open the 
Form1.vb window.
Another option is to expand Form1.vb in Solution Explorer, and then select 
Form1.
4.
In the Form1.vb window, between the Private Sub and End Sub lines, enter 
lblHelloWorld.Text = "Hello World!" as shown in the following screenshot:



I can't figure out enough how to use visual studio yet to gain the context 
awareness. I can get something like that to appear sometimes, but it's called 
form1 not button1. Don't I need button1 for that command? Because the idea is 
to have the hello world appear in the label if the button is clicked.



For reference, my button is called button1 and my label is label1. The form 
they're added to is called form1. I can find these items in the solution 
explorer. But when I arrow my way in the tree of solution explorer to button 1 
and hit enter, I'm placed in the code in a situation that is unlike that 
tutorial suggests. It's not just an empty sub. Sometimes I can get the empty 
sub by hitting shift+f7 or was it ctrl+f7 or something like that while I was 
just in the designer view, but there's no context to know what I'm editing.



I'm still learning how to get started. I think this is kind of making sense I 
just have a ways to go. What's the best way to be able to edit the code for a 
specific control. I think it has something to do with navigating to it in 
solution explorer but could use some hand holding. If there's literature about 
this from a screen reader user standpoint that may help. I assume that if I 
could have just double clicked on the button as in this tutorial I'd be better 
able to follow. User guides and tutorials work well for me as long as they 
don't go all linuxy and start spouting meaningless terms with no context or get 
too visually specific, of course.



Btw, I can't actually browse the controls at all unless I run it. Would have 
thought that I could kind of navigate them in the designer view. It's silent. 
NVDA's object nav will see them but I can't emulate clicks on them at least not 
so far as I can tell.



Also putting the cart way far in front of the horse I know but are vb programs 
these days just going to have a bunch of stuff to go with the final .exe like 
I'm getting? or is there a way to turn it all into one nifty little .exe file. 
I tried moving my hello world.exe to the desktop by itself and it won't run. It 
seems the 4 other items in the release or debug directories has to go with it. 
I'm mostly trying to find the answer to that this soon because I want to know 
whether what my eventual goal is as my final program is actually possible.









--

Cheers:

Aaron Spears, AKA Valiant8086 General Partner at Valiant Galaxy Associates "we 
make (VERY GOOD AUDIOGAMES) for the blind comunity" http://valiantGalaxy.com

Other related posts:

  • » [program-l] Re: [External] Re: getting started with visual studio 2022 as a complete newbie - Rodney Haynie