I am trying to save .pdf files to a sql server database table, and I am having trouble actually getting the file to save to the table, I think it may have something to do with the datatype I am using to update the field.
This is what my stored procedure looks like:
CREATE proc PractProc
(@var1...
I am trying to give the value of filestream:
stream
To an array of bytes:
buffer
Can someone give me the correct syntax for assigning a filestream to a 1-dimensional array of byte?
I am receiving the following errors:
Value of type 'long' cannot be converted to a '1-dimensional array of byte'...
Hello,
I'm trying to figure out how to save a file (.pfs) to a sql server database table, I've had plenty of experience saving text information but never a file.
Could someone please give me an example of how to do this, or a reference to an example of how to do this.
Thanks
Pink
I have a small problem, I am trying to get the typing correct, I'm sure the solution is simple, so here's the problem:
Dim ff As clsFTP 'this is a class
Dim strArray() As String = ff.GetFileListMod
I am not able to assign strArray with ff.GetFileListMod, I receive the following error...
I would like to find out how to import .txt files (delimited) into SQL Server 2002 without using DTS or BCP.
If anyone has any helpful hints and/or references to give they would be very much appreciated.
Thanks
Pink
I would like to know how to either (select all files in an ftp directory) or obtain the filenames of all files in an ftp directory)and then download them
I am currently using System.Net.Sockets Namespace
Socket class for sending and receiving and I have no clue as to how to download all files...
Someone....PLEASE....HELP....
I'm working with wininet.dll functions. My goal is to simply download a file from an ftp site using these functions
Here are declarations for the wininet.dll functions, these functions are declared at the class level (class level being the level of the form)...
I would like to create a program that will go to a FTP site and retrieve documents, then download these documents via FTP.
I have been looking for an ftpcommand class or namespace within vb.net, and I have been unsuccessful. Any information regarding FTP upload and download is helpful.
Even a...
This is new to me, How do I import a comma delimmited file into sql server.
If you have any code snippets or site recommendatins they would be greatly appreciated :)
Thank you very much
Pink
I would like to close the startup form from another form (I understand that this will stop the application, this is my goal)
I have tried:
dim frm as StartUpFormName
frm.close()
This does not work, any suggestions?
My goal is to stop the application (meaning all windows need to close). If...
Thank you very much, I tried your method, and I didn't receive any build errors, but I was unable to retrieve the values from the other screen, could you perhaps point me in the right direction on this one.
*******************************************************
this is what I did:
Start up...
Hello EveryOne,
Quick Questions (Really Simple):
1. How do I obtain a value from a previous form. It used to be that you could reference this information in visual basic 6.0 by using the following syntax (i.e, FrmName.ControlName.Text). My question is how is this done in visual basic.net...
After installing the webservice and navigating to the url to try and execute a method, I still receive the same message that I cannot access webservice outside of localhost.
Hello Everyone,
Purpose:
In theory after my application(Application uses webservices and vb.net windows app) is installed I would like to have the ability to dynamically update the application (Meaning I would like the ability to give it an up-to-date dll or something like that).
The...
Hello Everyone,
I have created a simple web service with a method that adds 2 numbers
I have referenced (add web reference) this web service into a vb.net windows app.
Next I created a proxy object (dim proxyObj as new localhost.service1).
Problem:
Whenever I run this app on the...
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.