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

Search:

Type: Posts; User: Niya

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    322

    Re: Combination of characters.

    Hmm...well its kinda like counting don't you think ? Imagine we only had 4 symbols for representing basic numbers:-

    000
    001
    002
    003
    010
    011
    012
    013
  2. Replies
    3
    Views
    434

    Re: Killing Previous Instance of VB6 Application

    Is there some reason you cannot have the application terminate itself ?
  3. Re: Problem displaying the savefiledialog while saving a file.

    Did you do anything to the main thread or the threading model of the application itself ?
  4. Re: I need help converting modal to modeless dialog boxes

    Use the Show method instead. Note though that it would not block so you can't wait for a return value and you can't wrap it in an Using block. Instead you handle the FormClosing event and expose the...
  5. Re: Problem displaying the savefiledialog while saving a file.

    Do you get that exception on the line that opens the dialog ? As far as I know, that dialog has nothing to do with OLE.
  6. Replies
    2
    Views
    659

    Re: ms sql server 2008 databases synchronize

    Look up "publication and subscription" for SQL Server. I believe these features allow for synchronization.
  7. Re: How to grab an element by it class, and saying if it contains a number

    [DELETED] Double post
  8. Re: How to grab an element by it class, and saying if it contains a number

    Are you already able to retrieve the HTML for the whole web page ?
  9. Thread: Datagridview

    by Niya
    Replies
    4
    Views
    200

    Re: Datagridview

    Did you put a breakpoint to see if it is actually setting ReadOnly to True ? Your comparison is case-sensitive hence "Old" is not equal to "old"
  10. Thread: Graph Control

    by Niya
    Replies
    4
    Views
    334

    Re: Graph Control

    Is your problem getting the data or using the graph ? Which is it ?
  11. Thread: Excrating a file

    by Niya
    Replies
    3
    Views
    391

    Re: Excrating a file

    I'm not sure but if the application is running is the security context of an admin account that shouldn't be an issue. I've never explicitly tested this so I'm not certain.
  12. Replies
    5
    Views
    429

    Re: Remove user control

    Generally you shouldn't be altering collections you're iterating. Datamiser's suggestion of iterating in reverse will work but note he is using a For...Next loop, a For Each...Next cannot work for...
  13. Replies
    5
    Views
    673

    Re: Retrieving Collection object from Listbox

    What type of object does getField return ?
  14. Thread: Serial code

    by Niya
    Replies
    6
    Views
    527

    Re: Serial code

    Id avoid the Dir function like a flesh eating plague.

    You can use My.Computer.FileSystem.FileExists instead.
  15. Replies
    9
    Views
    527

    Re: character array please Help!!!

    strcpy(name,"omshanti");
  16. Re: Create Button In VB.NET Programmatically And Save It as Permanence

    Well there would be less overhead reading from an INI file than an SQL Server database. So yes. However, that may not even be the source of your performance problems. Maybe there is something else...
  17. Replies
    5
    Views
    931

    Re: How to create command at runtime in V.Net?

    You can use something like:-

    Array.ForEach(Me.Controls.OfType(Of ComboBox).ToArray, Function(c As ComboBox) c.Items.Add("My Content"))

    I agree with DataMiser though, a design like this is not...
  18. Re: Problem in creating numeric textbox (.Net 4.0 - Winforms).

    I'd advise against shadowing the Text property to alter its behavior. There may be code in the base class that depends on it being a String. I have also written my own numeric TextBox control in the...
  19. Thread: Parse XML

    by Niya
    Replies
    6
    Views
    544

    Re: Parse XML

    The XmlDocument class can be used to parse XML data.
  20. Replies
    2
    Views
    643

    Re: VB equivalent to C++ char *

    Just pass the String as you normally would. P/Invoke would take care of the rest. Can you post your declaration of this function ?
Results 1 to 20 of 20



HTML5 Development Center

Click Here to Expand Forum to Full Width