Jump to content
Xtreme .Net Talk

Liqdfire

Avatar/Signature
  • Posts

    27
  • Joined

  • Last visited

1 Follower

Liqdfire's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. sounds interesting would you be willing to post the code ?
  2. n/p also over the next couple of weeks I am going to be writing a USB Wrapper class. It will be native .Net but will allow access to USB
  3. You are correct you cannot accomplish this through FTP you would need access to the machine. You do not physically need to be able to touch the machine but you will need to be able to map a network drive. Is the machine local or in a data center somewhere, do you have an admin login into the machine ?
  4. When you map a drive you auctuall assign it a local drive letter for access. instead of looking in Network Neighborhoos try looking in My Computer. If infact the drive is mapped then there will be a drive letter there for that drive. Then you would use the file system watcher just like it was a local drive. You just watch the local drive letter. If your still don't see it catch me on pm and if your using windows XP we can setup a remote help request and I will auctually show you what I am talking about. :)
  5. I think you would be better off using a .png file instead of a .ico file and doing the drawing of the control manually let me see if I can find a example that will help you out
  6. Communicating with USB in .Net is no easy chore. Basically you would take the same code for VB6 and port it over because you have to use un managed api calls. I had a very hard time getting it all to work in .Net nativaly so I ended up making a Vb6 Activex Control with the vb6 code and added a reference to it in my .Net project. I know not the mose efficient way to do it but it works. http://www.intel.com/intelpress/usb/documentation.htm http://www.intel.com/intelpress/usb/examples/vboverview.htm
  7. if your looking to make a packet monitor then you might want to check here http://www.mentalis.org/soft/projects.qpx they have some source you can look @
  8. Well you basically need to set it to a value for the maximum image size you wish to allow someone to try and use. You need to take in consideration who is going to be using the service and what kind of connections they will have as well as expected traffic. You don't want to overload you connection but you also don't want the client to wait 30 minutes for the image to upload. Other than that its pretty much a judgement call on your part. I wouldn't recommend anything voer 10 megs personally.
  9. It will work only if the file system is on a windows 200 or XP machine. You should map the drive then use your local mapping for the watcher or tru using the UNC \\<servername>\<sharename>
  10. what you need is the original .png file from Foood but you have to license the icon from him to use it.
  11. Even though the aspnet account has write rights you still need the IUSR_<machinename> to have write rights to the directory. You might even try impersonation that allows the app to run inthe same user context as the account its impersonating instead of the asp app domain. Also did you change your machine.config to reflect the system process type to system instead of machine ?? C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\CONFIG\machine.config ie <processModel enable="true" timeout="Infinite" idleTimeout="Infinite" shutdownTimeout="0:00:05" requestLimit="Infinite" requestQueueLimit="5000" restartQueueLimit="10" memoryLimit="60" webGarden="false" cpuMask="0xffffffff" [color=Red]userName="machine"[/color] password="AutoGenerate" logLevel="Errors" clientConnectedCheck="0:00:05" comAuthenticationLevel="Connect" comImpersonationLevel="Impersonate" responseRestartDeadlockInterval="00:09:00" responseDeadlockInterval="00:03:00" maxWorkerThreads="25" maxIoThreads="25" />
  12. Public Class DirMaker Public Function GenerateSaveDirString(ByVal Month As String, ByVal Day As String, ByVal Year As String) As String Dim Ret As String Dim Mon As String = ConvertMonth(Month) Ret = "C:\Imported\" & Mon & "-" & Year & "\" & Day & "\" If Not System.IO.Directory.Exists(Ret) Then System.IO.Directory.CreateDirectory(Ret) End If Return Ret End Function Public Function ConvertMonth(ByVal Month As String) As String Select Case Month Case 1 : Return "Jan" Case 2 : Return "Feb" Case 3 : Return "Mar" Case 4 : Return "Apr" Case 5 : Return "May" Case 6 : Return "Jun" Case 7 : Return "Jul" Case 8 : Return "Aug" Case 9 : Return "Sept" Case 10 : Return "Oct" Case 11 : Return "Nov" Case 12 : Return "Dec" End Select End Function End Class
  13. one really nice thing about the .Net system.io namespace it that there are all the functions needed to do this. Imports system.IO It NOT directory.exist("<directory name>") then directory.create("<directory name>") end if the <directory name> can also include subdirectories. IE say you need C:\Test1\Vb\Samples\Monday\11AM and you do not even have a C:\Test1 directory by passing in all of the sub directories it will create them as well
  14. Thx I already have a working class for dealing with DB9 Serial
×
×
  • Create New...