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
K

kani98

@kani98
About
Posts
93
Topics
57
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • get difference between two double precision columns
    K kani98

    the columns are of type double.

    Database question

  • get difference between two double precision columns
    K kani98

    I am trying to compute the difference between two double precision columns, start_time and stop_time. I used this select statement: Select (stop_time - start_time) AS Duration From table; The result I get back is a column name Duration with empty cells. What should be the correct syntax? Thanks.

    Database question

  • search for files using only the file extension
    K kani98

    Hi there, is there a C# method that will allow me to search for all the files of a specific extension and then delete them? I know there is an Exists method, but what do I pass into the method? What I have available are the path to the files and its extension.

    C# csharp question

  • get path to client desktop
    K kani98

    Can you tell what class or function I need to use to get the "Save As" dialog box to pop up when the save button is press in ASP.Net using C#? Thanks.

    ASP.NET csharp javascript asp-net sysadmin question

  • get path to client desktop
    K kani98

    I am developing an ASP.Net web application using C#. The application will display information on the page in a Datagrid. The application will have a "Save" button that will allow the user to save the information in the Datagrid into a CSV file on the client's desktop. I tried using Server.MapPath(), but all I get are paths on the server. Is there a C# function I can call to give the path to the client's desktop or do I need to use some Javascript function? Thanks.

    ASP.NET csharp javascript asp-net sysadmin question

  • Highlight a listview column
    K kani98

    I have a Windows listview control with 15 columns. Is there a way for me to highlight a specific column in the listview? Can I also move the highlight by scrolling left and right on the listview? Thanks.

    C / C++ / MFC question

  • get screen resolution
    K kani98

    Can you point me to an example of storing the resolution in hidden fields set to run server-side?

    ASP.NET csharp question javascript asp-net

  • get screen resolution
    K kani98

    I have a ASP.Net web application using C#, is there a way for me to get the PC screen resolution? I think I have to use javascript for this, but I don't know the syntax. If I have to use javascript, how do I get the value from the javascript variable into a C# variable? Thanks.

    ASP.NET csharp question javascript asp-net

  • Create new thread with ASP.Net using C#
    K kani98

    Is there a way for me to create a new thread with ASP.Net using C#?

    ASP.NET csharp asp-net question

  • automatically generate a text file from the server
    K kani98

    I have an ASP.Net web application in C# that needs to generate a text file automatically every hour. Is there a way for me to automatically generate the text file without any user interaction on the server or through a client? Is there a timer function that I can called? Thanks.

    ASP.NET csharp asp-net sysadmin question

  • Enable editing of source file while program is running
    K kani98

    Sometimes when I am stepping through the code and find a problem, I like to start fixing it there.

    IT & Infrastructure csharp visual-studio tools question

  • Enable editing of source file while program is running
    K kani98

    I have created a C# windows form application in VS 2005 and when I tried to edit the source file when the program is running, I get a message saying "Changes are not allowed while code is running or if the option 'Break all processes when one process breaks' is disabled. The option can be enabled in Tools, Options, Debugging." I tried enabling and disabling this option, but I still get this message and can't edit my source file while the program is running. Is there an option that I can enable or disable in VS 2005 that will allow me to edit the source file while the program is running?

    IT & Infrastructure csharp visual-studio tools question

  • check for decimal in numerical string
    K kani98

    Is there a C/C++ funciton that will remove a character from a string? I want to remove the decimal from the input string. If someone enter 1.23, I want to use only 1.2, remove the decimal making it 12.

    C / C++ / MFC c++ question

  • check for decimal in numerical string
    K kani98

    I have an input box that a user can enter in 4 characters like 1.34. I need to check if there is a decimal in the input string and truncate everything after the tenth place. Is there a C/C++ function that I can use for this? Thanks

    C / C++ / MFC c++ question

  • edit box font color
    K kani98

    Is there a way for me to set the font color of a Win32 edit box? I know I can set the font type by sending a WM_SETFONT message, but I can't find anything about setting the font color. Any help is appreciated.

    Managed C++/CLI help question

  • Listview horizontal scroll bar
    K kani98

    Hi Mark, thanks for the help, ListView_Scroll() solved the problem I asked. Now I have another problem, when I press the left or right arrow on the scrollbar, I don't receive any WM_HSCROLL messages. I need to check when the thumb is at the far right and the right arrow is press I need to check for newer data and when the thumb is at the far left and the left arrow is press to retrieve older data. Any suggestion why I am not receiving any WM_HSCROLL messages?

    Managed C++/CLI question

  • Listview horizontal scroll bar
    K kani98

    I have a Listview window with 10 columns. Data are display in the column going left to right with the newest data at the right most column. A horizontal scrollbar is automatically displayed at the bottom and the thumb of the scrollbar is at the left side. I want to put the thumb of the scrollbar to the right side so the when you go to that window you see the newest data first. I tried using GetScrollInfo() but I keep on getting "The window does not have scroll bars." from GetLastError(). I tried using SetScrollInfo() and passing in different values for nPos of the SCROLLINFO structure to see if it would move the thumb, but it doesn't seem to work. Does anyone know how you I get the thumb of the scrollbar to be at the right side?

    Managed C++/CLI question

  • Listview header spanning 2 rows
    K kani98

    I am not creating an MFC app, just a windows app. I am using the LVCOLUMN structure to create my listview.

    Managed C++/CLI c++

  • Listview header spanning 2 rows
    K kani98

    I tried that and it didn't work.

    Managed C++/CLI c++

  • Listview header spanning 2 rows
    K kani98

    Is there a way for me to create a listview hearder spanning 2 rows using C/C++. If there is, then I would appreciate it if someone can provide me with some code snippit.

    Managed C++/CLI c++
  • Login

  • Don't have an account? Register

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