Search:

Type: Posts; User: Reapism

Page 1 of 5 1 2 3 4

Search: Search took 0.23 seconds.

  1. Re: Windows Media Player Control Issues in VS2008

    Okay, try to apply the dock style just after the video starts, it might be throwing an exception that way OR..

    Resize the WMP to the size of the control its in, or play with its properties. I...
  2. VS 2010 Re: Prerequisites, GAC, Upgrade from VS 2008 to VS 2010

    There is a good chance you're running on an early Windows 10 version, make sure to check for updates and restart your PC.

    If you are being forced to install VS2010, then try to reinstall that,...
  3. Replies
    5
    Views
    2,892

    VS 2015 Re: Strong naming an assembly for VB

    I was thinking I will use strong naming the assembly as opposed to digital signing because of the cost. But taking a look further into your very insightful articles, strong naming is not a...
  4. Re: Just a young guy who has about 1.5 years left with my IS degree who wants to lear

    One solution for your project.

    This is how to check if a textbox has no text.



    If IsNothing(TextBox1.Text) Then
    MsgBox("Please enter text.")
    End If
  5. Replies
    7
    Views
    713

    Re: Storing sums in an array

    Do you have the totals for each student?, are you computing the average for each independent student or
    all students at once?

    If so, where ever you read the data from the database, just store it...
  6. Replies
    7
    Views
    713

    Re: Storing sums in an array

    You can post the code you have so I can see object names and stuff and try to write the code for you.

    Basically arrays.

    I created this function to compute the average of a double array.

    You...
  7. Replies
    19
    Views
    2,513

    VS 2010 Re: VB 2010 expression expected error

    I absolutely share your position JMC. For me personally I remember having dealt with you in your criticisms towards me and believe me they were deserved because I am highly critical of the way I...
  8. Replies
    7
    Views
    713

    Re: Storing sums in an array

    Hey,

    Can you please post some code as a reference for ourselves?
    Also you are trying to sum the array of objects lessons and then average it?
  9. Re: Windows Media Player Control Issues in VS2008

    Try this:



    frmVideoPlayer.ShowDialog(Me)


    If a new exception is thrown, post that, if its the same exception let us know.
  10. Re: Windows Media Player Control Issues in VS2008

    Hi astrid,

    Can you please post some code to give us something to work with?
    Also the line where the exception is thrown.

    Thanks.
  11. Replies
    5
    Views
    2,892

    VS 2015 Re: Strong naming an assembly for VB

    Thank you JMC you're the man, now one more thing. If I continue strong naming the assembly like so, will this prevent a browser downloading it from saying the file is potentially harmful because its...
  12. Replies
    19
    Views
    2,513

    VS 2010 Re: VB 2010 expression expected error

    @Sitten, I've been a victim of JMC for a long time. He is harsh but true, I am likewise. I look at this code and I'm saying all sorts of bad stuff, but the criticism should be
    constructive which it...
  13. Replies
    5
    Views
    2,892

    VS 2015 [RESOLVED] Strong naming an assembly for VB

    I have gotten quite far in strong naming my assembly but still yet to include it somehow within the source code.
    All of the tutorials out there are for C# which should plausibly be the same,...
  14. VS 2015 Re: Sending an email for a bug report feature [LOOKING FOR ALTERNATIVE SOLUTION]

    Yeah, okay I will look into seeing if my Adobe portfolio allows web-services. That is what I'd be searching, like does this plan allow web services, or embeddment of functions?
  15. VS 2015 Re: Sending an email for a bug report feature [LOOKING FOR ALTERNATIVE SOLUTION]

    Thank you for your suggestion. I've thought about doing this before I made a thread. My concern is running an app to handle the reports on a dedicated server. Maybe I send information to a website...
  16. VS 2015 [RESOLVED] Sending an email for a bug report feature [LOOKING FOR ALTERNATIVE SOLUTION]

    So I've designed a system that reports a bug and essentially the code is fine so long as noone else signs in from a different location.
    Essentially, google prevents what it thinks is unauthorized...
  17. VS 2015 Re: Storing string in a settings string array

    Okay, I actually just needed that clarification. I was adding the items like an array where I would add by index instead of using the .Add() function.
  18. VS 2015 [RESOLVED] Storing string in a settings string array

    I have a few string arrays in the settings menu, and I need to add to those string arrays and save them depending on how many a person adds to it.

    Executing the following code


    Dim...
  19. VS 2015 Re: [RESOLVED] Closing earlier instances of a dynamic form

    Okay, I think the last example you provided is suitable. So adding the object func to a list, I'm not sure how to even begin something like that though. Any tips? I never did that before.
  20. VS 2015 Re: Closing earlier instances of a dynamic form

    Alright I was testing it and it works but this wont create new instances of the functions class only reinstate it.

    Reason: I use a lot of these tooltips so I don't want a ton of memory being used...
  21. VS 2015 Re: Closing earlier instances of a dynamic form

    Creating a new instance of the whole class will do it, thank you. Will this also work? How about before using each tooltip i re-instantiate the class func? Will that also work?
    [CODE]
    func = New...
  22. VS 2015 [RESOLVED] Closing earlier instances of a dynamic form

    I created a function that creates a tooltip like so with a lifetime for how long it shows before it closes.

    I have an issue where if I call the createToolTip method while one is still showing,...
  23. VS 2015 Re: [RESOLVED] TypeInitializationException thrown using an object from a module

    Clarified to the extreme. This thread should be the staple for which people like myself seek to resolve their exception. I can't give either of you any more rep, but I certainly can thank you all for...
  24. VS 2015 Re: TypeInitializationException thrown using an object from a module

    Definitely did. When I called the ToString it didn't display innerexception details to me as jmc mentioned.
  25. VS 2015 Re: TypeInitializationException thrown using an object from a module

    What it was instantiating an array which for some reason had so much problems. I will post that code here.

    I never really use arrays in VB. So while I was looking up the documentation for it, I...
  26. VS 2015 Re: TypeInitializationException thrown using an object from a module

    @Sitten, thank goodness you mentioned that. It pointed to the other form that i failed to mention before sorry @jmc and @wes. I was just unable to produce where that error was coming from, once i saw...
  27. VS 2015 Re: TypeInitializationException thrown using an object from a module

    No code changed in the frmStringGen to make it nothing, the problem lies somewhere else likely. I did check, but code didn't really change there.
  28. VS 2015 Re: TypeInitializationException thrown using an object from a module

    There are many classes that need to access an object reference instead of the true singleton. I had limitations doing some executions on just single instances. But with the module, I can call frm...
  29. VS 2015 Re: TypeInitializationException thrown using an object from a module

    I did a stack trace using the try and catch function.



    Try
    frm.Show()
    Catch ex As Exception
    Clipboard.SetText(System.Environment.StackTrace)
    ...
  30. VS 2015 [RESOLVED] TypeInitializationException thrown using an object from a module

    I was adding a bunch of code and didnt commit frequently and now I have a runtime error bug. :(

    An unhandled exception of type 'System.TypeInitializationException' occurred in RSG.exe
    ...
  31. Replies
    14
    Views
    1,557

    Re: Save File Error

    Oh I am using Date.Now, it was quite old actually this post.



    .FileName = "RSG - Log " & Date.Now.ToString().Replace("/", "-").Replace(":", ";")


    I don't really like that I have to replace...
  32. VS 2015 Re: How to call dynamic variables in other methods

    Sitten, a great reply with many answers to my question and good information. Marking thread as resolved and wanting many people with similar questions to learn what I have.
  33. Replies
    14
    Views
    1,557

    Re: Save File Error

    I needed to include a timestamp for the file because I am generating a logfile from this program and the time is information for the log
  34. Replies
    9
    Views
    1,038

    VS 2015 Re: Dynamic form lifetime

    I added a WithEvents clause to the declaration of the global variables

    I also stopped the timer and close the form in that order.

    I have found the issue. I am using the ShowDialog() method...
  35. Replies
    9
    Views
    1,038

    VS 2015 Re: Dynamic form lifetime

    The function call:


    func.createToolTip("Helloworld", "Hello world.", "Critical", 1000, True)
  36. Replies
    9
    Views
    1,038

    VS 2015 Re: Dynamic form lifetime

    Essentially globalscope theFrm and then instantiate it within the method?

    It's global scoped but the form doesn't close.


    Public Function createToolTip(ByVal title As String, ByVal desc As...
  37. Replies
    9
    Views
    1,038

    VS 2015 Re: Dynamic form lifetime

    Alright, understanding a bit better how the Timer object works and the corresponding tick event.

    I should mention this method needs to close a dynamically created form. It's a bit more tricky...
  38. Replies
    9
    Views
    1,038

    VS 2015 [RESOLVED] Dynamic form lifetime

    I want to dynamically create a form with this method and allow the life parameter to make it show for a certain amount of time.

    I want to dynamically use a timer to do this but was unsuccessful in...
  39. VS 2015 Re: How to call dynamic variables in other methods

    @Sitten, the line which confuses you goes like this. I create a variable called lst as type listbox. The func.genLog() accepts a parameter of type listbox and returns a listbox. This is so I can make...
  40. Replies
    14
    Views
    1,557

    Re: Save File Error

    I have fixed the error. The file name cannot contain specific characters like the /. If this topic didn't achieve any other useful information, you can delete it.

    The Date.Today method returns the...
Results 1 to 40 of 170
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width