Search:

Type: Posts; User: IanRyder

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    785

    Re: C# Start Up Events

    Many thanks jmc,

    I had a funny feeling I was missing something fairly obvious. lol...

    Have a good day and stay safe.

    Ian.
  2. Replies
    2
    Views
    785

    C# Start Up Events

    Hi again everyone, been a long time since I have been on here now but hope you are all well and coping with the current COVID issue.

    During this pandemic I have made the transition form VB.NET to...
  3. Replies
    3
    Views
    1,801

    VS 2010 Re: JSON and Yahoo! Finance data

    Hi,

    I noticed that this had not really been answered yet and I do a lot with JSON structures so I thought this may help. I personally use fastJSON to do my work which can be added to your project...
  4. VS 2010 Re: Split date/time field into two columns in bound DGV?

    If you have now followed the link to add the expression columns to the datable then once you add this datatable as the data source of the DGV then you will see the new columns of the datatable in the...
  5. VS 2010 Re: Split date/time field into two columns in bound DGV?

    Have a look at adding some data columns (being expression columns) to your data table before you bind it to the DGV.

    Have a look here for an example of how to do this:-
    DataColumn.Expression...
  6. Replies
    3
    Views
    640

    Re: VB6 Learning Aids

    Hi habanero,

    I have got your PM so I will drop the books into the post on Monday. Since you are in the US these should take about a week or so to get to you from the UK.

    Let me know when you...
  7. Replies
    3
    Views
    640

    Re: VB6 Learning Aids

    Hi,

    I am happy to provide the information but you need to let me know where to send the books? These are hard copy books and not electronic books! So, as not to compromise your own privacy, send...
  8. Replies
    3
    Views
    640

    VB6 Learning Aids

    Hi All,

    I have been archiving some stuff to the attic today and came across two old VB6 Tutorials that are of no use to me anymore since I have now migrated to .NET but may be of interest to some...
  9. Re: Add item to Datagridview based on Combobox selection. MySql

    Hi,

    I think the reason why you have got limited or no answers is that your question actually spans quite a few topics and techniques as well as implying delving into other topics such as saving...
  10. Re: [RESOLVED] itextsharp-full page small watermark text

    Nice one and glad to help.

    Cheers,

    Ian
  11. Re: itextsharp-full page small watermark text

    Hi,

    Don’t forget that the pdfData variable is the current reference to the current page and its associated objects so you should be saying something like:-

    Dim graphicsState As New PdfGState()...
  12. Re: itextsharp-full page small watermark text

    Hi,

    I forget to add the BeginText and EndText Methods so modify the code to add those i.e:-

    pdfData.BeginText()
    While currentYPos > 0
    ...
  13. Thread: List.Contains

    by IanRyder
    Replies
    1
    Views
    2,210

    VS 2015 Re: List.Contains

    Hi,

    You need to override the Equals Method to test for the equality of a complex object. Have a look at the Find Method below which demonstrates how to do this:-

    List(Of T).Find Method...
  14. Re: itextsharp-full page small watermark text

    Hi,

    Your logic is wrong from what I can see. The PDFStamper needs both an Input Source and an Output Stream and yet your Output Steam is currently a Memory Stream which goes nowhere when the...
  15. Replies
    9
    Views
    5,058

    VS 2015 Re: Reload DataGridView

    Hi,

    Since the DataGridView is displaying your information with the Newest record at the top of the DGV why not use the InsertAt Method of the Datatable’s Rows collection to add the new record at...
  16. Re: itextsharp-full page small watermark text

    Hi,

    Assuming that you have the basic code to create the PDF file using iTextSharp then have a play with this example which will demonstrate what you are after:-

    'pageIndex being the Current...
  17. Replies
    1
    Views
    604

    VS 2015 Re: Special Characters

    Hi,

    If you are use Version 3.5 of the .NET Framework or greater then have a play with this option which uses the Enumerable.Any Method to check to see is a string ends with a specific special...
  18. VS 2010 Re: Compare a column's value with the previous value on input(datagridview)

    Hi,

    There is No Event that will fire and check what you need so I would recommend that what you do is to check the Previous DGV Row against the Current DVG Row using the CellValidating Event of...
  19. VS 2013 Re: MSChart with multi-logarithmic scale?

    Sorry, but you have lost me on that one. I will have to leave it for one of the other members to try and help further.

    Good luck.

    Ian
  20. VS 2013 Re: MSChart with multi-logarithmic scale?

    Hi,



    I am not sure whether you have missed a small point here. You will have probably set the Logarithmic Property to True in the ChartArea that you are creating to get your expected results...
  21. Replies
    6
    Views
    1,004

    Re: Make an addition in a XML or DataGridView

    Hi,



    Converting a string value of “-1” to a Single value is a trivial matter so there has to be something else going on there.

    Saying that, your own code example is correctly checking for...
  22. Replies
    6
    Views
    1,004

    Re: Make an addition in a XML or DataGridView

    So, in that case, you need to first of all ignore all the Null Values being returned from the Datasource i.e, something like:-

    MsgBox(someDataset.Tables(0).Rows.Cast(Of DataRow).Where(Function(x)...
  23. Replies
    6
    Views
    1,004

    Re: Make an addition in a XML or DataGridView

    Hi and Welcome to the Forum,

    If you are just asking how to Sum a Column in the DataSource of a DataGridView then you can either use a traditional For Loop to iterate the rows of the DataTable and...
  24. VS 2013 Re: XML Elements and Child Elements to DataGridView

    Hi,

    That code with that XML snippet with produce a Dataset with 4 Individual Tables. I would recommend that you add 4 DataGridViews to a new project and set the DataSource of each DGV's to one of...
  25. VS 2015 Re: ControlBindingsCollection.Add Method with non string ?

    You are welcome and not to worry. Glad you got there in the end.

    Cheers,

    Ian
  26. VS 2015 Re: ControlBindingsCollection.Add Method with non string ?

    Hi,

    Good to hear that you are half way there and even though this has nothing to do with the original question, what is wrong, or more importantly, what is missing in these statements:-
    ...
  27. VS 2015 Re: ControlBindingsCollection.Add Method with non string ?

    Hi,

    There is no "Boolean" Property in a CheckBox Control so this will never work. You need to Bind your underlying Bit / Boolean Data Type to the "Checked" Property of the ComboBox control. i.e:-...
  28. Re: String manipulations - flattening out data

    Hi techgnome,

    The only thing I have come across in SQL Server that even remotely resembles what you are describing was solved with the use of Recompiling the Stored Procedure before use. Maybe...
  29. Replies
    11
    Views
    1,478

    Re: Blackjack Card game in VB 2012 problem!

    Hi and Welcome to the Forum,

    The issue here is that you are using the same Result from the Single call to the Random class to assign your two card images since the value of intCard does not change...
  30. Replies
    10
    Views
    1,250

    VS 2015 Re: Display Resource File Webpage >> Form

    Excuse me?

    My sincere apologies for trying to help you.

    Good luck in your future endeavours and I will ask the Mods to remove that ungrateful rep that you posted.

    Ian
  31. Replies
    10
    Views
    1,250

    VS 2015 Re: Display Resource File Webpage >> Form

    You need to stop and think about what it is you want to do and compare that with what it is that you are actually doing.

    Firstly, that fact that you did not even have a WebBrowser Control added to...
  32. Replies
    10
    Views
    1,250

    VS 2015 Re: Display Resource File Webpage >> Form

    Let me try again,

    Go to your Project Properties (Main Menu, Project, Project Properties), click on the Resources Tab and then click on the File in question in the Resources Window. Now, from the...
  33. Thread: Chart Y Axis!

    by IanRyder
    Replies
    7
    Views
    1,096

    VS 2012 Re: Chart Y Axis!

    Re:-



    That’s for you to work out. I showed you how to overcome the DataBinding issue with the Chart but how you go about associating the TextBoxes with the each of the collections is completely...
  34. Replies
    8
    Views
    1,360

    Re: Random location picturebox.

    Good for you. Go and read Post 2 again and go from there.

    Cheers,

    Ian
  35. Replies
    10
    Views
    1,250

    VS 2015 Re: Display Resource File Webpage >> Form

    OK, so read what I said and choose the right option for you.

    Cheers,

    Ian
  36. Replies
    8
    Views
    1,360

    Re: Random location picturebox.

    Hi,

    A small mistake there. You need to create Point Structures first and then add those to the list. You cannot define a List of Point and then just add numbers to it. Have a look at this...
  37. Replies
    3
    Views
    681

    VS 2013 Re: Issues With College Project

    Hi,

    If we concentrate solely on moving information from one form to another then you need to learn how to create Class Constructors.

    Class Constructors allow you to send an Object to a...
  38. Replies
    10
    Views
    1,250

    VS 2015 Re: Display Resource File Webpage >> Form

    Hi,

    When you have added files to your Resources, files like Executable and Picture files are typically stored as Binary (Byte Array) whereas Text Based files are typically stored as Strings. To...
  39. Replies
    8
    Views
    1,360

    Re: Random location picturebox.

    Hi,

    Start with creating a List of Points and add each of your various Start Locations to that list as Type Point. This then becomes your list of pre-defined start locations. Each Location in that...
  40. Thread: Chart Y Axis!

    by IanRyder
    Replies
    7
    Views
    1,096

    VS 2012 Re: Chart Y Axis!

    Hi,

    Other that setting the DataSource of the Chart, and as far as I am aware, the closest you can come to Binding TextBoxes to a Chart is to use two collections to store the values from the...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width