Search Results - VBForums

Search:

Type: Posts; User: kevininstructor

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Re: Error trying to install VB2010 App on Client Computer

    Hello,

    See if the following

    https://social.msdn.microsoft.com/Forums/windows/en-US/8691921f-d29b-4f29-9dce-97cb203c767f/click-once-dll-gac-error
  2. Replies
    5
    Views
    124

    VS 2010 Re: Syntax Error In Query Expression?

    To get as a DataTable


    Public Function demoParams(ByVal NameParam As String, ByVal TypeParam As String) As DataTable
    Dim dt As New DataTable

    Using cn As New OleDb.OleDbConnection With...
  3. Replies
    2
    Views
    241

    VS 2010 Re: Check if element exists in object

    Hello,

    With properly constructed xml we can use these methods, from a literal or file, the file could also be from a memory stream. Of course these could be done in separate functions too.

    ...
  4. VS 2013 Re: Generating Outlook 2010 email from VB.net

    Hello,

    In this case best to ask at Outlook for Developers forum.
  5. VS 2013 Re: Generating Outlook 2010 email from VB.net

    This is the .NET tab
    120257
  6. VS 2013 Re: Generating Outlook 2010 email from VB.net

    Did you add the Outlook reference from the references .NET tab or COM tab ?
  7. VS 2010 Re: How to read emails from Gmail and display in a datagridview?

    Hello,

    For reading Gmail messages you will need to use their API but be forewarned for .NET they show only C# samples under the quick start section. So you would need to read up on the...
  8. VS 2013 Re: Generating Outlook 2010 email from VB.net

    Hello,

    This is the proper way



    Imports Microsoft.Office.Interop.Outlook
    Imports Microsoft.Office.Interop
  9. Replies
    3
    Views
    116

    VS 2010 Re: Opening Excel Document on VB.Net

    If simply reading values only then consider using OleDb i.e.


    Private Sub Demo()
    Dim dt As New DataTable
    Using cn As New OleDb.OleDbConnection With
    {
    ...
  10. Replies
    3
    Views
    116

    VS 2010 Re: Opening Excel Document on VB.Net

    Hello,

    Try the attach project as is then use your file and see if this helps. It reads a Excel file, sheet1, range A3-A7 and placed the data into a ListBox on Form Load. Of course you can do away...
  11. VS 2010 Re: How to keep Selection in DataGridView when Current Row is changed

    In regards to not knowing, let's put it this way, I avoid using events of a DataGridView as there tends to be a better way but one must be willing to accept that current code may need to be changed....
  12. Re: Passing combobox value to another form

    frmMainForm


    Public Class frmMainForm
    Private Users As New List(Of User)
    Private Sub cmdTry_Click(sender As Object, e As EventArgs) Handles cmdTry.Click
    Dim Index =...
  13. Re: Passing combobox value to another form

    Hello,

    Here is an example (see attached zip file) which I created for another question and tweaked it a tad for this question.
  14. VS 2010 Re: How to keep Selection in DataGridView when Current Row is changed

    Hello,

    Have you considered using a DataGridViewCheckBoxColumn to select rows ?

    120059

    Form code
  15. Re: Radio button - which number selected?

    Hello,

    Here is a LINQ/Lambda method to get the checked RadioButton in a GroupBox.



    Public Class Form1
    Private Sub Button1_Click(
    sender As Object,
    e As EventArgs)...
  16. Re: VB6 code module for sharing among projects?

    Hello,

    One easy option when you are not intending to alter the code is to do Add new item -> Existing, single (not double click) the file, select the down arrow on the add button and select "Add...
  17. Replies
    3
    Views
    133

    Re: Find column in datagridview

    Hello,

    The outer String.Format is not needed. See what happens without it. In the mean time here is a working easy to try example with mocked data and permits using one of two columns.

    120033
    ...
  18. Replies
    3
    Views
    133

    Re: Find column in datagridview

    Hello,

    Try this


    DataGridView1.Columns(1).Name.ToString & String.Format(" Like '%{0}%'", TextBox1.Text)
  19. Replies
    0
    Views
    125

    VS2013 Break-points in Lambda

    Select the part of the statement to debug, press F9 (or right click within the Lambda statement, select "Break point", "Insert break point" , execute the code. This works for Lambda, not LINQ...
  20. Re: Add First Row to Read "--Please Select--"

    Hello,

    Here I am reading from a database table that we sort ASC then create an anonymous type, use a function to add our --Please Select-- to the top of the list


    Imports System.Data.OleDb...
  21. VS 2010 Re: Import Excel Data into SQL Server

    It's usually the little things :-)
    Glad you are back business
  22. VS 2010 Re: Import Excel Data into SQL Server

    Are you sure Sheet1 exists? I see nothing wrong with the part specific to reading Excel.
  23. VS 2010 Re: Import Excel Data into SQL Server

    Hello,

    The first link is the actual method while the second link is MSDN documentation on the method used in the first link so concentrate on the first link.
  24. Re: Pairing up developers for enhanced learning and better productivity

    Scrum
  25. VS 2010 Re: Import Excel Data into SQL Server

    Hello,

    Please take a look at this post which uses SqlBulkCopy class to do the insert in one command and OleDb data provider to retrieve data from Excel.
  26. Re: Pairing up developers for enhanced learning and better productivity

    We are using VSO for managing the solution in stories/task...
    Entity Framework is our model for database work with SQL-Server where it use to be IBM-DB2 (had been in use for 30 years until two years...
  27. Replies
    5
    Views
    153

    Re: Numbers only in textbox

    Hello,

    See the following in code bank section of this forum
  28. Re: Having some trouble with XML Files

    Hello,

    Here is an alternate method to a) write data b) read data



    Dim SomeVar1 As String = "test1"
    Dim SomeVar2 As String = "test2"

    Dim SettingsData =
  29. Re: How can when adding a new line in the listbox Performs message box

    Also the same goes for your question on Microsoft VB.NET forum, does not make sense.
  30. Re: Pairing up developers for enhanced learning and better productivity

    In regards to a good team, I agree for the most part in the numbers of positions and would add that there should be a DBA involved at some level that works along with the team. Concerning testers, we...
  31. Replies
    4
    Views
    146

    VS 2013 Re: Cannot resize anything

    What is "qr code" and how is it being used.

    You could create a new solution in Visual Studio, add files from the current project into the new project in the solution, see if the problem persist....
  32. Replies
    4
    Views
    146

    VS 2013 Re: Cannot resize anything

    Hello,

    Have you tried doing this with a new form in the same project ? If it does the same try creating a new project (targeting Framework 4.5), does it happen in this project?
  33. Re: If you like your Ebola, you can keep it

    Although it was not ebola it was concerning to read about here in my city

    Salem Oregon new report.

    I am currently not concerned at the present time but know what to do if things go South.
  34. VS 2010 Re: Will this code satisfy the instructions provided by the question?

    An alternative is TimeOfDay.ToString()
  35. Re: BackgroundWorker code won't copy files -- why?

    This should work, place a BackGroundWorker and Progressbar on the form, see the code below, replace the paths to match your requirements. Hope this helps



    Imports System.Threading
    Public Class...
  36. Re: BackgroundWorker code won't copy files -- why?

    In the original example I did it has that and a tad more, somehow I did the dual invoke. This is the original were I use a function that returns the file count for copied files



    Public Class...
  37. Re: BackgroundWorker code won't copy files -- why?

    Hello,

    If perhaps you were targeting Framework 4.5 (which I see your not) TAP which for many common operations is easier


    Public Class Form1
    Private Async Sub cmdCopyFiles_Click(sender As...
  38. Replies
    4
    Views
    172

    Re: Invoking button click

    Yes, for quickies, otherwise it's TAP, not the dance :-)
  39. Replies
    4
    Views
    172

    Re: Invoking button click

    Hello,

    The following example should help, requires a WebBrowser control and a button


    Public Class frmInvoke
    Private Sub frmInvoke_Load(sender As Object, e As EventArgs) Handles...
  40. Replies
    23
    Views
    754

    Re: Motivation

    Good point, I started in programming with Brief editor and no web access but did not experience say punch card style of programming. Concerning computer games, have one on my iPad, solitaire, utilize...
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.