Search Results - VBForums

Search:

Type: Posts; User: kevininstructor

Page 1 of 13 1 2 3 4

Search: Search took 0.14 seconds.

  1. Re: displaying lowest number in listbox problem

    If this is used best to study it and understand what is going on else it's not worth using. You will need to ensure valid data is passed into the function.



    Public Function MinimumValInt(ByVal...
  2. Replies
    5
    Views
    163

    Re: [RESOLVED] New line in email body

    Good that this worked for you. In the future consider ident's suggestion which is best for desktop apps as the method you are currently using is more for web apps than desktop apps but in the end use...
  3. Replies
    5
    Views
    163

    Re: New line in email body

    Try using %0D%0A for a new line embedded in your string rather than environment.newline.
  4. Re: How to Add values of two rows at a time on a Datagridview.

    Simple use DataGridView1.Rows.Add( as shown above and place your values into the new row which will become the last row.
  5. Re: How to Add values of two rows at a time on a Datagridview.

    The basic logic with no exception handling in regards to do we have enough rows and can the cell values be converted to valid integers.



    Public Class Form1
    Private Sub Form1_Load(sender As...
  6. Re: Load images from Resource rather than FromFile?

    Hello,

    The following shows loading images from resources into a picture box.
    https://code.msdn.microsoft.com/Display-image-resources-c7afa3fb
  7. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    559

    Re: Fyi

    Yes congratulations is appropriate response, thank you.
  8. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    559

    Re: Fyi

    No ASP or ASP.NET used, it was hand-coded back around 2002.
  9. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    559

    Re: Fyi

    The first thing that I am trying to get done is for this page to change first, note it still indicates Kevin Gallagher, the person responsible to change this seems to be taking their time. Many...
  10. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    559

    Re: Fyi

    I still teaching martial arts and firearms but stopped in February for recovery.
  11. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    559

    Re: Fyi

    Yes, name change and surgery.
  12. Replies
    6
    Views
    207

    Re: Multiple SQL Queries

    Have you considered query notifications?

    It takes some time to setup properly and has limitations as per the second link. Bottom line is if a change is made in one instance of your application by...
  13. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    559

    Re: Fyi

    While it would be cool to be Batman I am not. Have updated my signature for my new identity, to go along with this here is a before and after image. I could easily not disclose this but over time it...
  14. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    559

    Re: Fyi

    One of the guesses is pretty good :-)
  15. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    559

    Re: Fyi

    My new identity is slowing appearing across the web and figured that if someone happen to come upon it that it is not a mistake, I am not comfortable with just mentioning it here, just wanted to...
  16. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    559

    Fyi

    I have created a new identity, with that said what you notice down the road will not be a mistake. Not that any of this matters as it does not affect me contributing here yet there are always the...
  17. Replies
    3
    Views
    158

    VS 2010 Re: Searching for file level up

    Hello,

    The following article shows how to traverse backwards through a path

    https://code.msdn.microsoft.com/Get-upper-folders-in-443e975a

    Base code from article


    Imports System.IO
  18. Replies
    2
    Views
    138

    VS 2010 Re: WebBrowser object help, please

    Hello,

    What you might try in button1 click event, comment out Visible = False.

    You could also try


    While WebBrowser1.ReadyState <> WebBrowserReadyState.Complete
    Application.DoEvents()...
  19. Re: Query Builder (Search button for ID's)

    Hello,

    In regards to doing this in the Query Builder, type ? in the Filter cell for the field S_ID, press enter. You will note

    WHERE (S_ID = @Param1) is now your where condition. Now use the...
  20. Replies
    1
    Views
    158

    VS 2012 Re: Save Checkbox values to XML

    Here is an example that saves the name and foreground color, add or subtract information as you see fit.



    Imports System.Xml
    Public Class Form1
    Private Sub Button1_Click(sender As Object,...
  21. Replies
    11
    Views
    412

    VS 2010 Re: Could not find installable ISAM

    That has nothing to do with "Could not find installable ISAM", best to start a new question.
  22. Replies
    59,549
    Views
    2,441,230

    Re: Post Race!

    I hide my true identity under my keys which seems to be very safe place that nobody would think to look.
  23. Replies
    11
    Views
    412

    VS 2010 Re: Could not find installable ISAM

    Hello,

    Exactly which line is throwing this exception?

    Now I did notice you are using Password in the select statement, unless I am missing something Password is a reserve word so try


    ...
  24. Replies
    11
    Views
    412

    VS 2010 Re: Could not find installable ISAM

    See the following
    https://onedrive.live.com/redir?resid=A3D5A9A9A28080D1%21725
  25. VS 2010 Re: keep the formatting of an excel in datagridview

    Hello,

    A DataGridView is not going to mimic the formatting of Excel as shown in the image you supplied as properties of the cells in the worksheet have no matching properties in the DataGridView
  26. Replies
    6
    Views
    334

    Re: Just loving the irony

    My rule of thumb is no words when doing a tat. My favorite is when a man had his girlfriend's name done, spell it wrong, girlfriend no more and then after some time figured having this tat was the...
  27. Re: Copy and Paste Rows into the same Datagridview

    I can give you the pieces but don't have an exact solution yet if you take time to review the code in this link then you will caught on to what is needed and pay attention to if there is a sort...
  28. VS 2013 Re: VB.NET EXCEL - Find + Copy

    Hello,

    Never copied a sheet to another workbook before with straight Excel code, only with Aspose Excel library. Normally I would tinker with this but my brain is still foggy for major surgery...
  29. Re: Copy and Paste Rows into the same Datagridview

    The following is for unbound. There are two columns, first is a Checkbox column named Checked, second a TextBoxColum named LastName. The idea here is check rows or row, press a button, row or rows...
  30. VS 2013 Re: VB.NET EXCEL - Find + Copy

    Try setting IMEX to 0 or 2 in the code I supplied for creating the connection for the XLSX section which is currently set to 1, see if that helps.
  31. VS 2013 Re: Speed Up Reading in Arrays from Excel

    Here is a simple example which places data into a Object array which is then placed into a DataTable. Since you are only interested in the array disregard the DataTable, change the return type from...
  32. VS 2013 Re: VB.NET EXCEL - Find + Copy

    The image goes with code block 1 where the first row has column names. The image below goes with the second example where the first row is data

    124137

    Both return a DataRow, from the DataTable...
  33. VS 2013 Re: VB.NET EXCEL - Find + Copy

    The following example works against a sheet where the first row has field names


    Private Sub DemoWhere(ByVal FirstName As String)

    Dim dt As New DataTable
    Dim FileName As String =...
  34. Replies
    7
    Views
    270

    Re: Usng 4.5 task factory async await

    What you are doing is not the proper use but we can do it



    Private Async Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Dim Result As Integer = Await...
  35. VS 2013 Re: Visual studio 2013 update 4 problem

    Hello, I would suggest asking this question in the forum below which is dedicated to Visual Studio

    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=visualstudiogeneral
  36. Re: Calculating Prices in a Listbox in Visual basic 2010

    Well you could use a CheckedListBox, set the DataSource to a strong typed container such as a DataTable then for obtaining the total query the underlying DataTable. In Button1 I place the checked...
  37. VS 2008 Re: OleDb Jet 4 with new version of Excel

    Here is something I recently did for working with Excel/OleDb
    https://code.msdn.microsoft.com/Excel-and-OleDb-basics-to-95adc5a1
  38. Replies
    1
    Views
    143

    VS 2010 Re: DataGridView Information

    Generally speaking when the standard DataGridView does not met your needs the first thing would be to explain in this question what you are needing the DataGridView to do, the more details the better...
  39. Re: Unhandled error issues.......or is that manopause?

    It does not exists until you create it but let's try simply doing this before any other code runs for data operations, look at the code placed in form load, place the line above them
  40. Re: Unhandled error issues.......or is that manopause?

    See what happens using in the new constructor of the form



    AppDomain.CurrentDomain.SetData("DataDirectory", "Your Path to the database")
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.