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 TouchToneTommy 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. Bruce1965

    FTPSetCurrentDirectory

    Right the, before I totally lose it .... I am creating a little FTP program that uploads files from a local network server to an FTP site. I have already got a working model. I create an internet connection,connect to the FTP site and PUT files ..... piece of cake !! I now need to navigate...
  2. Bruce1965

    deleting all rows in a database table

    You could try this snippet of code .... it will delete records from your database (assuming SQL) where each record meets a particular criteria ... Dim sqlcnn As New SqlConnection sqlcnn.ConnectionString = _ "data source = SQLSERVER;" & _ "integrated security = true;" & _...
  3. Bruce1965

    Create a connection to an AS400

    Create a connection to an AS400 and fill a list view with results Copy all the steps into an event and try it .... Step 1 'Define the ODBC Connection string Dim MyODBCConnection As New OdbcConnection("Driver={Client Access ODBC Driver (32-bit)};" & _ "System=AS400Name;" & _...
  4. Bruce1965

    Wireless network problem

    By jove I think I've got it !!!!!!!!!!!!! Upgrade the firmware to v2.1 PS Initially, D-Link themselves gave me a link to a firmware download. Having downloaded this, it would NOT update to the device. After spending considerable time searching for solutions (and talking to D-Link again), I...
  5. Bruce1965

    Wireless network problem

    Ah yes, good point .... D-Link DWL-2100AP Although I have tried the 3-com OConnect Wireless 108Mbps 11g PoE and got the same result. It's gotta be something on our LAN, but I dunno what!!! Cheers
  6. Bruce1965

    Wireless network problem

    Here's an interesting scenario ..... I've configured a WAP to operate on our LAN. It appears as a wireless network device in the available wireless networks. Immediatley after setting up the configuration I set a PING to the devices static IP address.(I get a successful response) About 50...
  7. Bruce1965

    Reading Active Directory for user names

    Thanks, Rick I got it working, although I didn't use your code line for line. However, the line FullName = ADEntry.Properties("FullName").Value was spot on. Cheers mate
  8. Bruce1965

    Reading Active Directory for user names

    I am writing a .net application that, as part of the process, will read the Active Directory and return all domain usernames into a combobox. Question: Can someone give me some sample code to do this (or indeed point me to somewhere that can)????? [ponder]
  9. Bruce1965

    listview vert scroll

    I have several programs that use listviews and so far I haven't had a problem with vertical scrolling - I don't know if there is a limitation on the number of records to a listview, but it does sound like this isn't your issue as your data is scrolling horizontally I don't know what your...
  10. Bruce1965

    Invoking a help program

    I didn't get on with that snippet of code - just couldn't get it to work!! However, I have found a solution that has worked - System.Windows.Forms.Help.ShowHelp( _ Me, _ HelpProvider1.HelpNamespace, _ System.Windows.Forms.HelpNavigator.Topic, _...
  11. Bruce1965

    Invoking a help program

    Thanks for that, the second link was most helpful - I've got it working when the user presses the F1 key ..... Is there a bit of code that I can assign to a button click event to invoke the help provider??? Cheers, Paul [afro]
  12. Bruce1965

    Invoking a help program

    I have created a VBprogram and want to get clever by building in some help for the end user. I have created a windows type help file (using HTML Help Workshop) and want to be able to invoke this from my VB program. How do I - Integrate this help file into my solution and Run the help from...
  13. Bruce1965

    PASSWORD PROGRAM II

    OK, it may not be the best ever solution - but it worked for me. Try this (or something similar) Dim sqlcnnReadOnly As New SqlConnection Dim sqlcmndReadOnly As New SqlCommand Dim dr As SqlDataReader Dim AccessFlag as Boolean Try sqlcnnReadOnly.ConnectionString = _ "data source = sctna1;" & _...
  14. Bruce1965

    password protect a form

    Here's an idea - Create a table (on an SQL server if you have one) and just have a couple of fields in it (username and password). Create a form with a couple of text boxes and use their input to validate against the data in the table. Alternatively, use the network logon id and groups to...
  15. Bruce1965

    Updating a dataset filled by a join query

    I tend to agree with PankajBanja. I don't know if this is true, but I understand that you can not update a single table when a join query is used. Therefore an alternative method must be used.
  16. Bruce1965

    What is the most efficient way of adding, modifying and deleting data

    Right then .... To Update Data Don't use the datagrid for record selection (but still have it on our form, but hidden). Create a listview and populate it with your records. Create several textboxes that will represent each field from your table. On user selection of a record from the...
  17. Bruce1965

    What is the most efficient way of adding, modifying and deleting data

    It sounds like you want to do something I have just coded. Pseudo code - Load a table into a listview Update several text boxes with the selection made from the listview Click a button (Add,Remove,Update or whatever) Clicking the button then uses the datagrid to 'post' changes back to the...
  18. Bruce1965

    SHOWING MORE THEN 1 COLUMN IN A LISTBOX

    Aha, try setting the listview property - FullRowSelect = true and/or MultiSelect = true
  19. Bruce1965

    What is the most efficient way of adding, modifying and deleting data

    From what I understand about datagrids is that they are like a window to a table on your database. Making changes within the datagrid (ie adding, deleting etc)will ultimately change the data within your database table. Can I suggest that you allow changes to the datagrid and add a button to...
  20. Bruce1965

    SHOWING MORE THEN 1 COLUMN IN A LISTBOX

    You could also check out - thread796-1025038 hope this helps

Part and Inventory Search

Back
Top