CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: markenstein

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. run a program for everytime a file is copied to a specified folder..

    anyone have done a code like this?


    if i have users that copies files to a local or network folder, i wanted this "copy" or "move" as a trigger to to run a program that would prompt the user to...
  2. Re: reading a big text file and copy/save a portion to another text file..

    well.. here's the scenario actually.. and i'm still thinking how to do this.. or best possible approach to do this..

    i have one big log file that i have to monitor.. then i'll have this console...
  3. Replies
    3
    Views
    1,998

    Re: storing text in a string in c#

    i was getting an error - with something like element out of range so i thought, was i reaching some sort of a max for my string variable.. then i traced again and it came out that the error was for...
  4. Re: reading a big text file and copy/save a portion to another text file..

    or a different scenario:

    i have 2 files:

    bigfile.log = original file

    portion.log = a copy of a portion from the original file

    is there a way to get the difference between these 2 files...
  5. reading a big text file and copy/save a portion to another text file..

    had a prior question re: reading text files.. to the admins, just wanted to have this separate thread/question since the other one have been answered (or explained how to do it)..

    question is,...
  6. Re: how to read text file from bottom going up (reverse)..

    it's not a fixed length.. been searching for a better solution but all points (or suggests) the same approach as you've mentioned here.. appreciate the input and thanks.
  7. Re: how to read text file from bottom going up (reverse)..

    would it help if i know the total number of lines in the log file?
    say i have (using the example), 9 lines.

    can i read this from 9th line, then 8th, then 7th... then when I find the start of the...
  8. how to read text file from bottom going up (reverse)..

    the start of every log is the time stamp enclosed in "[" and "]"

    i wanted to read the last log based on the sample below where it should be:

    [1/26/12 1:06:11:621 CST] 0000003b ExceptionUtil E ...
  9. Replies
    3
    Views
    1,998

    storing text in a string in c#

    what's the best approach in storing this text/string value in c#?

    for example, this text (below) - can i store this into one string variable? I need to store this in a variable or array and...
  10. Login error showing up in SQL database logs

    I have an app that connects to a SQL database.
    In my code, i do have an exception for any failed attempts in signing in on the DB.
    I don't see any errors in my code but in the DB side, they are...
  11. causes for this error -Attempted to read or write protected memory

    what could cause this error:

    Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
  12. Re: windows forms app crashes when displaying a pdf page (from active x)

    so i was able to setup a machine with acrobat pro 9 installed and was ablt to replicate the issue (crashing). The problem was that in most computers, with acrobat X only it works. in some - with...
  13. Re: windows forms app crashes when displaying a pdf page (from active x)

    on the references, i have these .dll's (from FileNet):

    AxInterop.FNCAPTUREVIEWERLib.dll
    Interop.FNCAPTUREVIEWERLib.dll

    In the form, I have a panel. Inside the panel, I have this ActiveX named:...
  14. windows forms app crashes when displaying a pdf page (from active x)

    having this problem..

    when the app (.exe) is used in a workstation that have an acrobat full version 9, the app crashes (just terminates/closes) when trying to display a pdf page. i'm able to...
  15. Replies
    3
    Views
    4,777

    Re: remove Hashtable from memory?

    thanks!! now i know.
  16. Replies
    3
    Views
    4,777

    [RESOLVED] remove Hashtable from memory?

    I have a project that uses quite a number of hashtables.. some hashtables are used just within a method like this sample code:



    private void SampleMethod1()
    {
    ...
  17. Replies
    1
    Views
    841

    Inconsistent accessibility error

    I'm getting this error:

    Inconsistent accessibility: return type 'Testing.SampleClass1' is less accessible than method 'Testing.IndexPanel.IndexBatchEx(string)'

    in my main form i have this code...
  18. Still Newbie - how to access controls from Parent Form from a Child control...

    how to access controls from parentForm_Main (parent form) from a dynamically generated child control (say, childPanel - and the controls on this panel varies).

    say if in frmMain i have a few text...
  19. setting combo-box to enable/disable in a code...

    I have a form (frmMain) with one panel, 3 buttons and a combo box (this is outside of the panel)..

    is there a way to enable/disable the combo-box when one of the buttons is enabled (say button 1...
  20. Replies
    5
    Views
    1,325

    Re: how to get to the last object

    This worked!!! Thank you sir!!!
  21. Replies
    5
    Views
    1,325

    [RESOLVED] how to get to the last object

    I have this object (say named) "contents" and have this code/loop:

    int max = contents.Count(); //gives me the total count in contents

    foreach (object elements in contents)
    {
    ctr++;
    ...
  22. Newbie question.. help constructing SQL statement..

    Newbie question:

    Using MS SQL 2005..

    sample table structures and records:

    Table1:
    Batch_Name Time ...
  23. Replies
    9
    Views
    1,156

    Re: need help - using timers..

    thanks all..

    the process can't be simultaneous (or parallel processing if that's the correct term).
    the requirement is to execute SQL statements in each of the "if statements", go out of the...
  24. Replies
    9
    Views
    1,156

    Re: need help - using timers..

    trying to see if i can explain this better (or what i'm trying to accomplish)

    so i have this dictionary - say contains table names (which is dynamic - can be one, two or three table names in this...
  25. Replies
    9
    Views
    1,156

    Re: need help - using timers..

    basically, trying to see if a timer, within a timer would work (if this makes any sense).. thanks!
Results 1 to 25 of 55
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured