Search Results - VBForums

Search:

Type: Posts; User: IanRyder

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    250

    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...
  2. Replies
    3
    Views
    250

    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...
  3. Replies
    3
    Views
    250

    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...
  4. 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...
  5. Re: [RESOLVED] itextsharp-full page small watermark text

    Nice one and glad to help.

    Cheers,

    Ian
  6. 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()...
  7. 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
    ...
  8. Thread: List.Contains

    by IanRyder
    Replies
    1
    Views
    189

    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...
  9. 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...
  10. Replies
    9
    Views
    476

    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...
  11. 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...
  12. Replies
    1
    Views
    190

    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...
  13. 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...
  14. 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
  15. 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...
  16. 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...
  17. 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)...
  18. 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...
  19. 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...
  20. 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
  21. 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:-
    ...
  22. 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:-...
  23. 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...
  24. Replies
    11
    Views
    664

    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...
  25. Replies
    10
    Views
    569

    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
  26. Replies
    10
    Views
    569

    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...
  27. Replies
    10
    Views
    569

    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...
  28. Thread: Chart Y Axis!

    by IanRyder
    Replies
    7
    Views
    486

    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...
  29. Replies
    8
    Views
    460

    Re: Random location picturebox.

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

    Cheers,

    Ian
  30. Replies
    10
    Views
    569

    VS 2015 Re: Display Resource File Webpage >> Form

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

    Cheers,

    Ian
  31. Replies
    8
    Views
    460

    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...
  32. Replies
    3
    Views
    381

    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...
  33. Replies
    10
    Views
    569

    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...
  34. Replies
    8
    Views
    460

    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...
  35. Thread: Chart Y Axis!

    by IanRyder
    Replies
    7
    Views
    486

    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...
  36. Replies
    1
    Views
    279

    VS 2010 Re: install app using clickonce

    Hi,

    I would suggest that you start here:-

    Publishing ClickOnce Applications

    If you then scroll down to the Second “How To:” under the Publish Page section, this then discusses your specific...
  37. Replies
    4
    Views
    355

    Re: Insert with DataAdapter and parameters

    Hi and Welcome to the Forum,

    The first question to ask is whether you are trying to Insert a Record into a Database or are you trying to Return Some Records from a Database? The reason for asking...
  38. Replies
    12
    Views
    606

    VS 2015 Re: Decrypt string stored as a char

    Ah,

    Valid point NeedSomeAnswers, I missed that point in the previous post. Unless, the 123456 in the Web Page has been read from the Database and padded out as explained above?? (forget that...
  39. Replies
    12
    Views
    606

    VS 2015 Re: Decrypt string stored as a char

    Hi,

    I bet that the source of your issue is the Data Type you have used in the Database. Type Char is a Fixed Length Type. Have a look here:-

    SQL Server Data Types

    So, if you have a Char...
  40. Replies
    3
    Views
    372

    Re: Rookie Question on Charts

    Hi,

    Whenever you get an error with regards to something that it not defined then the first thing to do is to read the Documentation for that object so that you can see if there is something that...
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.