Search:

Type: Posts; User: Vektor

Search: Search took 0.02 seconds.

  1. Re: Listview Control, interesting issue

    Please prefix your topic heading with "Resolved"
  2. Replies
    9
    Views
    934

    Re: imageboxes and URLS

    In the past while using .NET 1.1, i've never used any web resources, so to be honest I dont know off the top of my head. I'm sure someone else will know and will reply in quick time, otherwise, if I...
  3. Replies
    9
    Views
    934

    Re: imageboxes and URLS

    What version of .NET are you using, 1.1?
  4. Replies
    9
    Views
    934

    Re: imageboxes and URLS

    Gday, welcome to the forums :wave:

    The ImageLocation property supports Web locations so simply specifiy that url. The ?size=2 is server side so you need not worry about that.
  5. Thread: Select command

    by Vektor
    Replies
    1
    Views
    438

    Re: Select command

    Use single quotes around ShowIDInput, like so.


    SELECT * FROM [slideshows] WHERE showid = "'" & ShowIDInput & "'"
  6. Replies
    3
    Views
    758

    Re: ASP.NET question

    This forum is for Visual Basic .NET
    You will might much better help here.
  7. Replies
    15
    Views
    1,079

    Re: VB 2005 Standard: In a nutshell, why upgrade?

    Visual Studio 2005 and .NET 2 offer more powerful Controls, events and a better Object Orientated environment. Not to mention full XP styles are built in without any code needed from the programmer.
  8. Re: [RESOLVED] I have set a Form to run at Windows startup, but it fails to find some

    CurDir() is a VB 6 function, although it has support in .NET. It's best to use the My reference to retrieve that kind of information.
  9. Replies
    2
    Views
    596

    Re: Modify browser proxy settings

    Internet Explorer settings can be found in the registry at


    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

    Including proxy settings. The "ProxyEnabled" DWORD key...
  10. Replies
    11
    Views
    1,118

    Re: Contents of Listbox

    I assume you've pasted that from a VB 6 project because the "ListCount" and "List" properties do not exist in the ListBox class within .NET
  11. Replies
    4
    Views
    16,912

    Re: Keypreview in UserControl

    From what I gathered from your description, this should achieve what you wish.

    Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  12. Replies
    9
    Views
    6,431

    Re: vb.net double click on button

    the Button control Click event is raised after a single click, so i'm not sure what you are after. Could you please be more specific?
  13. Replies
    11
    Views
    1,297

    Re: System Tray

    jmcilhinney is right, but before it will work, you need to set some properties.

    Public Class Form1

    Private m_ntiNotify As NotifyIcon

    Sub New()
    InitializeComponent()
    With...
  14. Replies
    11
    Views
    1,118

    Re: Contents of Listbox

    Dim pzResult As String

    ListBox1.Items.AddRange(New String() {"Moo", "Baa", "Woof"})
    For Each pzBuffer As String In ListBox1.Items
    pzResult &= pzBuffer
    Next

    MessageBox.Show("Your ListBox...
  15. Re: I have set a Form to run at Windows startup, but it fails to find some files need

    If you simply specify the un-qualified name of the file then Windows will look in the current directory. You can either change the current directory to your application path by using
    ...
  16. Re: How do you remove all relationships in an Access database?[UNRESOLVED]

    I realise that no-where tells you to not worry about them, but in my experience the length of the manipulation relationships do to you data is to enforce referrential integrity. This is a good thing,...
  17. Re: How do you remove all relationships in an Access database?[UNRESOLVED]

    Relationships are really only a visual thing. If you're not using Access as the front end dont worry about relationshops at all. But as for your question, no, i've never successfully removed...
  18. Replies
    12
    Views
    924

    Re: Xml search results in a list box

    xmlfiles is a string array containing the fully qualified paths of the found xml files, so you have to extract the file name from each element. Use this code to get the file names of each, a loop...
  19. Re: Please Help Create A VB6 to .NET Function Conversion Chart

    I know the rest but i'm going to bed now, 2am lol. During the day tomorrow I will complete it and post it.
  20. Re: How do you remove all relationships in an Access database?[UNRESOLVED]

    What is the reason you want to do this via a program? Is there a security password on the database that prevents you from doing it through Access?
  21. Replies
    3
    Views
    524

    Re: Going wrong somewhere

    What code do you have in the delegate sub? Because the threads are running concurrently, what commonly happens with multithreading is that your first thread (SplashThread) is running all it's code...
  22. Replies
    8
    Views
    5,658

    Re: Treeview - Right click options

    Ofcourse kleinma is right. Change all occurences of ContextMenuStrip to ContextMenu. ContextMenuStrip is a .NET 2 class.
  23. Thread: Help with Menus

    by Vektor
    Replies
    8
    Views
    822

    Re: Help with Menus

    MenuItem's do not have a MouseClick event.
  24. Replies
    6
    Views
    925

    Re: Keeping Form Focus in a Loop

    MyBase.Invalidate(Me.ClientRectangle())

    Enter that line in your outermost loop. But normally, when you are showing a progress dialog for a lengthy task multi-threading is in order. The way you are...
  25. Replies
    6
    Views
    516

    Re: Vb 2005 Ide = Slow

    Exactly what I was trying to say, but in one sentence, nice job :thumb: lol
  26. Replies
    8
    Views
    5,658

    Re: Treeview - Right click options

    Before you use this code, be warned i'm not 100% sure it will work in 2003 because it has been a while since i've used 2003.

    Public Class Form1

    Private m_cxsRightClickMenu As...
  27. Replies
    8
    Views
    981

    Re: Check if Item is in Collection

    The Items property in the ComboBox class is simply a collection of Objects. Therefore, you can use the .Equals() method (as you can in any class in existence) to see wether the the item matches a...
  28. Replies
    6
    Views
    516

    Re: Vb 2005 Ide = Slow

    The problem is that when you have that many controls, and that all form classes are declared Partial (assuming 2005) then whenever you change a reference to that class or a control in that class, the...
  29. Replies
    8
    Views
    5,658

    Re: Treeview - Right click options

    Use the ContextMenuStrip property of the TreeView to set the right click menu. Create a new ContextMenuStrip either at design time or runtime, set the property to the created ContextMenuStrip, and...
  30. Replies
    5
    Views
    1,075

    Re: Using the Coolbar control

    The Coolbar control has no support in .NET. Use the ToolStripContainer control, it is a parent for ToolStrip's, add your ToolStrip's to the ToolStripContainer and then you can add your items to the...
  31. Replies
    4
    Views
    570

    Re: Writing to a file in .NET

    You're most welcome, that's what these forums are for.
  32. Replies
    4
    Views
    570

    Re: Writing to a file in .NET

    It is even simpler in .NET using the StreamWriter class which is located in the System.IO namespace

    This code will create or open "C:\My Output Stream.txt" and write "I am writing to text files...
  33. Replies
    6
    Views
    1,760

    Re: AddressOf - With a Variable?

    Here is a simple delegate example

    Public Class Form1

    Private Delegate Sub MyDelete(ByVal showText As String)

    Private Sub Form1_Load(ByVal sender As System.Object, _
    ByVal e As...
  34. Replies
    3
    Views
    688

    Re: Help with progress bar

    You are using a single threaded application, so there is no code that refresh's your gui until you've read all of the processes' output. You need to manually refresh the clientrectangle of the...
Results 1 to 34 of 35



Click Here to Expand Forum to Full Width