Search results for query: *

  • Users: 12padams
  • Content: Threads
  • Order by date
  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

    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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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) =...
  14. 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 =...
  15. 1

    Question How do I send a file over the network

    I ahve tried using the code: My.Computer.Network.UploadFile("C:\Users\Phillip\Desktop\test.txt", "http://10.0.0.2/c:/text.txt", "my username, "mypassword") but it does not work... whats the proper format for entering a location to a computer over the network? Also... whats a way to send a...
  16. 1

    Picturebox Flickering when location Changed...

    Hi i am making an RPG game with visual basic... The character is a picture box. The problem is when i move the charactor with the arrow keys it flashes black for a milisecond. I think added animated walking where it slowely moves 32 pixels but not it goes black the whole time... what can i do...
  17. 1

    Answered Array Question

    Ok I am making an RPG that is checking for collisions whenever the user is walking... Basically i made an array of points in which the user is not allowed to access and if they do try to access them it will not walk... Public Class cityshop2010 Dim abletomove As Boolean = True Dim...
  18. 1

    Question Paint program Problem (graphics dissapearing)

    Ok major problem with a paint program i am making. When i have a window overlap or anything and move to side of screen and minimize and maximize i lose whats in the picturebox... Here is an example of the code I use to draw a line after click a button: Private Sub btndraw_Click(ByVal...
  19. 1

    Help me make a form with a transparent picturebox

    Basically I am making an application shell which is very similar to the windows vista/7 shell. The problem is I do not want to use the windows vista/7 shell or the real operating system. I want to use a fake one. I have tried getting a transparent image and putting it on the form but I can only...
  20. 1

    [Help] make a picture box appear on the forum when clicked

    basically I am trying to expand my skills in visual basic 2010 and i want to find out how to make a kind of drawing program. The idea is when you click somewhere on the form a bit of dirt will appear at the location of the mouse. This code that I wrote did not seem to work: Public Class city...
Back
Top