Search Results - VBForums

Search:

Type: Posts; User: Justin M

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds; generated 4 minute(s) ago.

  1. Re: Is there a way to put the last day of the end of the current month in a label cap

    Oh sorry, I was referring to the line of code

    Debug.Print DateSerial(year(date), month(date) + 1, 0)

    That line prints ex: 2014-05-31. That is good, but I was wondering if either I could get it...
  2. Re: Is there a way to put the last day of the end of the current month in a label cap

    Thank you guys for your help. For the month part, for a single digit like May = 5, it would show up as 05, is there a way to get it to show up as just 5?

    Thanks!! :)
  3. Re: Is there a way to put the last day of the end of the current month in a label cap

    Hey there! I have been using this to get the date number for the current day NightWalker83 like this..

    DayNum.Caption = Format(Date, "d")

    Actually I do the same for year and month too,
    ...
  4. Is there a way to put the last day of the end of the current month in a label caption

    Hi there folks! I am working on a calendar app, and I was wondering, I can put the current date in a label caption called DayNum, but I was wondering if there was trick to put the last day of the...
  5. Re: Replace a / forward slash with a hyphen?

    Marvelous. Thank you for your help!
  6. [RESOLVED] Replace a / forward slash with a hyphen?

    Hi there folks. I am working on a textbox where a classroom name is entered, but the issue I have is sometimes the user might put in a /, and the program will read that as a break in a folder...
  7. Re: Mouse move event will only work on the very top and right side?

    Oh that is awesome! Thanks.
  8. Re: Mouse move event will only work on the very top and right side?

    Thanks. That did change things up a bit, but what I am getting is detection in the 4 corners, but not between. I will send an attachment jpg of what I mean. :)114293
  9. [RESOLVED] Mouse move event will only work on the very top and right side?

    Hi there folks. I have a math prog for students, where if they want to remove an item, they simply drag it off the form. The screen is set up with a workspace in the middle of the screen, then the...
  10. Re: Moving form becomes a ghost form?

    OMG Thank you! Thank you all for your help! :)
  11. Re: Moving form becomes a ghost form?

    Hey guys, would anyone know why I would get a user defined type not defined highlighting the code mousepos As POINT_TYPE?

    I did dim it in the form load event, but did I miss a step?

    Thanks!
  12. Re: Is there a way to delete every txt file in a specific folder except one?

    Lol? Thank you all for your help. So once we deleted the files, all I did was erase the textfile. Couldn't have done it without you all! :)
  13. Re: Is there a way to delete every txt file in a specific folder except one?

    Well lets say there was no file that had filenames. Would it be easier to code to delete whatever is in that specific folder?
  14. Re: Moving form becomes a ghost form?

    Sorry, I have been away from this prog for a few days.

    Would this code be part of my form load event since the form will retract as soon as my mouse is off of it from the start?


    I think I...
  15. Re: Is there a way to delete every txt file in a specific folder except one?

    Ok, so you think I should make a listbox, load the textfile with the filenames to that listbox, then it would loop through, and delete the files / items in the listbox?
  16. Re: Is there a way to delete every txt file in a specific folder except one?

    Thank you for your quick reply!

    Would the delete function keep the folder?

    Would the line in this case New Microsoft Word Document.doc be replaced with the name of the textfile with the list of...
  17. [RESOLVED] Is there a way to delete every txt file in a specific folder except one?

    Hi there folks! I have a program with a folder, and this folder has a textfile that contains a list of all of the other textfiles in that folder. There are not many textfiles in it, but would anyone...
  18. Re: Loading a textfile to a textbox will only load the last line?

    Oh this is brilliant stuff! Thanks everyone!
  19. [RESOLVED] Loading a textfile to a textbox will only load the last line?

    Hello there good folks! I have a textfile that I would like to load to a textbox. The textfile has about 20 lines, but when I go to load, it only loads the last line of the file.

    I have set the...
  20. Use a file name to name a header in a Listview?

    Hi there! I have about 10-15 files, and once in a while a new file might be made.

    I was wondering instead of hard coding a listview sub column (the ones that come after the very first one), to...
  21. Re: Moving form becomes a ghost form?

    Thank you for the idea.

    So I googled WindowFromPoint, and found this code demo.


    ' Display the title bar text of whatever window the mouse
    ' cursor is currently over. Note that this could be...
  22. [RESOLVED] Moving form becomes a ghost form?

    Hello there. I am working on a menu that "retracts" off to the right side of the screen after the user moves the mouse cursor off of it. The menu uses a timer to retract. It retracts nicely, with...
  23. Would VB6 be able to email someone if I had three text boxes on a form?

    Hello there folks. I am working on a student management prog, and I got to thinking that it would be cool to send a student's parent a weekly update on their child's progress in school including info...
  24. Re: Is there a way to check the number of characters in label caption?

    Fantastic. Thanks!
  25. Re: Is there a way to check the number of characters in label caption?

    Ok, perhaps something like this?

    Dim inttime As Integer

    inttime = Len(label.caption)

    where inttime would have the total num of characters in the label caption?
  26. [RESOLVED] Is there a way to check the number of characters in label caption?

    Hello there folks! I have a label caption that is in a small part of the form. I was wondering if there was a way to check the number of characters in a label caption, so if it were more than 20 or...
  27. Replies
    1
    Views
    239

    Drawing shapes on ink picture?

    Hello there everyone. I am using ink picture to use on those interactive white boards they have in schools now, but was wondering if there was a way for me to be able to draw simple shapes like...
  28. Is there a way to "draw" on a picturebox in VB.net with smooth lines?

    Hello there good folks! I am looking to make an interactive whiteboard prog, as the students seem to be fascinated with writing on the board. I would like to give students the option to "write"...
  29. After playing certain pc games, vb project doesn't start up in the right position?

    Hello there folks! I am working on a side toolbar with student apps. I use this code to make it stick to the side of the screen when it launches the toolbar.

    'Center the dock on the right side...
  30. Re: Would having a picture load only when needed reduce the compiled.exe size?

    What would be the difference between that option and native? Are there any compatibility differences?
  31. Re: Would having a picture load only when needed reduce the compiled.exe size?

    Oh you guys are great. Already shaved about 20mb off the .exe size. I wonder how much I can further save!!! :)
  32. Re: Would having a picture load only when needed reduce the compiled.exe size?

    I use the program on one of those interactive whiteboards, so any "imperfection" in an image because of jpg would be 10x as big. Honestly, I don't think the students would care, or see it tbh, but I...
  33. Re: Would having a picture load only when needed reduce the compiled.exe size?

    OH these are BRILLIANT ideas. I feel like a coder from the 70s trying to build in as little space as possible lol.
  34. Re: Would having a picture load only when needed reduce the compiled.exe size?

    I am using a picturebox in many, and some forms have 7, some have an array of 31.
    There are lots lol.
  35. Would having a picture load only when needed reduce the compiled.exe size?

    Hi there folks. I am working on a prog that is a little sluggish on a flash drive. The .exe is a big file size . It has quite a few pictures. Would it be less sluggish if I changed it so, the...
  36. Re: Is there a way for a windowless form to still have an icon in the taskbar?

    My goodness you are right. I meant to say borderless. :)
  37. Is there a way for a windowless form to still have an icon in the taskbar?

    Hello there all. I am working on a toolbar prog with common tools teachers use at school. Teachers like that it retracts off the screen when not needed, but since the form is windowless I don't see...
  38. Re: Type mismatch error in calendar code when language is set to French Canada?

    I 'll paste it again. Is the missing comma still not there?


    iStartIndex = (Weekday(sSelectedMonth & " " & iFIRSTDAY & ", " & sSelectedYear) - 1)


    Speaking of numbers for calendars. Right...
  39. Type mismatch error in calendar code when language is set to French Canada?

    Hi there folks. I am working an interactive calendar for students to help teach days of the week, etc. I have seen code on here posted by another member, and it is great stuff, but the issue for...
  40. Transferring listbox items to a textfile for saving.

    Hi there folks. I am working on a prog to record what literacy stations students go to during their language arts period. I have a form that gives them choices where they want to go, and they click...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.