Re: Vb.net or C#.net Tutorial Project

  • From: "RicksPlace" <ofbgmail@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Thu, 20 May 2010 18:09:50 -0400

We can use menus right out of the gate along with the other controls. You just 
drop a Menu Strip on the form and then add some top-level menus like File, 
Edit, View, Help or whatever you want. Then you add pull down items one at a 
time like OpenFile, CloseFile, SaveFile and others under the FileMenu. You 
might add something like SelectAll, CopyToClipBoard or whatever you want under 
the Edit Menu and so on. Then you just open the main menu bar, cursor to file 
menu cursor down to open file and click it. When clicked an event subroutine 
called the Click Event is executed for that particular menu item. If you put 
something like MessageBox.Show( "You Clicked Me") inside that subroutine and 
ran the project then clicked that item, a message box would pop up saying 
whatever you put in for the literal like, you clicked me. Ya, no problem there. 
Just a matter of doing it a few times to get the hang of it.
Rick USA pullDow2n
  ----- Original Message ----- 
  From: Jacob Kruger 
  To: programmingblind@xxxxxxxxxxxxx 
  Sent: Thursday, May 20, 2010 5:56 PM
  Subject: Re: Vb.net or C#.net Tutorial Project


  All sounds good.

  The one type of information/data management thing have also used internally 
are things like the 
  System.Collections.ArrayList

  objects, which I sometimes populated from the contents of things like text 
files etc. and then made use of.

  One other thing have just never really got around to really 
implementing/making use of properly is menus, so I would like it to eventually 
get around to using them for real.

  Stay well

  Jacob Kruger
  Blind Biker
  Skype: BlindZA
  '...fate had broken his body, but not his spirit...'

    ----- Original Message ----- 
    From: RicksPlace 
    To: programmingblind@xxxxxxxxxxxxx 
    Sent: Thursday, May 20, 2010 10:31 PM
    Subject: Re: Vb.net or C#.net Tutorial Project


    Hi Jacob: OK, I just installed C# Express. I think we might look at 
starting with a project that uses no DataBase.The idea here will be to get 
aquainted  with the IDE and the use of the Form and some of the controls which 
have been mentioned. Also, we should look at how to work with Text Files since 
they are handy. After that we will build a second project just like the first 
one but one that uses a Database. We can use a DataTable in our first project 
if we want to do some binding to controls prior to adding a DataBase and 
perhaps some other methods to get familiar with how to get data into and out of 
UI Controls like ListBoxes, ListViews, TextBoxes and perhaps the use of some 
objects like the OpenFiledialog object or others. We will also do some work on 
laying out the UI of a Form manually and using a TableLayoutPanel. That sounds 
like a good place to start. If we can handle these technicals we will be able 
to add a DataBase tothe project and wire up our existing controls to use the 
DataBase. In fact, we will create our DataBase right in our application. How 
does this sound to you guys. We will do it in both vb.net and C#.net.
    We can forestall deciding on a DataBase until we get the basics down pat 
and are ready to expand into that arena. Then we can hash out which DB to start 
with and why. Now, tell me what you want to do so this is really your project 
and not just me building something that nobody cares about anyway.
    Rick USA
    Rick USA
      ----- Original Message ----- 
      From: Jacob Kruger 
      To: programmingblind@xxxxxxxxxxxxx 
      Sent: Thursday, May 20, 2010 3:43 PM
      Subject: Re: Vb.net or C#.net Tutorial Project


      Will just chime in here and say that the one reason I have and will 
sometimes use access databases is that on a user's machine, the file is really 
just a stand alone datasource which doesn't need an additional bit of software 
installed to run a database server.

      Alternatively, something like an XML file could be made use of, except 
it's easier to at least password protect data in an MDB file.

      Aside from that, I primarily work in C#, and would specifically like a 
bit more info on things like databinding grids, tree structures etc. in 
something like this.

      Stay well

      Jacob Kruger
      Blind Biker
      Skype: BlindZA
      '...fate had broken his body, but not his spirit...'

        ----- Original Message ----- 
        From: Bryan Schulz 
        To: programmingblind@xxxxxxxxxxxxx 
        Sent: Thursday, May 20, 2010 7:31 PM
        Subject: Re: Vb.net or C#.net Tutorial Project


        hi,

        the only thing is the sql full or express is free and people only have 
access if they get a certain version of office which is worth it imo.

        Bryan Schulz

          ----- Original Message ----- 
          From: RicksPlace 
          To: programmingblind@xxxxxxxxxxxxx 
          Sent: Thursday, May 20, 2010 11:54 AM
          Subject: Re: Vb.net or C#.net Tutorial Project


          You use Access for a DB? OK, that is something I have not done but 
