Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. softhemc

    Upgrading from VB6 to VB.Net

    This Microsoft article explains how to create a .Net alternative for control arrays https://msdn.microsoft.com/en-us/library/aa289500(v=vs.71).aspx and took maybe 10 seconds to find on Google. Additionally, my Google search listed several such articles, and it has probably already been...
  2. softhemc

    Get start of post code

    Just to throw a spanner in the works:- UK postcodes do not need a space between the two parts and as far as I am aware, with one exception (Girobank) have the following format: AN NAA ANN NAA AAN NAA AANN NAA ANA NAA AANA NAA where A is a letter and N is a number. The second part is always...
  3. softhemc

    automation of copying Data from one form to another in VB .net

    I didn't notice the "Please don't treat me like an idiot as other forms have.. ta" line initially. I agree with both Andrzejek and SkipVought and would also draw you attention to the two links at the bottom right of each post. The first is self explanatory, but the second is there to enable you...
  4. softhemc

    automation of copying Data from one form to another in VB .net

    Sorry, I omitted mentioning that when there is data that needs to be copied in the way you require, I tend to create a class with properties to hold the data and therefore quickly and easily load it into each relevant control. The controls can be populated on each individual form's load event.
  5. softhemc

    automation of copying Data from one form to another in VB .net

    I've used the option suggested by Andrzejek many times in the past. However I normally use that for just a few common controls. When a lot of common controls are involved I tend to create a new form containing just those controls and subsequently inherit from it and add any additional controls...
  6. softhemc

    Dynamically generate submenu items

    Dim mi As ToolStripMenuItem = New ToolStripMenuItem(ServicesName) AddHandler mi.Click, AddressOf ServicesTypeToolStripMenuItem_Click ServiceTypesToolStripMenuItem.DropDownItems.Add(mi) The above is a snippet from a Services Management program that I have written. Line 1 creates a new...
  7. softhemc

    Refresh DatagridView on Main Form when another form closes

    If each of the forms from Appt_New onwards are dialogs, then ultimately as they are closed you will return to the main form where you can update the grid from the db.
  8. softhemc

    SDK is a problem or a really helper

    What you can do depends almost entirely on the licence agreement you have with the third party company. You may be able to distribute programs you write royalty free (or you may have to pay a royalty to the third party company - this would affect your charges to your client). It is vey unlikely...
  9. softhemc

    Check if user has write permissions for a folder

    See whaat happens when you test against Program Files or Program Files(x86) or possibly System Volume Information
  10. softhemc

    Using Delegates in vb.net

    Not having your device I haven't tested this, but .... I've run your c# through one of the converters that I use and the VB is slightly different from yours ...... By the way, you may need to change the Property named Type to [Type], because I think Type is a reserved word. Imports...
  11. softhemc

    SQL Server 2014 Express making a bat file to run a SQL script to backup at night

    As an alternative - SQL Server 2014 Developer Edition DOES have the Agent AND is now FREE (as is SQL Server 2016 Developer Edition - but this is a much more stressfull install!!)
  12. softhemc

    How to get list item that has the lowest value

    That's great to know - thanks both for your help and advice. I mainly program in VB and tend to go for the "one-liners" where possible.
  13. softhemc

    How to get list item that has the lowest value

    I've not used Linq, but am interested in getting to know how it works. As such I have question based on the above answer: Would the following be possible? var minCars = Cars.Where(c => c.Amount == Cars.Min(c => c.Amount));
  14. softhemc

    ifnull

    Possibly COALESCE(DaysToPay, 30) - COALESCE takes the first non NULL value from the list
  15. softhemc

    Add tab from collection to tab control

    I did something similar in VB a few years ago. I'll try to find that code tonight and post tomorrow.
  16. softhemc

    dwg to dxf conveter

    What research have you done yourself? In 30 seconds I was spoilt for choice!
  17. softhemc

    SQL Server 2012 Express on Windows 10

    I've just reread your first paragraph. When I've tried to install an earlier version of Visual Studio whilst I've got a newer version installed I've had major problems. I needed to reinstall VS 2012 Ultimate (or whatever that version was called) after I'd installed 2013 Community because I...
  18. softhemc

    SQL Server 2012 Express on Windows 10

    One solution might be to do a COMPLETE uninstall of the SQL Server(s). Using Windows uninstall (Programs and Features) leaves a lot of junk behind especially in the Resgistry. I use IOBIT Uninstaller which cleans out almost all of the Registry entries and temp files and makes subsequent clean...
  19. softhemc

    SQL Server 2012 Express on Windows 10

    As far as SSMS is concerned it will be installed by the Developer edition.
  20. softhemc

    SQL Server 2012 Express on Windows 10

    I've found that on Windows 10. It didn't happen on previous versions of Windows. On 10 a number of "Automatic" Services don't always start, so I've written a simple program that lists all of the Automatic Start Services that haven't started so that I can then start them. Have a look in...

Part and Inventory Search

Back
Top