What is the fn in the For Each fn As String?
Never mind. Found out. Function.
User Profile
Collapse
-
"The path looks kind of strange to me. I am not sure why it is showing the AppData\Local\A pps..... and so on for the path. "
I don't know why it was either. I have a folder on my flash drive called Apps and in the debug folder on my computer so when I run debugging it works. I've just wrote what you've wrote above just as a test program one combobox and button. When I publish to the flash drive and try to install from flash...Leave a comment:
-
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.Direc toryNotFoundExc eption: Could not find a part of the path 'C:\Users\UserG uy\AppData\Loca l\Apps\2.0\5Y70 9M5T.CKQ\QV43ND T4.2QV\test..ti on_5e6ec928ad27 44d3_0001.0000_ 7a4b9744597780e 5\Apps'.
at System.IO.__Err or.WinIOError(I nt32 errorCode, String maybeFullPath)...Leave a comment:
-
It's not yet I've just been debugging and testing that way. Should I be publishing it and be putting on the flash drive? And to your second question ill be putting the exe for the program on the main part of the flash drive and programs in subfolders on the flash drive. Thank you so much for helping btw.Leave a comment:
-
So far I have this now just for testing and it obviously doesn't work....
...Code:Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load ComboBox1.Items.Add("Internet") End Sub Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Select Case ComboBox1.SelectedIndex Case 0Leave a comment:
-
Thank you for replying IronRazer. I've tried what jforbes said and that didnt work. I would like to try what you sent. Do you think it will work or what do you think I should try exactly. Sorry little confused. Also I'm trying to launch multiple different app.exe's from different ComboBox's and just so you know I'm working with Microsoft Visual Express 2013.Leave a comment:
-
I'm trying to use the performance counter (commited bytes) in visual basic
I have a progress bar a performance counter and two labels and am trying to get the amount of ram being used to be displayed on a progress bar. Please help. thank you -
Opening files from a flash drive using combobox and button
I've been trying to open some applications (.exe) that are on my flash drive using multiple ComboBox's to select the different types of programs and a button to lauch the selected program. My issue is the flash drive wont always be e:\. I need my program to open the files from the flash drives current directory. I've done it in batch real easy...Visual Basic I'm having trouble. In batch or cmd its as easy as this
start "" "theprogramfold er\theprogram.e xe"...
No activity results to display
Show More
Leave a comment: