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...
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?
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?
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...
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?
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...
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...
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?
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...
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 (...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.