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 SkipVought 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: *

  1. benjatado

    Dynamically split ArrayList into separate smaller ArrayLists

    Hi, I am trying to figure this brain-bender out... How to split an ArrayList of > 2500 items into seperate ArrayLists of <= 2500 items. The size of the initial ArrayList may be anywhere from 2501 to 40,000 items. But i need to dynamically loop through and separate the list into <=2500...
  2. benjatado

    Call process to run on networked machine

    Hi, I am at the point where I need to implement use of additional networked machines ("slaves") to perform processes that are called from one central "master" machine. The current build running local provides arguments to a local "worker.exe" through process.startinfo. How can I perform a...
  3. benjatado

    How to prevent same query result to multiple machines

    Thanks! However, I am experiencing some deadlocks now. I am trying to prevent these with READPAST, but I don't think this is helping? Basically my query looks like this: SET TRANSACTION ISOLATION LEVEL READ COMMITTED Begin Transaction SELECT TOP 60 [ID] FROM Files with (readpast)...
  4. benjatado

    How to prevent same query result to multiple machines

    Hi, I am working on a file processor that relies on the db to feed file records to different machines for processing. The problem I am having is the same file record (row) is being sent to 2 different machines simultaneously. In the db I have a "processing" column that flags the file record...
  5. benjatado

    Simultaneous Select/Update in one SP

    Hi, I have a SP that I am trying to achieve simultaneous select and update of the same (Top 30) IDs within a table. SELECT TOP 30 [ID] FROM Incoming WHERE Processing = 'N' UPDATE Incoming set Processing = 'Y' where Incoming.[ID] in (SELECT TOP 30 [ID] FROM Incoming WHERE Processing...
  6. benjatado

    spawn separate process independent of PageLoad

    Ok, thanks for both of your replies. Could I point to a separate build/process (exe or bat) outside from within the pageload without triggering any kind of waitforexit event of that external process? I am thinking I may be able to easily kick off another process that retrieves session and...
  7. benjatado

    spawn separate process independent of PageLoad

    Thanks Mark! I was afraid of that ;) Delegates are a bit confusing to me. So if I want to establish a delegate, can I pass it to another class and sub along with multiple parameters/values? ie: FileSetup.CopyFileRoutine(filepath, destination) And the subsequent pageload routine will go on...
  8. benjatado

    spawn separate process independent of PageLoad

    Hi - I am having a sick time trying to spawn a separate process independent of pageLoad Background: I have a site where files are requested from. Upon hitting "submit" requested files are written to db and file.copied to the storage location where the user will return to download (at a later...
  9. benjatado

    Upload FtpWebRequest issue

    Thanks - I will have to check this out too... I also found this cool FTPclient class - that is fairly usable as is... http://www.developer.com/net/vb/article.php/10926_3424121_1 Now I just have to work on multi-stream logic... -b
  10. benjatado

    Upload FtpWebRequest issue

    Hi - I am attempting to upload files to ftp via the .NET FtpWebRequest. I can upload the file to the ftp via a stream method, but cannot figure out how to specify the "target file name" on the ftp. Dim Ftp As System.Net.FtpWebRequest = DirectCast(System.Net.WebRequest.Create(Host)...
  11. benjatado

    Trigger page load on click event in ASP

    I am stumped with trying to trigger a page load in a button click event. I would like to display a "processing" statement prior to a redirect using the code below. If someone could let me know how to trigger the page load and make the processingtxt.Visible = true that would be super! Here is...
  12. benjatado

    Keypress event issues (PLEASE HELP.)

    Hi - I am attempting a similar action using the KeyDown event within a ListBox. However if I attempt to use this syntax, It will not find the KeyDown event? Is there something I need to declare or reference in order to get KeyDown functionality to work within a ListBox? Any help would be...
  13. benjatado

    Export to CSV omits first row

    Thanks Adam! However, it appears it was a MS built-in bug all along! I installed the latest MS-SP2 Hotfix patch for this bug and it works great. Wow, that really was a head-to-wall banger there for a bit, but I am glad it was a bug from MS and not something I was doing wrong... :þ -b
  14. benjatado

    Export to CSV omits first row

    I am having a problem with exporting to CSV from sql report server 2003. Each time I do this it will omit the first row of values returned...(works fine to excel). Instead of displaying the first row of values from the Group, it returns the names of the textboxes of the Details_Group ex...
  15. benjatado

    xls export merging cells

    I just got through this...This really blows... but I was able to solve this by deleting the "Header" section of the report. Then all columns snapped to thier position without merging. I found this page which may give you some more help on this...
  16. benjatado

    Value from a data grid

    I am trying to make this code populate a listbox with checkbox selected items from a gridview... however I am stuck on getting gridview item values to the listbox. Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click 'select the...
  17. benjatado

    return timing duration of .wav as String

    I am looking for a way to retrieve the timing/duration of a .wav file to String or Integer through VB. I have a file scanning application that scans contents of a dir and returns file info using the FileInfo method of the System.IO class - but retrieving the duration/timing of a media file is...
  18. benjatado

    HEX bits/ascii chars appear before &lt;?xml/&gt; declaration

    This is a strange thing... when I apply an exslt transformation to an xml doc I get 3 leading HEX bits before the <?xml/> doc declaration. this reads "EF BB BF" in hex editor... and only shows up in a hex editor text - as asii - i (with two dots), >> , and an (upside down question mark) But...
  19. benjatado

    Adding Time in XSL

    Jonty - Nice... I am using the exlt namespace! :-) So what are these functions? This nice example you provided was using the MSNS - correct? So I guess I am in luck using the exlt ns!? -b

Part and Inventory Search

Back
Top