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. kadara

    Bind string array to DataGridView

    Hi, I have a function that creates a string array with 6 elements. I would like to create a DataGridView with 10 columns and bind strings arrays to each column (the results of the function). How could I do that? Thanks.
  2. kadara

    Dictionary to DataGridView

    Hi, I would like to know if there is a posibbility to add key-value pairs to DataGridView? Would you like to show me an example? Thanks.
  3. kadara

    NotifyIcon App

    Hi, I created the following NotifyIcon App: ' ' Created by SharpDevelop. ' User: kadara ' Date: 14.06.2013 ' Time: 11:09 ' ' To change this template use Tools | Options | Coding | Edit Standard Headers. ' Imports System.Threading Public NotInheritable Class NotificationIcon Private...
  4. kadara

    Close all connection on exit

    Hi, I'm relative new in vb.net programming, so I have some questions. I have an application that connects to an oracle server to retrieve some records from tables. Everything is working well. But I would prevent some problems. Is there a possibility to close all recordsets and the connection...
  5. kadara

    Convert Date and Time to number

    probably you have another date format setting on your OS. Try to change the 15.02.2013 to 02/15/2013
  6. kadara

    Convert Date and Time to number

    OK, thanks. I just make an other function: MsgBox DataToNumber("15.02.2013", "19:58:50") Function DataToNumber(tmpDate, tmpTime) DataToNumber = CDbl(CDate(tmpDate)) + CDbl(CDate(tmpTime)) End Function
  7. kadara

    Convert Date and Time to number

    No, I dont't have any data in Excel, I just gave an example. I would like to do the similar thing the Excel does.
  8. kadara

    Convert Date and Time to number

    I would like to do a similar thing like in Excel. In Excel you have a possibility to change the date-time format (like '15.02.2013 19:58:50') in number format (like 41320,82).
  9. kadara

    Convert Date and Time to number

    Hi, How could I convert the date and time (for example '15.02.2013 19:58:50' ) in 2 (or more) decimal number?
  10. kadara

    Restart an aplication on remote computer

    Hi, I have a running application (whatever.exe) on a remote computer. That executable sometimes not working properly and need to be relunch it. How could I restart this executable on that computer?
  11. kadara

    Select multiple printers

    Nope. Not working.
  12. kadara

    Select multiple printers

    Hi, I would like to select all printers installed on the computer that contains a specific name (for example: select all printers with "Microsoft" in the name of the printer). I used the following code, but doesn't work: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ &...
  13. kadara

    Format numbers

    Thanks. The yourString = "W20HY" & Right("000" & yourNumber, 3) code works well.
  14. kadara

    Format numbers

    I test it with the following code: aaa = 12 number = right("000" + aaa, 3) MsgBox number but don't work (the result is 12 instead of 012).
  15. kadara

    Format numbers

    Hi, I would like to use numbers in 3-digit format: for example 1 to 001, 2 to 002, 10 to 010, 11 to 011 and so on. In details: I would like to get the following string format W20HYaaa where aaa is a number between 1 and 255. How could I do that?
  16. kadara

    VLookup

    Hi, Is there any possibility to write a vlookup function in vbscript? I would like to search values in excel worksheet and return a value in the same row.
  17. kadara

    File monitor

    Hi, I would like to monitor a text file. Currently I use the following code: strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") 'Set colMonitoredEvents = objWMIService.ExecNotificationQuery _ ' ("SELECT * FROM __InstanceModificationEvent WITHIN 1...
  18. kadara

    INI File

    Finaly I found a solution: strAddress = ReadIni("EMail.ini","Address", "TO") MsgBox strAddress '****************************************************************************************************************************************************** Function ReadIni( myFilePath, mySection...
  19. kadara

    INI File

    Hi, I have an ini file with email addresses: [Address] <TO>whatever01@whatever01.com <TO>whatever02@whatever02.com <TO>whatever03@whatever03.com <CC>whatever04@whatever04.com <CC>whatever05@whatever05.com How could I read separate the addresses and the keys (TO or CC)?
  20. kadara

    Scheduled Task

    The OS is WinXP SP3. Probably the problem is with Admin rights. At my job place we have many PCs. On some comps I have more privileges, on the others less. On PCs with more privileges the script runs perfect. I tried this but whitout any results.

Part and Inventory Search

Back
Top