Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Problem Runtime Error 430 continues

Problem Runtime Error 430 continues

Scheduled Pinned Locked Moved Visual Basic
help
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    erikkloeze
    wrote on last edited by
    #1

    I've got two computers, one XP and one 98 SE. On the XP computer I've programmed a little program and on that computer it works. Now, I want to run that computer on win 98SE (with VB6.0 Runtime Files installed!!). But when I want to run the program it gives a runtime error 430.... I realy don't now where the problem lies.. Here is the code for Form_Load: Private Sub Form_Load() List1.AddItem "Bart" ... ... ... ... ... List1.AddItem "Rutger" '--------------------------------------------- GetFiles "Gasten\" End Sub And: Public Function GetFiles(ByVal FolderName As String) Dim oFso As New FileSystemObject Dim oFolder As Folder Dim oFile As File Set oFolder = oFso.GetFolder(FolderName) For Each oFile In oFolder.Files Dim LengteFile, LengteFolder, A, B As Integer LengteFile = Len(oFile) LengteFolder = Len(oFolder) A = Lengte - 4 B = A - LengteFolder List2.AddItem Mid(oFile, LengteFolder + 2, (LengteFile - LengteFolder - 5)) Combo1.AddItem Mid(oFile, LengteFolder + 2, (LengteFile - LengteFolder - 5)) Next End Function Can anybody please help me!! This is very anoying!!! (¯`·._.·[eRiK]·._.·´¯)

    G 1 Reply Last reply
    0
    • E erikkloeze

      I've got two computers, one XP and one 98 SE. On the XP computer I've programmed a little program and on that computer it works. Now, I want to run that computer on win 98SE (with VB6.0 Runtime Files installed!!). But when I want to run the program it gives a runtime error 430.... I realy don't now where the problem lies.. Here is the code for Form_Load: Private Sub Form_Load() List1.AddItem "Bart" ... ... ... ... ... List1.AddItem "Rutger" '--------------------------------------------- GetFiles "Gasten\" End Sub And: Public Function GetFiles(ByVal FolderName As String) Dim oFso As New FileSystemObject Dim oFolder As Folder Dim oFile As File Set oFolder = oFso.GetFolder(FolderName) For Each oFile In oFolder.Files Dim LengteFile, LengteFolder, A, B As Integer LengteFile = Len(oFile) LengteFolder = Len(oFolder) A = Lengte - 4 B = A - LengteFolder List2.AddItem Mid(oFile, LengteFolder + 2, (LengteFile - LengteFolder - 5)) Combo1.AddItem Mid(oFile, LengteFolder + 2, (LengteFile - LengteFolder - 5)) Next End Function Can anybody please help me!! This is very anoying!!! (¯`·._.·[eRiK]·._.·´¯)

      G Offline
      G Offline
      GabM
      wrote on last edited by
      #2

      The FileSystemObject that is installed on the other computer is not compatible with the version that you have on your computer. Install Internet Explorer 5.5 or later on the Windows 98 SE and things will work fine. You may also look for a recent version of the scripting runtime from http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001169 - I usually prefer to required Internet Explorer 5.5 in my setups since the scripting runtime setup EXE sometimes seem to fail on some older computes.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups