Search results for query: *

  1. P

    Help with project path

    I add a shortcut to the User's Desktop folder in File System on Target Machine of the setup project. I then right click the shortcup to set the icon for the shortcut. The icon is in the Application Folder of the setup project.
  2. P

    Help with project path

    Hello, John, That article suggested by you helped me solving the problem nicely. Thank you so much for this. Now I have a small associated problem. I generated a 16*16 icon and 32*32 icon. They are assigned to my executable and shortcuts. These icons show them correctly for the executable...
  3. P

    Help with project path

    That article is of great help to me! I will read it and follow it. I may come back to you to seek further assistance if I cannot get it working.
  4. P

    Help with project path

    Thanks a lot for the suggestion. Because I am new to VB programming, could you show me details of how to store the user defined path (determined during installation) in the registry setting, please?
  5. P

    Help with project path

    Thanks a lot for the reply. I think the best way of dealing this is to store the path of the application in my.settings at installation time. I have a setup project in the solution, which generates a *.msi. When a user installs the program from *.msi, he/she can choose the path where the...
  6. P

    Help with project path

    I may not made myself clear. I have a VB exe file which is associated with several other files. All these files (exe and associated files) are in the same directory. When the exe file is executed in this original location, the application path is determined simply by...
  7. P

    Help with project path

    John, Thank you very much for the reply. I do mean running different copies of the same executable that are in different locations (e.g. desktop, a folder on c drive). I tried the following (maybe indirect, unclever way) to find the original path (folder) of the excecutable which shares...
  8. P

    Help with project path

    Hi, My program needs to determine the directory in which the application's executable and associated files are found. I use the following on loading the start form: CurrentDir = System.IO.Directory.GetCurrentDirectory() to get the directory path. However, it works only when the executable...
  9. P

    How to delete selected rows in datagridview efficiently?

    Hi, there, I have a DataGridView with data source from a DataTable. The DataTable is generated from a text file (not bound to any database), and contains roughly 500000 rows. I want the user to select some rows, and delete those selected rows by clicking a button. The problem is that if the...
  10. P

    Sorting on 2 columns of DataTable

    Hi, cjard Thank you very much for the help. I have read the website you suggested about expressions. It seems to me there is no easy solution from there. Therefore, I followed your previous advice and add an aditional column. Thnaks again. P
  11. P

    Sorting on 2 columns of DataTable

    Hi, cjard Thank you very much for the help. Yes, adding another column is a solution. However, I prefer not adding a column just for the sorting purpose. Is there an alternative such as generating a new DataView which can be be used to bind to a DataGridView? P
  12. P

    Sorting on 2 columns of DataTable

    Hi, there It seems to be simple, but still it got me mad. I have a DataTable with several columns. The first two columns are strings. I want to sort the table by the substring(0,1) of the first column and then by the substring(0,1) of the 2nd column. Anyone can help?
  13. P

    Adding rows to DataGridView: Why so slow?

    Thanks a lot! The suggested binding method worked perfectly. It is now very fast to load the data.
  14. P

    Adding rows to DataGridView: Why so slow?

    Hi, I try to read in a text file (delimited with blank space) and display the data in a DataGridView. The problem is that the file is large, with 100000 lines and each line has 10 values separated by space. I use readline to read each line and populate a row in DataGridView, with code like...
  15. P

    Problems with ListView Control

    I am using listview control to display Excel-like table. The table is large, with about 100000 rows, and each row has 10 columns. So I use ListView’s Details view option. But I have 3 problems that have been puzzling me. First, it is very slow to load data into the ListView Control. I use...
Back
Top