Search results

  1. icemanind

    RichTextBox Question

    That did it. Thank you John!
  2. icemanind

    RichTextBox Question

    I'm overriding the OnKeyDown event and capturing the enter keystroke. That part I got down. I am using the following code: Protected Overrides Sub OnKeyDown(ByVal e As System.Windows.Forms.KeyEventArgs) MyBase.OnKeyDown(e) If e.KeyCode = Keys.Enter Then Me.Text =...
  3. icemanind

    RichTextBox Question

    I have a multiline RichTextBox control on my form and what I want to do is, whenever someone hits enter, I want the line to automatically convert to all capital letters. Similar to how, in Visual Studio, if you enter a line of Visual Basic code, the IDE will automatically make the VB.NET...
  4. icemanind

    Context Menu Strip Issue

    Hi all. I'm having I problem with something that I think is a bug and I'm hoping someone has a workaround. I have a Windows Form application and I created a user control. This user control has a ContextMenuStrip assigned to it (so when I right click on the control, it pops up a menu). I then...
  5. icemanind

    Changing Directories

    Solved! I figured this out on my own. The solution is kinda "sloppy", but it works. In case anyone ever needs to do this, I will describe what I did to solve it. What I did was make a call the Windows API Function FindWindowA() which retreives me a handle to my console window. Then once I have...
  6. icemanind

    FYI Layergen

    Not at all. I'm going to probably make it open source anyway, so any improvements you want to make would be fine by me.
  7. icemanind

    FYI Layergen

    You know, I'm not sure. I've tested it with SQL Server 2000 and SQL Server 2005. Not sure if it works with express. If you are having difficulties, let me know and I will play around with it and see if I can't get it to connect to Express.
  8. icemanind

    FYI Layergen

    Hey guys, I've been working on a program for some time (and I know this isn't the first one of its kind, but I like it..lol) that will automatically generate a Data Layer and Business Layer from a database in SQL Server. It will create both VB.NET and C# code. I thought you guys might find it...
  9. icemanind

    Drive Status

    Is there a way to get the status of a CD-ROM drive? By status, I'm talking about reading status. What I'm trying to do is write a program that displays a "virtual" LED light in my taskbar and I want it to light up everytime my CD-ROM drive is reading a CD. I'd also like one for my hard drive. Is...
  10. icemanind

    Changing Directories

    I am writing a console application and I am trying to change directories. I am using Directory.SetCurrentDirectory() method and its changing directories just find. The problem is, however, when my application exits, it sets the current directory back to where I was. I also tried importing the...
  11. icemanind

    HTML Source

    Is there a way to get the HTML Source code of a processed ASP.NET server page? So, in other words, I have a file called default.aspx. The ASP.NET server processes the page, but before it transmits it to the client to be rendered, I want to be able to change the raw html code from VB.NET. I am...
  12. icemanind

    Master/Slave Pages

    Hi guys, I am using Visual Studio 2005 and VB.NET. I am creating an ASP.NET application which has a CSS Layout with a header and a footer. In my master page, I have a ContentPlaceHolder where the header and footer are. My question is, is there a way to place default content in those sections...
Top Bottom