Search results

  1. D

    Get files names into array

    Ok i have this code: the "lboxResult" is a listbox. Private Sub pxBrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles pxBrowse.Click Dim dr As DialogResult = Me.OpenFileDialog1.ShowDialog() If (dr = System.Windows.Forms.DialogResult.OK) Then...
  2. D

    Get files names into array

    Thanks My problem is that i dont know how to put the files i choose into an array.
  3. D

    Get files names into array

    Hi all! What i'm trying to do is to open a dialog box which from there i will be able to select files and their names will go into an array. Any help will be appreciated :-)
  4. D

    stop\kill process

    Unfortunately, still not working.... that's what i did: System.Runtime.InteropServices.Marshall.ReleaseComObject(ex)
  5. D

    stop\kill process

    well, i have changed to excel.application Dim ex As Application = New Excel.Application and add ex.quit() and unfortunately it doesn't work. I'm so frustrated :(
  6. D

    Downloading a file

    Thanks, it works!!!
  7. D

    stop\kill process

    Ok, this is the code i'm using in order to get info from the excel sheet. Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click 'Reading and getting info from excel sheet Dim row As Int32 Dim cellref, val As String 'create excel...
  8. D

    stop\kill process

    Hi all, How can i stop or kill a process which i see in the task manager? for an example i have 2 process of Excel.exe how can i stop or kill them by process name? Thanks in advanve:)
  9. D

    Downloading a file

    Ok, i have found out my mistake. Thanks mafrosis your code is great and works perfect. I had to write this Imports Excel On the most top line and it worked. Now, what if i need only specific data from specific cells? how can i choose which cells to get the data from?
  10. D

    Downloading a file

    Thanks, but i'm getting numerous of errors: Error 1 Type 'ApplicationClass' is not defined. Error 2 'Visible' is not a member of 'System.Windows.Forms.Application'. Error 3 Type 'Workbook' is not defined. Error 4 Type 'Worksheet' is not defined. Error 5 Type 'Range' is not defined. BTW...
  11. D

    Downloading a file

    Found this code which works perfect: Dim wc As New System.Net.WebClient() wc.DownloadFile("http://www.uni-giessen.de/uni/pic/3-d-raute.gif", _ "c:\corrent.jpg") Now, what did you mean by saying: Regarding reading from xls file. I have looked into the link but i couldn't find anything...
  12. D

    Downloading a file

    Hi, I want to create a button when the user will press it will download a file from a web, of course i would like the user to see that the file is downloaded but i dont want the save/run windows message will appear, i want to decide where it will be save, somthing like update. The button in...
  13. D

    Getting information from a site

    I have downloaded it, but unfortunately i don't know what to do with it. I mean, its a program? I'll appreciate a little explanation :)
  14. D

    Getting information from a site

    Hi all, I need your help again. I want to get some information from a site, when i'll push the button a variant will get the info. Now, i have looked at the source code of the site and i have found what i'm looking for, the big question is how i get it. This is a part of the source code...
  15. D

    Select Case

    wouldn't that give the same result as my code for filling the second combobox with the rest of the items that were left from the first one? And what's the "me" stands for?
  16. D

    Select Case

    things that makes you go hmmmm.... Well, i got confused. I guess it was my fault, i have tried to simplify my question but i only got it more confused. In general i'm trying to do a length convertor from metric to inch and vice versa. In combobox2 i have the list of lengths...
  17. D

    Select Case

    Hi again, I'm facing a tough issue. I have 2 combobox with a couple of items in each, now, i need the best and shortest way to define calculations between each and every item. Just for an example: combobox1 1 2 3 combobox2 1 2 3 i need for item 1 in combobox1 to have some sort of...
  18. D

    Call statement

    Thanks TwoWing That works great....
  19. D

    Call statement

    Thanks vis781 I liked your explanation with the wig :D it realy helped. That is my code : Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ConvertBt.Click Dim cel AsDouble Dim far AsDouble If ComboBox2.SelectedIndex = 0 Then cel =...
  20. D

    Call statement

    Hi all, I'm newbie to VB 2005 express and to VB at all. I have learned how to do some basic stuff but now i want to get in to it more. Is there any good guide that explain commands and syntax? For example i want to use the call statement or procedure and i dont know how to do it, how to...
Top Bottom