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
2

224917

@224917
About
Posts
741
Topics
44
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Failed to Update system registry
    2 224917

    Does this[^] help?

    C / C++ / MFC help windows-admin tutorial announcement

  • Client /Server application with VPN connection
    2 224917

    Bugslayer1 wrote:

    3. The client program cannot connect to the server program when the client program is installed in a computer is logged in through VPN into a company network.

    Are you able to establish connection to the server socket using telnet.exe from the client box?

    -Suhredayan

    C / C++ / MFC sysadmin help tutorial question

  • Windows service & Timers
    2 224917

    Msdn says, the timer handler method does not execute on the thread that created the timer; it executes on a ThreadPool thread supplied by the system. And the threads in the managed thread pool are always background threads. Does this explain why you are not receiving a callback on the UI thread when tried from WinForm or WF applications?

    C# help question

  • Question on shutting down another program and wating for it to exit.
    2 224917

    Is it spinning inside the while loop while (mytrue)? Also how did you verify the server has shutdown?

    C# question csharp sysadmin

  • Stack corruption - STRANGE PROBLEM!!
    2 224917

    Shailesh H wrote:

    line 2:dlg.SetTitle(strDialogTitle);//Set the dialog Title

    Is strDialogTitle of type CString? If then is it shared across threads? -Suhredayan

    C / C++ / MFC data-structures help

  • error PRJ0019: A tool returned an error code from "Registering ActiveX Control..." Issue
    2 224917

    Does this[^] help?

    -Suhredayan

    C / C++ / MFC help csharp visual-studio com debugging

  • error PRJ0019: A tool returned an error code from "Registering ActiveX Control..." Issue
    2 224917

    It should be somewhere inside tools->options Project->Properties->Custom Build Setup..."Post Build". Most likely the output file is configured to be registered using "regsvr32"

    Suhredayan

    modified on Thursday, December 17, 2009 1:09 AM

    C / C++ / MFC help csharp visual-studio com debugging

  • fatal error C1001: INTERNAL COMPILER ERROR
    2 224917

    Remember facing this before, but can't recall how did it got resolved :( . Can you try cleaning up the temp files/folder using CCleaner?

    -Suhredayan

    C / C++ / MFC c++ help question announcement workspace

  • MS-SQL - Bulk Insert query
    2 224917

    Ashfield wrote:

    How about defining a default value for the column?

    That may not work since the timestamp is same only per bulk insert. I do have a solution for this, wrap bulk insert inside a stored proc, and update the the timestamp from SP. But this would introduce few additional steps, was wondering if this can be avoided in case if BULK INSERT already has this feature. Thank you, Suhredayan

    Database database question

  • MS-SQL - Bulk Insert query
    2 224917

    I have a .csv file with following column:

    Col1,Col2

    And the data table has one extra datetime column:

    Col1,Col2,TimeStamp

    While importing data using BULK INSERT from the CSV, is there a way to specify the value for the TimeStamp column too? (Timestamp would be same for all the newly imported rows)

    Suhredayan

    Database database question

  • Preventing Windows messages from popping up
    2 224917

    After the error dialog, does your application continue to run? And do you know which is the API call that is causing this error?

    Suhredayan

    C / C++ / MFC json help question

  • doubt in CFile
    2 224917

    CFile is not the right object to work with excel. Presently what you are doing is, creating a text file with name "example.xls" and writing/overwriting its data. Maybe using "modeAppend" may help you to get away with the overwriting issue. But still may not serve your purpose. To modify an "real" excel file, or creating a new excel you need to use Excel . Microsoft provides a way to start excel.exe invisible through your program and then open an existing/create_new excel file and make changes to it. This is called Excel Automation/Office Automation. http://support.microsoft.com/kb/196776[^]

    Suhredayan

    C / C++ / MFC tutorial help question

  • a question?
    2 224917

    Can you post the code part that is creating the pop up dialog. Just to see how you are creating this pop-up dialog within your application.

    Suhredayan

    C / C++ / MFC question c++

  • a question?
    2 224917

    Your main application should not stop running if you close a pop-up dialog box that it created. Unless there is some kind of crash happening on the pop-up dialog box clean up.

    Suhredayan

    C / C++ / MFC question c++

  • WebBrowser control error INET_E_DOWNLOAD_FAILURE
    2 224917

    Is your browser getting switched to "Work offline" mode?

    -Suhredayan

    C / C++ / MFC question sysadmin help

  • How to convert hundreds of VS2005 soltions to VS2008?
    2 224917

    Seems you can run VS 2008 with command line parameter "/convert". Hope this[^] article helps.

    -Suhredayan

    C / C++ / MFC csharp visual-studio help tutorial question

  • how to search for a record in a file.
    2 224917

    He may have raised the terabyte issue only because you mentioned about vector. Maybe he was expecting something else - like it is may not be a good idea to search employee information based on name, since there may be duplicates.

    -Suhredayan

    C / C++ / MFC career graphics performance tutorial question

  • SHGetSpecialFolderPath(NULL, dir, CSIDL_LOCAL_APPDATA, FALSE) special path
    2 224917

    Chesnokov Yuriy wrote:

    in Vista it points to c:\ProgramData and it is not write access enabled Smile

    My bad, I assumed it being all user's profile folder, every user may have read/write permission to it. But on a second thought if that was true - then it would introduces security issues - imagine if a non-admin user logs in to the machine and installs an .exe into all_user's_startup folder. Next time administrator logs-in, the same .exe would run under administrator's security privilege. This might be one reason the default location/name of this folder is changed in Vista, to make more sense. :) It seems you may need to create/identify a folder, and have the permission set during the installation - either through your program, or as instruction to the person installing your app. That is the best I can think of - I know that might be something you may already have in your mind as a last option.

    -Suhredayan

    C / C++ / MFC csharp asp-net question

  • SHGetSpecialFolderPath(NULL, dir, CSIDL_LOCAL_APPDATA, FALSE) special path
    2 224917

    Chesnokov Yuriy wrote:

    I need a special folder that already has r/w access for particular user on that computer (either ASP.NET user, service application user, windows application user)

    Do you mean a user_profile directory where all the three users have read/write access? if then use: CSIDL_COMMON_APPDATA with SHGetSpecialFolderPath()

    -Suhredayan

    C / C++ / MFC csharp asp-net question

  • SHGetSpecialFolderPath(NULL, dir, CSIDL_LOCAL_APPDATA, FALSE) special path
    2 224917

    Chesnokov Yuriy wrote:

    >>Is there a way to find out these 3 locations with some specific function when invoked from windows application?

    No function may be available to do this. Because you are trying to access a different user's profile directory, what if the user is an Active Directory user account, and user profile's directory is on a network drive? What are you trying to implement? there should be some better solution than accessing another user's profile directory.

    -Suhredayan

    C / C++ / MFC csharp asp-net question
  • Login

  • Don't have an account? Register

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