Search results for query: *

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

    Question Raise another control's event

    Hi i am trying to raise the event of another control on my form (of a specific type, eg i know it will have a Click event). the problem i am having is that i cannot trigger another control's event. I can add handles to it: addhandler _controls(i).Click, addressof ClickFunction but this does...
  2. Guardian

    Control Contents as Graphics

    Hi, i am trying to extract the contents from controls as graphics objects, but i am running into problems. I have come across this method, but i don't wish to inherit from the target control; e.g. i am trying to extend other controls. I have tried using the _control_name.CreateGraphics method...
  3. Guardian

    Question TCP Listener and WinForms

    Hi all, if i put this piece of code into a shared sub main in a WinForms App, it works fine, i click on my http:/127.0.0.1:988/test and get Hello World back in the browser. Public Shared Sub main() Dim tcpl As New Net.Sockets.TcpListener(Net.IPAddress.Any, 988) tcpl.Start() While True...
  4. Guardian

    Question Form Border Size/Vista Background Paint

    Hi all, I have been trying off and on for quite a while to work out if its possible to get the get the background used in vista window borders into a panel control or on the entire form background. Since that explanation probably didn't mean a lot, have a look at this screen shot of windows...
  5. Guardian

    Fixed Height Usercontrols

    Hi, i am trying to create a fixed height usercontrol, but am having some problems with it. If i override the onResize method, i get a flickering when its resized, and you can still dock the control on the left and right, this is something i also want to not do. I did some searching, and came...
  6. Guardian

    Reflection and Closing files

    Hey, im having a major headache trying to get this to work: If IO.File.Exists(ffbSelect.Text) Then 'continue if the file exists If mnuOptionsCopyLocal.Checked = True Then Dim nPath As String = Application.StartupPath & "\testing.dll" IO.File.Copy(path, nPath, True)...
  7. Guardian

    Host a Button as a listview item

    Well the title says it all really. what i am trying to achieve, is a long list of buttons, that will scroll when the last visible item is focused and the down arrow is pressed, and the same for scrolling up. a similar effect can be seen in the windows MCE main menu. thanks
  8. Guardian

    Creating a form with taskbar button problem

    Hi, I am trying to create a windows form application that has a notify icon. this part however is not the problem. The problem I am having, is that I don't want the form to be shown until a menu item on the notify icon is pressed. When I try and do this, in the forms Load event, I set the...
  9. Guardian

    Saving a Graphics (GDI) object to a file

    Hi, i am having problems with my code currently. What i have is a Picturebox called Canvas, and i am drawing onto it using GDI (i am writing a finite state machine application for my uni project). There is no background image (just a plain white background colour), and my objects which are...
  10. Guardian

    File Writing!

    hi, i am making a small app that needs to save a plain text file (.txt) my problem is that using this code to savbe: rtfMain.SaveFile(sFilePath, RichTextBoxStreamType.PlainText) causes it to use richtext formating, which i dont want! i alsodont want to have to use a For loop to read all the...
  11. Guardian

    Extra Titlebar Buttons

    Hello, could someone please help me, i am trying to create a single form with an extra button next to theminimize button. i have searched all over the net and the onlycode i can find creates a system wide hook, which isnt what ineed. if anyone knows of some code or module (must be free)...
Back
Top