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
J

Joshi Rushikesh

@Joshi Rushikesh
About
Posts
13
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Not able to see any 3D objects in Silverlight 5 3D Applications
    J Joshi Rushikesh

    Hi All, I am running code from http://msdn.microsoft.com/en-us/library/gg197425(v=XNAGameStudio.35).aspx[^]. i am able to compile and run the code successfully but I am not able to see any 3D objects on screen. My System details as follows. System : Widnows XP with 2GB RAM Visual Studio 2010 SP1 DirectX SDK 9.0 SilverLight 5.0 Beta XNA Framework. If someone passed from same that please help me. Regards Rushi

    WPF csharp visual-studio com graphics game-dev

  • The area of management of changes to documents, programs and other things relating to revision control sucks.
    J Joshi Rushikesh

    In near future Google is planning to give space to save your code online. But your own project related code and documents, you have to maintain in your local server (TFS, VSS etc...), they are providing security. -- Rushi

    The Weird and The Wonderful algorithms testing beta-testing help

  • Please laugh at me so I never do this again...
    J Joshi Rushikesh

    Always think and revisit a piece of code which you just wrote, and you understand how best you can re-write it. -- Rushi

    The Weird and The Wonderful

  • Is C# going to be around for a while?
    J Joshi Rushikesh

    You can not define a future of any Language, specially languages like C# which is highly promoted by Microsoft. C++ is there from > 20 Years C is there from > 30 Yerars Cobol/Fortran is there from > 40 Years. C# has good future and C# 4.0 has good functionality, I specially like Parallel Programing. You should better ask what is future of Programmer then answer is they will remain as Programmer as long as they love that job :) Regards Rushi

    C# csharp question

  • Distribution periods for teachers With Rnd -vb6
    J Joshi Rushikesh

    Link provided by you is WebHosting related stuff and my ISP has blocked it. Regarding your question, use Random Number to generate Random Class to assign a teacher.

    Visual Basic question html com

  • "Input string was not in a correct format." when updating datatable... [modified]
    J Joshi Rushikesh

    I think you are getting error when trying to convert DateTime values. A DateTime value "{6/1/1998 12:00:00 AM}" has a space and it tries to convert to "{6/1/1998% 12:00:00 AM}" which is not valid. Change to below code to resolve this.

    if (row[column].ToString().Contains(" ") && column.DataType != Type.GetType("System.DateTime") )
    {
    temp = row[column].ToString().Replace(" ", "%");
    row[column] = temp; //getting error in this line...
    }

    Regards Rushi

    C# help

  • Notification App Architecture [modified]
    J Joshi Rushikesh

    Go ahead with WCF as it support TwoWay Bindings so your server can notify your clients. Overhead to WCF are only to its complex implementation, but at same time it is useful in particular problems. Search in Google for TwoWay binding in WCF you will get enough resources. Regards Rushi

    C# csharp question winforms wcf design

  • Adding service to c# windows application
    J Joshi Rushikesh

    You have not mentioned, How you want to use that service? SVC file is only required to register a service as a windows service, so a simple .EXE file can be register as windows services. You can directly use that Exe file and execute it using Shell command. Regards Rushi

    C# question csharp

  • Property
    J Joshi Rushikesh

    Second way is property declaration in C# 3.0, for C# 2.0 you have to strict with first implementation. If you want to do some validation in (get) and (set) then second way should not work. Like, on saving (set) a value you would like to check then you have to write validation code in set block.

    private int m_number;

    public int My_NUM
    {
    get{ return m_number;}
    set{
    if (value > 0)
    m_number=value;
    }
    }

    Regards Rushi

    C# question

  • Switched to Silverlight 4, solution can no longer find DockPanel
    J Joshi Rushikesh

    Sometimes it might possible that toolkit is not installed on your system. You can install it from http://silverlight.codeplex.com/releases/view/43528[^] Regards Rushi

    WPF help announcement csharp dotnet wpf

  • Windows Message API problem for LVM_GETITEMTEXT
    J Joshi Rushikesh

    Hi Superman :) , Thank you for your prompt reply. But i guess I am using SendMessageA only see my declaration.

    Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByRef lParam As Any) As Long
    </pre>

    Regards
    Rushi

    C / C++ / MFC

  • Windows Message API problem for LVM_GETITEMTEXT
    J Joshi Rushikesh

    Hi All, I am trying to read text from ListView of other application. I have created a demo application which is working fine for all listview (FolderView/ Winzip Listview control and listview of some application), but it is not working for a particular Listview. I am able to get the RowCounts/ Column Counts but I am not able to read text. Below is my code which I am executing to get ListItem. The original code is in VB6, but Message API code/messages are similar in VC++/MFC. <pre>Private Const LVM_FIRST = &H1000 Private Const LVM_GETITEMCOUNT = (LVM_FIRST + 4) Private Const LVM_GETITEM = (LVM_FIRST + 5) Private Const LVM_GETSTRINGWIDTH = (LVM_FIRST + 17) Private Const LVM_GETCOLUMN = (LVM_FIRST + 25) Private Const LVM_GETITEMTEXT = (LVM_FIRST + 45) strLength = SendMessage(hWindow, LVM_GETITEMTEXT, iItem, ByVal pMyItemMemory)</pre> Above code is working fine for other listview, and strLength is returning currect length of text of the List item. I tried to debug, and understand nature of window (Listview Window) and I observed that all other listview where it is working fine having Windows Proc as Unicode and for list where it is not working having Windows Proc as ANSI (I got this information using Windows Spy++ utility). My understanding is to get listview item for ANSI strings there would be different message needs to pass. I appreciate your time and thanking you for any help or direction. Regards Rushi

    C / C++ / MFC

  • Windows Message API problem for LVM_GETITEMTEXT
    J Joshi Rushikesh

    Hi All, I am trying to read text from ListView of other application. I have created a demo application which is working fine for all listview (FolderView/ Winzip Listview control and listview of some application), but it is not working for a particular Listview. I am able to get the RowCounts/ Column Counts but I am not able to read text. Below is my code which I am executing to get ListItem. <pre>Private Const LVM_FIRST = &H1000 Private Const LVM_GETITEMCOUNT = (LVM_FIRST + 4) Private Const LVM_GETITEM = (LVM_FIRST + 5) Private Const LVM_GETSTRINGWIDTH = (LVM_FIRST + 17) Private Const LVM_GETCOLUMN = (LVM_FIRST + 25) Private Const LVM_GETITEMTEXT = (LVM_FIRST + 45) strLength = SendMessage(hWindow, LVM_GETITEMTEXT, iItem, ByVal pMyItemMemory)</pre> Above code is working fine for other listview, and strLength is returning currect length of text of the List item. I tried to debug, and understand nature of window (Listview Window) and I observed that all other listview where it is working fine having Windows Proc as Unicode and for list where it is not working having Windows Proc as ANSI (I got this information using Windows Spy++ utility). My understanding is to get listview item for ANSI strings there would be different message needs to pass. I appreciate your time and thanking you for any help or direction. Regards Rushi

    Visual Basic
  • Login

  • Don't have an account? Register

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