Search Results - VBForums

Search:

Type: Posts; User: kevininstructor

Page 1 of 13 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    212

    Re: Copy to excel

    Tinker with what is presented below, if not exactly what you want you still should be able to create a suitable solution from it


    Imports System.Globalization
    Public Class Form1
    Private...
  2. Replies
    6
    Views
    212

    Re: Copy to excel

    What are the rules for only allowing particular months???
  3. VS 2010 Re: How can I count the number of lines on a condition?

    You might look at your other thread, I just replied with a working demo.
  4. Replies
    6
    Views
    212

    Re: Copy to excel

    Hello,

    First off, do not use TextBox controls to get input from users, instead lock down choices i.e. for start range, two ComboBox with DropDownStyle = List, populate one with month names, one...
  5. VS 2010 Re: How can I count the number of lines on a condition?

    Hello,

    It is unclear, at least to me what you are asking especially when image 1 data does not match up with image 2 and the code block is ambiguous at best. Best to write out a specific details...
  6. VS 2013 Re: VB.NET Automatic Excel Reading & Writing

    Hello,

    You might consider using OleDb. I have a solution which was done a while ago and added one project for getting last row for a column or set of columns in a sheet. The get last row is the...
  7. Replies
    26
    Views
    438

    Re: What's your sport?

    Last sport I was into was soccer but that was a good 10 years ago I don't have a conventional sport at this time but do mix it up with several MMA fighters in the area but not at competition level,...
  8. VS 2010 Re: Datagridview remove duplicate rows

    Did you actually try the code from the link? None of them will work especially with Option Strict On and there is zero reasons to turn Option Strict Off for this code. I will be honest, all it took...
  9. VS 2010 Re: Datagridview remove duplicate rows

    The reason it is not working is you have not implemented my method into your code. The logic is simple even thou the code may look complicated to you. Keeping it simple, the important part is to have...
  10. VS 2010 Re: Datagridview remove duplicate rows

    A DataTable as the DataGridView.DataSource example


    ''' <summary>
    ''' Form has a DataGridView and a button
    ''' No columns defined in the DataGridView
    ''' </summary>
    ''' <remarks></remarks>...
  11. Replies
    5
    Views
    140

    Re: Datagrid To Notepad

    Try the following



    Dim FileName As String = IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Exported.txt")
    Dim Contents = DataGridView1.ExportRows
    IO.File.WriteAllLines(FileName,...
  12. Replies
    3
    Views
    127

    Re: adSchemaTables' is not declared.

    Hello,

    The following sets up a connection for ACCDB or MDB



    Public Function ColumnNamesCommaDelimited_ASC_Order(
    ByVal FileName As String,
    ByVal TableName As String) As String
  13. Re: Export from datagridview only checked items

    This example uses the column headers for the first row


    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

    Dim RowData = DataGridView1.ExportRows("Process")...
  14. Re: Export from datagridview only checked items

    Hello,

    The following code block must reside in a code module, not a class or form.


    <System.Diagnostics.DebuggerStepThrough()> _
    <Runtime.CompilerServices.Extension()> _
    Public Function...
  15. VS 2008 Re: Help with multiple grid view search

    With no disrespect, never get married to your code. Best to do a design first then before coding work out on paper how this would be done and if possible with alternate versions.
  16. Replies
    1
    Views
    88

    Re: Checked List Box Help

    If the user can select multiple items consider the following. Note I checked two items so we can test right away.

    Conceptual example


    Public Class Form1
    Private Sub Form1_Load(sender As...
  17. Re: have a function return multiple values

    Although there is a method using Tuple class available which allows multiple values to be returned and each one can be a different type you are better off with the replies prior to mine as they...
  18. VS 2008 Re: Help with multiple grid view search

    Hello,

    To get what you want look at the following component which by default allows filtering on all columns yet by studying/understanding the component you can make it work for pretty much any...
  19. VS 2010 Re: VS 2010 How to Filling specyfic tekst in textbox in WebBrowser?

    Agree
  20. VS 2010 Re: VS 2010 How to Filling specyfic tekst in textbox in WebBrowser?

    Discounting Google policies why would you use VB6 coding for VB.NET ?
  21. VS 2010 Re: VS 2010 How to Filling specyfic tekst in textbox in WebBrowser?

    Hello,

    If we were not talking about Google the basics are here. But when mentioning Google there are policies you need to read and will find they want you to use their API which I believe have...
  22. Replies
    1
    Views
    102

    Re: ".mdf" files

    Yes, you can access them using Entity Framework, DataContext (LINQ-SQL) or via SqlClient data provider. Google each one, see which fits your style.
  23. VS 2012 Re: remove checkbox item on a selected row

    Try the following where OptionsColumn is the name of the DataGridViewCheckBox column


    DataGridView1.Rows(0).Cells("OptionsColumn").Value = False
    DataGridView1.Rows(0).Cells("OptionsColumn") =...
  24. Re: Need Database Connection Design Advice

    Hello,

    A good place to start is MSDN Data Walkthroughs (look at the windows form articles). In regards to multiple users, this is handled by the database. Start with the article, see if that helps...
  25. Re: What am I doing wrong delegate label, not updating once I moved functions and sub

    Hello,

    First off the following reads a text file but the methods can apply to anything i.e. traversing a database table. Also note there are no backgroundworker components but instead I am using...
  26. Replies
    1
    Views
    114

    Re: messagebox

    Hello,

    Create a new form, set it up to appear as a MessageBox and set the Start position property of this form to appear as you wish. Note, for the buttons set DialogResult to indicate what you...
  27. Replies
    10
    Views
    246

    Re: Recursive file searching

    Hello,

    Here is a working example for recursively iterating a selected folder and sub-folders for a specific file type and can be modified to look for a file via a full name. Think of this code as...
  28. Re: [VB2010] Show/Close a Form depending from a number

    Here is a method that takes a name, you can modify as needed for doing numbers instead of names.

    Load names of all forms into a ListBox except the main form. Button1 shows the selected form from...
  29. VS 2013 Re: [RESOLVED] binding datagridview and (textbox, radiobutton) to the same table

    In regards to keeping the Boolean as a string, store the data as a Boolean and perhaps setup a DataColumn with an Expression as shown below. If the data was coming from a database you would add the...
  30. VS 2013 Re: binding datagridview and (textbox, radiobutton) to the same table

    Here is an example where a DataTable is loaded with mocked data but works the same with getting table data from a database.

    118109



    Public Class Form1
    WithEvents bs As New BindingSource...
  31. Re: What am I doing wrong delegate label, not updating once I moved functions and sub

    Hello,

    The following might be helpful to demo updating a label and progressbar done in a splashscreen yet the same would apply with simply two forms. VS2012 demo.
  32. VS 2013 Re: Visual Studio 2013 not breaking on all exceptions

    That is exactly what I gave you.
  33. VS 2013 Re: Visual Studio 2013 not breaking on all exceptions

    Not at all, this allow the exceptions to be thrown, nothing more, nothing less.
  34. Re: Best practice advice requested ragarding VB.NET file(s) management

    As already mention, consistency is the key keeping classes in their own file. When thinking about placing classes into a folder beneath the main project folder this is an organization thing, Visual...
  35. VS 2013 Re: Visual Studio 2013 not breaking on all exceptions

    Hello,

    I would suggest using the following, do the setting as shown, run the project, even if you had a try/catch this supersedes the try/catch
    118033
  36. Replies
    21
    Views
    552

    Re: .Net Programmer job skills

    Every company has different needs, in our case business drove us to the web rather than IT and it made perfect sense. Desktop applications were the norm for us five years ago where we did roughly 30...
  37. Replies
    21
    Views
    552

    Re: .Net Programmer job skills

    We are also using restful services and JSON.

    At this time we have no performance issues with EF. In regards to extra layers, true anytime there are extra layers there will be a penalty but again...
  38. Replies
    21
    Views
    552

    Re: .Net Programmer job skills

    Jeez I only meant to write something developer ages but got carried away.

    The average VB.NET developer are in their late fifties and the Java developers are between 35-40. Our best Java developer...
  39. Replies
    21
    Views
    552

    Re: .Net Programmer job skills

    I wonder how hard it would be to do that. Reminds me of a Clipper turn Delphi developer named Greg Leif who did something like that. Back in the day two developers were sharing one PC and Greg...
  40. Replies
    21
    Views
    552

    Re: .Net Programmer job skills

    I can understand that yet I am taking this from our team experience over the past year of just under 20 developers where most came from Java (new hires) and the rest VB.NET developers. Semi-colons...
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.