Search Results - VBForums

Search:

Type: Posts; User: kevininstructor

Page 1 of 13 1 2 3 4

Search: Search took 0.12 seconds.

  1. Replies
    5
    Views
    187

    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...
  2. 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...
  3. 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...
  4. 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...
  5. 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.
  6. 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...
  7. 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...
  8. 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 =...
  9. Replies
    7
    Views
    185

    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...
  10. 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
  11. 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...
  12. 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
  13. Replies
    1
    Views
    114

    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...
  14. 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
  15. 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")
  16. Replies
    5
    Views
    156

    VS 2008 Re: data sources stopped working

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

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

    Re: Cue banner text

    It was never intended for a ComboBox
  19. 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...
  20. 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()> _
    <Runtime.CompilerServices.Extension()>...
  21. Replies
    25
    Views
    594

    VS 2012 Re: linq query in vs2012

    Hello,

    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...
  22. 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...
  23. Replies
    1
    Views
    142

    Re: Limited CheckBoxes

    Hello,

    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(
    ...
  24. 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.
  25. Re: Need Simple Async/Await Progress Bar Example

    Hello,

    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.
  26. Replies
    9
    Views
    353

    Re: Form Positioning

    What other thread?
  27. Replies
    9
    Views
    353

    Re: Form Positioning

    Hello,

    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...
  28. Replies
    2
    Views
    155

    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()
    ...
  29. Re: Need help adding with check boxes (new to VB)

    Hello,

    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) _
    ...
  30. Re: Problem formatting a 0 to a space in a DGV

    Hello,

    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)...
  31. Replies
    13
    Views
    404

    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...
  32. Replies
    13
    Views
    404

    Re: Bind a database relation

    Simply setting the relationships afterwards does not mean the code is regenerated so you will need to regenerate the code. Select in the Solution Explorer the dbml file, right click, select "run...
  33. Replies
    13
    Views
    404

    Re: Bind a database relation

    Hello,

    Best to set relations in the database then when setting up the data source in your project the relationship(s) are there i.e.
    122193
  34. Replies
    2
    Views
    127

    Re: reference Excel in vb.net

    Hello,

    Look at demo6 project in the following article using Excel and OleDb Excel and OleDb basics to advance operations. Focus on IMEX in the connection string. Also note HRD should be HDR in...
  35. Re: VB.net Datagridview Help About Displaying Data from Database

    Hello,

    I will show a method that populates a list which is done statically here but you could fill the list from say a text file.



    Public Class Person
    Public Sub New()
    End Sub
    ...
  36. Replies
    11
    Views
    1,233

    Re: c# or vb.net ?

    As already mentioned by others, it depends on the area you are looking for work. Five years ago it was VB.NET and now the shift is to C# followed by C# and VB.NET together so to manage solutions that...
  37. Replies
    5
    Views
    862

    Re: Cue banner text

    I invite you to try run the project then if there is still a question by all means ask again.
  38. Re: Insert array value into Datagridview

    Yes this does happen from time to time when moving between C# and VB.NET :-)
  39. Re: Vb . net : userform multiple text boxes + data grid view with multiple rows save

    Hello,

    You need to supply specific details i.e. where is the data coming from and how are you loading this data. There are a multitude of methods for working with data from hand-coding via a data...
  40. VS 2013 Re: [Help] Intercepting Internet Traffic

    With no disrespect, I believe you are biting off more than you can code being new to these topics. A good tool available is Fiddler.
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.