Search Results - VBForums

Search:

Type: Posts; User: .paul.

Page 1 of 13 1 2 3 4

Search: Search took 0.25 seconds.

  1. Replies
    1
    Views
    44

    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:
  2. 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...
  3. Replies
    3
    Views
    80

    Re: File association

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

    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...
  5. Thread: shuffle symbols

    by .paul.
    Replies
    13
    Views
    236

    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?
  6. 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...
  7. VS 2012 Re: Navigating items on ListView with Horizontal Scroll Bar Control

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

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

    by .paul.
    Replies
    13
    Views
    236

    Re: shuffle symbols

    They are not shuffled. They are assigned completely unrelated values
  10. 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
  11. Replies
    3
    Views
    110

    Re: HELP inserting record onto DB

    null value is nothing
  12. 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 =...
  13. Replies
    6
    Views
    280

    Re: How to set margins in print preview ?

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

    Re: VS 2012 compare file error

    yes. it'll work
  15. Replies
    15
    Views
    631

    Re: VS 2012 compare file error

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

    Re: VS 2012 compare file error

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

    Re: Arrays

    Change:

    Page2.NoOfCriteria - 1

    To:

    QuestionLabelsArray.GetUpperBound(0)
  18. Replies
    12
    Views
    265

    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...
  19. Replies
    12
    Views
    265

    Re: Arrays

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

    Re: Arrays

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

    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
  22. Replies
    12
    Views
    265

    Re: Arrays

    as kevin said, we need to see your code
  23. Replies
    15
    Views
    631

    Re: VS 2012 compare file error

    Public Function CheckAddress(ByVal URL As String) As Boolean
    Try
    Dim request As WebRequest = WebRequest.Create(URL)
    Dim response As WebResponse = request.GetResponse()
    ...
  24. Replies
    6
    Views
    167

    VS 2012 Re: select and focus the picturebox in vb.net

    try this:



    Private Sub PictureBox1_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseEnter
    PictureBox1.Select()
    End Sub
  25. Replies
    15
    Views
    272

    VS 2010 Re: SetUp new PC problem

    I'd try reinstalling 4.5
  26. VS 2008 Re: How to know if an active account is disabled or not

    try this:


    Const ADS_UF_ACCOUNTDISABLE As Integer = &H2
    Dim Flag As Integer

    Flag = Convert.ToInt16(de.Properties("userAccountControl").Value)
    If (Flag And ADS_UF_ACCOUNTDISABLE) =...
  27. Replies
    11
    Views
    527

    Re: String edit!

    'this splits the string into lines and puts the lines in the list
    Dim lines As New List(Of String)(s.Split(New String() {nl}, StringSplitOptions.None))

    'this loops backwards through the list,...
  28. VS 2010 Re: List(Of String) - Put first 100 values into a 2nd List(Of String)

    try this:



    Dim list2 As List(Of String) = list1.Take(100).ToList
  29. Replies
    11
    Views
    527

    Re: String edit!

    can you post an example to prove that?
  30. Replies
    11
    Views
    527

    Re: String edit!

    I built the string to test the code example, which will work with any string in that format.
    How can you ever expect to be helped when you disregard every suggestion?
  31. Replies
    2
    Views
    252

    VS 2013 Re: Help with using Environment Variables

    if you use vb.net to run your ISIS instances via process.start instead of using a batch file, you'll find the ProcessStartInfo Class has a EnvironmentVariables Property where you can set instance...
  32. Replies
    3
    Views
    258

    Re: How to implement a SQL project?

    That's what I thought:D
  33. Replies
    3
    Views
    258

    Re: How to implement a SQL project?

    If you create an installer it should set everything up for you.
    I can't be more specific. Maybe someone with more experience deploying db apps can advise you.
  34. VS 2005 Re: How to create a grid to drop graphic objects on

    try this:



    Imports System.ComponentModel
    Imports System.ComponentModel.Design
    Imports System.Collections.ObjectModel

    Public Class gridPanel
    Inherits Panel
  35. Re: VB NET working with word object and running macros through VB NET

    Did you try AppActivate to give focus to the Word document before SendKeys?
  36. Re: Wait for File.Delete to finish before proceeding

    Isn't there an overwrite parameter available in the save command?
    There would be no need to delete.
  37. Re: Wait for File.Delete to finish before proceeding

    try switching lines 3 and 4
  38. Replies
    11
    Views
    527

    Re: String edit!

    try something like this:



    Dim nl As String = Environment.NewLine
    Dim s As String = "Physical Dmg" & _
    nl & nl & _
    "+8.5" & _
    nl & nl & _
    "Armor" & _
  39. Replies
    0
    Views
    200

    win7 phone browser caching

    When I use the back button on my win7 phone while browsing vbforums I get a cached page shown instead of a current view.

    Can anyone tell me how to correct this?
  40. Re: EASY QUESTION PLEASE ANSWER FAST! TabControl Add Items in runtime!

    goto: Documents\Visual Studio ####\Backup Files

    you might be lucky
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.