Search:

Type: Posts; User: astrid22

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    2,395

    Re: Updating Duration

    Hello, yes it's working. Sorry I put the code on the wrong control -_-
  2. Replies
    2
    Views
    4,780

    Show Two Tables In One Datagridview

    Hi, I need to show two tables in one datagridview and I only need to show a few tables. I tried to use INNER JOIN but it's showing all columns from both tables instead of just the columns that I need...
  3. Replies
    4
    Views
    2,395

    Re: Updating Duration

    hmmm didn't work for me... It would only continue the timer but when I click on pause button and save it to the database, it would still be the same duration as the one that's initially saved

    And...
  4. Replies
    4
    Views
    2,395

    [RESOLVED] Updating Duration

    Hi, I am trying to continue a timer with time from database. And this is what I have so far:


    Private ResumedAt As DateTime
    Private CountDownFrom As TimeSpan = TimeSpan.FromSeconds(0)

    Private...
  5. Re: Continue Countdown From Specific Time

    Exactly what I am looking for! Thank you so much you saved my life! :blush:
  6. Re: Continue Countdown From Specific Time

    1) I don't have a maximum duration allowed for processing a ticket
    2) The total seconds that have passed so far (before pausing the timer and saving it to the database for later)
    3) I want to see a...
  7. Re: Continue Countdown From Specific Time

    Sorry, what I am trying to do is this:

    I have a form for ticketing with a timer to count the duration the user had spent in processing that ticket. However in the event that the user could not...
  8. [RESOLVED] Continue Countdown From Specific Time

    Hi, I am trying to continue a countdown timer. the value is in seconds and is being converted to hh:mm:ss. So I have this instead which works but instead of adding time to it, it subtracts down to...
  9. Replies
    4
    Views
    5,159

    Re: CRUD using class in VB.NET

    hello, I just did not include my connection string :blush:

    So should I do it this way:


    Public Class PendingTicks
    Inherits ObjectBase

    Public Property InNumber As String
    Public...
  10. Replies
    4
    Views
    5,159

    CRUD using class in VB.NET

    Hello, I am not really fond of using classes but I knew I have to learn them as well. So now I am creating a simple project using CRUD and this is what I have so far. I am trying to do the insert to...
  11. Replies
    2
    Views
    3,729

    Optimize VB.Net Code

    Hi, I am currently creating a very simple project that our team will be using moving forward. However, since we are not allowed to install anything that's not from our software site, we are only...
  12. Re: Enable/Disable Buttons in a User Control VS2008

    This has been resolved thanks!
  13. Re: Enable/Disable Buttons in a User Control VS2008

    Okay so I just realized that I did not include the LessonNumber in tblMasterGS so I used the LessonID instead:


    Private Sub combo_box_Load(ByVal sender As System.Object, ByVal e As...
  14. Re: Enable/Disable Buttons in a User Control VS2008

    You mean put them into an array? or list (of)?
  15. Re: Enable/Disable Buttons in a User Control VS2008

    Ooohh I'm so confused. :confused::confused::confused:
  16. Re: Enable/Disable Buttons in a User Control VS2008

    So should I check first which tests the current user has already taken then add the user control to the flowlayout panel?
  17. [RESOLVED] Enable/Disable Buttons in a User Control VS2008

    Okay, so I am trying to enable/disable buttons based on whether the user has already taken that lesson or not yet. However, I am using a usercontrol where I have all the controls stored (label for...
  18. Re: How to Embed a PowerPoint Presentation on Slideshow Mode into a Windows form

    I tried to open a pps file but it only opened ppt application as well. I read about dsoframer, but I can no longer find it in Microsoft's website.
  19. Re: How to Embed a PowerPoint Presentation on Slideshow Mode into a Windows form

    But this only opens the ppt application and not run the ppt within the app :(
  20. Re: How to Embed a PowerPoint Presentation on Slideshow Mode into a Windows form

    Hmmm sorry would you mind giving an example about the navigate part?
  21. Re: Windows Media Player Control Issues in VS2008

    If I the dock style is none, it's not throwing that exception. However the next times you click on the video button to open the video player form again, windows media player resizes to the point that...
  22. Replies
    7
    Views
    714

    Re: Storing sums in an array

    I will have to do the formula total lessons taken/total number of lessons multiplied by 100 for all students first, then add them all up, then divide by total number of students, then multiply again...
  23. Replies
    7
    Views
    714

    Re: Storing sums in an array

    This is the only code I have. This only computes for a single student on button click:


    RemainingLessons = Math.Round((CountTaken / CountLessons) * 100)

    Here's where I am getting the values of...
  24. Replies
    7
    Views
    714

    Re: Storing sums in an array

    Yes. Hmmm I really don't know how to do it. I don't know arrays. :(
  25. Re: Windows Media Player Control Issues in VS2008

    Hi, same error
  26. Re: Windows Media Player Control Issues in VS2008

    Hi, I am having issues replying

    Hello, sorry I forgot to post my code.

    this code is in a user control (the video button to open the video player form is in a user control):


    Try
    ...
  27. Replies
    7
    Views
    714

    Storing sums in an array

    Okay, so I am trying to include a class progress chart in my project wherein it will compute the progress of the entire class in terms of the number of lessons they have taken versus the total number...
  28. Windows Media Player Control Issues in VS2008

    Hi, I am docking (fill) a windows media player control in a panel and I am getting an error saying:

    "{"Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))"}"

    Stack trace:
    ...
  29. Replies
    1
    Views
    5,317

    How to reset timer

    Hi, I'm trying to reset a timer on button click from another form, so when it opens the form where the timer is, it will restart on the number of minutes saved in my database. I was able to restart...
  30. Replies
    12
    Views
    714

    Re: Randomize Questions and Choices VS2008

    Okay. Sorry about my stupid questions but I'm honestly at my wit's end. hahaha

    Hmm can I do it like I will just set a QuestionID for each question and then store them into an array, then randomize...
  31. Replies
    12
    Views
    714

    Re: Randomize Questions and Choices VS2008

    I mean, is the first step the same as that other thread wherein I have to store the data into a List?
  32. Replies
    12
    Views
    714

    Re: Randomize Questions and Choices VS2008

    Can I possibly use the solution we found on this thread http://www.vbforums.com/showthread.php?860869-RESOLVED-How-To-Add-Numbers-into-Combo-Box-that-are-not-in-DB to solve this problem?
  33. Re: How To Add Numbers into Combo Box that are not in DB

    There's nothing wrong with them, I just really can't wrap my head around them :(
  34. Re: How To Add Numbers into Combo Box that are not in DB

    Hmmm is this correct?


    Dim finalNumbers = Enumerable.Range(1, 50).Except(getListOfLessonNumbers).ToArray()

    For Each LessonNumber In finalNumbers
    ...
  35. Re: How To Add Numbers into Combo Box that are not in DB

    Sorry I am trying to figure this out step by step as I'm really not good with arrays and looping statements

    So far this is what I have. I prefer to use the LINQ thing but I am unsure what to do...
  36. Re: How To Add Numbers into Combo Box that are not in DB

    Oh I changed the header of the function to:


    Public Function getListOfLessonNumbers() As List(Of Integer)

    instead of


    Public Function getListOfLessonNumbers() As List(Of String)
  37. Re: How To Add Numbers into Combo Box that are not in DB

    I am confused as to where I should insert the for loop or for each statement -_-
  38. Re: How To Add Numbers into Combo Box that are not in DB

    Sorry I already found the reason -__-
  39. Re: How To Add Numbers into Combo Box that are not in DB

    I changed it to:


    Public Function getListOfLessonNumbers() As List(Of String)
    Dim strSql As String = "SELECT * from tblTestIDs"

    Dim output As New List(Of Integer)()

    ...
  40. Re: How To Add Numbers into Combo Box that are not in DB

    How about this one?


    Public Function getListOfLessonNumbers() As List(Of String)
    Dim strSql As String = "SELECT LessonNumber from tblTestIDs"

    Dim output As New List(Of...
Results 1 to 40 of 113
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width