Search Results - VBForums


Type: Posts; User: kevininstructor

Page 1 of 13 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies

    VS 2010 Re: Searching for file level up


    The following article shows how to traverse backwards through a path

    Base code from article

    Imports System.IO
  2. Replies

    VS 2010 Re: WebBrowser object help, please


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

    You could also try

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


    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...
  4. Replies

    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,...
  5. Replies

    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.
  6. Replies

    Re: Post Race!

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

    VS 2010 Re: Could not find installable ISAM


    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

  8. Replies

    VS 2010 Re: Could not find installable ISAM

    See the following
  9. VS 2010 Re: keep the formatting of an excel in datagridview


    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
  10. Replies

    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...
  11. 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...
  12. VS 2013 Re: VB.NET EXCEL - Find + Copy


    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...
  13. 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...
  14. 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.
  15. 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...
  16. 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


    Both return a DataRow, from the DataTable...
  17. 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 =...
  18. Replies

    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...
  19. 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
  20. 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...
  21. VS 2008 Re: OleDb Jet 4 with new version of Excel

    Here is something I recently did for working with Excel/OleDb
  22. Replies

    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...
  23. 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
  24. 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")
  25. Replies

    VS 2008 Re: data sources stopped working

    See the following thread...
  26. Re: A .DLL written in C# has problems when used in a application

    More likely than not the syntax required for this in VB.NET is different in regards to how the lambda is written
  27. Replies

    Re: Cue banner text

    It was never intended for a ComboBox
  28. VS 2010 Re: Error when trying to save date from date time picker to access database?

    Here is a working example, would upload the project but I am using VS2013

    Imports System.Data.OleDb

    Public Class Form1

    Public Function UpdateRow(ByVal Identifier As Integer, ByVal...
  29. Re: DataGridView checks before adding to other DataGridView

    One way to get checked rows in the first DataGridView

    Add a code module and place this function within it

    <System.Diagnostics.DebuggerStepThrough()> _
  30. Replies

    VS 2012 Re: linq query in vs2012


    Is there a particular reason why you are not using native SQL SELECT statement with joins to retrieve your data? Seems the only reason to load several DataTable objects then use LINQ to...
  31. Re: How to save project and automatically creates folder

    When you create a new solution you have the opportunity to change from the default path to a different path. Note the Location for the solution in the dialog below from selecting from the IDE menu...
  32. Replies

    Re: Limited CheckBoxes


    See if this is what you are looking for

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Controls.OfType(Of CheckBox).ToList.ForEach(
  33. Re: Need Simple Async/Await Progress Bar Example

    Both projects would be good to learn from and for the record both were done as there are not many decent examples other than the web downloads as you have found out.
  34. Re: Need Simple Async/Await Progress Bar Example


    Look at the first link in my signature for an example that uses Async/await includes a progress bar. All the work is done in a class project called from a Forms project.
  35. Replies

    Re: Form Positioning

    What other thread?
  36. Replies

    Re: Form Positioning


    Perhaps this project on Microsoft OneDrive might be what you are looking for which I did a while back.

    Code for startup form

    Public Class Form1
    Private mChildForm As ChildForm...
  37. Replies

    VS 2010 Re: [HELP] Split In ListBox

    Here is one method where we populate the ListBox with a DataTable, get information back then remove a row. I kept things simple which can easily be expanded upon.

    Private Sub LoadListBox()
  38. Re: Need help adding with check boxes (new to VB)


    Try the following for VS2012 or VS2013

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Dim Sum = Me.Controls.OfType(Of CheckBox) _
  39. Re: Problem formatting a 0 to a space in a DGV


    Try the following which of course you would need to adapt to your table

    Public Class Form1
    Private Sub Form1_Load(
    ByVal sender As Object,
    ByVal e As EventArgs)...
  40. Replies

    Re: Bind a database relation

    My point is you should be creating your relationships in the database so to avoid having to setup relationships each time you need to use the database tables in one or more projects which makes sense...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4


Click Here to Expand Forum to Full Width

Survey posted by VBForums.