Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Santor

    Help with writing rows to Excel please

    As requested here is my code... Private Sub Add_Record(ByVal source As Object, ByVal e As _ System.IO.FileSystemEventArgs) Dim en As New CultureInfo("en-US") Thread.CurrentThread.CurrentCulture = en Dim uFile As String = e.Name Dim TheDate As String =...
  2. Santor

    Help with writing rows to Excel please

    First, I am a VB/ADO newbie so type S L O W L Y when answering please. I have collected and modified some code that watches folders and when a file arrives in a watched folder it writes the file name and date to a row in an Excel database using Insert into. It works OK until I open the DB and...
  3. Santor

    Looking for 1 prog that will remote admin, file trans & file prnt

    Yes, PCA 10. But I do not believe it will perform the remote printing portion. If it does, please let me know how. Thanks
  4. Santor

    Looking for 1 prog that will remote admin, file trans & file prnt

    Does anyone know of a program that will do all of the follwing over a VPN... Remote administer File transfer to and from mapped drives Allow printing a file to a printer at another location. If not, is there another way to do all these? John
  5. Santor

    Windows ME slows down

    1 sure way to cure this is to get XP! When I had ME I had to reboot 1-2 times per week to temporarily cure this slow down problem. Never could find a cause or a pattern to it. Since I got XP I've had no problems. My opinion ME = Junk John
  6. Santor

    How do I write a VB prog to execute w/o a form

    Yup, that's what I did in VB6, delete the form, Sub Main in module and so forth. But when I try this in .Net it says it can't find a "Valid Sub Main()" and to add it to the class declaration. How do I do this? John
  7. Santor

    How do I write a VB prog to execute w/o a form

    Thanks I'm still just learning so bear with my stupid questions. What code should be in this invisible form to run my program code which I currently have in a module? John
  8. Santor

    How do I write a VB prog to execute w/o a form

    All the books and tutorials always show you how to write a program starting from a form. I want to write an EXE that runs just by double clicking a desktop shortcut to it, without any forms at all. What must I do to accomplish this? I'm using VB.Net by the way. John
  9. Santor

    How do I confirm a PC Anywhere VB file transfer

    I'm automatically transfering files from a local folder to a similarly named folder on the host. But, since the return value of the FileXferToHost command only indicates if the command executed or not, I can not be sure the file actually transfered. My only idea is to attempt to transfer the...
  10. Santor

    pcANYWHERE OLE code for VB

    AmeriTouch I'm still a little green when it comes to VB but here goes nothing... You are correct that AwConnect pretty much always returns True. It seems that this only indicates that the command line was run and has no real bearing on the actual success or failure of the command itself. This is...
  11. Santor

    help! my system hung when compiling an application

    Are you compiling to a local drive? My system hangs also but only when I try to make an EXE to a network drive. John
  12. Santor

    Repost. FSO error 70. Why do I get this? How do I avoid it?

    Both the folder and file are set to archive only. I take it both of you have copy/moved files using the FSO commands before with out this problem. John
  13. Santor

    Repost. FSO error 70. Why do I get this? How do I avoid it?

    strongm I promise this is the last ime I'll bother you on this. I erased the _log.txt files and ran it again with the same "Run-time error 70. Permission Denied" error. I'm running it from within VB, would this mess it up? When the error occurs chosing the "Debug" button...
  14. Santor

    Repost. FSO error 70. Why do I get this? How do I avoid it?

    strongm, So are you telling me that the code works fine for you unless that file exsists? John
  15. Santor

    Repost. FSO error 70. Why do I get this? How do I avoid it?

    Strongm Yes, quite sure, since when I comment out those lines the errors do not appear. Also, when I replaced those lines with a DOS string followed by a Shell command to perform the copy the program did copy one of the files and no errors appeared (I believe it only copied one file due to DOS...
  16. Santor

    Repost. FSO error 70. Why do I get this? How do I avoid it?

    How do I get around a Run-time error 70 "Permission Denied" when I try to run a fso.copy(filedest) or fso.MoveFile file, destpath command (where fso is equal to a valid file name). Here is the actual code (I'm a newbie so be gentle).. It is not a security issue since drive F: is a...
  17. Santor

    FSO file copy how do i get around run-time error 70

    Thanks for the responses. I have administrator rights on the server where both the source and destination folders reside and permissions on these folders is Everyone/Full and I can get a file to copy with a DOS command string and the Shell command. (just one though, I think it might be a folder...
  18. Santor

    FSO file copy how do i get around run-time error 70

    How do I get around a Run-time error 70 "Permission Denied" when I try to run a fso.copy(filedest) or fso.MoveFile file, destpath command (where fso is equal to a valid file name). Here is the actual code (I'm a newbie so be gentle).. Public LogTemp As Object Public fso As Object...
  19. Santor

    PC Anywhere host drive mapping

    Can anyone tell me if and how this can be done? I'm running an EXE on the remote machine that calls the host and transfers files to a drive that is a mapped drive on the host (another machine on the host's network). This works fine unless the drive is not mapped of course. How can I check to see...
  20. Santor

    pcANYWHERE OLE code for VB

    Lodis I had the same problem and discovered I had not made the directory I was transfering to on the Host. Make sure the paths on both ends exsist and that your spelling is correct. John

Part and Inventory Search

Back
Top