Click here to Skip to main content
15,883,829 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Impossible to access to the properties of Usercontrol, since a HTML page with javascript Pin
Dave Kreskowiak9-Jun-09 6:22
mveDave Kreskowiak9-Jun-09 6:22 
Question[Help]VB6 + Webbrowser + Iframes + Different Domains] Pin
Lord Engel9-Jun-09 1:02
Lord Engel9-Jun-09 1:02 
AnswerRe: [Help]VB6 + Webbrowser + Iframes + Different Domains] Pin
DaveAuld9-Jun-09 1:37
professionalDaveAuld9-Jun-09 1:37 
GeneralRe: [Help]VB6 + Webbrowser + Iframes + Different Domains] Pin
Lord Engel9-Jun-09 1:48
Lord Engel9-Jun-09 1:48 
GeneralRe: [Help]VB6 + Webbrowser + Iframes + Different Domains] [modified] Pin
DaveAuld9-Jun-09 3:52
professionalDaveAuld9-Jun-09 3:52 
GeneralRe: [Help]VB6 + Webbrowser + Iframes + Different Domains] Pin
Lord Engel9-Jun-09 4:20
Lord Engel9-Jun-09 4:20 
QuestionMaintain whitespace between strings Pin
Member 45142188-Jun-09 23:33
Member 45142188-Jun-09 23:33 
AnswerRe: Maintain whitespace between strings Pin
Christian Graus8-Jun-09 23:59
protectorChristian Graus8-Jun-09 23:59 
Member 4514218 wrote:
If Asc(a) > 64 And Asc(a) < 91 Then
b = Chr(Asc(a) + 32)


What an ugly, ugly mess. Char.IsAlpha is what you need, from memory. And Char.ToLower.

How about abc = abc.ToLower()

Member 4514218 wrote:
If Asc(a) > 64 And Asc(a) < 91 Then
b = Chr(Asc(a) + 32)
ElseIf Asc(a) > 96 And Asc(a) < 123 Then
b = Chr(Asc(a) - 32)
End If

xyz = xyz + b


The core flaw in your logic is that you need another else.

else
b = a

Otherwise, anyting that is not a lower or uppercase character, is lost.

you look like you're coming from VB6, that's where all the nasty habits are coming from. Forget VB6, learn to use VB.NET properly. And, learn to use the debugger, if you stepped through this code, you'd have seen in no time what the issue was.

Christian Graus

Driven to the arms of OSX by Vista.

"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.

I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

AnswerRe: Maintain whitespace between strings Pin
binjafar9-Jun-09 0:01
binjafar9-Jun-09 0:01 
GeneralRe: Maintain whitespace between strings Pin
Member 45142189-Jun-09 6:22
Member 45142189-Jun-09 6:22 
GeneralRe: Maintain whitespace between strings Pin
binjafar9-Jun-09 8:15
binjafar9-Jun-09 8:15 
AnswerRe: Maintain whitespace between strings Pin
Johan Hakkesteegt9-Jun-09 2:45
Johan Hakkesteegt9-Jun-09 2:45 
AnswerRe: Maintain whitespace between strings Pin
Luc Pattyn9-Jun-09 2:45
sitebuilderLuc Pattyn9-Jun-09 2:45 
QuestionMultiline textbox Pin
Valdorox8-Jun-09 20:51
Valdorox8-Jun-09 20:51 
AnswerRe: Multiline textbox Pin
Nagy Vilmos8-Jun-09 21:57
professionalNagy Vilmos8-Jun-09 21:57 
GeneralRe: Multiline textbox Pin
Valdorox11-Jun-09 0:19
Valdorox11-Jun-09 0:19 
GeneralRe: Multiline textbox Pin
Nagy Vilmos11-Jun-09 4:46
professionalNagy Vilmos11-Jun-09 4:46 
GeneralRe: Multiline textbox Pin
Valdorox13-Jun-09 3:53
Valdorox13-Jun-09 3:53 
GeneralRe: Multiline textbox Pin
Nagy Vilmos13-Jun-09 21:15
professionalNagy Vilmos13-Jun-09 21:15 
QuestionCustom made user control won't drop down in TableLayoutPanel, otherwise its perfect! Pin
binjafar8-Jun-09 20:27
binjafar8-Jun-09 20:27 
AnswerRe: Custom made user control won't drop down in TableLayoutPanel, otherwise its perfect! Pin
Henry Minute9-Jun-09 0:38
Henry Minute9-Jun-09 0:38 
GeneralRe: Custom made user control won't drop down in TableLayoutPanel, otherwise its perfect! Pin
binjafar9-Jun-09 1:21
binjafar9-Jun-09 1:21 
GeneralRe: Custom made user control won't drop down in TableLayoutPanel, otherwise its perfect! Pin
Henry Minute9-Jun-09 2:41
Henry Minute9-Jun-09 2:41 
Questioni want know more about ntgraph control Pin
sunilp5728-Jun-09 20:01
sunilp5728-Jun-09 20:01 
AnswerRe: i want know more about ntgraph control Pin
Nagy Vilmos8-Jun-09 21:40
professionalNagy Vilmos8-Jun-09 21:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.