can look into using. Trying to download and install the Sql Server Express is a 
real pain to do from what I have seen. Lets wait to see if anyone else chimes 
in about the project and see what they are using. I downloaded and installed C# 
SP1 just in case there is a hard core CSharp guy out there. I can learn on the 
job when it comes to C# and A Access DB since all the design and most of the 
IDE and technicals will be very similar. That is one nice thing about working 
in any VS modules. Once you learn one language most all the objects and IDE 
Wizards and Dialogs will be the same. Only the language syntax will change for 
the most part.
          Rick USA
            ----- Original Message ----- 
            From: Bryan Schulz 
            To: programmingblind@xxxxxxxxxxxxx 
            Sent: Thursday, May 20, 2010 12:10 PM
            Subject: Re: Vb.net or C#.net Tutorial Project


            hi,

            that would be no.
            i have the express version and need to learn sql but have always 
used access to hold the data.
            we can go with the phone book idea and my thought may or may not be 
used.

            Bryan Schulz

              ----- Original Message ----- 
              From: RicksPlace 
              To: programmingblind@xxxxxxxxxxxxx 
              Sent: Thursday, May 20, 2010 10:12 AM
              Subject: Re: Vb.net or C#.net Tutorial Project


              Sure, anything we can think of is doable. Do you have any data 
storage system like Sql Server Express or the Sql Compact Edition on your 
machine?
              If you installed the full Visual Studio you might have both 
available. If you installed an Express Edition you might have neither and that 
will be something to also look into. If there are several folks I would like to 
get everyone on the same page, or as close to it as possible with all our 
diferent machines, software and all that jazz before we start building a 
project. Also, do you have a project in mind or are you working on something? 
It is better to build something folks are actually interested in rather than 
just something to demonstrate technicals., you learn better and faster when 
things are relevant to you and you have an idea of where the project is going 
and what you want it to do.
              Rick USA
                ----- Original Message ----- 
                From: Bryan Schulz 
                To: programmingblind@xxxxxxxxxxxxx 
                Sent: Thursday, May 20, 2010 10:57 AM
                Subject: Re: Vb.net or C#.net Tutorial Project


                hi,

                i would prefer vb.net.
                could we include a tree list?
                i have part of this created and the main nodes are the letters 
of the alphabet in segments of three, then singles, then names starting with 
that letter.

                so the top node may be ABC, and expands to show A, B, C, 
vertically, then if you expand A, it shows your friends names like Alan 
Jackson, Andy Smith, etc. and selecting one refreshes a pane with their name, 
address, phone numbers, email, etc.
                I meant to continue this program but it got put on the shelf.

                Bryan Schulz

                  ----- Original Message ----- 
                  From: RicksPlace 
                  To: programmingblind@xxxxxxxxxxxxx 
                  Sent: Thursday, May 20, 2010 9:03 AM
                  Subject: Vb.net or C#.net Tutorial Project


                  Hi: There have been a few folks who want to get started 
programming in either Vb.net or C#.net. If there is some interest in learning 
to work in one of these languages I will walk through designing a simple 
project and then work with any interested folks on building the project in 
either Vb.net, C#.net or both. If we do it on list the project will be in the 
archives and, or, anyone with an interest in the step by step tutorial can 
upload them to some online repository. If you are interested in this idea let 
me know and, if we get a couple of folks to walk through the lessons, I will 
start from scratch perhaps this weekend or Monday. I will have to download and 
install C# Express 2008 if you want to stick with that language but it can be 
done.
                  If you have an idea for a project let me know. Otherwise I 
will just pick one like the PhoneBook Project I mentioned to get started. I 
will also post some links to articles, or post some of my own, related to the 
technicals we will be using so we can discuss them openly and answer questions. 
The idea will be to teach how to research technicals online, how to use the VS 
IDE with a screen reader and how to do a little vb or C# programming to process 
things like clicking a button or accessing a Data Storage File of some sort. 
Let me know what you think about this idea.
                  Rick USA



        __________ Information from ESET NOD32 Antivirus, version of virus 
signature database 5133 (20100520) __________

        The message was checked by ESET NOD32 Antivirus.

        http://www.eset.com



    __________ Information from ESET NOD32 Antivirus, version of virus 
signature database 5133 (20100520) __________

    The message was checked by ESET NOD32 Antivirus.

    http://www.eset.com

Other related posts: