RPH COMPUTERS

m
  • Home
  • Blog
    • Blog Home
    • Blog Archives
  • What we do
  • Contact
  • Home
  • Blog
    • Blog Home
    • Blog Archives
  • What we do
  • Contact

VB.Net

Category

VB.NET adding a databound combo box column to a datagridview

Posted by rphcomputers on February 27, 2013 No comments

This has caught me out a couple of times now so it’s definitely worth mentioning, if only for my own memory!

Here is the vb.net source code to add a databound combo box column to a datagridview. The line of code which is important here, and is the one that always catches me out is the DataPropertyName property of the combo box.

Read more

VB.Net capture screenshot of windows form

Posted by rphcomputers on September 17, 2012 No comments

Thought i’d post this as it came in handy on a recent project i was involved in. You may need to tweak the offsets if the form is a child of a parent form.

Read more

How to execute code in a separate class in VB.Net

Posted by rphcomputers on July 26, 2012 No comments

Sometimes you need to execute code in a separate class, say from a windows form. This piece of code does just that by using DirectCast…

Read more

Latest posts

  • thumb

    How to change IE11 user agent string in code

    April 24, 2014

  • thumb

    Football Forecast 6 launched

    April 3, 2014

  • thumb

    Suggestions required for added functionality

    January 13, 2014

  • thumb

    Football Forecast w/c 30/12/13

    December 31, 2013

  • thumb

    Football Forecast w/c 16/12/2013

    December 16, 2013

Recent Comments

  • rphcomputers on Football Forecast 6 launched
  • Andrew on Football Forecast 6 launched
  • Anthony Omotosho on Football Forecast 6 launched
  • pier on Football Forecast 6 launched
  • Mack on Football Forecast 6 launched

Social

RPH COMPUTERS