Search:

Type: Posts; User: matrik02

Page 1 of 13 1 2 3 4

Search: Search took 0.38 seconds.

  1. Replies
    4
    Views
    1,033

    How to connet the server using VB

    I have Microsoft Access database stored in \\Nas . How I can connect the database store in the network using OLEDB ?
  2. Replies
    5
    Views
    5,974

    Re: Add new column in excel using Visual Basic

    It added in the first row. How to added it on the fourth rows within the tables
  3. Replies
    5
    Views
    5,974

    Re: Add new column in excel using Visual Basic

    Actually, I have table with 5 columns "A", "B", "C", "D","E". I would like to insert new column in the table using visual basic. The new columns in the table is "CATATAN". It take time to do manually...
  4. Replies
    5
    Views
    5,974

    Add new column in excel using Visual Basic

    I have 10 excel files in the folder. Each of the files have five columns. How I can add another one new column name "CATATAN" at the end of the columns so that I have six column.
  5. Re: How to centre the graphic in the picture box

    I would like to draw the line at the centre of picture box. Mybe I would like to move the line I drew to the center of picturebox
  6. Replies
    3
    Views
    1,083

    coordinate system for graphic

    I would like to know what are the use of ScaleHeight, ScaleLeft, ScaleTop, ScaleWidth, ScaleX, ScaleY). I don't have basic in coordinate system in visual basic. Need some explaination. Why the...
  7. How to centre the graphic in the picture box

    How to centre the graphic draw in the picture box?
  8. Replies
    3
    Views
    742

    Re: graphic draw line

    It work,

    Why you use Picture1.ScaleHeight? I cannot imagine. And why substract from Y, not from X ?
  9. Replies
    3
    Views
    742

    [RESOLVED] graphic draw line

    I want to draw line in picture box, When I compare with the autocad, the line much difference of what it draw in Autocad. Why? I thnik, it problem with The coordinate system in the picture box, How...
  10. How To Communicate Smart Card Reader With Vb 6.0?

    I have Microsoft Access 2003 and Visual Basic 6. How VB6 read the smart Card information from the smart card reader. I don't know how to start
  11. Replies
    4
    Views
    1,703

    Re: Degree minutes Second

    I able to use three textbox to convert degree, minutes and seconds into decimal degree. But I don't know how to use one textbox to 60.3030 to decimal degree
  12. Replies
    4
    Views
    1,703

    Degree minutes Second

    I have one textbox.

    I use the textbox to input the Value in Degree, Minutes, Second for example 60 Degree, 30 minutes, 30 seconds so I enter in the textbox like this 60.3030, How to Convert it...
  13. Thread: Loop Inputbox

    by matrik02
    Replies
    6
    Views
    730

    Re: Loop Inputbox

    How to terminated the program from continuing looping the program
  14. Thread: Loop Inputbox

    by matrik02
    Replies
    6
    Views
    730

    Loop Inputbox

    I have problem I used inputbox, How to loop the Xcor and Ycor inputbox untill the number of the input station



    Dim stnNumber As Integer
    Dim Xcor As Double
    Dim Ycor As Double
    stnNumber =...
  15. Replies
    6
    Views
    938

    [RESOLVED] Sin and Cos

    I have problem,

    I have 3 textbox for input degree, minutes and Second.

    I want to calculate the 'dipat' and 'latit'. How to input the degree minutes and second from the textbox into the Sin and...
  16. Re: How to Convert Decimal Degrees (DD) to Degrees-Minutes-Seconds (DMS)

    I test the code, something problem, it show 42 deg, 59 min and 60 sec,


    nDecDeg = 42.9999
    ' 1. deg
    nDeg = Int(nDecDeg) ' 42
    v1 = nDecDeg - nDeg ' .36824
    v2 = v1 * 60 '...
  17. Re: How to Convert Decimal Degrees (DD) to Degrees-Minutes-Seconds (DMS)

    hi Opus, what the problem with the code, I test it look fine to me. What your suggestion?
  18. [RESOLVED] How to Convert Decimal Degrees (DD) to Degrees-Minutes-Seconds (DMS)

    How to convert decimal degrees (example: 42.36824) to 42 deg., 22 min., 06 sec. in Visual Basic

    Manual calculation

    (1) The Degrees are simply the numbers to the left of the decimal (using...
  19. Replies
    10
    Views
    14,417

    Re: 3 decimal places

    When I type the value such as 3 in the textbox, it show 3.000. Why? I just want three decimal places for the floating number I typed in the textbox.
  20. Replies
    10
    Views
    14,417

    Re: 3 decimal places

    Dim Nombor1 As Double
    Dim Nombor2 As Double
    Dim Jawapan As Double

    Nombor1 = Val(txtNombor1.Text)
    Nombor2 = Val(txtNombor2.Text)

    Jawapan = Nombor1 * Nombor2
    txtJawapan.Text =...
  21. Replies
    10
    Views
    14,417

    3 decimal places

    I don't know how to start, How to show the value in the textbox in three decimal places... For example I have value 123.123456, I want it show 123.123

    Thank you
  22. Replies
    3
    Views
    1,770

    Re: How to resize the listview column header?

    I use VB 6. I got error at this line..It said not define..

    Public Sub LVAutoSizeColumn(lv As ListView, Optional Column As ColumnHeader = Nothing)

    Also at this line, I got error

    Public Const...
  23. Replies
    3
    Views
    1,770

    How to resize the listview column header?

    What's the easiest way to resize each listview column according to the width of the data in them. Thanks in advance.
  24. Re: How to populate file name in the directory?

    Thank you so much.. I would like to search a specific files with the extension *.shp.. How to do that?
  25. Re: How to populate file name in the directory?

    Where I have to put the directory name "C:\Database" in your code.
  26. How to populate file name in the directory?

    I have files in the C:\database.. I would like to populate the files in this folder into my combo box? How to start this?
  27. Replies
    10
    Views
    14,328

    View Google map in VB form

    How to view google map in the the VB form? How to start with this?
  28. Replies
    3
    Views
    1,033

    Files not found

    I read the files from vb,
    How to pop up the messagebox when the files not found?



    Dim txtVar1 As String
    Open App.Path + "\Data.txt" For Input As #1
    Input #1, txtVar1
    Close #1
  29. Replies
    1
    Views
    466

    Combine add [ ] , and vbCrLf

    I want to combine and add it in the textbox.. For information I want to show vbCrLf in the textbox not adding new line. The problem in the findlabel text. I don't manually but the listbox items...
  30. Re: How to add & and vbCrLf in the textbox

    I don't want to add new line.. I just want in one line. For your infor I want to show the text vbCrlf in the my textbox.. Not add new line. I can' do that

    If n <> ListBox2.ListCount - 1 Then...
  31. Replies
    7
    Views
    2,047

    Re: How to add comma

    Yes, Same in one line.
  32. Replies
    7
    Views
    2,047

    Re: How to add comma

    For comma, It ok... I would like to add the bracket [ ] and comma to be like this

    [Code], [N], [name]
  33. [RESOLVED] How to add & and vbCrLf in the textbox

    I have listbox, see the attach files, I want to show in the textbox like this.. when I click at the command button.

    [Code] & vbCrLf & [N] & vbCrLf & [name]
  34. Replies
    7
    Views
    2,047

    [RESOLVED] How to add comma

    I have listbox. See the attach files.. I want to add comma and [ ] in the textbox
    like this [Code], [N], [name] when I click the command button. how to do that?
  35. Replies
    17
    Views
    4,337

    Re: Export to Word from listview

    :wave: It work...
  36. Replies
    17
    Views
    4,337

    Re: Export to Word from listview

    Ok. I got the column header into Microsoft Word.. but I cannot get the listitems for the listview..I got the error message like this the requested member of collection does not exist. And the error...
  37. Replies
    17
    Views
    4,337

    Re: Export to Word from listview

    When I declare it as table, I got method or data member not found at this line . This is because .Rows not found. That why I declare otable as word.range


    otable.Rows(1).Cells(i).Range.Text =...
  38. Replies
    17
    Views
    4,337

    Re: Export to Word from listview

    I got the link from Visual Basic FAQ with title How do I add/modify/read a table programmatically?

    http://www.vbforums.com/showthread.php?t=402098


    but it not help me a lot. i don't find a...
  39. Replies
    17
    Views
    4,337

    Re: Export to Word from listview

    I unable to copy or export the tables into Microsoft Word.. I got error, no tables at this location.. I don't know why.. How I can copy this content in the listview to microsoft word




    Dim...
  40. Replies
    17
    Views
    4,337

    Re: Export to Word from listview

    I try to export whole contents of the listview. I got object variable not set at this line. I don't have selection.Range


    Set otable = odoc.Tables.add(selection.Range, 5, 5)
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width