Search results for query: *

  1. 1

    Get location and size of open windows?

    Lets just say you were trying to make an alternative window manager for the system so you made a borderless template form and designed your own buttons, title bar and so on and had the center of the form completely transparent for other windows behind it to "fit inside it" (really just sit...
  2. 1

    Specify code across forms, inheritance?

    Hey there, I'm working on a game set in a simulated computer environment. I've made a template forum which I use to copy and paste the code from to every single form. Here's a small bit of the code I use within the game that is copied to all the windows: Public Sub setuptitlebar()...
  3. 1

    Change listview largeicon item selection colour?

    I've searched for hours and can't figure out how to change the blue color you get when you select an item in the listview. Here is an example of a selected icon below in my application: I've read that its something to do with keeping the colour scheme the same throughout all applications but...
  4. 1

    Operating system (multiple windows with same shell)

    Try not to bump old topics... But wow, these were the early days of the game "Histacom" which involves in game time travel within 5 different virtual windows environments from 5 different time periods. The game looks way better now than it did in these early screenshots. I ran intro copyright...
  5. 1

    Having trouble grabbing certain text from string

    ------------------------------Main Problem------------------------------ So I am making a game and within the game is a pretend terminal and lots of programs. A certain goal I wish to achieve to allow the user to type the coordinates of a window and have that window move to the coordinates. I...
  6. 1

    Question Is having my email password in sourcecode dangerous?

    Ok thanks ;) I have set the account up so if it gets hacked it's no biggy. It's just an email used soley for gaining statistics from this game and is completely separate from my personal email. If I do get issues in future I'll follow this tutorial. Thanks for your help!
  7. 1

    Question Is having my email password in sourcecode dangerous?

    Well how are you supposed send emails without source code?
  8. 1

    Question Is having my email password in sourcecode dangerous?

    I am making a game with vb.net that occasionally sends me stats of peoples progress within the game by email. My email password is within the code but invisible to the end user. The gmail account is linked to a youtube account that I intend to upload videos to showing progress of my development...
  9. 1

    Question Custom scroll bars for entire application?

    I am making a game set within another operating system so I have all the forms custom made with no border so I could place my own borders and stuff. Windows is automatically placing scroll bars in controls that require the ability to scroll such as listboxes with too many items. These scroll...
  10. 1

    Question Use Ctrl + T to globaly open a specific form?

    Hey, I am making a somewhat relaxing non-linear game based around an evolving operating system (not a real one) called ShiftOS. Just so you understand the general gist of how the game works here is some info which you are free to skip: "A mysterious hacker named "DevX" hijacks your computer...
  11. 1

    Graphics are flashing... (GDI+ in picturebox...)

    Well after the two days that has passed I fixed it myself... I just put all the drawing in an overridden onpaint event and now it works without a single flicker...
  12. 1

    Graphics are flashing... (GDI+ in picturebox...)

    I have tried making the form double buffered and stuff but it still does not work... Basically its a powder game clone (example here: Powder Game only problem is the more objects (such as sand) on the screen the more it flickers and with 100+ it becomes unusable (I was hoping to get at least...
  13. 1

    bitmap get pixel too slow

    Thank You... It worked!!! Here is my new code to show others how I did it... Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click Dim rect As New Rectangle(0, 0, mybitmap.Width, mybitmap.Height) Dim bmpData As...
  14. 1

    bitmap get pixel too slow

    I am testing out applying interesting effects to photos... One effect I have invented is make the image only have 4 colors in it... red (at 255), green at (255), blue at (255) and black at (0) Basically calculations are done for each pixel and then sets each pixel depending on the color which...
  15. 1

    TPC send and recieve

    Ok ive been browsing the web and looked at about 15 examples over the last 2 weeks but I am not really getting it... All the examples are just a bunch of extra code which I don't want. I need just the raw basics. Could someone please write in as little code as possible 2 bits of code. One bit...
  16. 1

    Checking listbox for multiple items

    ty for the help You also introduced me to the andalso and the with commands :)
  17. 1

    Checking listbox for multiple items

    I am making a virtual crafting application (similar to that done in Minecraft) currently I have made a test "crafting recipe" which checks if the listbox (mixbox) has 1 window, 1 door and 1 wheel. the code looks like this: If mixbox.Items.Contains("window") Then If...
  18. 1

    Question Deal with a file dragged onto your application on startup

    Ok so I have a board game maker which allows you to easily make board games (.bgm files) and save them and also open them again with the program by selecting open in the file menu. Screen shot below of the program running: Now what I need is so that I am able to drag a .bgm file onto my...
  19. 1

    Question Get text from multiline textbox

    Ok basically I want to set some variables from lines on a text box. The below code is what i want to do but unable to find a way to do it moveactionamount(1) = savebox.Text.line1 moveactionamount(2) = savebox.Text.line2 moveactionamount(3) = savebox.Text.line3 moveactionamount(4) =...
  20. 1

    Question How can I insert text into a textbox using a button (e.g. date)

    Currently i have a button and a text box I want to make it so i click the button and text gets added to the textbox the current carat location and then the carat is placed at the end of the selected text. I currently have this in the button press event TextBox1.Text =...
Back
Top