maj3091's Profile User Rating: *****

Reputation: 300 Architect
Group:
Expert
Active Posts:
1,781 (0.89 per day)
Joined:
26-March 09
Profile Views:
21,377
Last Active:
User is offline Today, 04:26 AM
Currently:
Offline

Previous Fields

Country:
GB
OS Preference:
Who Cares
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0
Expert In:
VB6

Latest Visitors

Icon   maj3091 has not set their status

Posts I've Made

  1. In Topic: getting serial data display on text box vb

    Posted 16 Sep 2014

    This looks like VB.Net code, not VB6.

    Couple of things to look at (bearing in mind I'm not upto speed with serial comms in VB.Net).

    You've put the code in the TextBox changed event? Maybe you have something else going on, but I wouldn't expect that code to run until you entered something into the textbox.

    Have you determined that your Arduino is actually sending out data? Have you connected it to HyperTerm or similar and seen the data coming in? Is your protocol set correctly (bits, parity, etc.) again, using HyperTerm to receive will determine the correct settings?

    Would be good practice to determine that the port is getting opened, not just assuming it's open.
  2. In Topic: Having a bit of trouble with a basic MPG app (listboxes and avg)

    Posted 15 Sep 2014

    The problem is in your Do-While loop.

    You're summing up what's in the text box and not what's in the list.

    Also, check the order you do things. You seem to sum them, then add the new values to the list. Just a pointer, as I'm not sure exactly how you want your program to work.
  3. In Topic: Display Part of combobox into textbox

    Posted 15 Sep 2014

    If the part you want is always at the beginning and is always 3 chars long, you could use the LEFT$ function.

    ' Returns the left most 3 chars
    strMyVar = Left$(strTempString, 3)
    



    If not, you could always use the SPLIT function, using the " - " as the separator.

    dim astrData() as string
    
    'Split the data using the delimeter " - "
    astrData = split (strTempString," - ")
    
    'What you want will be in the first element of the array - The full name will be in the second element in case you need it.
    strMyVar = astrData(0)
    
  4. In Topic: Calculator help

    Posted 2 Sep 2014

    The link posted by astonecipher provides a well explained tutorial by PsychoCoder on creating a basic calculator.

    If there are particular parts that you don't understand, then you need to tell the part you don't understand and why you don't understand it, then someone can try to explain in more detail.

    There needs to be a little effort on your part, in helping you move forward.
  5. In Topic: Calculator help

    Posted 1 Sep 2014

    Welcome to the forum....Couple of pointers

    1. You need to post your code using code tags....no-one (or very few) will download an attachment to look at. People will need to see the code to assist you.
    2. VS2013 is VB.Net, so you're actually in the wrong forum.
    3. People on the forum are volunteers and do this in their own time. You'll have to be more patient when waiting for a reply. Bumping a post less than two hours after posting the initial one, isn't likely to get it looked at any quicker, if anything, it may even get overlooked.


    If you could add the code, a mod will move it to the correct forum.

My Information

Member Title:
D.I.C Lover
Age:
43 years old
Birthday:
June 12, 1971
Gender:
Programming Languages:
C#, VB

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Comments

Page 1 of 1
  1. Photo

    Coulee Icon

    02 Feb 2012 - 19:29
    Hi,I found your post Compiling on Win7x64 SP1 gives ADO Issue on XP....http://www.dreamincode.net/forums/topic/221024-compiling-on-win7x64-sp1-gives-ado-issue-on-xp/
    I met the same problem,can you help.
    I will really really appreciate it
  2. Photo

    maj3091 Icon

    20 Dec 2011 - 01:32
    Thanks raziel_, I didn't realise what you meant at first! I was hoping you knew my boss at work! :)
  3. Photo

    raziel_ Icon

    19 Dec 2011 - 09:24
    gratz on the promotion man :)
Page 1 of 1