How can I attach or access a word document (or any other file) from a VB application (or attach a file).
dexter9703
Posts
-
Attach File -
ListBoxIs it possible to amend, add and delete the items of a listbox during runtime?
-
Multiple FormsI have two forms. One is used to add data and the other to view that data. The first form is used to add items to a listbox (on the first form). How can those items be added to the second form, so that they are available in the combo listbox on the second form?
-
ArrayListI am building an array so that items added in one form are made available to the second form. I am able to update the array by editing and adding items, but how can I delete an item from the list, so that it is not available to either forms.
-
Muliple FormsCan anyone please help with using multiple forms. I am trying to have more than one form on a program, so that data is shared between both those forms. :(
-
ListboxI add items to a listbox using a button and remove using another. How can I disable the remove button if there are no contents in the listbox
-
ButtonsIs there a line of code I can use then if index = listbox1.SelectedIndex listbox1.Items.RemoveAt(index) is used, so that the program does not crash when index =-1 I tried using an if statement: if listbox1.selectedindex =-1 then msgbox(" "), but it still crashed.
-
Buttonsindex = listbox1.SelectedIndex listbox1.Items.RemoveAt(index) The above code is used to remove an item from the listbox. I have tried listbox1.items.count but program still crashed when button was clicked and there were no items in the listbox
-
List BoxWorks, thanks for all your help
-
AdditionCan you give an example please
-
AdditionHow can I the sum of say(Items in a listbox): 6.78 9.05 5.56 4.45 displayed in a textbox with the answer given with 2 decimal places.
-
List BoxesIt works thanks a million. With the totals displayed in the listbox, how can I find the total of the numbers displayed to with two decimal places
-
List BoxesI have the product of a quantity and price (both doubles) to give total dim total as double the total is then displayed in a textbox when a button is clicked. How would I get this result (total) in a listbox by clicking a button, and other subsequent results into that listbox. What is "N" in your above response Thank you :~
-
List BoxesHow can I code to get a calculated answer which is shown in a textbox to a listbox, and further answers added to that list box. :confused: