Search results for query: *

  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 VB.net 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?
  16. Bryce Gough

    Question Replace Text in Text File

    After the line: For i As Integer = 1 To 20 Try adding a message box to see if the variable is outputting the right number. MsgBox(i.tostring) Then you can see if the 'i' variable is stuffing up, or whether it is something wrong with your code after that, because I don't see any reason why it...
  17. Bryce Gough

    Adding items to listbox from textbox with tag.

    To get the text between 2 tags you should use Regex (Regular Expressions), Here is an example to get the text between 2 '<k>' tags. Dim pattern As String = "" Dim splitcode() As String = Me.ScriptEditor.Text.Split(New String() {Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries) For...
  18. Bryce Gough

    Question How to auto-login using WebBrowser control

    What exactly are you trying to do? I need a bit more information. Your code selects the first item in the list box then fills the 'log' and 'pwd' inputs in the web browser control with the login details from the list box and then clicks the submit button, am I right? What do you need to do after...
  19. Bryce Gough

    Question 2D Side Scrolling Game Help

    Hello, I'm developing a 2D side scrolling game in vb.net, I've got as far as walking around, shooting, start screen and sound... But I need help with making it scroll sideways, and I really need help with creating floors/ledges to walk on, I'm using picture boxes for the player/floors/ledges and...
  20. Bryce Gough

    Question How to start Audio/Video Editing software

    Hello, I am getting a team of my vb.net coders together, and we would like to create a Audio/Video editing piece of software. The thing is, we have nowhere to start, we are currently designing on paper and in photoshop, but would not know how to acctually make a start to any of this. This will...
Back
Top