Search Results - VBForums

Search:

Type: Posts; User: IanRyder

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: How to deploy vb.net project with SQL Server 2014 Database

    Hi,

    What you are referring to is typically know as a Client/Server Setup. Have a watch of this youtube video which may help you to understand what you need to do next:-

    Understanding Client...
  2. VS 2013 Re: find string pattern within a string and pull only that string from it

    Hi,

    You are not explaining things very well but based on what I have seen now it seems that what you are trying to do is get all the Upper Case Characters and All Numbers which both precede and...
  3. Thread: Gridview Data

    by IanRyder
    Replies
    17
    Views
    406

    VS 2010 Re: Gridview Data

    Hi,

    As you can see I wrote my example to execute the opening of Form2 on the Clicking of the CheckBox Cell in the DataGridView which may not be exactly what you want. If you still want to try this...
  4. VS 2013 Re: find string pattern within a string and pull only that string from it

    Hi,

    Assuming that your new requirement falls within the same structure as you described in post #1 than I would just go with something simple to solve the whole thing. Have a go with this one:-
    ...
  5. Thread: Gridview Data

    by IanRyder
    Replies
    17
    Views
    406

    VS 2010 Re: Gridview Data

    Hi,

    You can do this this by checking which column has been clicked on the DataGridView and if it’s the CheckBox column in question then you can open another Form and pass the current row of the...
  6. VS 2013 Re: How to populate a ComboBox and ListBox with an XML file.

    Hi,

    Sorry, you should have mentioned that you were using WPF. What has been shown is for Windows Forms. For WPF, you should have something like the following in the XAML file:-

    <Window...
  7. VS 2013 Re: How to populate a ComboBox and ListBox with an XML file.

    Hi,

    I am not helping any further until you have listened to what I have said and acted on the issues that I have already guessed and outlined above. In addition to this where is your Handles...
  8. VS 2013 Re: How to populate a ComboBox and ListBox with an XML file.

    Hi,

    Since you are not posting any code to help diagnose the issue, I suggest that you read post #2 again carefully and make sure that you have created the Lists and Set the properties of the...
  9. VS 2013 Re: How to populate a ComboBox and ListBox with an XML file.

    Hi,

    You have obviously not written your code correctly. I suspect that what you have said is:-

    With categoryList
    .DisplayMember = "name"
    .ValueMember = "name"
    .DataSource =...
  10. Replies
    3
    Views
    225

    VS 2012 Re: Combo Selection with Changing Images

    Hi,

    I am not sure why you would want to use an If statement here since it’s the SelectedIndexChanged Event of the ComboBox that does the work. If you want to use a Label instead of a PictureBox...
  11. VS 2013 Re: How to populate a ComboBox and ListBox with an XML file.

    Hi,

    The easy way to do this would be to use a Dataset to read the XML file and then bind the associated tables of the Dataset to the required controls. Unfortunately, since there does not seem to...
  12. Replies
    3
    Views
    225

    VS 2012 Re: Combo Selection with Changing Images

    Hi and welcome to the Forum,

    One way you can do this is to add the images you want to display to the Resources section of your project, load those images into a List at Runtime, display that List...
  13. VS 2010 Re: SortedDictionary - sort keys in reverse order

    Hi,

    You can pass a Comparer to the instantiation of the SortedDictionary to change the sort order that is applied to the Keys. i.e:-

    'Create the Comparer to be used
    Private Class...
  14. Replies
    2
    Views
    179

    Re: How to insert a blank file check ?

    Hi,

    You do not need to write an “Empty File Checker”, you just need to write your routine correctly. The reason why you are getting this error is because you call the ReadLine and Split methods on...
  15. Replies
    10
    Views
    270

    Re: VS 2010 If Else If Issue

    Hi,

    Give the kid a break guys and do yourself a favour jasonpaul2001 and delete that text in post #6. FunkyDexter beat me to it.

    You have got a lot to learn but give it time and you will get...
  16. Re: How to "freeze" the screen so I can Capture it with my ScreenCapture

    Hi,

    Not really. I think if I were doing this I would approach the problem in a similar way to begin with and then as you write it you may come across a better way to go about it?

    Good luck.
    ...
  17. Replies
    1
    Views
    117

    Re: Select and count help

    Hi,

    To summarize data you need to create an Aggregate Query with the GroupBy Keyword and then depending on what information you need to return you may then need to Join this to some other table to...
  18. Re: Expression Evaluator - Parenthesis and Negatives

    Hi,

    Just use a DataTable’s compute Method which is a fully functional Expression Evaluator:-

    Dim dt As New DataTable
    MsgBox(dt.Compute("1 + -1", Nothing))

    Hope that helps,

    Cheers,
  19. Thread: Get spaces

    by IanRyder
    Replies
    5
    Views
    183

    Re: Get spaces

    Hi,

    How about these expressions as an example of something different:-

    Dim someString As String = "This j i a test "
    Dim indexPos As Integer = 8

    Dim spacesBefore As Integer =...
  20. Re: Help! Display numbers and grade from tests for each person.

    Hi,

    Then you need to read Post#2 again!

    Cheers,

    Ian
  21. Replies
    16
    Views
    333

    Re: using Properties in a List

    Exactly what I was saying, and has been mentioned by others, there are multiple ways to do this within a Class.

    You can by all means change your Strategy to do something like TG is suggesting but...
  22. Replies
    16
    Views
    333

    Re: using Properties in a List

    So true, but there is nothing wrong with different options and opinions. There is always more than one way to Skin a Cat and ultimately, I would agree with the approach you are suggesting.:)

    NB....
  23. Replies
    16
    Views
    333

    Re: using Properties in a List

    Hi,

    I seem to remember glancing over your other Thread but since others were helping you I did not respond. To be honest, I think you have just got a bit confused?

    If you read a file, line by...
  24. Re: Help! Display numbers and grade from tests for each person.

    Hi,

    If we ignore all the issues that relate to the Namespace “RahimLibrary”, since none of us know what this is, there are quite a few issues there that you need to deal with. First of all, Turn...
  25. Replies
    4
    Views
    238

    VS 2012 Re: Dropping Low Score

    Hi and welcome to the Forum,

    Here is a quick example using a bit of LINQ to Objects to get the desired result:-

    Dim someScores As Integer() = {4, 5, 6, 7, 12, 1, 3, 14, 2, 5}

    Dim...
  26. Replies
    1
    Views
    158

    Re: CSV file to SQL questions

    Hi,

    I would recommend using the TextFieldParser class in this case since it has a property that can you set to identify whether Text Fields are enclosed within Quote Marks. By setting this...
  27. Replies
    13
    Views
    344

    Re: help on count rows.

    Hi,

    Now I understand exactly what you are trying to achieve this is how I would go about it:-

    Create a query which Sums all the Admissions which can then be used to calculate the percentages....
  28. Replies
    13
    Views
    344

    Re: help on count rows.

    Hi,

    Not sure which Percentage you are referring to but if you just want the Sum of Admissions then you can just say:-


    SELECT TOP (100) PERCENT...
  29. VS 2012 Re: Need help converting For If Loops to Do While Loops.

    Hi,

    The first thing to do is to turn Option Strict On and never turn it off. It will help you to identify and correct Type Conversion errors in your code as you make them.

    The reason why the Do...
  30. Replies
    13
    Views
    344

    Re: help on count rows.

    Hi,

    What you need to do is to create a Query which identifies the Top 5 Results and then Excludes these results from a Second Query. As an example have a play with this:-


    SELECT TOP (100)...
  31. Replies
    5
    Views
    196

    VS 2013 Re: Error Creating Window Handle

    Hi all and those possibly reading in the future,

    It has been 24 hours now since I implemented my own fixes in my application and at this point there has NOT been a single instance of the dreaded...
  32. Replies
    5
    Views
    196

    VS 2013 Re: Error Creating Window Handle

    Hi Kebo,

    Thanks for the insight but I think that I have also got that one covered now by ensuring that all the User Controls are now Disposed before they are remove from the FlowLayoutPanel.
    ...
  33. Replies
    5
    Views
    196

    VS 2013 Re: Error Creating Window Handle

    Hi dday9,

    Many thanks and Yeah, I have definitely got that bit sorted since I have seen many examples of memory leaks over the years and I am hoping that I have got this one right now but I am...
  34. Replies
    5
    Views
    196

    VS 2013 [RESOLVED] Error Creating Window Handle

    Hi Guys n Girls,

    I am after a bit of advice or experience if possible. I am still relatively new to .NET with just about over 2 years of professional experience now in the .NET Framework and over...
  35. Replies
    14
    Views
    323

    Re: Timer spanning multilpe forms

    Hi,

    Are you actually talking about a Timer component which actually allows you to run some separate code on its Tick Event on each Form or are you actually talking about a Stopwatch that will...
  36. Replies
    2
    Views
    137

    Re: [RESOLVED] Number formatting issue

    Hi,

    There is nothing wrong with the .NET principles that you are using there and being advised to use FormatNumber as opposed to String.Format sounds like your Teacher has come from a VB6...
  37. Replies
    10
    Views
    360

    Re: Rock paper scissors code problem

    Hi,

    The first thing to do is to switch Option Strict ON now and never turn it off. With Option Strict set to on the compiler will help you to identify and correct Type Conversion errors as you...
  38. Replies
    6
    Views
    243

    VS 2013 Re: how use character string and converting

    Hi,

    For you second question it sounds like you need some sort of conversion routine whereby “a” = 0 and “z” = 25 and all the letters in between increment by 1 each time and then the numbers are...
  39. Re: newbie problem with while ..end statement..

    Hi,

    Things actually work fine but you have just got a few things in the wrong places or you have doubled up where you do not need to. Try this:-

    Private Sub readValuesandNumbers()
    Dim...
  40. Re: newbie problem with while ..end statement..

    HI,

    I cant quite read that so post the code, using Code Tags, and one of us should be able to guide you better.

    Cheers,

    Ian
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.