User Profile

Collapse

Profile Sidebar

Collapse
anuvanand1
anuvanand1
Last Activity: Jul 28 '09, 10:56 AM
Joined: Oct 30 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • anuvanand1
    started a topic stack and heap size
    in C

    stack and heap size

    I want to calculate the maximum stack and heap size required by my C program?

    weather it is possible ? if so how can i find it?
    See more | Go to post

  • anuvanand1
    started a topic c Program for play sound
    in C

    c Program for play sound

    I am in need of user defined function for Play sound .........
    See more | Go to post

  • anuvanand1
    replied to Dynamic Memory Allocation-Urgent
    in C
    I am new to c...so kindly help me in defining a owner for a memory...
    See more | Go to post

    Leave a comment:


  • anuvanand1
    started a topic Dynamic Memory Allocation-Urgent
    in C

    Dynamic Memory Allocation-Urgent

    I am writing a program for portable devices hence memory management is a big constraint.

    To my knowledge only if u free the dynamically allocated memory it can be used further..

    My doubt is
    I have a function which is returing a pointer.
    pointer is dynamically allocated .....if I free the pointer before returning then it is useless or dangling pointer problem arises....or if I free after returning...
    See more | Go to post

  • anuvanand1
    started a topic file content unique
    in .NET

    file content unique

    Hai, can you give me any idea for saving unique data in to a file?
    My problem is that Ihave a textbox which contains strings and thease contents are store into a file.I want to save only unique items to save into the file.Please help me.........
    See more | Go to post

  • anuvanand1
    started a topic length of binary file
    in C

    length of binary file

    How to find the length of the binary file using C?
    please help me........
    See more | Go to post

  • anuvanand1
    started a topic size of returning pointer
    in C

    size of returning pointer

    i have a fn of type
    short* funname (char*)

    when i call this function it returns short array
    how to find the the size of that returned array
    See more | Go to post

  • anuvanand1
    replied to combobox problem
    in .NET
    [CODE=vbnet]Private Sub Button2_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles Button2.Click
    Dim a As String
    ComboBox1.Items .Remove(ComboBo x1.SelectedItem )
    combobox1.refre sh()
    If ComboBox1.items .count=0 Then
    combobox1.items .clear()
    End If
    End Sub[/CODE]


    here is my code if I delete element...
    See more | Go to post
    Last edited by Shashi Sadasivan; Jan 25 '08, 10:56 AM. Reason: adding code tags

    Leave a comment:


  • anuvanand1
    replied to combobox problem
    in .NET
    sir
    If I delete last element from the combobox it is deleting ,but the element is displayed in combobox ie it is not clearing the textarea of combobox

    for ex
    if i have elements 1 to 5 in combobox and if I delete serially the last element 5 is deleted but in combobox 5 is displayed

    plz neglect the previous code
    See more | Go to post

    Leave a comment:


  • anuvanand1
    replied to combobox problem
    in .NET
    [CODE=vbnet]Private Sub Button2_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles Button2.Click
    Dim a As String
    If ComboBox1.Selec tedIndex <> -1 Then
    a = ComboBox1.Selec tedItem
    ComboBox1.Items .Remove(ComboBo x1.SelectedItem )
    MsgBox(a)



    End If



    ...
    See more | Go to post
    Last edited by Shashi Sadasivan; Jan 25 '08, 06:10 AM. Reason: adding code tags

    Leave a comment:


  • anuvanand1
    started a topic combobox problem
    in .NET

    combobox problem

    Hai,
    Ihave a combobox and button in my application.Whe n i select an item in the combobox and click the button the item will be deleted and the message box shown the item deleted.My problem is that when i deleted the last item them will not deleted it exist in the combobox but the message box shown the item deleted.Then iagain open then the combobox is empty.What can i do? Please help me..........
    See more | Go to post

  • anuvanand1
    started a topic Database protection

    Database protection

    Hai,
    Can you give me any other method to protect access files except password protection.
    See more | Go to post

  • anuvanand1
    started a topic Database and VC++

    Database and VC++

    Hi,
    This is a doubt.
    My friend said me that we can protect our database using vc++.Is it true?
    I have no idea about that.Please help me
    See more | Go to post

  • anuvanand1
    replied to Listbox: Case-sensitive efficient search
    in .NET
    Can you give me another metod
    See more | Go to post

    Leave a comment:


  • anuvanand1
    replied to Listbox: Case-sensitive efficient search
    in .NET
    Hi,
    my code is

    l = lstHin.Items.Co unt - 1
    i = 0
    For i = 0 To l
    s = lstHin.Items.It em(i)
    If (s.StartsWith(t xtHin.Text, StringCompariso n.Ordinal)) Then
    lstHin.Selected Item = s
    Return
    Else
    lstHin.Selected Index = -1
    End If
    Next
    See more | Go to post

    Leave a comment:


  • anuvanand1
    replied to Listbox: Case-sensitive efficient search
    in .NET
    Hi,
    My listbox is directly connected with the database.
    And I don't know what is Dictionary <T,T> class.
    Plz help me
    See more | Go to post

    Leave a comment:


  • anuvanand1
    replied to Listbox: Case-sensitive efficient search
    in .NET
    Hi,
    I want to apply case sensitive(A not equal to a).so i use the following code,
    I used this code in textchanged event.
    Code
    l = lstHin.Items.Co unt - 1
    i = 0
    For i = 0 To l
    s = lstHin.Items.It em(i)
    If (s.StartsWith(t xtHin.Text, StringCompariso n.Ordinal)) Then
    lstHin.Selected Item = s
    Return
    ...
    See more | Go to post

    Leave a comment:


  • anuvanand1
    replied to Listbox: Case-sensitive efficient search
    in .NET
    Hi,
    The data is the words in dictionary.My project is developing a dictionary.
    See more | Go to post

    Leave a comment:


  • anuvanand1
    started a topic Listbox: Case-sensitive efficient search
    in .NET

    Listbox: Case-sensitive efficient search

    Hi ,
    I have a list box and a textbox.The listbox containing very large number of words.When i enter a word in the textbox that word will be selected in the list box.(Case sensitivity is using ie...A and a are different).
    My problem is it take lot of time.What can i do?
    Please help me......
    See more | Go to post
    Last edited by anuvanand1; Nov 30 '07, 11:18 AM. Reason: The probem is not copleted

  • anuvanand1
    replied to Listbox
    in .NET
    section in listbox

    Hai,
    I have a lstbox and a textbox.If i enter a string in textbox that item in the listbox will be selected.The problem is when i enter Apple it select apple.What can i do? Please help me...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...