I'm building an asp .net web page that will allow users to upload images and other media for storage. Some of the images will be displayed on the web page to create the content. I'm using SQL 2005 to store uploaded info, but currently not images or media as they will make the db very large.
How on earth can i add images to my web application using VB code? I have searched the web for something that will work, but i'm not getting anywhere! I can't seem to get the path to the image file correct!
I have attached a (large) pic showing my vs.net project. When the button is clicked, an...
I'm using AxWMPLib.AxWindowsMediaPlayer to play wmv files within my application.
I provide an encrypted wmv file, which will not play on windows media player and within my application load it into an array, decrypt it and save it as a normal wmv file, which can then be played in the normal...
I'm using VB .NET (2003) and I can't seem to get VB to recognise the My.Computer... method. It tells me the name 'My' is not declared:
When I run my program my debug window gets 3 messages per 1.4 second cycle as my program runs 3 threads per cycle. The program runs fine but any debug.writeline messages i want to see get swamped by the thread exited messages.
I assume code 0 means everything is ok, but can i stop these...
I can't quite find the right way to implement what i am trying to acheive here. Would appreciate any suggestions.
I want to save a string of text to a file every 1.4 seconds or so, and each day at midnight I want to create a new file for the days log data so I keep the file size down. The file...
Can I have two files open at the same time to write text into, in VB .net?
I have this code:
Dim fsStream As New FileStream(EVENT_LOG_PATH & EVENT_LOG_FILENAME & DateString & ".ip", FileMode.Append, FileAccess.Write, FileShare.Read)
Dim swWriter As New StreamWriter(fsStream)
If I create a new form, say Form2, in order to use it in a programme I must create an instance of it:
Dim frmTwo and new Form2
If Form2 has a text box on it I can put this code in Form1:
But what happens if I want to refer to an object (a text box)in Form1 with...
Is it possible to display a number of forms using a loop? I can't see how to do it! What I am trying to do is use a loop to place a variable number of forms on the screen, a concept something like:
for i = 1 to 12
I realise this is not correct syntax, but it shows the...