Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: build control in vb.net 2005

  1. #11
    Constant Bitrate
    Join Date
    Mar 2005
    Location
    UK
    Posts
    197
    well said

  2. #12
    FLAC SnyperBob's Avatar
    Join Date
    Nov 2001
    Location
    Illinois
    Posts
    1,162
    Interesting battle here. Well, I originally learned to program in C++. I thought it was so robust, which it definately is. Recently I took a VB course and I'm amazed with how easy it is to use. I prefer it over C++ now, it's so easy to use, I don't spend 75% of my time looking up how to code each include or whatever like I had to all the time in C++.

    So from someone that has used both, I've actually got a frontend made in VB in about 2 days that works pretty well. It would have taken a couple weeks to get to that point in C++. If you haven't tried VB, I recommend it.
    www.mobile-effects.com

    Free file hosting, picture gallery hosting for installs, PM me.

    Internet's first Front End Skin browser, featured installs, downloads, links, informative articles - all free to registered users.

  3. #13
    Constant Bitrate takissd's Avatar
    Join Date
    May 2004
    Location
    San Diego, CA
    Posts
    118
    Quote Originally Posted by IntellaWorks
    Why a control and not a class? If you ABSOLUTELY need these values on a control then just create a property in the control.

    Code:
          Public Property TheProperty(tst as integer) as integer
                 Get
                         Return value
                 Set (tst as integer)
                       value = tst
          end Property
    thanks for the advice, so lets say this property "TheProperty" aas you called it has more values then how do i do it? for example i want to have TheProperty.value1, TheProperty.value2, TheProperty.value3 and so on how would i do it? And last thing, do i just do it on vb2005 as a new form or as a class and then build it? the outcome would be a dll i imagine. thanks again
    -VIA EPIA M10000/512MB/40GB HD
    -DWW motorized 7'
    -BU 303 GPS w/iGuidance/ CF
    -Opus90w
    -Belkin Bluetooth
    -Pioneer HU

    [||||||||||] 95% done

  4. #14
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    Quote Originally Posted by IntellaWorks
    Oh yea, VB is a real programming language if you don't use it then don't comment on it. In the past VB was a "hobbiest language" now its very powerful. I'm so sick of poeple being stuck in thier safe little C/C++ bubbles, thinking no programming language can beat it. Here's a word of advice: .Net 2005 changes that my friend so jump on the bus or be one of the few left behind.... Learn to like vb or c# (afterall they created C# for you guys in the bubble to be able to easily migrate over to a VB like, managed, language)
    Umm... Not everyone likes to program in languages owned by a giant corporation. You sort of immediately isolate yourself and restrict your experience when you do that.

  5. #15
    FLAC SFiorito's Avatar
    Join Date
    May 2004
    Posts
    1,363
    who cares who owns the language???? jeez... that's like saying using a windowing toolkit is bad because it "isolates" you to that framework. if someone is using Cocoa, .NET, or Java they are obviously not worried about "isolating" themselves, right? if it were up to you we'd all be using ANSI C making ASCII frontends.

  6. #16
    Maximum Bitrate knubile's Avatar
    Join Date
    Sep 2004
    Posts
    505
    That's the key there. .NET and java free you from dealing with so many backend details, that you can concentrate more on user interaction and/or more elaborate backends.

    .NET and java to C/C++ is like C/C++ to assembly.

    If you're really hardcore you could write everything in assembly, but why? It would just be a lot of wasted time.

    That's what I think of C/C++. Its obviously a great,powerful language. There's a reason so many people use it. I would just prefer to concentrate on more advanced logic and a greater feature set then to concentrate on low level details.

    my 2 cents

  7. #17
    Maximum Bitrate pRoFiT's Avatar
    Join Date
    Apr 2005
    Location
    Fresno, CA
    Posts
    797
    Ive tried most of the programming languages. VB is nice with the drag and drop in components. My first language was C++ in highschool. And i think it was called Microsoft! visual C++. It started in unix but now its just another M$ product. And soon linux will be consumed by M$ and we will have to start paying M$ for it Maybe.

    I also use Delphi which is a run off of PASCAL just windows style. Looks and feels like VB just with pascal code. I have C# well visual studio.net but i havn't played with it yet. Im still not sure about not having
    #include <stdlib.h>
    #include <conio.h> etc....

    As long as the program doesn't get huge because of it. Anyways this thread kind of got off topic.
    Um, I guess this is where you put something witty.WITTY

    My Web site, in the design stage. http://home.comcast.net/~cstrachn

    Modified RRSkinEditor http://www.mp3car.com/vbulletin/rr-skins/65723-rrskineditor-bugs-fixes-comments-current-progress-outdated.html

  8. #18
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    Quote Originally Posted by pRoFiT
    Ive tried most of the programming languages. VB is nice with the drag and drop in components. My first language was C++ in highschool. And i think it was called Microsoft! visual C++. It started in unix but now its just another M$ product. And soon linux will be consumed by M$ and we will have to start paying M$ for it Maybe.

    I also use Delphi which is a run off of PASCAL just windows style. Looks and feels like VB just with pascal code. I have C# well visual studio.net but i havn't played with it yet. Im still not sure about not having
    #include <stdlib.h>
    #include <conio.h> etc....

    As long as the program doesn't get huge because of it. Anyways this thread kind of got off topic.
    Yeah, I'm sorry I ever brought up the war between VB and other languages. Let me say that VB is alright and it has it's place. I haven't used it since 6.0 so I know it has changed drasticly since the introduction of .NET. (I know, I've seen plenty of VB.NET assignments in the computer labs at the university.) However, you MUST understand that while VB allows you to write Windows programs quickly and effortlessly, this is not neccessarily a good thing.

    Take the IDE for example. I can't tell you how many times I've seen people rely on intellisense. They NEVER finish typing a member's name. And if for some reason it doesn't work then they spend 30 minutes figuring out why intellisense isn't working.

    For C and C++ (at least in a posix environment) you have to know all the functions and members. If you don't, then there are man pages to help you. Being able to recall functions is invaluable, you shouldn't rely on documentation. This feature just allows people who shouldn't be coding to write programs.

    I appreciate Microsoft trying to help the world with .NET. Presently, however, if you are writting .NET applications then you are writing applications that run only on Microsoft's operating systems. .NET is so massive and complex that no other OS has adopted it. Why restrict yourself when you can use a language like Java or Python .. even C++?

    C has a special place for writing hardware drivers. Code for microprocessors. C tends to have a compiler for every architecture. You'll need to learn a language lower than VB if you ever do any of this stuff.

    Now, how often do I program in C90/C99? Rarely, unless I'm doing something real low level. How often do I program an C++? Almost always, unless I'm writing a quick app in Python. Is it a matter of preference? Yes, yes it is. Is it a matter of efficiency and anti-microsoft. Yes, I enjoy mastering one/two languages instead of barely knowing enough about VB. Plus, I hate Microsoft.

    Am I biased? Sure. Am I incorrect? Probably. Do I have a good point? Yes. Did I just rant relentlessly? Most likely.

  9. #19
    FLAC IntellaWorks's Avatar
    Join Date
    Jun 2004
    Location
    NH
    Posts
    1,173
    Quote Originally Posted by takissd
    thanks for the advice, so lets say this property "TheProperty" aas you called it has more values then how do i do it? for example i want to have TheProperty.value1, TheProperty.value2, TheProperty.value3 and so on how would i do it? And last thing, do i just do it on vb2005 as a new form or as a class and then build it? the outcome would be a dll i imagine. thanks again
    A property is one to one. Meaning, if you created a custom property as a part of a control, that control will have the ability to edit/change/modify your property.

    Example:

    Code:
    Dim my_control as new MyControl
    Dim my_control2 as new MyControl
    
    my_control.MyProperty = 1
    my_control2.Myproperty = 2
    
    msgbox my_control.myproperty & vbcrlf & my_control2.myproperty
    So basically here you created two controls and used the property you created within each control. You may want to explain what your trying to acomplish that way we can give you better explanations.

    As I read it, it sounded like you have some values you want stored within a class. My question is: is the number of values you need stored a known number? Do you have 6 numbers that you need stored or do you not know how many numbers will be stored ?
    Progress [I will seriously never be done!]
    Via EPIA MII
    512MB RAM
    OEM GPS (embedded)
    nLite WinXP pro on
    1GB Extreme III CF card
    Carnetix 1260 startup/ DC-DC regulator
    Software: Still, re-Writing my existing front end in .Net

  10. #20
    FLAC IntellaWorks's Avatar
    Join Date
    Jun 2004
    Location
    NH
    Posts
    1,173
    Quote Originally Posted by TheLlama
    Yeah, I'm sorry I ever brought up the war between VB and other languages. Let me say that VB is alright and it has it's place. I haven't used it since 6.0 so I know it has changed drasticly since the introduction of .NET. (I know, I've seen plenty of VB.NET assignments in the computer labs at the university.) However, you MUST understand that while VB allows you to write Windows programs quickly and effortlessly, this is not neccessarily a good thing.

    Take the IDE for example. I can't tell you how many times I've seen people rely on intellisense. They NEVER finish typing a member's name. And if for some reason it doesn't work then they spend 30 minutes figuring out why intellisense isn't working.


    I appreciate Microsoft trying to help the world with .NET. Presently, however, if you are writting .NET applications then you are writing applications that run only on Microsoft's operating systems. .NET is so massive and complex that no other OS has adopted it. Why restrict yourself when you can use a language like Java or Python .. even C++?

    C has a special place for writing hardware drivers. Code for microprocessors. C tends to have a compiler for every architecture. You'll need to learn a language lower than VB if you ever do any of this stuff.

    Now, how often do I program in C90/C99? Rarely, unless I'm doing something real low level. How often do I program an C++? Almost always, unless I'm writing a quick app in Python. Is it a matter of preference? Yes, yes it is. Is it a matter of efficiency and anti-microsoft. Yes, I enjoy mastering one/two languages instead of barely knowing enough about VB. Plus, I hate Microsoft.

    Am I biased? Sure. Am I incorrect? Probably. Do I have a good point? Yes. Did I just rant relentlessly? Most likely.


    Well, its no war. The number of .Net developers will simply outweigh any other non .Net developers. Its your kind of thinking that will make you a dinosaur. As much as poeple can say they hate microsoft and curse thier name until thier blue in the face, its time to face the facts. Do you want to spend 30 minutes writing a string search function or take literally less than a second to use .Nets string base class's.

    If your working for a big company or even on your own, your time is valuable. So either your boss or your clients will pressure you into writing code at a faster pace, pressuring you into using .Net because if its rapid development abilities.

    In .Net they basically took the most commonly used functions and made them base classes for you, so you can concentrate on writing the complicated stuff. Whats wrong with that?

    Take the IDE for example. I can't tell you how many times I've seen people rely on intellisense. They NEVER finish typing a member's name. And if for some reason it doesn't work then they spend 30 minutes figuring out why intellisense isn't working.
    Again, whats wrong with Intellisense ?? If intellisense isn't working then its a good indication that you've messed something up which is an excellant indication before you've compiled the code that you've broken something.

    For C and C++ (at least in a posix environment) you have to know all the functions and members. If you don't, then there are man pages to help you. Being able to recall functions is invaluable, you shouldn't rely on documentation. This feature just allows people who shouldn't be coding to write programs.
    I can only say WOW to this, no offense but I don't think you program professionaly. It seems like you take pride on knowing, throughly, coding which is great! But who the hell wants to spend an afternoon searching through thier code for a function name they coded 2 years ago, and have forgotten its name.... In addition, why so upset at rookie programmers? Your attitude reminds me of some geeks at my old college who thought they knew everything. Of course me being a "jock" was disregaurded and looked down upon which was a big mistake.

    No hard feelings here, honestly I'm trying to help you out. The days of pounding on the keyboard with completely custom code is over. Computers are so powerful and code has be written so many times, they have figured out the most efficient code basics and have programmed that for you, leaving the more complicated operations up to you to complete.

    Programming is changing, weather we like it or not. Eventually, our job isn't going to be sitting at a keyboard typing functions or building classes. We're going to be speaking to a computer in english (or whatever your primary language is) telling it that at 5PM you want it to complete backups on these workstations if they've been idle for more than 15 minutes....
    Progress [I will seriously never be done!]
    Via EPIA MII
    512MB RAM
    OEM GPS (embedded)
    nLite WinXP pro on
    1GB Extreme III CF card
    Carnetix 1260 startup/ DC-DC regulator
    Software: Still, re-Writing my existing front end in .Net

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Voice Control for Media Engine???
    By valve90210 in forum Media Engine
    Replies: 5
    Last Post: 10-02-2006, 12:01 PM
  2. Control RR from VB.NET
    By weekendowel in forum Road Runner
    Replies: 7
    Last Post: 11-07-2005, 02:52 PM
  3. Cruise Control
    By MGD in forum Road Runner
    Replies: 16
    Last Post: 05-05-2005, 05:41 PM
  4. OBDII, GPRS, and car control
    By CarBaron in forum Hardware Development
    Replies: 3
    Last Post: 04-04-2005, 10:25 PM
  5. Replies: 22
    Last Post: 08-13-2001, 02:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •