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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jahchong

  1. jahchong

    Checks if file can be written to?

    Ruffnekk, I can't check only for the FileAttribute since the file may be read-only or not. If it is read-only, fine noone can modify it and can check it with your function. Now if it is not read-only, the user may or may not have write access on the file. Either because of OS security settings...
  2. jahchong

    Checks if file can be written to?

    My code is in a function and needs the Return True to perform additional tasks :) Well I'll stick with your suggestion. ;) If someone else has another method let me know. Thanks TipGiver
  3. jahchong

    Checks if file can be written to?

    Is it really good programming practice? If I do what you suggest, I would have something like this: Try . . . ' Opens writer swFile = New System.IO.StreamWriter(FilePath, False, System.Text.Encoding.Unicode) Return True Catch exIO AS System.IO.IOException ' Writer...
  4. jahchong

    Checks if file can be written to?

    Typo: It's not FileIOException but System.IO.IoException :P
  5. jahchong

    Checks if file can be written to?

    Hi I have a text file that I use to hold some information. At one point, this text file needs to be edited. So far so good. The problem is that the file may be located on a media that does not allow write access (floppy with write protect, CD, or no write access on file for user). I've tried...
  6. jahchong

    Access 2003 crash

    Hi I have an application developed in access 2003, which loads custom libraries(also in access 2k3). The problem is that everytime a library is modified (a property/function/ whatever) then the development environment crashes, with the send/don't send box. what can be the reason for this? it's...
  7. jahchong

    Installshield - show dialog based on feature selected

    Hi i'm trying to package my application in an MSI project using installshield Premier 10.5. Now i want to be able to show a dialog when the user selects a particular feature in custom setup. How can i do it? Thanks
  8. jahchong

    Permissions Error

    Hi Are you sure you have enabled IIS to execute .asp pages? Check in Default Web Site properties -> Home Directory -> Configuration -> Mappings. See if .asp is in the list. If not, add it
  9. jahchong

    Cannot create new website in Win XP Pro/IIS 5.1

    The company I work for uses IIS already, and there's too much implication to shift to apache webserver (lot of things to move and application to install again + i doubt it that the app will use the apache webserver as default) Thanks for suggestion though :)
  10. jahchong

    Cannot create new website in Win XP Pro/IIS 5.1

    Thanks.. :) I have to find a 2k server for my tests then
  11. jahchong

    Cannot create new website in Win XP Pro/IIS 5.1

    Hi I'm trying to host multiple websites on a single computer. My problem here is that I can't get started because I don't even get the NEW option when i right-click Web site in IIS. I'm testing this on Win XP Pro SP2/IIS 5.1 before eventually moving to Win 2k3 Server/IIS 6.0 Is it a problem...
  12. jahchong

    Expected ':' error on preloading image

    Dan, no i get the same error. Can it be that there is some syntax error somewhere that i haven't spotted? I've checked the URLs that are passed as arguments, and they are correct.
  13. jahchong

    escape double quotes

    it does work. what error are u having? don't 4get to put ; at the end of the line
  14. jahchong

    Expected ':' error on preloading image

    Helo I have this function for preloading some images from dreamweaver: function MM_preloadImages() { //v3.0 var d=document; if(d.images) { if(!d.MM_p) d.MM_p=new Array(); var i,j,a; j=d.MM_p.length; a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) {...
  15. jahchong

    Drag &amp; Drop a button control over another button

    Helo Can I drag & drop a button control on another? it doesn't seem to fire any of the drag* event.

Part and Inventory Search

Back
Top