User Profile

Collapse

Profile Sidebar

Collapse
wbosw
wbosw
Last Activity: Nov 12 '07, 02:53 AM
Joined: Mar 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • wbosw
    replied to VB.Net Looping Issues
    in .NET
    Thanks again Plater, you've been a great help.

    Wbosw
    See more | Go to post

    Leave a comment:


  • wbosw
    replied to VB.Net Looping Issues
    in .NET
    My situation is like #1:

    So I want to turn ( tReEGHp) into ( pHgEERt ) that would be positions 1,3,4,5.

    would ReverseLowerCas e[i]= ReverseUpperCas e[i]; work in this situation, because it's on odd number of positions. if so, thanks in advance

    Wbosw
    See more | Go to post

    Leave a comment:


  • wbosw
    started a topic VB.Net Looping Issues
    in .NET

    VB.Net Looping Issues

    I'm trying to take a word (stEAdy) and find the index positions of the uppercase characters(2,3) in the word. I have them stored in an array (positionarray) . Then I reverse the word and set all characters to lowercase. I've done that. Now, I want to take the reversed word (ydaets) and make the index positions from the array(2,3) uppercase for the reversed word, so that it will read (ydAEts). Below I'm looping thur the array incorrectly. I'm...
    See more | Go to post

  • Thanks Plater, I looked a little closer myself and found why it was receiving the Null reference.

    Thanks again,
    Wbosw
    See more | Go to post

    Leave a comment:


  • ReverseText is scoped at the class level. The integer variable RevLen is holding ReverseText.Len gth.


    Where do you specify what ReverseText is?

    Code: ( vbnet )
    For Each item As Integer In PositionArray
    Dim RevLen As Integer
    RevLen = ReverseText.Len gth
    Dim j As Integer
    Dim char2 As Char
    For j = 0 To RevLen - 1
    char2 = ReverseText.Cha rs(j)...
    See more | Go to post

    Leave a comment:


  • VB.NET: Object reference not set to an instance of an object

    I'm receiving an object reference not set to an instance of an object on the
    ( RevLen = ReverseText.Len gth) line of code. Can anyone help with this problem?

    Thanks,
    William Boswell

    For Each item As Integer In PositionArray

    Dim RevLen As Integer

    RevLen = ReverseText.Len gth

    Dim j As Integer

    ...
    See more | Go to post

  • VB.Net Regex finding multiple capital letters in a word

    I'm trying to create a regex to find more than one capital letter position within a word. The below regex, finds the first capital letter in the word and returns the index for that character. I would like to find both capital letter positions in the word heLLo and return both positions. Does anyone have any suggestions.

    Thanks in advance,
    Wbos


    Public Function FindPosition(By Val word As String)
    ...
    See more | Go to post

  • There are no spaces between the words, the string is split into an array and each word is an item within the array. I loop through the array and reverse the words.

    Wbos
    See more | Go to post

    Leave a comment:


  • wbosw
    started a topic Capitalizing String or Char by position ( vb.net)
    in .NET

    Capitalizing String or Char by position ( vb.net)

    I have a string " Hello World ", I've reversed the string to " olleH dlroW " now I would like to change the position of the Capitalized letters to Olleh Dlrow. By the way I do not want to capitalize the first letter of every word, I want to replace the capitalization by position such as wAiter to rEtiaw. Does anyone have any suggestions?

    Thanks,
    Wbosw
    See more | Go to post
    Last edited by wbosw; Nov 3 '07, 03:24 PM. Reason: text change

  • wbosw
    replied to DataTable filter expression issue
    in .NET
    Plater, that works.

    Thank you
    See more | Go to post

    Leave a comment:


  • wbosw
    replied to Adding Arraylist objects to listbox
    in .NET
    Thanks for the advice Nateraaaa
    See more | Go to post

    Leave a comment:


  • Found the solution on another website
    See more | Go to post

    Leave a comment:


  • wbosw
    replied to DataTable filter expression issue
    in .NET
    Fellows,

    I was not able to get either one of the suggestions to work.

    Thanks anyway

    Wbosw
    See more | Go to post

    Leave a comment:


  • wbosw
    started a topic DataTable filter expression issue
    in .NET

    DataTable filter expression issue

    I'm trying to filter the datatable at runtime from data selected from dropdown listboxes and a texbox. I place the values into variables and use the variables in the filter expression. However, this does not work even though the variavbles contain the right values. See the following code.

    Dim x As String = Me.ddlSearchSki ll1.SelectedVal ue
    Dim y As String = Me.ddlSkillLeve l1.SelectedItem .Text
    ...
    See more | Go to post

  • wbosw
    started a topic DataTable columns "not found" when filtering datarows
    in .NET

    DataTable columns "not found" when filtering datarows

    I created the following Sub to fill a DataSet with the Table named Developer. It binds to the Grid with no problems.


    Public Sub SearchSkills()

    Dim sqlcmd3 As SqlCommand = New SqlCommand

    sqlcmd3.Command Text = "SELECT DeveloperId, SkillsID, Name, SkillLevel, MonthsExperienc e, Skills FROM vDeveloperSkill s"

    sqlcmd3.Connect ion = connection
    ...
    See more | Go to post

  • raiwozen

    Here is the VB.Net code for comparing two arrays and removing the item from one array. I didn't have the C# code handy, but you should be able to convert this example without any trouble.


    For Each item As String In arraylist 'item one

    For Each item2 As String In arraylist2 'l two

    Dim res As Int16 = String.Compare( item, item2) ' compare items...
    See more | Go to post

    Leave a comment:


  • wbosw
    started a topic Adding Arraylist objects to listbox
    in .NET

    Adding Arraylist objects to listbox

    I have a Arraylist (SearchSkillsAr ray) that contains objects. I want to place those objects into a listbox. Here i'm using get enumerator to loop through the arraylist and add the objects to the listbox. I'm receiving the error Conversion from type 'SkillSearch' to type 'String' is not valid. Does anyone have any suggestion to fix this error?

    Thanks,
    wbosw



    SearchSkillsArr ay.Add(SkillSea rch)...
    See more | Go to post

  • wbosw
    replied to Retrieving specific objects from an ArrayList
    in .NET
    Use ArrayList.GetEn umerator....
    See more | Go to post

    Leave a comment:


  • wbosw
    started a topic Retrieving specific objects from an ArrayList
    in .NET

    Retrieving specific objects from an ArrayList

    I have a list of objects (developers) in an arraylist. Each object has five properties. I'm using VB.Net

    EX.

    developer.Id
    developer.Skill s
    developer.Skill Id
    developer.Skill Level
    developer.Years Employed

    I want to retrieve the developers with certain skills ( java , c++) and certain skill levels (skill levels range from 1 to 10 ). What is the best way to retrieve these objects?...
    See more | Go to post

  • wbosw
    replied to moving data across web pages in C#
    in .NET
    If i'm not using Profile to store specific info on a user, but just to move data across pages. Using Profile, gives me the use of intellisense, because Profile properties are strongly typed. I appreciate all the advice and will add you to my Buddy list for future discussions.

    Thanks
    wbosw...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...