Search Results - VBForums

Search:

Type: Posts; User: kevininstructor

Page 1 of 13 1 2 3 4

Search: Search took 0.08 seconds.

  1. VS 2013 Re: Export Vb.net Datagridview to Microsoft Excel 2013

    Have you tried the solution in the following thread?
  2. Replies
    9
    Views
    186

    Re: file downloader

    Hello,

    The following requires Framework 4.5 or higher. I did this for a question last week where the developer wanted to download a rather large xml file. You would replace the hard coded...
  3. Re: VB 2010 Saving Image From Picture To MS Access

    Hello,

    I have a sample project where the code was done in VS2012 but should be perfectly fine in VS2010. You can not load the project but can view the code online. Look at DataAccess.AddImage...
  4. VS 2010 Re: Datagridview issue with selected item dgvcombobox only updating 1 row

    The code is in the article here https://code.msdn.microsoft.com/DataGridview-ComboBox-usage-26010f73/sourcecode?fileId=109135&pathId=1221218160
  5. VS 2010 Re: Datagridview issue with selected item dgvcombobox only updating 1 row

    You can check out the code here for working with multiple combo boxes in a DataGridView

    https://code.msdn.microsoft.com/DataGridview-ComboBox-usage-26010f73
  6. Get all controls of a specific type on a form

    One of many ways to get all of a specific type of a control on a form or other container

    The following function GetAll is but one of many ways to get a specific type control on a form no matter of...
  7. Replies
    23
    Views
    528

    Poll: Re: Visual Studio 2015

    I installed the Enterprise version several weeks ago on Windows 7.

    What bugged me was several times it crashed when adding a new project to an existing solution, not that I care so much but some...
  8. Replies
    7
    Views
    220

    VS 2013 Re: My Application turns white

    There has to be code that is triggered the error so you should be examining your code.
  9. Replies
    1
    Views
    101

    VS 2010 Re: xml tag

    Going by your exact words, read a xml file in the app's debug folder. My guess is you want more and if so please indicate by supplying more details.



    Dim sb As New System.Text.StringBuilder...
  10. Replies
    7
    Views
    220

    VS 2013 Re: My Application turns white

    Before anyone can suggest a remedy you need to provide information such as, when does this happen e.g. when the app first starts and if so what code might be running on form load, shown events or...
  11. VS 2015 Re: [HELP]Checking if there is a button with same text!

    Try this where GetAll function check the form canvas and also containers such as panel or group box for all buttons with text matching text in Hotkey text box.



    Public Class Form1
    Public...
  12. Re: Open one sheet in excel file use .net

    Here is an example that selects a specific sheet then write data to several cells



    Option Strict On
    Option Infer Off

    Imports Excel = Microsoft.Office.Interop.Excel
    Imports Microsoft.Office...
  13. Replies
    9
    Views
    263

    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...
  14. 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...
  15. 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...
  16. 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...
  17. Replies
    3
    Views
    143

    Re: Multi-level Crash handling

    Hello,

    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...
  18. Re: How to deal "The ‘Microsoft.ACE.OLEDB.12.0’ provider is not registered on the..."

    Hello,

    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...
  19. Re: Display image by select row in datagridview

    Hello,

    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...
  20. Replies
    6
    Views
    276

    VS 2010 Re: Full Screen Application

    Hello,

    I have a fully functional example on one drive done in VS2012 but will work with VS2010, just scrape the code out.
  21. 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...
  22. Replies
    4
    Views
    227

    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...
  23. 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...
  24. Replies
    2
    Views
    180

    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) _
    Handles...
  25. 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.



    Public...
  26. VS 2013 Re: Same Datatable feeding different datagridviews

    Why not copy the original as per

    https://msdn.microsoft.com/en-us/library/system.data.datatable.copy(v=vs.110).aspx
  27. 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...
  28. VS 2008 Re: Form doesn't reset to defaults when closed

    How are you creating the form i.e. Dim f As New Form1 ?
  29. 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?
  30. 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...
  31. 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$]...
  32. VS 2012 Re: Error by Updating a relationship access database

    See the following for setting up two tables with relationships

    https://msdn.microsoft.com/en-us/library/ms171915(v=vs.90).aspx
  33. 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.
    ...
  34. 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...
  35. VS 2013 Re: Conversion from string "" to type 'Double' is not valid. what can i do

    Hi,

    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...
  36. Re: Selection of Combobox Item in Webbrowser

    Hard to say, all I have is what I provided.
  37. 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...
  38. 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">...
  39. Replies
    8
    Views
    330

    Re: DataGridView Control

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

    In regards to glued, you need to figure out what indicates the un-glue point first
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width