Search Results - VBForums

Search:

Type: Posts; User: georgekar

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    27
    Views
    469

    Re: Save to database.. Please help

    So we speaking for handling the form status, and maybe that status in later weeks come bigger, with some more individual control states.
    The better way it to use memo as field type, and feed it wit...
  2. Replies
    8
    Views
    118

    Re: Can't Trap Program Crash - Need Help

    Check if you expect any arithmetic conversion from long to integer. I see that story in a program that runs ok on Xp and not on 7, and after I insert a lot of breakpoints, I found that in a numeric...
  3. Replies
    17
    Views
    293

    Re: Polymorphism in VB6

    function alfa(byval a as variant, byval b as variant) as variant
    if vartype(a)= 2 then
    alfa=a*b
    else
    alfa=a & b
    end if
    end function

    ? alfa(2,4), alfa("sasd","adff")
  4. Replies
    17
    Views
    293

    Re: Polymorphism in VB6

    Sometime I use optional parameters, and an optional parameter can redefine the use of the function. With this way is easy to lost what happen to that function, and you have to read it again. Isn't...
  5. Re: Search hard drives for all files in a listbox

    There is a flag Nofiles...When NoFiles if True then No Files are listed. (I put No in front a flag to remember that it works inverted, false to get what it says...so NoFiles = False means with...
  6. Replies
    17
    Views
    293

    Re: Polymorphism in VB6

    I think using ParamArray we can have the same result like Polymorphism
  7. Re: Search hard drives for all files in a listbox

    http://www.vbforums.com/showthread.php?776243-How-to-get-all-the-sub-folders-under-a-directory-vb6&p=4757425&viewfull=1#post4757425
    I posted there for folders, but the class work for files too....
  8. Re: face trouble in buttons in a control array caption

    Nightwalker83,
    I like to see Greek words in a post such as pragmatically, but this is from word pragmatiko which means "a real thing". So in your case, the message above, you should wrote...
  9. Thread: vb6 error

    by georgekar
    Replies
    3
    Views
    124

    Re: vb6 error

    this is fault
    If "SELECT * FROM CLIENT WHERE CLIENT_NAME = ('" & txt_Client.Text & "')" Then

    because is like this
    if a$ then

    You have to place a numeric expression
  10. Re: How to get all the sub folders under a directory vb6

    This is my RecDir class, and there http://www.vbforums.com/showthread.php?774329-A-custom-compact-and-resizable-Open-File-Save-File-Folder-Select is an example of using it. Also there are three types...
  11. Replies
    51
    Views
    784

    Re: Find file in each Drive and Sub Folder

    I Think GetAttr(path & file) And vbDirectory) isn't good for a tree search... (as I found in the GetAFiles Example).
    When I make File Selector I change the GetAttr with that:


    Private Const...
  12. Replies
    51
    Views
    784

    Re: Find file in each Drive and Sub Folder

    Maybe is good for this utility to have the ownership of any file;

    I found something from there http://www.7tutorials.com/add-or-remove-take-ownership-option-right-click-context-menu

    There are...
  13. The last

    This is the last example. I remove the form1 with command buttons and place a nice selector as a main window. Also a make a fake taskbar title, and I can show selectors as modal window that can...
  14. Color Selector and Font Selector

    At last I add Font and color selectors, so now the set is complete.

    Color Selector has a new design, it is a list with 16 million elements (it is a virtual list...) as hex values and we can click...
  15. Re: Question: How to "Pause and Resume in VB6 DoEvents loop"

    For the last maybe it is a step motor and needs some pulses to have a round. But all the program shucks...because if anyone press the exit button then we loose the UI with a running timer.
    So this...
  16. Replies
    51
    Views
    784

    Re: Find file in each Drive and Sub Folder

    Look code here http://www.vbforums.com/showthread.php?774329-A-custom-compact-and-resizable-Open-File-Save-File-Folder-Select

    You can find a RecDir class that can be filled with type criteria but...
  17. Re: A custom compact and resizable Open File/Save File/Folder Select.

    The latest version of file selector
    I would like to make the color selector and the font selector same as this selector...so wait for some days...
  18. Re: What is the proper way to exit a nested For loop

    I like as goto and the Schmidt way is very good, and not only for a next for situation but also with any kind of function that return a by reference variable. See that
    Function...
  19. Replies
    13
    Views
    387

    Re: [RESOLVED] Instr function

    I have a "tester" in codebank that take a line of VB code and embed code to colorize it, without storing each part but the last part before bound the colorize code. So It works like a filter. If you...
  20. Re: Read data using vb6 by matching variables

    If some "data" are readings from a list of analysis then maybe some part aren't present, so some variables that get value from formulas can't get actually a value. What happen then? With a bit of...
  21. Re: How can I prevent the focus rectangle from appearing on a button

    I think the problem we face here has a different name that the name from title. Basic problem is the usage of the button. This button execute an external program so the display of graphic hold the...
  22. Re: How can I prevent the focus rectangle from appearing on a button

    If in a button click event add a set focus to other control then you have on that control the caret (the frame showing for focus). If that control has a left property a value of minus 40000 then...
  23. Replies
    12
    Views
    318

    Re: need help coding an "interrupt" button

    There is an advance technique to have an object that is a running process with or without UI and you can read or set properties as that process running, without founding window but only later binding...
  24. Re: Read data using vb6 by matching variables

    If variables have names as A1 or B12 or IK14 and also we have formula as value then we talk about a spreadsheet. But with any name variation we have a spreadsheet if in "cells" (variables) we have...
  25. Replies
    20
    Views
    510

    Re: Palette Viewer

    you can use Picture1.Line (x*ThatWidth, y*ThatHeight)-((x+1)*ThatWidth, (y+1)*ThatHeight), ThatColor, BF
    (use autoredraw = true for the form and picturebox) so you can define how the color...
  26. Replies
    20
    Views
    510

    Re: Palette Viewer

    In a form put a shape as disc and 3 textboxes

    Dim red As Long, green As Long, blue As Long

    Private Sub Text1_Change()
    red = Val("&h00" + Left$(Text1, 2))
    ShowDisc
    End Sub
    Private Sub...
  27. Re: Transfer LONG to SINGLE (and vice versa) with pure math.

    There isn't a function to map an integer to floating point number. All the bits in a float are not usable,and the NaN is not a number but has a bit representation. Let's face the problem..We say that...
  28. Replies
    20
    Views
    510

    Re: Palette Viewer

    You have to see if screen mode is 24bit or more. If no then your colors reading from getpixel, the vb not the api, is wrong.
    To get the hex value just look that hex$ convert a number to hex and...
  29. Replies
    20
    Views
    510

    Re: Palette Viewer

    Hungry Lion,
    Using API
    In a Module
    Declare Function GetPixel Lib "gdi32" (ByVal hDc As Long, ByVal x As Long, ByVal y As Long) As Long
    Public dv15 As Long
    ' in a MAIN sub
    dv15 =...
  30. Expanded Width and Tree View (at set up: recursive no limit)

    Here ia a screen shot from Folder Selector, using in setup (you can open it from two white bars thar are shaking when you operate the list) the recusrve style (is a radio button) and Expand Width...
  31. Images from Window 7

    Checking the dialog in a Windows 7 computer.
    Works fine
  32. Re: A custom compact and resizable Open File/Save File/Folder Select.

    At last the control is ready. I put it on the first post.
  33. Re: Problem : Generating Unique Number (too slow)

    I like the Auto Increment Number too. For some reason this guy didn't used. Locking the table for one field is not a problem if any time one user can put a new record. But all the other records in...
  34. Re: [RESOLVED] correct code to save data from arduino in VB6 received by serial com

    Welcome
  35. Re: Problem : Generating Unique Number (too slow)

    IkkeEnGij,
    Nothing explains at that posts. My idea is to use the power of a database. Using a table you can lock the record so no one can get that record and change the value. Are you happy with...
  36. Re: Using FileSelector class to make a compact Open File dialog

    New way to resize (by drag the lower right corner) but with an option in Set Up menu to "expand width". When we reduce the size, we always end in a standard ratio height/width. We can have in any...
  37. Re: Problem : Generating Unique Number (too slow)

    I have an idea for you...morbid.ivan
    I think is the top solution...you need a table with one record with one field..CNUMBER. You only find once the CNUMBER, and store it in that table and then you...
  38. Re: correct code to save data from arduino in VB6 received by serial com

    For calculations on dx/dF is better for each X advance to have total X / total F. In your newer application you get X as output, so f is always the current f and X is the current X. So forget the dx...
  39. Resizable File and folder Selector

    New version. When we put "" for top path the selector give us the drive list. Also can open with UNC names any folder from network (but I haven't a list yet to display a starting point to browse). A...
  40. Re: Run VB6 executable on Windows7 using Citrix and thin clients

    Can you upload the image only?
Results 1 to 40 of 235
Page 1 of 6 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.