Recent content by Bryce Gough

  1. Bryce Gough

    Question Listbox with folders

    Hello, I am wonder if the ListBox control or any other control has the ability to have folders with icons like the Visual Studio Solution explorer. It would help a lot if anyone could point me in the right direction :)
  2. Bryce Gough

    Question Start form after application start

    Hey Again,, Sorry for all the console application questions but I'm new to working with the console, but I'm trying my hardest to find answers before I post a new thread. I am dynamically creating forms in my console application and I am using Application.Run so that my forms are displayed...
  3. Bryce Gough

    Question Hide/Show console window

    Hey Guys, I've been looking everywhere and I am really stuck on this one small problem... I need to be able to hide/show the console window during runtime. I can't change my console application to a window forms application because it messes up my code and I'm pretty sure you still can't show...
  4. Bryce Gough

    Question Create Instance of Class from Class Name

    Hey Guys, Pretty much what I have is many many classes created, now the user will type a class name and a method and the application will run that method with the supplied arguments. Now I have got it working using: Dim method As System.Reflection.MethodInfo method = Type.GetType("Code." &...
  5. Bryce Gough

    Quit Button

    I think this is because your application exists when the main form closes. Try going to your project settings and change the shutdown mode to "When the last form closes".
  6. Bryce Gough

    not able to get image from clipboard

    This has been tested and is working ;) If Not System.Windows.Forms.Clipboard.GetImage Is Nothing Then Dim oImgObj As System.Drawing.Image = System.Windows.Forms.Clipboard.GetImage oImgObj.Save("G:\1.jpeg", System.Drawing.Imaging.ImageFormat.Jpeg) End If
  7. Bryce Gough

    VS 2012 RC Crashing

    Okay I'll download it when I get time, I forgot to mention that I had to reinstall windows and I just got 2012 cos it was the latest one but before that I had 2010 and 2012 and I wasn't having problems with 2012 :P
  8. Bryce Gough

    Question forms loop

    Well if your forms are all connecting to the same database, maybe you should try using a global instance of the sql connection.. I've never experienced this so I don't know if that's what the problem is, but you should give it a go. :)
  9. Bryce Gough

    Find and Replace in Textbox

    I doubt that would work because String.Replace will replace all instances of the string that you want to replace. That's why my code ended up getting so complicated..
  10. Bryce Gough

    Find and Replace in Textbox

    This is in the wrong section btw ;) Next time put it in the WinForms section Dim StringToReplace As String = "Email Address:" Dim ReplaceWith As String = "" Dim S1 As String = "" Dim S2 As String = "" If TextBox1.Text.Contains(StringToReplace) Then Dim aEmails As Integer =...
  11. Bryce Gough

    VS 2012 RC Crashing

    Hi Guys, I have recently switched from Visual Studio 2010 to Visual Studio 2012 RC and I have been using it for about a month or more now. Anyway, I have been working on a game engine and here is the problem. When I leave Visual Studio open in the background while on a website, after about 3-5...
  12. Bryce Gough

    FYI Enable Arrow Keys/Tab in User Control

    Hey Guys, I was just working on a 2D RPG Engine I'm working on and noticed the User Controls use the arrow keys and tab key as function keys on the main form. So I wrote a little piece of code to place in your control to allow arrow keys and the tab key to be pressed. Protected Overrides...
  13. Bryce Gough

    Available Open Development Web Server

    Hey Guys, Would anyone be interested in a open source web server? The project name is onyxServer and I have got it working quite well. If you are interested please comment below or PM me. I set up a temporary development site so people can view what we have done so far. It can be...
  14. Bryce Gough

    Question overlapping control

    If your using the PDF libraries to display the PDF, wouldn't there be a option to disable the bottom toolbar from being shown?
  15. Bryce Gough

    Question Hit a brick wall please help.....

    Your Text Box does have 'Multiline' enabled right? By your code I can tell you would at least think of that :P You said that you can see all the entries if you uncomment the 'TextBox2.Text = notebookXml' line, because if it works in that textbox shouldn't it be working in your main textbox?
Top Bottom