Search Results - VBForums

Search:

Type: Posts; User: kevininstructor

Page 1 of 13 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    8
    Views
    262

    Re: Questions about datatables

    Hello,

    In the following article/sample code I show how to work with language extension methods on a BindingSource for filtering with the underlying data source, a DataTable.
    ...
  2. Replies
    19
    Views
    392

    Re: oledbDataReader to Array

    Yes it will as long as you do what I have shown.
  3. Re: Help Searching within an access database

    Never seen the dialog popup more than once.
  4. Re: Using Variable in HTML tag

    You could use xml literals and embedded expressions i.e.



    Dim textColor As String = "green"
    Dim PersonName As String = "Karen"
    Dim HtmlContent =
    <html>
    <style>
    ...
  5. Replies
    19
    Views
    392

    Re: oledbDataReader to Array

    The following loads data into a DataTable then via Lambda into an array.



    Private Sub ReaderDemo()
    Dim dt As New DataTable
    Dim Builder As New...
  6. VS 2010 Re: How to check how many times something shows up in a string?

    here is something that should work


    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Dim vbforums As String = "i123love123vbforums123"

    Dim Count =...
  7. Replies
    2
    Views
    116

    VS 2012 Re: A good reference for LINQ and EF

    Hello,

    The best method to get proficient with Entity Framework and learn the nuances is to spend quality time reading through MSDN documentation then experimenting or better yet take a class....
  8. Re: Help Searching within an access database

    If you created objects via the IDE data wizard then you would edit the xsd file by double clicking on it, under Fill add a new query that returns a single value as done in the image below which in...
  9. VS 2010 Re: Input data using Visual Studio, Output in Excel

    Hello,

    You could try using OleDb and see if this works else you would need to resort to Excel Automation. In the following article Demo8_VB shows one way to do inserts and updates.
  10. Replies
    2
    Views
    206

    Re: Select from Dataset

    Hello,

    It's impossible to determine why you are not populating two DataTable in the DataSet without seeing your code as SQL is only an ingredient to obtain data back.
  11. Re: Our workplace rules for smokers. Does your office have similar? Are they extreme?

    Sounds very extreme to me, smoker in my company are not limited on breaks nor lunch but must smoke in one of two designated areas.
  12. 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...
  13. Replies
    5
    Views
    224

    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...
  14. Replies
    5
    Views
    224

    Re: New line in email body

    Try using %0D%0A for a new line embedded in your string rather than environment.newline.
  15. 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.
  16. 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...
  17. 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
  18. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    643

    Re: Fyi

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

    by kevininstructor
    Replies
    24
    Views
    643

    Re: Fyi

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

    by kevininstructor
    Replies
    24
    Views
    643

    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...
  21. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    643

    Re: Fyi

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

    by kevininstructor
    Replies
    24
    Views
    643

    Re: Fyi

    Yes, name change and surgery.
  23. Replies
    6
    Views
    255

    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...
  24. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    643

    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...
  25. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    643

    Re: Fyi

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

    by kevininstructor
    Replies
    24
    Views
    643

    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...
  27. Thread: Fyi

    by kevininstructor
    Replies
    24
    Views
    643

    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...
  28. Replies
    3
    Views
    184

    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
  29. Replies
    2
    Views
    158

    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()...
  30. 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...
  31. Replies
    1
    Views
    188

    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,...
  32. Replies
    11
    Views
    456

    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.
  33. Replies
    59,682
    Views
    2,494,603

    Re: Post Race!

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

    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


    ...
  35. Replies
    11
    Views
    456

    VS 2010 Re: Could not find installable ISAM

    See the following
    https://onedrive.live.com/redir?resid=A3D5A9A9A28080D1%21725
  36. 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
  37. Replies
    6
    Views
    352

    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...
  38. 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...
  39. 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...
  40. 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...
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.