Search Results - VBForums

Search:

Type: Posts; User: kevininstructor

Page 1 of 13 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    90

    VS 2012 Re: Counting Rows in excel ?

    Did you get a chance to try the demo project out on OneDrive which I replied to over on Social forums thread?
  2. Get Excel sheet names, named ranges and reference tables

    The attached VS2012 solution contains a class project that can be used in your projects to get sheet names, named ranges and reference tables via Excel automation. The test project is a simple...
  3. Replies
    9
    Views
    4,280

    Re: Import Excel into a Dataset

    I don't have a web server to duplicate your environment so I have nothing else to suggest.
  4. VS 2013 Re: Pick all files in folder and underfolders by extension help

    Hello,

    The following VS2012 project demonstrates search for files by file extension in a folder and will search all sub-folders (uses a function to determine if we have permissions to read said...
  5. VS 2010 Re: Image doesn't retrieve from ms access

    There is nothing difficult in regards to JMC's code, connect to your database, get the image and convert from a byte array to an image. I usually have a very small amount of images to display so I...
  6. VS 2008 Re: Write to Dataset from 2 different classes

    A conceptual method would be to store the DataTable data in a DataSet within a Singleton class. The following uses mocked data to load the dataset, set a relationship and a DataColumn Expression...
  7. Replies
    12
    Views
    247

    Re: Arrays

    Hello,

    Difficult to reply without seeing code used as there are many ways this can be done.
  8. Re: Removing specific Rows in DataGridView

    Hello,

    The attached VS2012 project shows how to removed checked rows for an unbound DataGridView
    116543
  9. VS 2012 Re: VB.net Compare two datatables and return differences

    Hello,

    Here something you could try.


    Module DataTableCompare

    Public Sub Demodt()

    Dim dt1 As New DataTable With {.TableName = "MyTable"}
  10. Re: The ConcurrentDictionary (C# VB.NET)

    From time to time I find information that others might find useful, this post is just doing that, exposure to ConcurrentDictionary. Some will discard it, others explore while others will bump into...
  11. Replies
    2
    Views
    83

    VS 2012 Re: Datagrid

    Hello,

    I have a language extension method CloneRowWithValues which accepts a source row (from one DataGridView) and target DataGridView to copy the row too.

    Two examples where I am sure they...
  12. Re: The ConcurrentDictionary (C# VB.NET)

    No surprises at all but still doing the proverbial test drive
  13. The ConcurrentDictionary (C# VB.NET)

    Stumbled across this today, did a few experiments as follows

    See this post also.

    Added Code Project article with sample solution in C#. Download, open configuration manager, set build for...
  14. Re: Reading a txt file asynchronous and inserting to DB vs2013 MSSQL2008

    Hello,

    The following is a very basic framework w/o a CancellationTokenSource that would allow the process to be cancelled. Simple cancel demo.


    ' Large text file
    Private FileName As String =...
  15. Re: Showing splash screen with gif animation

    Hello,

    If using VS2012 or higher download the following project.

    The splash screen currently is configured to show a spinning progress animation similar to Google and Apple while the main form...
  16. Replies
    65
    Views
    2,885

    Re: What do you think about nicotine

    Well a few in my civilian class played a evil prank on me, was teaching a technique to create distance from an attacker and the one whom I was demonstrating the technique on for lack of a better...
  17. Replies
    65
    Views
    2,885

    Re: What do you think about nicotine

    My students (teaching empty hand combatives) were warned one week ahead of time when I was quitting that they could pass the following weeks class as I would more likely than not be a tad bit...
  18. Replies
    3
    Views
    231

    Re: Help with XML nested elements

    Simple xml literal demo


    Dim dt As New DataTable With {.TableName = "MyTable"}
    dt.Columns.Add(
    New DataColumn With
    {
    .ColumnName = "Identifier",
    .DataType =...
  19. Re: Dynamically set control property enum

    If by chance you are storing images as project resources take a look at the following article.
  20. VS 2010 Re: [Please Help] Filtering datagridview with textbox

    Exactly what I suggested.
  21. VS 2010 Re: Vb.Net Error To prevent possible data loss before loading the designer, the ....

    Hello,

    I downloaded your project but only have VS2012/2013, loaded the project, built/ran, zero issues, Closed Visual Studio, re-open, build/run, no issues. So whatever is going on seems to be...
  22. VS 2010 Re: [Please Help] Filtering datagridview with textbox

    Hello,

    A simple method, first declare your BindingSource at form level


    Public Class Form1
    WithEvents bsData As New BindingSource
    ...
  23. VS 2010 Re: Vb.Net Error To prevent possible data loss before loading the designer, the ....

    Hello,

    From reading the error message it sounds like you may have written code where you should not have and if not more likely than not we might be dealing with a corrupt form.


    Have you...
  24. Replies
    0
    Views
    407

    AngelaSmith library

    I came across this library for generating/seeding and thought others might like to check it out.

    Simple example (as there are no demo projects)

    Class


    namespace AngelaSmithTest
    {
    ...
  25. Replies
    24
    Views
    530

    Re: Outlook HTML email problem

    Did you look at the link I provided?

    In regards to not wanting many more utilities, my advice was not to add to the current list of applications/utilities but instead to look at a all encompassing...
  26. Replies
    8
    Views
    282

    VS 2013 Re: Retain form Control Values

    Hello,

    For what you want My.Setting is best as per techgnome. Alternate methods require you to write code. The only time to not use My.Setting data binding is when it can't meet your needs.

    I...
  27. Replies
    24
    Views
    530

    Re: Outlook HTML email problem

    Does it matter that smtp is a valid method over OutLook? Also there are freeware web apps that can be used to do this as a help desk utility that will do what you want with very little configuration.
  28. Replies
    24
    Views
    530

    Re: Outlook HTML email problem

    Hello,

    Messing with the registry is in my mind a 'work-around' as you should never need to alter the system registry for this purpose unless you have zero chances to do the task w/o doing so. I...
  29. Replies
    24
    Views
    530

    Re: Outlook HTML email problem

    Hello,

    This is what I have found to work



    Imports System.Net.Mail
    Public Class Form1
    Private Sub DemoSendMessage(ByVal Address As String, ByVal Host As String)
    Dim KateImage...
  30. Re: How to create a shapefile from a DataGridView

    Hello,

    If using ESRI products I would ask them.
  31. VS 2012 Re: VB How to merge cells having same data in datagridview?

    Like this?

    115709
  32. VS 2013 Re: Format numbers datatable colum

    I noticed that you want a decimal but perhaps this might be an alternate going string to double (sounds like it's currently a string at least)



    Dim dt As New DataTable With {.TableName =...
  33. VS 2008 Re: 'Next' is not a member of 'System.Windows.Forms.Button'

    Stop taking the red pills :-)
  34. Re: Textbox numeric type and paste only

    Download this solution, note I placed the TextBox into a class project so you can use it in any project.
  35. Re: Textbox numeric type and paste only

    Create a new class file in your project name it numericTextbox.vb, replace the default contents with the code I replied with. Now re-build the project, display the form you want to use it in, select...
  36. Re: Textbox numeric type and paste only

    Hello,
    Here is a custom TextBox that checks for data pasted from the Windows Clipboard and disallows non-numeric values via Decimal.TryParse.


    Public Class numericTextbox
    Inherits TextBox
    ...
  37. Re: Asynchronous Programming with Async and Await examples for C# and VB.NET

    Thought I toss in a simple example that might be of help to those looking to learn. See attachment for VS2012 project.
    See also: Handling Reentrancy in Async Apps (C# and Visual Basic) in regards to...
  38. Re: Asynchronous Programming with Async and Await examples for C# and VB.NET

    Interesting I clicked on the link via IE-10 and no poster, same with Chrome version 34
  39. Asynchronous Programming with Async and Await examples for C# and VB.NET

    The following site has good examples to get started.

    http://www.wischik.com/lu/AsyncSilverlight/AsyncSamples.html
  40. Replies
    14
    Views
    409

    VS 2013 Re: Enhancing Sentence Case.

    I will indeed create something on this either way over on MSDN which has greater visibility where I have several already here.
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.