Search results for query: *

  1. O

    Efficient data retrieval

    Hi there. I am writing a .NET Compact Framework app that retrieves data from a SQL database via a webservice. At the moment I have a single table in the database: tblPatient. My webservice returns the patient names located in the tblPatient as a dataset. It uses the following query: SELECT...
  2. O

    Cannot Create asp.net web-site - FrontPage Server Extensions missing on Vista

    I am running Windows Vista and VS 2005 and I cannot create an asp.net project. It gives me the following error: Unable to create the We 'http://localhost/WebSite'. The Web server does not appear to have the FrontPage server extensions installed. I then naturally tried to install the...
  3. O

    Database Diagrams in SQL Mobile Database

    Thanks Strider, you've been a great help!
  4. O

    Database Diagrams in SQL Mobile Database

    I am new to applications for mobile devices and I have a bit of a problem. How can I add database diagrams to an SQL Mobile Database, since database diagrams are not listed under the database in the Server Explorer when creating applications for mobile devices. If however this is not possible...
  5. O

    Generating Serial Numbers

    Hi Karthik I havn't been able to find anything yet, but I'm going to carry on looking. But thanks for all your help, I appreciate it. Best Regards Paul
  6. O

    Generating Serial Numbers

    Hi Thanks for your reply, I really appreciate it. I'm actually using VS 2005, but I've had a look at the "Customer Information" dialog and it seems pretty useful, but I'm not quite sure how you custimize the algorithm (other than just rearanging the order of the symbols, numbers, chars. etc)...
  7. O

    Generating Serial Numbers

    I need to be able to create serial numbers for my application and I'm not quite sure how this is normally done. I've Googled for this and all I get is how to beat the system and get CD Keys, but I need an ALGORITHM to create the CD Key with one application and then my target (main) application...
  8. O

    Creating a one-to-one relationship (tblOrder, tblInvoice)

    Oh, I see now what you mean, you're right, it is better to use a single table. Thank you for your help, it's much appreciated.
  9. O

    Creating a one-to-one relationship (tblOrder, tblInvoice)

    I'm sorry but maybe I didn't state my question properly. In my opinion I think you're wrong about the 1:1 relationship being the same table. I think that you're actually thinking of a Unary relationship (a relatiionship between records of the same table), which is not the same as a 1:1...
  10. O

    Creating a one-to-one relationship (tblOrder, tblInvoice)

    A have a created a SQL database and two of the tables are tblOrder and tblIinvoice. In the database diagram I have specified a one-to-one relationship between them. In my application I have a form to create Orders and a form to create Invoices. When creating an Invoice the user has to choose...
  11. O

    Running a program in the backround

    Thanks vis781, you've ben a great help.
  12. O

    Running a program in the backround

    I need to know how I could possibly run a program in the backround, in other words not allowing the user to see the application (no interface). I've already set the form's ShowInTaskBar property to false and I've made the opacity to 0%, but obviously that's not good enough because the user can...
  13. O

    Sending images using a NetworkStream

    Sorry I haven't been on the site In a quite while and I don't have the code with me right now, but it's basically as I've written it above. The only change is that I've implemented JohnH's advice and I send the size of the image before sending the image (in other words the buffer.Length) and...
  14. O

    Creating Forms with PictureBoxes (at runtime) and changing their images

    Thanks guys, it works. But how can I access (change) a specific image on a specific form that's been created. For example: I've clicked the button 5 times and now I have 5 forms: each with its own PictureBox and image loaded into it. Now I decide that want to change the the image on one of...
  15. O

    Sending images using a NetworkStream

    Alright, thanks for the advice, I'll definetly try it out.
  16. O

    Creating Forms with PictureBoxes (at runtime) and changing their images

    How do I create a completely new Form with its own PictureBox spread across it every time I click a button (at runtime), and then be able to change the Image in any of these PictureBoxe at a later stage?
  17. O

    Sending images using a NetworkStream

    I haven't gotten a chance to try out what you suggested but yesterday I came up with this code and it works. Just thought you or anyone else who reads this might me interested. So this is the code that I used on the server: Dim buffer(1024) As Byte 'Create a buffer that will transfer one KB at...
  18. O

    Sending images using a NetworkStream

    What you said worked and I also changed the Image.FromStream(mem) instruction to Image = Image.FromStream(mem), and now I receive the and I can display it. But I've got one more problem - I'm really sorry to be asking so many questions it's just that I'm a begginner programmer (still a student)...
  19. O

    Sending images using a NetworkStream

    I figured out that I have to include the image format too when saving the image to the memory stream. Simplified code: 'Code on client Dim mem As New IO.MemoryStream Dim Format As Drawing.Imaging.ImageFormat = Format.Jpeg() Image.Save(mem, Format) Dim buffer as [Byte]() = mem.GetBuffer...
  20. O

    Sending images using a NetworkStream

    Thanks JohnH, I think it probably will work, it's just that for some or other reason it doesn't want to save the image to the stream in the Image.Save(mem) instruction. It tells me that the System.IO.MemoryStream cannot be converted to String, which doesn't make sense to me because it asks...
Back
Top