Search results for query: *

  1. C

    Using a tuple value to open a file

    The path is stored in a field of the database.
  2. C

    Using a tuple value to open a file

    Hi all, I am trying to use a Database as the backend, that has a field for storing image locations. I want to use the absolute address found in the tuple of a record and assign it's value to the picture box so that it displays the image associated with that specific record. ImagePath = New...
  3. C

    Loading images using a text file

    Hi I have a very urgent project due for Monday and I am trying to implement a very simple Windows Application for viewing files. One of the requirements is to store the history of images accessed and provide a navigation tool for those images logged into the history. I have been successful in...
  4. C

    Datagrid as a map?

    Thank you! You are the best! Incidentally my name is Mathieu. I am one to believe Matthews are nice people. Many thanks once again!
  5. C

    Datagrid as a map?

    Wow, thanks... I am really catching on to your code here. However, I am required to use an array... I had the class implemented already from research, I modified it to better suite what you wrote, I can not begin to thoroughly thank you enough for the time you are giving. I am running my own...
  6. C

    Datagrid as a map?

    All right... well what is required of the project is for the program to take 3 values from the user. Type of crime, Location (two integers) and Time of sighting. I am able to do this successfully, now all I need to do is to let it be read into an array and sort by the time of the incident...
  7. C

    Datagrid as a map?

    Alright... I am trying to get one line of a text file to be loaded into one row of a datagrid... Right now the code I have simply inputs the total number of characters in the line of text, as opposed to what was written. How do I solve this?
  8. C

    Datagrid as a map?

    Hi to all, and thank you for reading. I have a project due here and the project requires me to use a datagrid to plot cells with respect to a map. Now we were advised to use a separate form which is transparent with the map on it, which is then transposed over the datagrid, to assess where on...
  9. C

    Display newrecord id = -1

    All of my keys are Autoincrement True AutoincrementSeed -1 AutoincrementStep -1
  10. C

    Display newrecord id = -1

    Is there any way to get the value that the Database generates? I'm trying to make my system easier to use. 4 tables. Where the Job table's Job_no is the foreign key in 2 other tables. Thus to create a new record for these other tables, it needs the correct foreign key. I was hoping to use a...
  11. C

    Add new record - Autonumber issue

    The Dataset for the UID has the primary key as AllowDBNull = False DefaultValue = <DBNull> Now this is clearly a contradiction! What do I set DefaultValue to, so that the DB automatically generates the UID???
  12. C

    Add new record - Autonumber issue

    So my first project could add new records just peachy, but I messed around with core code too much and it crashed. Essentially I used the add new record code from the msdn library, It only works if I remove the Primary key for the UID from the dataset. However, this in turn causes the...
  13. C

    Proper Form Navigation & Pulling from DB

    Well going over my code, I had the close event after the show. So it would close the new form too. Rearranged it and things work, thankfully. I am now fighting with getting an add only page. #2 What it is essentially, is a search function that fills the dataset based on the current record...
  14. C

    Proper Form Navigation & Pulling from DB

    So yeah, I've been developing a nice little GUI for the front end of a database. Issue #1 My navigation method has been me.show, form.hide Now this is all fine and dandy, but when I close the program, I suspect these hidden forms are still running. Is this how it should be? I considered...
  15. C

    Visual Studio 2008 - Copy if Newer not working

    Thank you! I hope this will be enough to finish my project...
  16. C

    Visual Studio 2008 - Copy if Newer not working

    Thanks a lot... Forgive me for the "Response.Redirect" The little VB I have learned was taught in a 2003 .NET class using webforms... Anywho, it works... yay! I think I also figured out the navigation of forms through using me.hide() and form.show() All I need now is to have the application...
  17. C

    Visual Studio 2008 - Copy if Newer not working

    Oh and [Response.Redirect"Form.aspx] Doesn't work... sigh
  18. C

    Visual Studio 2008 - Copy if Newer not working

    Yes, I have scoured the net and yes I know I am the 10 millionth, but my gosh this is annoying. Now, I do understand the concepts, what I can't understand is what is wrong with mine. I have a DataSource and a NavigationBinding. I have enabled my database to "Copy if Newer" Do I need...
Back
Top