Search results for query: *

  1. N

    Question DirectX problem when saving projects

    Problem fixed! :D Turned out DirectX didn't work with .NET Framework 4.0, so all I had to do was change project to 3.5 and now it worked! :D
  2. N

    Question DirectX problem when saving projects

    vbProgramming | Tutorials | Direct3D | Initializing the Device But should that affect when I save the project? I thought that was just when debugging... :S
  3. N

    Question DirectX problem when saving projects

    Today I was looking into DirectX with VB.NET, and I installed the SDK etc. But when I were trying to add a reference to the Direct3D and other, it did not appear in the list, although I did solve this by adding them manually according to a guide I found. Anyway, I followed a tutorial from the...
  4. N

    Question Second login window

    Yes, but once again, that is not as fun! :D The internet probably contains hundreds of versions of the programs that I create, but downloading them would just kill the joy. It's the programming that I'm looking for, not the program itself.
  5. N

    Question Second login window

    Yes, I have thought of making a timestamp when the user logs in, but I wan't to make it able to see when and what programs the user starts and exits different programs and also if the user is by the computer (like checking mousemovement and stuff, although I don't know if that works when a game...
  6. N

    Question Second login window

    Yes, yes, I know you want me to use the original log-in screen only, but I don't want to :P That would destroy the whole fun part of it ;) But i guess, it maybe is a lot easier and takes less time... Maybe I'll stick with the original.... :S Well, thanks for all your help and suggestions :) If...
  7. N

    Question Second login window

    Okay, great :) Does anyone know HOW TO disable all input except for the actual form? :S Haha, well, that is basically what I try to reach ;) Well, I won't actually allow anyone in, the program will be designed to monitor the time my (for example) brother uses the computer, and I needed this to...
  8. N

    Question Second login window

    Okay, Thanks for quick answer :D But there should be a way to like block all user input and put the program in the startup folder or something? Like if you make huge unclickable form which takes all the space of the screen and that is not movable or anything? I mean, it doesn't have to be...
  9. N

    Question Second login window

    Okay, I need a little help regarding my program, and FYI, I haven't started writing the code yet, so you don't have to make it according to any special controls or anything. Anyway, what I'm trying to do is that after the user of the computer logs in to a windows-account called for example...
  10. N

    Question Finding even numbers between two numbers

    Is it always the numbers 6 to 16? or can it be for example 9 to 15? If it's always an even number, use JohnH's code, it's really short, working and understandable (Nice going, JohnH), otherwise I would recommend the mod operator as Solitaire and I said :) Hope this helped //NoIdeas
  11. N

    Question Finding even numbers between two numbers

    Public Function GetAllEven(ByVal x As Integer, ByVal y As Integer) As Integer Dim Count As Integer Dim z As Integer = x + 1 'Make sure you dont include the selected value Do Until Z = y 'Do until we have checked all the numbers between the values If z Mod 2 = 0 Then 'If the current value is...
  12. N

    How to make a new line on a read only box when clicking a button

    Don't know what exactly a Read-Only box is, but assuming it's a read-only TEXTBOX, make sure you have written readonlybox.text &= cstr(datetime.now & " New CHS Incident Created" & vbcrlf) and not just readonlybox.text = cstr(datetime.now & " New CHS Incident Created" & vbcrlf) or however you...
  13. N

    VS 2010 Express: How to maximize textbox on form every time?

    Try setting the Textbox's Dock-property to "Fill", and that should work :) Hope This Helps! :) //NoIdeas
  14. N

    Shopping carts

    Sql? Not sure if I understood the question... Do you need help with reading and writing to a database? And what type of database is it? SQL server?
  15. N

    Question Find Specific Text In Text File

    I succeded to solve my problem. I found some code for searching text files, and modified that a bit so it only reads the line where the word's at. and then I read about strings and their actions, so i succeded to remove some characters from the strings so now it should work fine :D Case Solved...
  16. N

    Question Find Specific Text In Text File

    I'd like to read everything first in one go, and then add it. The files arent especially big, the biggest are at about 4 kb, but most of them are 1 or 2 kb each. On the other hand, there are about 1800 of these files, so it might be quite slow. But the speed doesn't really matter in this...
  17. N

    Question Find Specific Text In Text File

    Hi! I have a little question about txt-files...This is the case: I am going to make a small software for editing particular parts in text files, so you don't have to do it by hand. In this program, i need to find several words in a text file and retrieve the text or number that is after the...
  18. N

    Question Coordinates for 2D game

    Hi again I tried to dim Tile_width as integer and set it to 30, to make the tiles 30 pixels wide. Then i realized that bounding_rectangle.width was basically the same as tile_width, so i replaced it with that. I made a test by trying to move a label to the tiles i clicked, but it always ended...
  19. N

    Question Coordinates for 2D game

    Thanks! Thanks! :) I've been looking at the code, at it seems to make sense :) Anyway, there is no declaration for bounding_rectangle and Tile_Width... What should I declare them as or are they some kind of miss-spelled function? Thanks for the reply! :)
  20. N

    Create Several Gif And Then Move All

    Well, 've actually thought about it, but I did'nt know how many coins there could be... But now when i think about it, if i make sure that it's always one coin per "row" then i would know... So, i have a solution :) I've tried the solution now, but i got this error, and i don't know what the...
Back
Top