Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
N

ndkit

@ndkit
About
Posts
26
Topics
12
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Get used space of DVD disc
    N ndkit

    Can you explain more detail? I search and found the way to get all properties from Win32_CDROMDrive. However, the capacity information of DVD Drive seems not to be retrieved.

    C# question

  • Get used space of DVD disc
    N ndkit

    Currently, I use IMAPI library to get the used space of DVD disc on Win7. The calculation is start when insert DVD (handle by WM_DEVICECHANGE window event). However, with multi session disk (disk that is write many time without finalize), sometime it takes long time to get used space (double when comparing with Window Explorer). I also investigated and found some other ways to get used space (use IOCTL_DISK_GET_DRIVE_GEOMETRY, IOCTL_SCSI_PASS_THROUGH_DIRECT). The calculating time is improved but result is different from Window result. I also wonder there is any way that I can reuse the result of window (window also calculated the used space right after insert DVD) without re-calculating? Or any one else to calculate the used space? Thank you for your interested and helping me.

    C# question

  • How to get available gmail/yahoo.mail account automatically by C#
    N ndkit

    Sorry for my unclear meaning post content. I explain again as below: As you know, currently gmail or yahoo.mail service has many accounts. When someone want to create new account, the login name that he/she provides may be already used by others, so he/she must find another avaliable login name. So now, I want to develop a tool that support user to get available login name for solving this inconvenience. I googled and found the GmailAPI but seem that it doesn't solve for my case.

    C# csharp tutorial

  • How to get available gmail/yahoo.mail account automatically by C#
    N ndkit

    Hi all, Currently, i want to develop a tool which can fill avaiable gmail/yahoo.mail account automatically Note: available gmail/yahoo.mail account is account that can be used for register. Thanks, ndkit

    C# csharp tutorial

  • Build feature like "Find all references" in VS2008
    N ndkit

    Sorry, I explain more details as below: This is my context I have two solutions A & B which have many projects. In each project, I have class C (or method, or variable) that can be used in other project of same solution (example: A solution) or another solution (B). Each time I want to find class C (all places that is used), I must find in both solutions A & B. It can take more time and not easy to track information between two solutions. So I want to build a tool to analyze both solutions & give all references of class C in A & B. So, in order to find all references of class C, I just searching on a tool.

    C# visual-studio help tutorial question

  • Build feature like "Find all references" in VS2008
    N ndkit

    Thank for your help! I google to find some information about AST, but I can find a litle infor about it. Beside, I found CODEDOM parser (also in this site) and also looking on it. Can you explain or give more information about AST parser for me?

    C# visual-studio help tutorial question

  • Build feature like "Find all references" in VS2008
    N ndkit

    The source is source-code, not a compiled assembly.

    C# visual-studio help tutorial question

  • Build feature like "Find all references" in VS2008
    N ndkit

    Thank you for reply. But I want to build independent tool (not a add-in tool)

    C# visual-studio help tutorial question

  • Build feature like "Find all references" in VS2008
    N ndkit

    Hi all, I want to build my own feature like "Find all references" in VS 2008. Is there anyone know how to build it? Pls. help me.

    C# visual-studio help tutorial question

  • The best algorithm to get information (class, methos, enum, ...) in C# project
    N ndkit

    Just in case my code is fully documented with XML comments. Beside, with XML comment, I can't find reference of classes or methods that are using somewhere in source code.

    C# csharp c++ algorithms help question

  • The best algorithm to get information (class, methos, enum, ...) in C# project
    N ndkit

    Thanks for your answer. But I still want to build my own tool :). Beside, I also have a solution2 that reference to solution1 (location of them in different folder). And this tool can be search in both solution (just give it the location, and it will return the result)

    C# csharp c++ algorithms help question

  • The best algorithm to get information (class, methos, enum, ...) in C# project
    N ndkit

    Hi all, Curently, I have a big solution (include C#, VB, C++ projects). LOC of this solution is about 1000 KLOC. I want to create a tool to get all information in source file as below: class, method, enum, parameter of method, all place in source code where use class or method, ... Can you help me to find the best algorithm to get these information? Thanks for your support.

    C# csharp c++ algorithms help question

  • Create database to share folder
    N ndkit

    Hi all, Currently, I used SQL Server 2008 to create database on share folder as below query: DBCC TRACEON (1807,-1) CREATE DATABASE 20100914 ON (NAME="20100914_dat",FILENAME="\\HOST1\SHARE\20100914_DATA.MDF") LOG ON (NAME="20100914_log",FILENAME="\\HOST1\SHARE\20100914_LOG.LDF") with \\HOST1\SHARE has full permission for all person. When I run above query, the error is shown: System.Data.SqlClient.SqlException: Directory lookup for the file "\\HOST1\SHARE\20100914_DATA.MDF" failed with the operating system error 5(failed to retrieve text for this error. Reason: 15105). CREATE DATABASE failed. Some file names listed could not be created. Check related errors. Pls help me to solve it if you know. Thanks a lot.

    Database database help sql-server sysadmin

  • Can not create file using FileStream in release mode
    N ndkit

    Thank for your reply. About your question, I answer as below: - I also put the try-catch & look for Exception, but there is no exception. - The path is absolute path: C:\Program Files\MyFolder and it is existed. - I run in Window XP, VisualStudio 2003.

    C# debugging question announcement

  • Can not create file using FileStream in release mode
    N ndkit

    Dear all, This is my situation: I try to create text file by using below code: using (FileStream fs = File.Create(path)){}; It runs ok at debug mode, file is create at [path]. But nothing happens at release mode. What wrong with this code? Pls. explain for me if you know.

    C# debugging question announcement

  • Help to develop a service to get UPS information by unmanaged C++ code in Win7
    N ndkit

    According to the documentation on Win32_UninterruptiblePowerSupply: "Beginning with Windows Vista, this class is obsolete and not available because the UPS service is no longer available." http://msdn.microsoft.com/en-us/library/aa394503(VS.85).aspx Can you suggest another way to help me solve it?

    C / C++ / MFC tutorial c++ com help

  • Help to develop a service to get UPS information by unmanaged C++ code in Win7
    N ndkit

    Dear all, I want to develop a service (that is written by unmanaged C++) in Win7. This service can detect status of UPS, example: low battery, out of electric, etc.. It connect with UPS by RS232C cable through COM port. I google and find some funtions: GetCommState, SetCommState, GetCommModemStatus but don't know how to use it to check status of UPS (low battery, out of electric, ...) Pls. help me to solve it :( . Thanks a lot. Ratkit!

    C / C++ / MFC tutorial c++ com help

  • Find the best sort algorithm
    N ndkit

    Thanks for your support.

    C# algorithms data-structures performance code-review learning

  • Find the best sort algorithm
    N ndkit

    Thanks Alex, Can you explain more detail? Now, I'm undestanding: Quicksort is used for sorting D array after merge A & B. 1. If that's right, why don't we use merge sort to merge A&B to sorted D array? 2. If wrong, which algorithm you use when merge A&B?

    C# algorithms data-structures performance code-review learning

  • Find the best sort algorithm
    N ndkit

    Dear all, Currently, I'm finding the best sort algorithm for my case as below: I already have 3 input arrays that are increment sorted by times (each array contains about 1,000,000 elements). Now, I want to merge 3 arrays to one arrays (of course, it must be sorted). Pls. support me to find the best way to do it, to improve performance as much as posible. Thanks for your support!

    C# algorithms data-structures performance code-review learning
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups