User Profile

Collapse

Profile Sidebar

Collapse
keeaun
keeaun
Last Activity: Apr 4 '07, 08:10 AM
Joined: Apr 4 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How can i store my collected data to notepad through VB

    hi all,
    i'm quite new to VB and i want to store my collected data to VB automatically once i press the command button. Till now i only manage to save through the pop up window using the commondialog1. can anyone please help me? may i know how to declare a notepad application in VB like :-
    Newfile=CreateO bject("Excel.Ap plication")

    i wrote: NewFile=CreateO bject("Notepad. Application") but come out error saying...
    See more | Go to post
    Last edited by Killer42; Apr 5 '07, 03:50 AM. Reason: Please use [CODE]...[/CODE] tags around your code.

  • keeaun
    replied to how save data in msword through vb6
    guys,

    below is my code to save the data in notepad
    can anyone pls teach me how to autosave cos this code there will be a pop up window for saving..
    thanks a lot.

    Code:
    Dim array_data As String
    Dim x As Integer
    Dim list_array As Variant
    
    List1.Clear
    array_data = "yes"
    
    CommonDialog1.CancelError = True
    On Error GoTo CancelButton
    CommonDialog1.Filter
    ...
    See more | Go to post
    Last edited by Killer42; Apr 8 '07, 03:04 AM. Reason: Please use [CODE]...[/CODE] tags around your code.

    Leave a comment:

No activity results to display
Show More
Working...