Search Results - VBForums

Search:

Type: Posts; User: .paul.

Page 1 of 13 1 2 3 4

Search: Search took 0.49 seconds; generated 31 minute(s) ago.

  1. VS 2012 Re: Preventing TabIndex property code from being generated.

    you could use a ControlDesigner class to remove the properties:



    Imports System.ComponentModel

    <DesignerAttribute(GetType(MyControlDesigner))> _
    Public Class UserControl1

    Private Sub...
  2. Replies
    30
    Views
    278

    Re: How to play video in search listbox?

    This is how to use custom listItems.
    You really need to experiment with the code and figure it out for yourself from here on, because if you don't have a clue what your application does and why, do...
  3. Replies
    30
    Views
    278

    Re: How to play video in search listbox?

    In my opinion your application is poorly designed.
    I'd use custom listItems, so there is a direct correlation between the items you're adding to ListBox8 and the .mp4 file you want to play.
    The...
  4. Replies
    7
    Views
    101

    Re: ListView From Custom PHP API

    or:

    msgbox(lstOrder.Items.All(function(lvi) lvi.BackColor = Color.GreenYellow))
  5. Replies
    7
    Views
    101

    Re: ListView From Custom PHP API

    if there are no more instances of txtBarcode.Text, itm will be nothing
  6. Replies
    7
    Views
    101

    Re: ListView From Custom PHP API

    try this:



    Dim itm As ListViewItem
    With lstOrder
    Try
    itm = .FindItemWithText(txtBarcode.Text, True, 0, True)
    While itm.BackColor = Color.GreenYellow
    itm =...
  7. VS 2013 Re: Changing the property value of an item that is part of a List(Of T)

    For i As Integer = 0 to 10
    Stupid(i).Dummy = *new value*
    Next
  8. Replies
    3
    Views
    144

    Re: How to rotate string on picturebox ?

    Here's an example of rotating text:

    http://code.msdn.microsoft.com/VerticalLabel-660dbce3
  9. Re: Pay Calculator not computing tax correctly

    you should post the code instead of attaching a zipped project and format your code like this:


    'your code here

    which produces:


    'your code here
  10. VS 2013 Re: Changing the property value of an item that is part of a List(Of T)

    don't forget that should be New List(of Doofus) and you need to add object of type Doofus to the List
  11. VS 2013 Re: Changing the property value of an item that is part of a List(Of T)

    msgbox(Stupid(0).Dummy)

    or


    dim you as integer = -1
    Stupid(0).Dummy = you:D:D:D
  12. Replies
    30
    Views
    278

    Re: How to play video in search listbox?

    can you post an example of a listbox item?
  13. Replies
    30
    Views
    278

    Re: How to play video in search listbox?

    post your full code, so I can see where you're at
  14. Replies
    30
    Views
    278

    Re: How to play video in search listbox?

    if your listbox item is "hug.mp4", you can remove the select case and just use



    Dim lb As ListBox = DirectCast(sender, ListBox)

    AxWindowsMediaPlayer1.URL = lb.text
  15. Replies
    30
    Views
    278

    Re: How to play video in search listbox?

    actually that only solves part of the problem.
    can you give an example of an item in both listbox2 and listbox8?
  16. Replies
    30
    Views
    278

    Re: How to play video in search listbox?

    try this:



    Public Class Form1

    Private Sub ListBox2_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Handles ListBox2.SelectedIndexChanged, ListBox8.SelectedIndexChanged...
  17. Replies
    30
    Views
    278

    Re: How to play video in search listbox?

    how many listboxes do you have and what are they named?
  18. Replies
    30
    Views
    278

    Re: How to play video in search listbox?

    I'm not sure what you are trying to achieve with that code. Can you explain?
  19. Replies
    7
    Views
    101

    Re: ListView From Custom PHP API

    try:

    to add an item with all subitems:


    Listview1.Items.add(New ListviewItem(Row1))

    if you just want the first column populated:
  20. Re: How to send OK to Javascript Alert ? VB 2010

    That's not a JavaScript alert. Seems to be a dialog.
    In your code, the line where you navigate away, in the line before, start a timer. In the Tick event, stop the timer and then use SendKeys to...
  21. Replies
    3
    Views
    119

    Re: File association

    actually:D I read the post again more carefully, and I was spot on:D
  22. Replies
    3
    Views
    119

    Re: File association

    this might help. I don't know if you could use this as a registry value. maybe someone else can help implement it



    Public Class Form1

    Private Sub Button1_Click(ByVal sender As...
  23. Thread: shuffle symbols

    by .paul.
    Replies
    14
    Views
    318

    Re: shuffle symbols

    ok ignore my last post.
    why 35 items? i'm assuming the first row is column identifiers and the last row is column totals.
    can you explain how this shuffling will work?
  24. VS 2012 Re: Navigating items on ListView with Horizontal Scroll Bar Control

    there is a selecteditems property and a selectedindices property.
    if multiselect = false then listview.selectedindices(0) is the selectedindex

    edit: but it'll cause an error if there is no...
  25. VS 2012 Re: Navigating items on ListView with Horizontal Scroll Bar Control

    do you have MultiSelect set to False?
  26. VS 2012 Re: Navigating items on ListView with Horizontal Scroll Bar Control

    which View do you use in your listview?
  27. Thread: shuffle symbols

    by .paul.
    Replies
    14
    Views
    318

    Re: shuffle symbols

    They are not shuffled. They are assigned completely unrelated values
  28. Re: Causing a picture box gif to not stall when moved with arrow keys

    after moving the picturebox, refresh it and your gif will stay animated
  29. Replies
    3
    Views
    122

    Re: HELP inserting record onto DB

    null value is nothing
  30. VS 2010 Re: problem with compare the value of textbox with datatable rows

    for i=0 to dt.rows.count -1
    if dt.rows(i).item("CIN").valuetostring=textbox1.text
    message.show("deja existe")
    else
    form2.show
    next i

    that says, for every row that the CIN field =...
  31. Replies
    6
    Views
    305

    Re: How to set margins in print preview ?

    Don't forget to mark your thread RESOLVED (top right of original question - Thread Tools menu)
  32. Replies
    15
    Views
    716

    Re: VS 2012 compare file error

    yes. it'll work
  33. Replies
    15
    Views
    716

    Re: VS 2012 compare file error

    You'll have to figure out the rest of the code yourself.
    It's not difficult...
  34. Replies
    15
    Views
    716

    Re: VS 2012 compare file error

    Dim exists as Boolean = CheckAddress("HTTP:\\www.domain.com\textfile.txt")
  35. Replies
    12
    Views
    302

    Re: Arrays

    Change:

    Page2.NoOfCriteria - 1

    To:

    QuestionLabelsArray.GetUpperBound(0)
  36. Replies
    12
    Views
    302

    Re: Arrays

    here's a vb.net example:



    Public Class Form1

    Dim currentPage As Integer = 0

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  37. Replies
    12
    Views
    302

    Re: Arrays

    It returns an unused integer for your filenumber that you use in the IO operations.
  38. Replies
    12
    Views
    302

    Re: Arrays

    The problem is almost definitely the filenumber. You can create unique filenumbers with the FreeFile function.
  39. Replies
    12
    Views
    302

    Re: Arrays

    Is that vb6 code? It's definitely legacy code and in vb.net we'd recommend not using a lot of that code
  40. Replies
    12
    Views
    302

    Re: Arrays

    as kevin said, we need to see your code
Results 1 to 40 of 499
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.