Search results for query: *

  1. I

    Question how to store large number of images for web application...

    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. My...
  2. I

    Question Help! with adding image in code please...

    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...
  3. I

    Question using AxWMPLib.AxWindowsMediaPlayer...

    Can anybody help with this? Or is it impossible?
  4. I

    Question using AxWMPLib.AxWindowsMediaPlayer...

    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...
  5. I

    Question my.computer.network question...

    Thanks John. I had a feeling it might be that! Ian
  6. I

    Question my.computer.network question...

    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: Imports System.Net.Sockets Imports System.Runtime.InteropServices Imports System Imports System.Net Imports System.Net.NetworkCredential Imports System.Text...
  7. I

    Question Threading message question...

    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...
  8. I

    Question File access problem...

    Working... Thanks Bobby. That works great!
  9. I

    Question File access problem...

    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...
  10. I

    Question Open two files at once...?

    OK - I see my mistake now (a typo in my second dim statement)! Should have been this: Dim swVLOGWriter As New StreamWriter(fsVLOGStream) Now it works. Sorry to bother you guys.
  11. I

    Question Open two files at once...?

    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) ' Open...
  12. I

    Question Is Form1 special?

    Thanks guys.
  13. I

    Question Is Form1 special?

    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: frmTwo.Textbox1.Text="Hello" But what happens if I want to refer to an object (a text box)in Form1 with...
  14. I

    How to create forms in code...?

    Thanks... That works brilliantly!
  15. I

    How to create forms in code...?

    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 frmInfo(i).show next I realise this is not correct syntax, but it shows the...
  16. I

    what documentation are you referring to?

    Thanks. I have it working now. A follow on question though, what documantation are you referring to? I don't have any documantation for VB .NET and would like to get some paper reference manuals if they are available? Thanks again.
  17. I

    RS232 question...

    John, you've hit the nail on the head, but how do I change the encoding?
  18. I

    RS232 question...

    I am trying to transmit some control codes via the serial port using the RS232 class, and cant find the way to do it. I am able to transmit ascii characters and control chars up to 127 decimal, but not above even though my port is set to 8 data bits! The control char I would like to send is 254...
Back
Top