Search Results - VBForums


Type: Posts; User: kevininstructor

Page 1 of 13 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies

    VS 2010 Re: Dynamic buttons

    I agree with dday9, flow layout panel would be best

    Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    For x As Integer = 0 To 3...
  2. Re: Visual Basic Data Grid Formatting

    Try this

    columns are pre-defined. If the values might be case sensitive try using ToUpper or ToLower or e.Value.ToString

    Public Class Form1
    Private Sub Form1_Load(sender As Object, e As...
  3. Re: Parameters for a Access query don't work with a LIKE statement..?

    Any time there is a chance of an apostrophe embedded in a value sent to a query you should be using parameters so if you had O'Brian that would cause an issue but with parameters you would get...
  4. Re: Database construction in MS Access

    Some questions you should respond too.

    What method do you see yourself using for working with data

    Strong-typed classes created by the IDE data wizard
    OleDb managed data provider

    Both of...
  5. Replies

    Re: Multi-level Crash handling


    In generally it's best to do unit test and to fully test your application on a non development machine so that you eliminate common exceptions for production. Best practices dictates not to...
  6. Re: How to deal "The ‘Microsoft.ACE.OLEDB.12.0’ provider is not registered on the..."


    If the runtimes for office are installed then try under project properties, compile tab, try setting Target CPU to AnyCPU amd then check "prefer 32 bit", build, run. See if this solves the...
  7. Re: Display image by select row in datagridview


    First off without seeing code it's difficult to do anything but make suggestions, secondly I am in meeting all day beginning shortly.

    If the path of the file is not there, just the...
  8. Replies

    VS 2010 Re: Full Screen Application


    I have a fully functional example on one drive done in VS2012 but will work with VS2010, just scrape the code out.
  9. Re: Tips for coding more professionally?

    Something that I believe is important is to write test to validate code works as it should that can be executes when needed and show that said are working or not. In our current project we run these...
  10. Replies

    VS 2010 Re: how to use DCount in DataGridView

    Have no idea about DCount but here is something to consider using the second example for gender. Output can be viewed via the IDE output window

    Public Class Form1

    Private Sub...
  11. VS 2008 Re: Import From Excel to DataGridView, Check Duplicate and Manually Delete Row

    Usually to remove a row that is a duplicate we need an identifier such as a primary key which typically there is none for MS-Excel work sheets so this leaves us with a unresolvable issue unlike when...
  12. Replies

    VS 2013 Re: Error message

    Try the following, replace TODO with the field name

    Private Sub ComboBox1_SelectedValueChanged(
    ByVal sender As Object, ByVal e As System.EventArgs) _
  13. Re: choose table data to populate datagridview

    This shows one method to show table names in a combo box used to select a table to display in a DataGridView. Code was slapped together from pre-done code so feel free to optimize.

  14. VS 2013 Re: Same Datatable feeding different datagridviews

    Why not copy the original as per
  15. VS 2013 Re: Filter Dataview Grid using Text box

    When you load data with SELECT field name list goes here FROM .... and load this into a DataTable and the DataGridView is void of columns then all fields will show up on your DataGridView and if not...
  16. VS 2008 Re: Form doesn't reset to defaults when closed

    How are you creating the form i.e. Dim f As New Form1 ?
  17. VS 2013 Re: Filter Dataview Grid using Text box

    There is no reason for this approach. Did you try using a select as I mentioned by listing field names?
  18. VS 2013 Re: Filter Dataview Grid using Text box

    In regards to dday9, the following makes it easy to create the proper connection string

    Public Module ConnectionHelper
    Public Function ConnectionString(ByVal FileName As String) As String...
  19. VS 2013 Re: Filter Dataview Grid using Text box

    First off don't use SELECT * but instead list out the fields so that should resolve the issue whether size field exists and if it does you might need to use

    SELECT SomeField, [Size] FROM [stocks$]...
  20. VS 2012 Re: Error by Updating a relationship access database

    See the following for setting up two tables with relationships
  21. Re: Click listbox item in webbrowser ?

    I just responded to the same question last week while in their question they hit upon a structure that was not concussive to easily working this out.
  22. Re: [Semi-Serious] The value of programming portfolios.

    Our team when interviewing are not so interested in past achievements as we are with how one thinks and reacts to questions in their interviews. That said if a person interviews well then we look at...
  23. VS 2013 Re: Conversion from string "" to type 'Double' is not valid. what can i do


    At the top of the file add Option Strict On.

    Here is a simple example to validate you have the proper types for two text box controls. If both are do your operation, if not alert the user...
  24. Re: Selection of Combobox Item in Webbrowser

    Hard to say, all I have is what I provided.
  25. Re: Cannot bind to the new value member. Parameter name: value

    If I understand the issue then one way too go about this is to load all data into a single dataset, that is if there is not a lot of data meaning thousands of records. The load that gets loaded would...
  26. Re: Selection of Combobox Item in Webbrowser

    Here is a working conceptual example. HTML is loaded from a project resource into a web browser control.

    Resource file contents

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">...
  27. Replies

    Re: DataGridView Control

    The rule of thumb here is one question per thread/post so I would suggest starting a new question for this.
  28. VS 2013 Re: listbox items to datatable

    In regards to glued, you need to figure out what indicates the un-glue point first
  29. VS 2013 Re: Code executing at design time

    Have never seen code in an event such as load or new constructor invoking code at design time.
    Where exactly is this code within the form.
  30. Replies

    Re: DataGridView Control

    Yes it works.

    Form code, the load event is easily created by double clicking on the form's canvas.

    Public Class Form1
    Dim rc As ResizeableControl

    Private Sub Form1_Load(sender...
  31. Replies

    Re: Holiday Entitlement ?

    I get all the major holidays off, 3 weeks vacation per year.
    We also receive 16 hours of personal leave each year, use or lose.
  32. VS 2013 Re: listbox items to datatable

    Try the following where the variable 'results' is a string suitable to store in your data table

    Imports System.Globalization
    Public Class Form1
    Private Sub Button1_Click(
  33. Replies

    Poll: Re: New Monitor

    I work from three 24 inch monitors both at home and in the office.
  34. Poll: Re: Unscientific survey - Tacos - corn or flour?

    I voted for flour which here in Oregon I see more of at portable restaurants which tend to be better then regular restaurants.
  35. Replies

    Re: DataGridView Control


    The following class permits resizing at runtime along with re-positioning. Simple, easy to use.
  36. Re: Datagridview row color lost when sorting

    You should be colorizing cell data via CellFormatting event of the DataGridView, if not that could be the reason coloring is does not persist after sorting.

    See example in the following page...
  37. Re: Read Excel 2007 file from VB.Net windows form problems


    If you are working on say a Windows 7 64bit box then there are no drivers for working with OleDb to access Excel data. Then we need to set up as followed in the outline. You may also need a...
  38. Replies

    Re: PROPER Wait/Sleep Function?

    Perhaps the following using Task.Delay would work for you if using VS2012 or higher

    Private Async Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  39. Replies

    Re: Caitlyn Jenner

    Short and too the point, zero offense taken. I was bordering on whether to post here or not post in this thread but slowly I have been re-introducing the new me (which is an oxymoron as I am still...
  40. Replies

    Re: Caitlyn Jenner

    Being on FaceBook is how I became aware of Jenner and did watch a show on Jenner last month which I thought was inconclusive to where Jenner was going to land in the end. If not for FB I would never...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4


Click Here to Expand Forum to Full Width