CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: DinoVaught

Page 1 of 12 1 2 3 4

Search: Search took 0.11 seconds.

  1. Determine if a DataGridView's horizontal scroll bar exists?

    Visual Basic 2010, .NET 3.5 Is there a way to pragmatically determine if a DataGridView's horizontal scroll bar is active or visible? I need to move a few items about when the DGV's horizontal scroll...
  2. Replies
    1
    Views
    1,020

    VB features not available to WEB apps?

    Anyone know of VB desktop application features that can NOT be implemented in an intranet WEB app?
  3. Re: Problem with modem response for AT commands

    The description you provide sounds like, maybe, invalid line settings with the modem. Try commenting out the lines below and see what happens.

    m_comport.dcb.fOutxCtsFlow = TRUE;...
  4. Re: counting each repeated Items in Listview using vb6

    I was able to recreate the same error you mention.

    Although you can load more than 32767 items into a listbox or treeview, as soon as you try to read them using List(###) and ### is more than...
  5. Re: counting each repeated Items in Listview using vb6

    Falahjomor,

    I see a multiple questions from you regarding ways to count the frequency of words from a text file. I have an example below, it doesn't use the listview control that you ask about....
  6. Replies
    7
    Views
    3,035

    Re: Find the semi perfect numbers

    Indeed, it was a bit of a guess on my part. Im just sort of bored today, just throwing that out there in case it might give MerkeZ a different perspective or spawn a new thought possibly. .
  7. Replies
    2
    Views
    821

    Re: Error in Module

    Private Sub ClearTextControls()
    Dim ctl As Control

    For Each ctl In Form1 ' loop all controls on Form1
    If TypeOf ctl Is TextBox Then ' If the control is a TextBox
    ...
  8. Replies
    7
    Views
    3,035

    Re: Find the semi perfect numbers

    Does this help?



    Private Sub FindPerfectNumbers()
    Const SIX_DIVISORS As String = "6, 3, 2, 1"
    Const THIRTY_DIVISORS As String = "30, 15, 10, 6, 5, 3, 2, 1"
    Const THIRTY_SIX_DIVISORS As...
  9. Replies
    1
    Views
    682

    Mimic behavior of a loaded form?

    Does anyone know how to make a standard VB EXE (Unattended execution enabled) continue to run without loading a form. An App that starts in Sub Main and continues running as if a form is loaded even...
  10. Can anyone give me a general idea of what this code does?

    I have very limited experience in C++ but. . . I have to figure out what a particular part of a Visual C++ v_6's source code is doing in order to mimic it in another language.





    //...
  11. Replies
    2
    Views
    910

    Data Encryption API?

    What is the API used for data Encryption in visual basic? Im looking for the one that returns a key when encrypted, then that key is needed to decrypt the data
  12. Replies
    32
    Views
    3,041

    Re: Still my program is running :(

    If you don't mind being a little messy . . . Put an "End" Statement after your loop. That oughta shut her down.
  13. Re: Programmatically register an ActiveX component or DLL

    In my situation there can not be any human intervention. It has to be done programmatically so. . . If I used the /s switch with regsvr32 and passed it an invalid path. Under these conditions...
  14. Re: Programmatically register an ActiveX component or DLL

    I do have one other question for you. What is the best way to know if the registering or unregistering failed? The calls to LoadLibrary and GetProcAddress return 0 when I feed them an invalid path...
  15. Re: Programmatically register an ActiveX component or DLL

    Thanks for the sample code WoF. It seems to be working perfectly for me! :) I am currently creating an application (that will reside on each PC) and will distribute or copy all of our other...
  16. Programmatically register an ActiveX component or DLL

    Does anyone know how to programmatically register an ActiveX component or DLL with visual basic? Not by shelling regsvr32 but with API calls where the name of the DLL is NOT hard coded into the...
  17. Re: How to create text files and xml files from vb

    Call the function below like this. . . pass it a recordset and it will create an xml file from of the recordset you pass to it. It also returns the recordset completely detached from its...
  18. Replies
    1
    Views
    1,222

    ADO, LDAP default 1000 records??

    Does anyone know how to get around the default 1000 records (limitation) that are returned when doing LDAP queries? The code below only returns 1000 records. Records consisting of network login IDs...
  19. Replies
    5
    Views
    23,634

    Re: Add items to ListView?

    Dam I feel dumb. That was easy. How about adding icons to the items in the list? I have a handful of icons (.ICO files) I need to programmatically add (from a network share or hard drive) to the...
  20. Replies
    5
    Views
    23,634

    Add items to ListView?

    I have the code below which puts two column headers at the top of my ListView control, (Title) and (Description). . .



    Private Sub Form_Load()

    Me.ListView1.View = lvwReport

    ...
  21. Replies
    13
    Views
    2,194

    Re: ListView control question

    As easy is this may seem, I am really struggling with this. Was the ListView made buy Microsoft or some other company because the little documentation that I can find about it seems incomplete and...
  22. Replies
    13
    Views
    2,194

    Re: ListView control question

    Me.ListView1.ListItems.Add , , "Stuff 1"
    Me.ListView1.ListItems.Add , , "Stuff 2"
    Me.ListView1.ListItems.Add , , "Stuff 3"

    Thats starting to work. The code above does add the (stuff)...
  23. Replies
    13
    Views
    2,194

    Re: ListView control question

    That looks easy enough but. . . my ListView control does not have an (Items) method or property its enumeration.

    In fact, the only items in it that start with an (i) are (Icons) and (Index)
    ??
  24. Replies
    13
    Views
    2,194

    ListView control question

    Does anyone know the most basic syntax to add an item to a listview control? Ive been looking at this for hours and cant get anywhere with it.
  25. Replies
    2
    Views
    1,563

    Re: Convert VB code from DAO to ADO

    I had a consulting gig a few years ago where we converted DAO to ADO on about 35 applications. I basically worked through all the DAO code got an understanding what it did and recoded it using ADO. ...
Results 1 to 25 of 281
Page 1 of 12 1 2 3 4





Click Here to Expand Forum to Full Width

Featured