No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
- Interests
- Getting stuff done
I am in the process of converting a program from vb 6 to VB.Net. I am taking a large amount of data and placing it in the proper sql collum. Any help will be greatly appreciated. I am getting this error code here: If ExistsInrsTemp("NextMthDue") = True Then If InStr(NullSafeValue(rsTemp, … |
|
Re:
Hello, I am a new to vb.net and daniweb I am working with an application (A Small game) in which on special days, there is a sale in the game market, which is with game money. For it, I Have a boolean data type in the settings (My.mysettings) named special. … |
|
This is my code, and thoughs on this error: Conversion from string "MM/yyyy" to type 'Date' is not validerror: Public Function AddNextMonthDue(ByRef OldNMD As String, ByRef MonthsToAdd As String) As String Dim dOldNMD As Date Dim dNewNMD As Date Dim sOldNMD As String If Len(OldNMD) = 4 Then ' MMDD … |
|
I was able to store the PDF. Now the issue is retreving the correct version of the PDF. I am storing it with the data fields filled in;however, upon retrevial the fields are blank. Dim reader As System.Data.SqlClient.SqlDataReader = Local_Command.ExecuteReader() Dim buffer(100000) As Byte Dim data As Byte() While reader.Read … |
|
Dim pdf As String Dim pdfByteArray As Byte() ' Dim lLenPdf As Integer = Len("C:\file.pdf") Dim mypdf(100000)() As Byte Dim numBytes As Long = pdfFile.Length ' Dim data As Byte() = System.IO.File.ReadAllBytes("C:\file.pdf") myInitialBytes.Add(New Byte() {&H0, &H25}) StoredProc….. SQL Connection code…. Dim Local_Connection As New _ Local_Connection.Open() Local_Command.CommandText = "Insertpdf" Local_Command.CommandType … |