Search:

Type: Posts; User: Karl.Green

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    1,213

    Re: Expandable Transparent Forms

    Can you put the additional combo box in a panel and make the panel visible when you press the plus symbol?

    Edit: Realised why this won't work but can't work out how to delete the comment
  2. Replies
    6
    Views
    1,003

    VS 2010 Re: Pop up message box?

    What unSatisfied said will work fine, although I believe that MsgBox is leftover from older versions of VB.

    The newer versions use this style


    MessageBox.Show("example message", "example...
  3. VS 2012 Re: My program not functioning correctly or to weak?

    Is there a reason why you chose 294, it's a very specific number?

    And as Shaggy Hiker said, I would expect most servers to be able to handle that fairly easily
  4. Replies
    7
    Views
    971

    VS 2010 Re: Download prerequisites

    I can't try it as I already have it installed but from the instructions (see instruction 4) it looks as though you can choose to download and save the full exe via that installer if you want instead...
  5. Replies
    7
    Views
    971

    VS 2010 Re: Download prerequisites

    Maybe I've misunderstood but do you just want to download the prerequisites?

    Just Google them. .NET Framework 4 can be found here for example
  6. Replies
    12
    Views
    1,449

    Re: Forms versus WPF

    You can also get the professional edition for free if you're a student via Dreamspark which I am grateful for
  7. Thread: Hotkey

    by Karl.Green
    Replies
    8
    Views
    1,279

    VS 2010 Re: Hotkey

    Try this in your timer tick event
    112 is F1 and 123 is F12 so if you only need to check certain F keys then just pick the number accordingly and obviously you don't need to have the loop you can do...
  8. Replies
    5
    Views
    1,561

    VS 2012 Re: Creating Windows 8 Start Menu

    Do you mean you want to create a start menu for Windows 8 or something that looks like Windows 8's Start Screen?
  9. VS 2012 Re: How do I verify a button if it's clicked

    Can you not just add a boolean value to the click event of label23?
    Set it to true when it's been clicked and then make it false again at the end of your procedure above.
  10. Replies
    3
    Views
    3,716

    Re: [RESOLVED] Error when creating form

    Sorry, I worked it out before anybody commented but I couldn't work out how to delete the thread.

    The date format was correct.
    The problem was that one of my radio buttons is checked on the form...
  11. Replies
    3
    Views
    3,716

    [RESOLVED] Error when creating form

    As soon as I click debug, I get the following error:

    InvalidOperationException was Unhandled
    An error occurred creating the form. See Exception.InnerException for details. The error is: Value of...
  12. Replies
    8
    Views
    1,267

    Re: Adding dates to a chart axis?

    dunfiddlin that's interesting, I didn't know that. Do you know if there's any particular reason why it's 1970?

    I will try your method of adding rows to the datatable and then binding it later.
    ...
  13. Replies
    8
    Views
    1,267

    Re: Adding dates to a chart axis?

    That's worked perfectly, thank you so much!
  14. Replies
    8
    Views
    1,267

    Re: Adding dates to a chart axis?

    My mistake, I didn't realise they were using a different control.

    I can't just bind the chart because the datatable doesn't have any data in it for the days in which my program was not active on...
  15. Replies
    8
    Views
    1,267

    Adding dates to a chart axis?

    Hi,

    I am trying to show the user on chart how many left clicks they have made each day.
    The Y values are showing fine but when I add a date to the X axis it does not show properly.

    My code
    ...
  16. Replies
    11
    Views
    1,143

    Re: Looking for some advice on best practices

    Oh that is great!
    I am putting a lot of formatting in my code at the moment for the project which made me ask this question.
    Up until now I have been using the following. Your way is much quicker
    ...
  17. Replies
    11
    Views
    1,143

    Re: Looking for some advice on best practices

    Thank you for the reply, if it works without me manually writing the code to convert it to a string then what would be the point in adding the code to convert it? Is it just because it's best...
  18. Re: [2008] Paypal Button in windows forms app

    In "My saved buttons" you will see the button name. Click the arrow to the left of the button name and the button number should appear.

    Add the button number to the end of -...
  19. Replies
    11
    Views
    1,143

    Looking for some advice on best practices

    I have a few questions on what the best practices of certain things in VB.Net might be.

    1. If I am displaying an number in a label, should I convert it to a string myself or should I just leave it...
  20. Re: How to display the name of every column in a chart?

    Thank you!

    That's a shame about the spacing. I don't like how there is a line protruding from the top of the middle of each bar as if you choose to display the value of the bar, it cuts right...
  21. How to display the name of every column in a chart?

    Hi, I am trying to create a graph to show the user the amount of times they have pressed the keys 0-9.

    However my graph is only showing the numbers 1,3,5,7 and 9 as shown in the image. 101237
    ...
  22. Re: Change the selected date of a MonthCalendar?

    Oh yes I don't know why that didn't occur to me, I guess I was just thinking you could only read the selection that way. Thanks
  23. Change the selected date of a MonthCalendar?

    I have searched on Google and MSDN for a way to change the currently selected date of a month calendar through code instead of the user clicking but I can't find a way to do it, does anybody know how?
  24. Re: How to hide program from 'task switcher'?

    Oh, that was simple, thanks!
  25. Re: How to hide program from 'task switcher'?

    Me.ShowInTaskbar already gets set to false when the form becomes minimised and the icon doesn't show in the taskbar (apart from the system tray) but it still shows up when I Alt+Tab
  26. How to hide program from 'task switcher'?

    Hi,

    I have a program that runs in the background but can be opened at anytime so it sits in the system tray.
    However when I Alt+Tab it shows up in the task switcher (is that what it's called?) is...
  27. [RESOLVED] "Attempt to write a read-only database"

    Hi,

    I have developed a program that connects to a .db database.
    When I debug it, it works fine as the database on my computer is not set to read only (when I check by right clicking the file and...
  28. Replies
    8
    Views
    8,773

    VS 2010 Re: New Day Event?

    This seems like a good solution, I will try and implement it sometime this week, thanks!
  29. Replies
    8
    Views
    8,773

    VS 2010 Re: New Day Event?

    The way I have set the program up is that the number of times each key has been pressed that day is in an array and the array only gets added to the database either when the program closes, the...
  30. Replies
    8
    Views
    8,773

    VS 2010 Re: New Day Event?

    Well nothing will go wrong as such, it's just that my statistics won't be as accurate if it doesn't happen at the same time every day
  31. Replies
    8
    Views
    8,773

    VS 2010 Re: New Day Event?

    Ah yes that's a good idea, I hadn't thought about changing the interval
    It doesn't have to be too precise, I'm just making a program that will record how many key presses etc I make each day. ...
  32. Replies
    8
    Views
    8,773

    VS 2010 New Day Event?

    I need to create a procedure that will run every time a new day starts (at 00:00) if the program is running at that time.

    Is there some kind of event for the date changing?

    The only other way I...
  33. Re: How can I delete a record in a database without deleting it's related records?

    "I don't see the need to do anything at all."
    I was thinking of doing it as if a customer wanted to close their account, they would probably expect their information to be deleted.

    It's not...
  34. Re: help making code more concise and shorter

    You haven't provide much information but if I understand what you are trying to do correctly this should work.

    Assuming the first number was 1, the following code would make it 11


    ...
  35. How can I delete a record in a database without deleting it's related records?

    I have a customer table and an order table and I want to give the user the option to delete a customer from the database without deleting that customer's orders as deleting the orders would mess up...
  36. Re: Code for files in the same directory as the .exe?

    Ah thank you, this is the one that I have heard of before
  37. Re: Code for files in the same directory as the .exe?

    Perfect, thanks!
  38. Code for files in the same directory as the .exe?

    I'm linking my program to a database that's going to be in the same folder as my .exe, but the program will be on a few different computers so the directory will be different for each computer. I...
  39. Replies
    5
    Views
    7,719

    Re: Finding a palindromic number

    Thank you I will change the code to use that.

    Also I know they are terrible variable names and I usually use self-identifying names but for programs this size I tend not to bother.

    i3 was...
  40. Replies
    5
    Views
    7,719

    Finding a palindromic number

    As part of Project Euler I have to find the largest palindrome made from the product of two 3-digit numbers.

    I have created this code but when i3 gets to 909090 there is an error which states...
Results 1 to 40 of 67
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width