Jump to content

tapgyn

Members
  • Posts

    9
  • Joined

  • Last visited

tapgyn's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Plese, my somehow IIS has a limit of peopleto connect to my computer and I want to raise it.Anybody knows how?Thanks a lot.
  2. If you want that to be on other computers,you may aswell make a service .exe(harder)or just make a .exe with a systray icon,that way you won't have a windows screen.:)But still, easiest way is as aspnetguy says...
  3. well, my suggestion is clear...I just double-posted by mistake,so I can't do anything to help make the forum more clean by undoing my mistake.How do you guys like it?
  4. Suddenly my IIS started to restrict me from writing files, basically, any writing thing I may try to do over System.IO will get me this... even System.Drawing.Image.Save('path') procedure fails... Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.UnauthorizedAccessException: Access to the path "C:\Inetpub\wwwroot\Gandia\Fotos\P\148.079.257_3.jpg" is denied. It gives me suggestions on allowing the folders for being written by IIS,but it was working before...I found this error when I was making the second file-uploader my website has,I tried to go to the first one I had made and it's broken too...I couldn't have changed that, it's been weeks I don't change any code on that pageand I remember it working just some days ago. :)Anyone give tips before I freak out
  5. Suddenly my IIS started to restrict me from writing files, basically, any writing thing I may try to do over System.IO will get me this... Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.UnauthorizedAccessException: Access to the path "C:\Inetpub\wwwroot\Gandia\Fotos\P\148.079.257_3.jpg" is denied. It gives me suggestions on allowing the folders for being written by IIS,but it was working before...I found this error when I was making the second file-uploader my website has,I tried to go to the first one I had made and it's broken too...I couldn't have changed that, it's been weeks I don't change any code on that pageand I remember it working just some days ago. :)Anyone give tips before I freak out
  6. Well, I'm a Delphi 2006 User and seems you are too...I used to think namespaces were nested objects, later on I learned they aren'tThis is a little chart of what namespaces really are...The unit uImgResize.pas is a file,it's an image resizer that works over JPEG formatwhere you have the following text inside------------------------------------unit uImgResizeinterfacetype TMyResizeTool= class ... end;implementationend.------------------------------------So let's say you have another Image Resizer, but this one works for BMP formats...they both have the same "look"(class and procedure names)So, you could as well call them JPEG_RESIZER and BMP_RESIZER, that would work...but a better way to have so many units files is to use the NAMESPACESso let's name them files as JPEG.Resizer and BMP.Resizer (it is extremelly recommended not to do it manually or through the explorer, use your Delphi or whatever program you have)so, now we are at the page where we have this uses clausesuses JPEG.Resizer, BMP.Resizernow let's declare a variable for eachvar bmp_rsz: TMyResizeTool; jpg_rsz: TMyResizeTool;oops, now we have a problem....it's ok, in this case we say the fullname of the classvar bmp_rsz: BMP.Resizer.TMyResizeTool; jpg_rsz: JPEG.Resizer.TMyResizeTool;easily corrected.Let's get some more problems to fix...procedure TWebForm1.SomeMethod;var bmp_rsz: BMP.Resizer.TMyResizeTool; jpg_rsz: JPEG.Resizer.TMyResizeTool;begin bmp_rsz := TMyResizeTool.Create; jpg_rsz := TMyResizeTool.Create;end;This would perfectly work without the namespaces, but it will throw an error, or even worse... "you won't be sure!"Once more, it's piece of cake...procedure TWebForm1.SomeMethod;var bmp_rsz: JPEG.Resizer.TMyResizeTool; jpg_rsz: BMP.Resizer.TMyResizeTool;begin bmp_rsz := BMP.Resizer.TMyResizeTool.Create; jpg_rsz := JPEG.Resizer.TMyResizeTool.Create;end;---------------------In a nutshell, NameSpaces aren't nested classes,they are just a fine way to organize your units,and believe me, use them! even if you use them,you won't have to write it fully all the time,IE if you want to make a textbox at runtime...it's nice you saytxt_01: System.Web.UI.TextBox;but you can just say txt_01: TextBox;-----------------------Answering you real question...WebSites aren't made of NameSpaces,NameSpaces are Separators for Units,that take effect on the classes it has inside.Hope I helped.
  7. Hi,Please, I have a registered www domain,so how can I make it redect to my PC IP's?I heard of some programs that can do it,but I'm not so sure if this is the best option.what do you guys say I should do to make it?Thanks for helping.
  8. Oh My God! Thanks Jesh!I had a stupid useless firewall I had installed like months ago.It runs as a service, so I didn't realize it could even really work (guess it did )Really Did Help
  9. Hi,I'm new at web programming and I am developing my first real-job from home.So sometimes my boss wants to connect to my computer to see how the pages are going.The problems is that he can't connect to my computer.I'm sure of the IP Address, and although it changes I don't need a fixed one,anyways I tried NO-IP and it didn't work.All I need is to make someone else access it from outside once in a blue moon and I can't get them to do it.I'm at WinXP SP2 / IIS 5.1I have called the internet company and they say my modem will only block me from making https.My administrator user has a password that I don't mind telling.And by the way formatting isn't a problem.My job's at risk, I really mean it.Please can somebody help?
×
×
  • Create New...