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 Mike Lewis 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: *

  • Users: bearfish
  • Order by date
  1. bearfish

    windows 2003 server shared folder disappeared

    Hi, I have this problem when a shared folder suddenly disappeared. When I try to enable sharing back, the Sharing and Security tab is not available. There is nothing i could do until I rebooted the server again, then the shared folder appeared again. Can anyone shed some lights what caused this...
  2. bearfish

    sprintf string re-position

    ok. thank u. i got it.
  3. bearfish

    sprintf string re-position

    sorry for my flimsy code. i reconstruct my line again for the part1 data, sprintf(tmpBuf,"%8.8s",tbl.fld1); but still the data when printed out aligned to the left eventhough I've added "%+8.8s", by default it is not necessary. Any idea why?
  4. bearfish

    sprintf string re-position

    ok. thanks. for clarity purpose, everything shrink into one single statement will result in a very long statement.
  5. bearfish

    sprintf string re-position

    I've tried use "%8.8" before and the program traps. The codes look like this.. sprintf(tmpBuf,"%8.8s",8,tbl.fld1); strcat(dataBuf,tmpBuf); sprintf(tmpBuf,"%s",2,tbl.fld2); strcat(dataBuf,tmpBuf); sprintf(tmpBuf,"%s",15,tbl.fld3); any other suggestions? or why it traps?
  6. bearfish

    sprintf string re-position

    I have a string consist of 25bytes concatenate together by 3 different string. The first string consist max 8 bytes. If the first string is less than 8 bytes, I want to position it to the right side. I use the command: sprintf(tmpBuf, "%8.*s", sizeof(8), datapart1); But when it printed out with...
  7. bearfish

    Error upload text file to AS400 via Client Access ODBC

    Hi, I found out there is missing spaces at the end of line. Thank you for your suggestion to check the line for shorter one.
  8. bearfish

    Error upload text file to AS400 via Client Access ODBC

    I did not see any shorter line in any of the rows. There is an extra line after the last row of record. Even after I manually remove the extra newline after the last row, it still return the same error. Do I need specific config to upload data to AS400?
  9. bearfish

    Error upload text file to AS400 via Client Access ODBC

    Yeah. I've check that I did not make an extra vertical line at the last column. Its already set with red vertical line at the last column by default. I'm not very sure the row delimiter is LF, but on my text file, there is no delimiter. The text file is generated by a C program, where, it use...
  10. bearfish

    Error upload text file to AS400 via Client Access ODBC

    Hi, I'm a newbie and using DTS Import/Export Wizard to upload a text file to AS400. My text file is a Fixed field. So I've selected File Type: ANSI, Row Delimiter: {LF}, then insert vertical line on the text to specify the starting and ending position for each column. I've configured my DNS as...
  11. bearfish

    XML Insert error

    ok. i uncheck the anonymous access, then able to write to xml. thanks for your help.
  12. bearfish

    XML Insert error

    I've added the folder Person as virtual directory in the IIS. Have enabled Script source access, read, write. I guess this should allow to write into the folder. Execute Permission, I've set to scripts only. Any idea whats gone wrong?
  13. bearfish

    XML Insert error

    Hi, i got this message when trying to insert from web form into xml file. Error Type: msxml3.dll (0x80070005) Access is denied. /person/VerifyPerson.asp, line 64 // 7) Now save the nodes to the file line 64 -> xmlDoc.save(Server.MapPath("Person.xml")); What does Server.MapPath point to...
  14. bearfish

    redirect to new link

    thanks alot. url.Append ("http://mail.anyone.com/"); works.
  15. bearfish

    redirect to new link

    hi, below is the code, after login successful, i want to redirect the user to a new link. The code redirect back to http://localhost/test/mail.anyone.com/UserEmail. How can I redirect to http://mail.anyone.com/UserEmail ? Thanks alot. StringBuilder url = new StringBuilder ( ); url.Append (...
  16. bearfish

    open port 110

    Hi, is there a way to open port 110 without restarting Windows?
  17. bearfish

    how to retrieve data in checkbox format from Access

    I got it work. Thanks alot for your suggestion.
  18. bearfish

    how to retrieve data in checkbox format from Access

    The trick doesnt work. Though no error, but can't show it on the VB form. It doesnt checked on the form when in DB its Yes, means its checked.
  19. bearfish

    how to retrieve data in checkbox format from Access

    Hi, My database using Microsoft Access set the field A as data type Yes/No. When I try to retrieve the data back to my VB screen to got this error "Run-time error '380': Invalid property value " The code below is how i retrieve the value A. Anyone know why? ANything miss out...
  20. bearfish

    How to extract string using delimiter

    Thanks johnwm. It works too. I didnt realise Left() function can be extended.

Part and Inventory Search

Back
Top