Hi,
I'm trying use OraParameter objects to to a batch insert against a table. When I actually execute the SQL statement, I am getting a 4139 error (something to do with Arrays), and consulting the associated error log, I find it to be full of junk like this:
Here's the problem - there is no...
I suppose, as you would know the location of this log file whenever the application was running, you could if you wished open the stream and hold it as a class/instance variable somewhere, but if I were to sit down and do it myself, I would instantiate (create a new) instance of the stream from...
1 - In either VB6 or DotNet, open it for Append as and when you need it. Don't leave it open all the time.
2 - The StreamReader and StreamWriter are fine.
Martin.
I don't think you can use initialiseComponent (which is how the IDE sets everything up), because that function assumes that your objects have not been instantiated...
I'm not sure if there is a quick way of doing this, bar writing a general routine called from Form_Load that uses reflection to...
dim s(0 to 10) as String
Dim l As System.Collections.Generic.List(Of String) = New System.Collections.Generic.List(Of String)()
l.AddRange(s)
Exploiting the fact that DotNet arrays implement IEnumerable, and that Generic List's AddRange method takes one...
Of course, this is not a cast - so...
The DotNet framework itself supports this sort of functionality, but I haven't personally used it...
Suggest you google "symmetric encryption dotnet" - should turn up something...
mmilan
Public sub ReadFromFile(vstrFileName as string)
...
'This function is written such that in reads the file pointed to in the argument...
...
end sub
public sub ButtonHandler(sender as Object, e as EventArgs) Handles but1.Click, but2.click
if sender is but1 then
ReadFromFile("File1.txt")...
ArrayList is a class, so you'll need to initialise it
ArrList = New ArrayList()
In fact, come to think of it, there's an ICollection constructor for ArrayList objects, and Arrays offer ICollection, so hows about this:
Dim iArray() As Integer = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
Dim ArrList as...
Depends what you're looking for...
If you're looking for a database server, look at Postgresql. If not, and a file based system is what you're looking for, try SQLite.
Google should find either.
Martin
Erm, are you insane?
I've just put this in on VB2003...
Sub Main()
Dim s As String
Dim i As Integer
For i = 200 To 1 Step -1
Console.WriteLine(i.ToString())
Next
s = Console.Read()
End Sub
Worked perfectly...
Am I missing something?
Hi...
I don't use VS2008 - but I would expect to find this setting in the Project Properties - and I would expect it to be called something like "Target Framework"...
I thought youtube provide the code to embed their videos in your HTML - is this code not working for you?
mmilan
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.