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 bkrike 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: Tve
  • Content: Threads
  • Order by date
  1. Tve

    FileSystemWatcher & InternalBufferSize

    Hi, I am using a FileSystemWatcher to monitor recursively file creation in a directory. Because there are really a lot of files, I wanted to increase the InternalBufferSize. I googled and found that if the buffer is not high enough on huge directories, it can actually miss some events. So I...
  2. Tve

    Cross-thread operation error with BackgroundWorker

    Hi, I am getting the 'Cross-thread operation error' when running a backgroundworker. I googled around and did a search here in the forum and I understand a trhead cannot write to another. The thing is I do not want to write, but actually only read. I want the backgroundworker to loop on a...
  3. Tve

    Need advice for ListView form

    Hi, I am currently learning C# and I would need some advice from experienced programmers. I am currently writting a small app that is comparable to a printing queue except that the app monitors directories for files and then processes them one by one. This is what I have done so-for: I have a...
  4. Tve

    Client - Server Followup

    Hi, This is a followup of the following thread . I decided to expose my requirements and eventually get feedback from the community. I have spent the WE looking for various options and I have found so many that I would really need advice on which technologies to use. Introduction: I want to...
  5. Tve

    Client - Server communications

    Hi, I'm pretty new to C# and I'm thinking of writting a small client-server application. I actually want to have a program running twice on 2 machines talking to each other, I sppose like chat apps. I've done some searching and I have found some options using sockets, but I not convinced this...
  6. Tve

    C# general approach question

    Hi, This may seem a basic question, but I want to be sure I get this right. I'm writting my first C# form and I still need to understand a few basics. First question: My form displays a multicolumn listview to display files that are added by the user. I've created a class for thes e files as...
  7. Tve

    Including an external exe in project

    Hi, I'm new to C# and I'm trying to build a small application. This application needs an external program that will be called from inside my own application. Considering that this is a rather small *.exe, I was thinking of including the external exe in my own app and at runtime, extracting it...
  8. Tve

    Creating internal links within xml documents

    Ok here goes... By the nature of my question, you will understand I am new to XML. I an trying to create an configuration file in xml format instead og the plain old *.ini I have projects, that should be associated to a specfic version of an application. So my idee was to define applications...
  9. Tve

    How do use the 'Bulge' from a polyline

    Hi, I'm trying to write a small export utility in VB to write the coordinates of a polyline to a text file and I'm tripping on the the bulge. On a polyline, Autocad reports coordinates and a Bulge on a vertex. I need to convert this to an arc item, and my application supports a constructor...
  10. Tve

    MSQRY32.EXE and Excel

    Hi, I'm trying to build a SQL statement to get Excel data. The data is rather messed up, so I wanted to perform some cleanup within the SQL, but the SQL syntax for Excel is confusing me. I need functions, but I can't seem to find which functions are available: I'm used to the oracle functions...
  11. Tve

    Extracting dates with OCI

    Hi, I need to extract dates from an Oracle table: I am using the OCI functions. When I use the "ociresult" for a date field, I get someting similar to (see last two colums): 1088170292,1088170292,25-JUN-04,25-JUN-04 1088170292,1088170293,25-JUN-04,25-JUN-04...
  12. Tve

    Storeing filehandles in a hash

    Hi, I need to create a bunch of temporary files to store information. Best solution seems to be File::Temp, as the files will automatically be removed when script ends/dies. The thing is, I would like to store the filehandle references in a hash, this would make it easy to maintain, loop, ...
  13. Tve

    How do I print unix format files from Windows

    Hi, I have to create unix format files from windows environment. So I read in DOS files, parse the data and do things like print OUTFILE "new data\n"; I'm pretty sure I can use another string escape sequence and I tried \f and \r, but these did not give me what I needed... Any suggestions...
  14. Tve

    HashTable usage

    Hi, I'm trying to update an applet in HTML using javascript. According to documentation, I can pass the parameters as a Hashtable object which doesn't seem a bad idea. This may seem trivial, but I'm not really a javascript programmer, but more a perl/php guy. When I try to construct the...
  15. Tve

    Anonymous sub

    I'm trying to compute a value and return it to a scalar. want to do this through an anonymous sub, but I can't figure out the syntax. I basically have something like $val = sub { return 2 }; I'm creating a reference to the sub, but I would actualy like to get the value 2 in $val. Must sound...
  16. Tve

    Evaluation problem with regex loaded in array

    Hi, I'm processing a few hundred text files every night to do some cleanup. Basically, I loop on the files and process every line...easy. The thing is, I want to read the regular expressions from a configuration file. So I basicaly load the regex into a @regex array and I loop this array. It...
  17. Tve

    File::Find questions

    Hi, I'm using File::Find to look for files, but File::Find appears to traverse to folders in reverse aphabetical order, that is always starting from the last directory up to the first. I could of course put everything in an array and reverse it, but I could then be loading an huge array in...
  18. Tve

    Converting GET to POST

    Hi, I have an application that can callup any URL, including of course PHP, but only using the GET method. It's a bit unfortunate, since the users can see all the arguments passed to the script and could eventually attempt to hack it. My idee would be to have the php script check is the passed...
  19. Tve

    Loading a hash with an array

    Hi, I'm trying to load a hash with a array as follows: Standard syntax would look like this my @array = (15,89,23); my %hash = ("Value1" => $array[0], "Value2" => $array[1], "Value3" => $array[2] ); I'm trying to do the...
  20. Tve

    How can I easly get the index of a grep?

    Hi, If I do a grep on an array, grep returns the lines where the regex was found. I would like to return the line numbers instead of the contents. I've seen a standard solution (?somewhere?), but I can't seem to find it back. I'm trying not to re-invent the wheel, so if somebody has this...

Part and Inventory Search

Back
Top