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

Search:

Type: Posts; User: Charu0306

Page 1 of 11 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    1,440

    Re: Open a file from the VS Project folder

    Thank you. That worked perfect. Iam using Application.StartupPath as its targeted for XP and 2K only. Again, thank you very much.
  2. Replies
    6
    Views
    1,440

    Re: Open a file from the VS Project folder

    Thanks. This is a C# program, that I will make a setup and then distribute for installation.
    o, its not going to be in that folder.n I have decided to write it out from byte form. Will post the...
  3. Replies
    6
    Views
    1,440

    Re: Open a file from the VS Project folder

    thanks...so setting it as 'Always' and Build as 'Content' and using
    string path =
    System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase;

    string xmlFileUrl = new...
  4. Replies
    6
    Views
    1,440

    Re: Open a file from the VS Project folder

    Thank you. Yes, How do I invoke a file thats stored along with the other .cs files . I dont know wy there is no simple answer to this in the net. I searched a lot.

    I tried adding it as a...
  5. Replies
    6
    Views
    1,440

    Open a file from the VS Project folder

    Hi all,
    I have developed an app for which I want to show an Help File on clicking a Help button.

    I have Help.chm file stored in the same folder where other .cs files are stored in the...
  6. Replies
    0
    Views
    598

    .NET Licensing

    Hello,
    I'd like to know if there are any open source .NET licensing software - I searched aroud - activelocksoftware.com seems to be one. But, they do not have one meaningful example in...
  7. Replies
    4
    Views
    7,039

    Re: Xpath querying in C# - range check.

    Thanks, Iam comparing them after retrieving them , and converting them to DateTime.

    And yes, Ticks are not progressive, so Apr 2010's ticks are < than May 2010 ticks. :confused:
  8. Replies
    4
    Views
    7,039

    Re: Xpath querying in C# - range check.

    Thank you for the reply. I just gave those numbers as an example. So I use Dattime.Ticks property to make the comparisons. So, if they select Apr 25, 2010 to May 5, 2010, then I use

    long x =...
  9. Replies
    4
    Views
    7,039

    Xpath querying in C# - range check.

    Hi all,
    I store some data in XML, along with the date it was created. The Datetime.Ticks property has the no; of ticks since the year 1100. I want to allow the users to select a date range...
  10. Replies
    0
    Views
    3,775

    Apth query - range check

    Hi all,
    I store some data in XML, along with the date it was created. The Datetime.Ticks property has the no; of ticks since the year 1100. I want to allow the users to select a date range...
  11. Replies
    3
    Views
    2,474

    Re: Login Sessions in C#

    Thank you. Would you know to append to rtf? A, theres and AppendText() for RichTextBox in C#. Trying to use richtextbox1.rtf += "somestring"; throws up an exception, saying its not a valid file...
  12. Replies
    0
    Views
    930

    Appending RTF

    Hi,
    I have a RTF control, to which I want to append some text, and RTF which should be parsed and siaplyed exactly. So, I have RTF ( as a string) and would like to append to another RTF ...
  13. Re: How to get the ID of the Selected Row of the GridView?

    Isnt it that simple? gridview.SelectedRow.index or CUrrentRowIndex mus work. Doesnt it>?
  14. Replies
    3
    Views
    2,474

    Re: Login Sessions in C#

    Thank , you are right. There is no need to store that.
  15. Re: Selecting text in parent control from Modal dialog

    Thanks a ton, and it worked like a charm. So, I just set it TopMost = true; just before showing the Find dialog, and it works ! :)


    I opened another thread on login sessions in C#, interesting...
  16. Replies
    3
    Views
    2,474

    [RESOLVED] Login Sessions in C#

    Hi all,
    This is about Login sessions in C#. So, I have an application that stores data in XMLs and I let them create user info and store it in XML as well. Right now, Iam letting them login,...
  17. [RESOLVED] Selecting text in parent control from Modal dialog

    Hi All,
    Iam trying to impement a simple wordpad like Rich text editor or my app. So, I have a parent textbox, which initiates a dialog, to find text in the parent textbox. I want the...
  18. Replies
    9
    Views
    3,889

    Re: AES Encryption

    I guess the newer logic, using a pass phrase and salt to derive the encryption is better. What are you saying? We can use the Memory stream here in the logic above.
  19. Replies
    9
    Views
    3,889

    Re: AES Encryption

    For the record, The logic provided in that MSDN link is a wrong one, even thou its on MSDN!

    Iam going to use this code:

    http://www.obviex.com/samples/Encryption.aspx#Output

    Will try to...
  20. Replies
    9
    Views
    3,889

    Re: AES Encryption

    Thanks for the code! There is an invalid exceptin thrown in that code and Iam not convinced that it should be all that complicated. MSDN promises a simple logic (standard), and its stupidity that it...
  21. Replies
    4
    Views
    921

    Re: Events and garbage collection

    GC actually checks periodically for any unused references. In some cases, I found GC doesnt collect for brief time after the variable/object goes out of scope. Theres a method in GC to actually force...
  22. Replies
    9
    Views
    3,889

    Re: AES Encryption

    That's fine, even if its a VB.NET code, can you give me pointers?
  23. Replies
    9
    Views
    3,889

    Re: AES Encryption

    Iam sorry, it takes only 8 characters at a time. Thats why the padding, it encrypts correct I think :confused:

    You can see the code online in the MSDN link above. Thanks :)
  24. Replies
    9
    Views
    1,594

    Re: Get all Saturdays of one year

    Homework?
  25. Re: Get the list of Controls in the windows application

    If comparing the TabIndex property helps, then that would oranize your code too.
Results 1 to 25 of 252
Page 1 of 11 1 2 3 4





Click Here to Expand Forum to Full Width

Featured