I seen the code in vbs, but I haven't seen any examples of accessing the msi database using vb .net code.
I attempted by adding a reference to the msi.dll, this created the windowsinstaller object. When i tried to open the database I couldn't b/c I couldn't create a new...
i pull info into an array by doing a "array = table.select(row = 'content')"
i see array(0).rowid but i cannot pul this information out ?
any suggestions on how-to?
form1 is my form with the gui, then i have another class which has a sub that is started in a thread when a button is clicked on the from. from this sub in seperate class (not in the form) i need to call back to the gui thread to update a progressbar or change text in a lable or textbox.
I am attempting to invoke a sub through a delegate from a seperate class. When i try to run the code is says that a window handle needs to be created.
Can someone point me in the right direction?
Invoke(New form1.Delegate(AddressOf Form1.DeltaProperty), _...
i got it to work, in the code i was actually telling a thread to sleep but not the acutally thread i wanted. thread.sleep(0) means to pass any remaining time to the next thread.
in vs 2005 vb.net i cannot determine how-to add items to the multi column list box. i see the property in the properties of the listbox and i set it to true for multicolumn, but still no success.
any suggestions?
Dim _FieldValue As String = Db1DataSet.Employees(iCounter).Field1.ToString
this returns a value just fine. but when i apptempt to do this directly into the array it fails.
Dim field1 As String = Db1DataSet.Employees(iCounter).Field1.ToString
arrFound(iFound, 0) = field1...
i want it to be a multi dimental array, i want to gather each col for a row in the dataset.
eg ... arr(0,0) would be col1 row1
arr(0,1) col1 row2
arr(0,5) col1 row 6
arr (100,100) col 100 row 100 and so on
it doesn't go all the way up to 100. Is there maybe another eaiser way i sould...
I will post it on monday i don't have the source available right now.
Can you check out my post on multithreading? I appreciate your advice.
http://www.vbdotnetforums.com/showthread.php?p=20013#post20013
I am attempting to learn how to multithread and i am making this as a simple sample.
but it doesn't work, the threads run one after the other instead of thread2 completing before thread1.
any suggestions?
Imports System.Threading
Public Class Form1
Public Delegate Sub StepProgressBar()...
I am attempting to pull information out of a database and into an array. When setting the array = to the field in the database i want it gives me this error "value of type string cannot be converted to systems.collections.array"
I googled and checked microcraps website, nothing came up.
any...
here is how it was used, it ran through each line on the code and if the string with the line in it matched it listed that string in a different listbox.
Dim sURL As String
sURL = "http://www.cnn.com"
Dim wrGETURL As WebRequest
wrGETURL =...
i am using wrurlget which is passing a webpage html which i want to sort through and get only the info i want out of it.
Dim sURL As String
sURL = "http://www.cnn.com"
Dim wrGETURL As WebRequest
wrGETURL = WebRequest.Create(sURL)
Dim myProxy As New...
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.