Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: timmay3141
  • Content: Threads
  • Order by date
  1. timmay3141

    Reading XML from a file that matches a schema

    I created an XSD schema for a data object, and I ran the Visual Studio xsd tool to generate classes based on that schema. All of that looks fine, but now I want to read the XML file which conforms to that schema and return an object of the corresponding class. I've done a lot of searching...
  2. timmay3141

    Installing Linux on a separate hard drive

    I have a relatively small hard drive with Windows on it. I want to install Linux (dual boot - I need Windows for VS.NET and games) but I don't want to run out of space, so I was thinking about buying another hard drive and installing Linux on this drive. Problem is, I don't know if I will get...
  3. timmay3141

    Button rollover issue

    I'm very new to Flash so this probably isn't all that difficult. I want to change a pushbutton so it will be brighter when my cursor is over it. I've managed to do that (I went into the library and changed fpb_over, deleted frame5, added a new symbol that was just a lighter colored square than...
  4. timmay3141

    Empty JList will not show

    I have a JList in an applet that is initially empty but elements are later added. For some reason, the JList is not drawn if it has nothing in it, even if I use setMinimumSize(). As soon as I add an item it magically appears. This is obviously not the desired affect, so how do I fix it?
  5. timmay3141

    What is a .java~ file?

    I know Java somewhat and just started a job using it. I'm supposed to modify a project that already exists. The project is so screwed up I don't know where to begin: there are blatant package rule violations and tons of errors. After screwing around with it for a couple hours, I still can't...
  6. timmay3141

    Setting a shortcut key in a form

    I want a certain method to be called whenever Ctrl+Left arrow is pressed when my form is active. It is easy to do this for menu items with their Shortcut property, but I can't figure out how to do it when there is no menu item corresponding to this. I can't just override OnKeyDown as I'd like...
  7. timmay3141

    Changing TextBox text

    I'm pretty new to C# and have encountered a problem. When the user types in a text box, I want that to change another control in my dialog. However, I want to be able to change the text box's text in my code using the TextBox.Text property without triggering the same event. I've managed to...
  8. timmay3141

    What language was Windows written in?

    I'm asking mostly out of curiosity. Does anyone know?
  9. timmay3141

    Problems loading an image in an applet

    I'm trying to make an applet draw some dice images. The images are in files named die1.png through die6.png. Here's my code for loading and displaying them: public void loadImages() { for(int i = 0; i < 6; i++) { URL imageUrl = getClass().getResource("/die" + (i+1) + ".png")...
  10. timmay3141

    Using Robot to type a string

    I'm trying to use the Robot class to type a string. It doesn't seem like it should be difficult, but I can't figure out how to turn a char into a KeyEvent.VK_whatever, which is what Robot's keyPress method expects. I'm sure there is a very simple method of converting them, but I tried looking...
  11. timmay3141

    Simple AWT problem

    I just started using AWT (I'm new to Java in general) and am encountering a very simple difficulty: I can't get the stupid window to close without using end task. Here's my code: import java.awt.*; public class Test extends Frame { public Test() { super("Test"); setSize(200, 200)...
  12. timmay3141

    Reference parameters?

    I'm learning java with a background in C++. I was writing a method, but was surprised to discover that I couldn't use a reference parameter using C++ syntax. How do you use them? Surely there must be some way. Also, C++ pointer syntax doesn't work. Is it even possible to declare a pointer...
  13. timmay3141

    Listbox full row selection

    I have a listbox and I want the full row to be selected when I select an item in it instead of just the text. I set FullRowSelect to true, but this doesn't seem to change anything. In some ways it seems to be behaving more like a list control than a list box (I'm used to doing this in C++, I'm...
  14. timmay3141

    Does C# use Hungarian notation?

    I've used it a lot in C++, and I'm just learning C#. Since quite a few things are different in C#, is Hungarian notation significantly different, or is it not used at all? In the small amount of C# code I've seen it has not been used.
  15. timmay3141

    What speed is my RAM?

    My dad just bought a new laptop from HP. Strangely, they never said how fast the memory was, just that it was a gig of DDR. I tried looking in the BIOS, but it wouldn't even let me overclock at all so I couldn't see it that way, and it didn't show the memory speed anywhere else. I thought it...
  16. timmay3141

    How do you convince VC++ 6 that a file is no longer used?

    This is driving me crazy. I was using someone else's class for something in my program, but I didn't like how some things were implimented, so I made my own class that did the same thing and removed the old files from the project and deleted them. My class's methods have mostly the same names...
  17. timmay3141

    My PC doesn't know how to multiply doubles?

    This is probably the strangest problem I've ever had with C++. I'm multiplying the same two doubles in two different places in the program, using the exact same line of code, and they are giving different values. The values I'm multiplying are 50.0 exactly and 0.001 exactly (I know they are...
  18. timmay3141

    Slider on a dialog bar - no message being sent?

    I put a slider on a dialog bar, but when I move it a WM_HSCROLL message never seems to be sent because OnHScroll in my view class was never called. Then I tried adding it to the main frame class, and it never got the message either. I tried Spy++ and it didn't ever see any WM_HSCROLL. Is...
  19. timmay3141

    Learning Java with C++ background

    I'm going to learn Java, and I'm coming from a strong background in C++. As I understand it, Java isn't even compiled, so I need directed as to how to make an executable file. Basically, could someone point me in the right direction for getting started? I don't even know if I'll need...
  20. timmay3141

    Minimizing a window

    I'm running a full screen app using Direct3D (not sure if this is important or not). When I alt+tab out, I want the window to minimize. It does this on its own sometimes, but part of the time it sits there, maximized, and won't give up focus to other windows. I want to get it to minimize...

Part and Inventory Search

Back
Top