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

Search:

Type: Posts; User: vcstarter

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. Visual Studio Add in Menu Not Showing Up

    I am using the following code to add a menu to visual studio here is the complete function (see below)

    it works fine; the problem is when i take it to a test station (I mean when I move the dll),...
  2. Replies
    0
    Views
    692

    File Download Counter

    I try to implement the code from this link to count the files downloaded from my site

    http://blog.donnfelker.com/2008/04/29/simple-download-counter-httphandler/

    It works fine only for a single...
  3. Replies
    11
    Views
    733

    Re: Change Background of Menu

    it works fine; the oly problem is that I wonder if it is possible to change the color of the menu item separator. I coulfn't find a way to change its color.
  4. Replies
    11
    Views
    733

    Re: Change Background of Menu

    It is possible to check the for the separator and change that color as well. Wile the bacground color of the menu changes, but it will be nice to identify the separator and change its color
  5. Replies
    11
    Views
    733

    Re: Change Background of Menu

    sorry, I did not copy it. I commetted the line out.
  6. Replies
    11
    Views
    733

    Re: Change Background of Menu

    Still crashed on the same spot event when commented out your suggestion
  7. Replies
    11
    Views
    733

    Re: Change Background of Menu

    comment this line out and remove the separator you can see it works fine

    if (!item is ToolStripSeparator)
  8. Replies
    11
    Views
    733

    Re: Change Background of Menu

    it crashed somewhere here

    foreach (ToolStripMenuItem item in items)

    after interacting through the menu and encounter a menu separator
  9. Replies
    11
    Views
    733

    Change Background of Menu

    I try to change the background color of a menu, but the program crashed when the menu item is a separator. I try to check to see if there is a separator before I make the change, but I cannot get...
  10. Replies
    0
    Views
    236

    Visual Studio Customization

    I try to write an add in for visual studio. Currently, I can only add one command at a time to the tools menu. I want to know how can I add a menu item with dropdown command to the tools menu or...
  11. Replies
    3
    Views
    1,269

    Re: cannot delete image file using File.Delete

    Did you check the attribute to make sure the file is not protected? You may need do that or clear the attribute for the file first.
  12. Re: how to get the installation paths without using regedit.

    There are other ways to do it, but you can do it this way by using the applicationdirectory class in

    using System.Security.Policy;
  13. Replies
    5
    Views
    1,305

    Re: C# File Operations

    I think you approach the problem the wrong way. You have to use the stream class to write the file line by line then read it line by line then delete specific line that you want. The way you have...
  14. Replies
    2
    Views
    777

    Re: Empty DataGridViewComboBoxColumn

    I don't know if i answer your question, but you have to click on the property of the specified combobox column and populate it. For instance if your combobox is column3, then you select it by...
  15. Re: GetPrivateProfileString Reading Section With Multiple Keys

    OK I will do so, this is basically what I am working on now
  16. Re: GetPrivateProfileString Reading Section With Multiple Keys

    I cannot modify the file. It is given as is
  17. Re: GetPrivateProfileString Reading Section With Multiple Keys

    this is not an .ini file. It is an special purpose text file
  18. Re: GetPrivateProfileString Reading Section With Multiple Keys

    I try to use getline, but getline only stop reading before delimiter. I want to start reading after '=', not before. Is there a way I can modify it.




    streamFile.getline(myChar, 10, '=');
  19. Re: GetPrivateProfileString Reading Section With Multiple Keys

    In this case, I may need to use getline from std library to retrieve the items which are duplicate. So how can I use getline in this particular case?
  20. GetPrivateProfileString Reading Section With Multiple Keys

    I want to know if it is possible to use GetPrivateProfileString to read a section where the keys are duplicate. I try it, but I can only retreive one key. This is my file format

    [Section Name]...
  21. Replies
    1
    Views
    1,038

    Converting Ini Text File to CSV

    I have a file where I read data. While the data is in the linear format, but it is not straigt fowardto convert it by simply use carriage return and add comma after. My data looks like
    ...
  22. Replies
    3
    Views
    1,506

    Re: Export Data to CSV

    I used 2D array in order to solve the problem, but it looks like some data are written in the wrong column. I pass the data to couple of 2D array, then do something like that



    ...
  23. Replies
    3
    Views
    1,506

    Re: Export Data to CSV

    In term of data type, there should not be any problem. All my data are in "int",

    using

    <<intVariable

    Simply write them to a text file

    I did not think about the column headers, but they...
  24. Replies
    3
    Views
    1,506

    Export Data to CSV

    I am trying to write some data to a CSV format, but I do have a problem. Sime I have a lot of data rows, it looks like some data may not fall into the right column. To get started, I used the...
  25. Replies
    11
    Views
    1,074

    Re: Question about memcpy or memmove

    Basically what I mean, I use memcpy and memmove to duplicate the data in the form of for instance, if I have x[1 2 3]; now after after copy x to y multiple time, y looks like [1 2 3 \0 1 2 3 \0...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width