CharlieMay's Profile
Reputation: 1386
Grandmaster
- Group:
- Expert w/DIC++
- Active Posts:
- 4,464 (3.34 per day)
- Joined:
- 25-September 09
- Profile Views:
- 34,661
- Last Active:
Today, 04:46 PM- Currently:
- Offline
Previous Fields
- Country:
- US
- OS Preference:
- Windows
- Favorite Browser:
- FireFox
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- PC
- Your Car:
- Chevrolet
- Dream Kudos:
- 25
- Expert In:
- VB.NET
Latest Visitors
-
msreed 
Today, 06:55 AM -
modi123_1 
20 May 2013 - 13:29 -
panzerfaust67 
20 May 2013 - 13:27 -
sagarpathare 
17 May 2013 - 22:10 -
actionjcl 
13 May 2013 - 09:01 -
vks.gautam1 
12 May 2013 - 03:07 -
Demix 
11 May 2013 - 15:48 -
404notfound 
08 May 2013 - 16:46 -
PCTech 
07 May 2013 - 11:15 -
torind_2000 
06 May 2013 - 08:07
Posts I've Made
-
In Topic: Apply a function to datagridview column every time it's filled
Posted 23 May 2013
Linesofcode, on 23 May 2013 - 11:19 AM, said:I would love to have a button to edit my posts on DIC..
where I say "valor" it's value.
You're almost there
I think you have to have a certain number of posts before they let you edit. For some reason, I think it's 15.
EDIT:
Well, 16 it appears see this -
In Topic: Conversion from string "" to type 'Double' is not vali
Posted 23 May 2013
I agree with Linesofcode, that sub needs to take the 3 arguments that you are using textboxes for.
From your main code you need to parse the strings in the textboxes to their appropriate types into variables of that type. Once that is successful, pass those variables to the sub.
Actually, instead of a sub, that should be a function that returns the calculated value back to the calling routine.
read up on Type.TryParse where Type would be Integer, Double, Decimal, etc... to ensure that the value is of the type needed to perform the calculation -
In Topic: error in the following code
Posted 23 May 2013
@_HAWK_, that is just another valid way of setting parameters. I prefer the @ method as it is more readable for me with a descriptive @label.
OK, This will probably get moved again like your code yesterday but I'm going to paste my answer from that post.
It would be helpful to display the error. I'm pretty sure I know what that error is but I'm going to jump over and allow you to post a more descriptive question with enough information for us to help you with it.I will however bring up a couple of logical issues I see with the code.
1. Wouldn't you want to ensure the username and password textboxes are filled in prior to running the query? If one or the other or both are not filled in, notify the user and don't process the data until that condition is met by the user.
2. If the query returned rows (it found a matching username and password) then the login was successful. There is no need to check the result with the username and password textbox entries since that is what pulled the row in the first place.
Now post your error that you're getting. I'm betting it has to do with a certain word in your sql statements confusing the sql interpreter but I'll wait for your response. -
In Topic: Cannot fix mapped drive error on publishing
Posted 22 May 2013
The second Add name has a g: path -
In Topic: Not Using Option Strict
Posted 22 May 2013
I pretty much feel like it was implemented it when they implemented Default Instances of forms and turned it off so that it was easier for people to move from vb6 to vb.net and not drastically change their style of coding.
As if to say, come on vb6ers, you can write code the way you're use to now.
If you were to install the first version of vb.net you would be surprised by the number of people today that couldn't get code to work with it.
I will say that the tagline in my signature is based on truth. I realized very quickly that I wasn't writing code, I was putting things in a syntax and letting the compiler figure out what it thought I was trying to do.
Option strict gave me a lot more insight into my code.
My Information
- Member Title:
- This space intentionally left blank
- Age:
- 45 years old
- Birthday:
- October 27, 1967
- Gender:
-
- Location:
- Indiana
- Years Programming:
- 25
- Programming Languages:
- VB, VB.NET, C#
Contact Information
- E-mail:
- Private
- Website URL:
-
http://
Friends
-

skyhawk133
-

Nykc
-

KYA
-

BenignDesign
-

vks.gautam1
-

AdamSpeigh...
-

modi123_1
-

motcom
-

_HAWK_
-

JackOfAllT...
-

TriggaMike
-

Core
-

Asscotte
-

raziel_
-

Elcric
-

Luc001
-

Essel
-

emresutisna
-

Shadar
-

janne_panne
-

naveed_786
-

chosen_12
-

bettybarnes
-

williamgeo...
-

demausdauth
-

Handler
-

IrishCoder
-

tarounen
-

lordofduct
-

blueberrys42
-

Elda
-

shie
-

priyankash...
-

hardygandhi
-

lucky3
-

artemix22
-

rantonio
-

VB ASRAAF007
-

purvabhila...
-

blue jhon
-

mrmtsuruya
-

raghav.nag...
-

Swapnilbar...
-

czarmaiyne
-

Wizmeister
-

nilesh7136
-

GodSosukeA...
-

emjei
-

joramkaku
-

sagarpathare
Showing 50 random friends of 75 (View all)
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
vks.gautam1
11 May 2013 - 06:53CharlieMay
06 May 2013 - 14:10pavanvadrevu
03 May 2013 - 08:53nK0de
01 Feb 2013 - 10:18beginner_emman
30 Nov 2012 - 09:05CharlieMay
22 Oct 2012 - 18:30Wizmeister
18 Oct 2012 - 17:00wanabavbcoder
09 Oct 2012 - 15:38wanabavbcoder
09 Oct 2012 - 00:48wanabavbcoder
08 Oct 2012 - 15:22An unhandled exception of type 'System.Reflection.AmbiguousMatchException' occurred in microsoft.visualbasic.dll
Additional information: No accessible overloaded 'MessageBox.Show' is most specific for these arguments:
Public Function Show ( ByVal text As String, ByVal caption As String ) As Sy...
wanabavbcoder
08 Oct 2012 - 13:36czarmaiyne
04 Oct 2012 - 09:47thank you for guiding! :]
czarmaiyne
04 Oct 2012 - 08:37DimitriV
09 May 2012 - 03:57DimitriV
15 Apr 2012 - 20:31