I'm creating a share for my appfolder, using WMI:
Dim apath As String = IO.Directory.GetCurrentDirectory()
Dim Share_Info As String() = {apath, "MyApp", 0}
Dim Win_Shares As ManagementClass = New ManagementClass("Win32_Share")
Try
Win_Shares.InvokeMethod("Create", Share_Info)
Catch ex As...
I'm using the install wizard to make a Setup for may vb.2003 app.
Is there a way to launch the installed app (or another programm) after setup has finished?
I cannot find any reference about this. But you see this in a lot of setups, they ask you at the end if you want to launch the app now.
Hi
I've recently upgraded my vb.net2002 app to 2003, mainly because of the possibility to include Framework and MDAC in the setup project.
This work fine as far, but I need to include also the FlashPlayer in the same setup. I have tried around with user-defined actions but it doesn't work. the...
I have a ListBox, bound to a DataSet. It displays column1 of the DataSet. Now I want to filter column2 so that the ListBox only displays the rows found with the filtervalue (from a textLabel) in column2.
Dim foundRow As DataRow
Dim findTheseVals(0) As Object
findTheseVals(0) = lblFilter.Text...
How can I extract all the items (text) of a listbox and put them all into one string into a textbox as a file (Tom,Jim,Jack,...)
Something like:
Dim item As String
For Each item In ListBox1.Items
Me.List1.Text = Me.List1.Text + item
Next...
I use this code to show only files with a certain extension in a Listbox.
Dim files() As String = IO.Directory.GetFiles("c:\MyApp", "*.swf")
Dim file As String
For Each file In files
Me.ListBox1.Items.Add(file)
Next
This gives me...
I have a application CDStart.exe to run some exe-files from cd. Now at the end I want to call a Readme.htm which is on the cd.
If I call:
Call Shell("C:\Programme\Internet Explorer\IEXPLORE.exe D:\Readme.htm", 1)
that works.
But as I can't be sure, the cd-driveletter is D, I...
Dings1=[];
Dings3=[1,2,3];
Dings4=[3,4,5];
Dings1=Dings3.concat(Dings4);
returns: 1,2,3,3,4,5.
But I want just 1,2,3,4,5. Of course at runtime I don't know if there are any double values but it might be so.
I suppose somebody can help me. Thanks.
I know it is rather difficult, that somebody can tell me about this.
I have a form and a Flash movie running on it. The movie sends an FSCommand to the form and the form receives the command. Up to here everythings working fine. The problem is how to interpretate the parameters (Strings) which...
I have one form where the user selects his name from a Listbox and enters his password. On clicking a button I open the next Form and there are some textfields filled from the database, with his Name and highscore-points. I need to have the connection to the database to be able to update his...
I have an input textbox (txtUser) and a dbList (XUser) with the names of the already registered users. Now if a new user wants to register I want to check if the name he wants to use is already in use, in order to advice him to choose another name. The data is stored in an Acces database and the...
I have a flash movie displaying in a VB-form. Now I want to extract the value of a textfield in the movie and pass it's value to the textfield in the VB-form. How does that work? I think it must be possible.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.