Jump to content
Xtreme .Net Talk

PlausiblyDamp

Administrators
  • Posts

    7016
  • Joined

  • Last visited

Everything posted by PlausiblyDamp

  1. what's in the style sheet? Anything that refers to elements in your page.
  2. these links may be worth looking at - free FTP components in .Net http://www.codeproject.com/csharp/ftp.asp?target=ftp%7Cc%23 http://www.codeproject.com/csharp/ftpdriver1.asp?target=ftp%7Cc%23 http://www.codeproject.com/dotnet/dotnetftp.asp?target=ftp%7Cc%23
  3. What code are you using to corrupt / un-corrupt (is that even a word I wonder) the file?
  4. If you are over writting existing characters then you would have to replace them with the original ones. If inserting them you will need to make sure the others are moved down again. Why not just have a look under System.Security.Cryptography - the built in classes offer a choice of known and peer reviewed encryption methods.
  5. How are you storing the extra characters - on the end or dotted throughout the exe (why do you want to corrupt an exe by the way?)
  6. I think Divil came up with a solution in the following thread http://www.xtremedotnettalk.com/showthread.php?s=&threadid=69047
  7. You will probably need to install VB6 as that is where the control comes from. However you may be able to do without the control and use native .Net functionality instead - what were you going to use the inet control for?
  8. What should the external address of your computer be? Does it show if you do an ipconfig /all ?
  9. I think it is overwritten as part of the build process. Add a configuration file to the project and it should be copied to the bin directory as part of the build.
  10. the function System.Net.Dns.GetHostName() returns multiple addresses doesn't it? (Only have one card in this machine) - can you not loop through the array to find all the other addresses?
  11. Does your PC have more than one IP address or do you mean you are behind a proxy / firewall and need to detect the 'live' address of you connection.
  12. http://www.xtremedotnettalk.com/showthread.php?s=&threadid=49600&highlight=address+local+computer
  13. Right click on the References entry in solution explorer and slect add web reference. Enter the url to the webservice and hit enter. If everything is okay you should be able to hit the add reference button at the bottom of the screen. You can now dim an instance of the web service pretty much like a normal class. http://msdn.microsoft.com/vstudio/using/building/webservices/default.aspx
  14. you mean a constructor that uses unsafe code (pointers and such like)? The following should do the trick - you will also need to modify the project properties to allow unsafe code. public class Class1 { public Class1() { unsafe { char * str; } } }
  15. does strPath point to a valid filename? How big is the image you are loading (filesize, colour depth, dimensions etc)?
  16. Why not keep the functionality as a web service and build both a windows front end and a web front end to the system?
  17. In the solution explorer add a reference to project2 and project3. In form one you can then do dim f2 as new Project2.Form2() 'You may need to replace Project2 with the real namespace of the project dim f3 as new Project2.Form2() f2.Show() f3.Show() edit : robby beat me to it.
  18. Whoops - misread your original post. Are you using picture boxes to display hte images or drawing them direct onto the form? the following may be of help http://www.xtremedotnettalk.com/showthread.php?s=&threadid=77894&highlight=trans%2A+form http://www.xtremedotnettalk.com/showthread.php?s=&threadid=70058&highlight=trans%2A+form http://www.xtremedotnettalk.com/showthread.php?s=&threadid=75335&highlight=trans%2A+form http://www.xtremedotnettalk.com/showthread.php?s=&threadid=77734&highlight=trans%2A+form http://www.xtremedotnettalk.com/showthread.php?s=&threadid=68906&highlight=trans%2A+form
  19. Have a look in MSDN for XMLSerialisation - probably the easiest way. Or failing that there is the entire XML namespace maybe XMLDocument or XMLDatadocument are worth a look.
  20. Have you tried setting the transparency key for the form?
  21. PlausiblyDamp

    Help!

    Got it dead right - InStr is a 'legacy' VB6 function.
  22. System.IO.Directory.CreateDirectory("c:\test\x\y\z") it will create the entire structure if it doesn't exist. Probably would have been quicker to try it than wait for a response....
  23. Where is the computer located - at home / work / school etc? Also do you know if there are any .Net security policies in place on that PC. Have a look under Administrative Tools, .Net configuration.
  24. Can you ping the host you are trying to connect to? Do you know if there is a firewall between you and the other hosts?
  25. What is the localhost's IP address? Can you access computers on the internet with other applications IE, ftp etc? Also if you drop to a command propmpt and type ipconfig /all do you have entries for the default gateway?
×
×
  • Create New...