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
R

Ranjan Banerji

@Ranjan Banerji
About
Posts
551
Topics
46
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Diagramming Component
    R Ranjan Banerji

    I am looking for an interactive diagram component for WinForms. If you have seen or used Corgent Diagrams then thats what I need. Corgent Diagrams is really neat but really expensive too. What I need is the ability to create diagrams in design time then load the diagram into a Winforms application and then let the user double click or right click different parts/shapes/connectors in the diagram to select various menu options. So imagine a flowchart created in design time. When a user right clicks on a certain shape I want to be able to handle the event and present the user with a menu based on the shape. Imagine loading a visio file into your application and then wiring all events on all shapes to some code. Does anyone know of such a library or component? Thanks.

    My pointless rants meragussa.blogspot.com[^]

    C# csharp winforms com design question

  • mdi forms
    R Ranjan Banerji

    No. Or atleast I do not think so. In MDI application you should not place controls in the client area of the main application form. If you do, then you will need to hide and show them as and when you have an MDI form open or not.

    My pointless rants meragussa.blogspot.com[^]

    C#

  • I use firefox. I LIKE firefox...
    R Ranjan Banerji

    OPEN SAUCE???? LOL

    My pointless rants meragussa.blogspot.com[^]

    The Lounge csharp question

  • Wow! I thought my 10MP was cool
    R Ranjan Banerji

    Yep, but they say its for panaromic landscapes so should not be a problem.

    My pointless rants meragussa.blogspot.com[^]

    The Lounge com announcement

  • Wow! I thought my 10MP was cool
    R Ranjan Banerji

    I think for the CCD to take the image. Else they would not be talking so much about the 1 second issue. That would then just be a slow FPS for the camera.

    My pointless rants meragussa.blogspot.com[^]

    The Lounge com announcement

  • TabControl problem
    R Ranjan Banerji

    I still do not see why you cannot do that. perhaps a little more code from what you are attempting to do will be useful. You could do something like. void MyPage::CreateTabControl() { TabControl * tab = new TabControl(); Controls->Add( tab ); SizeAndPositionTab( tab ); //Put you size and position code in here } Now call CreateTabControl() dynamically from wherever in your code.

    My pointless rants meragussa.blogspot.com[^]

    C# help tutorial question

  • Newbie! Search a string for a specific character?
    R Ranjan Banerji

    IndexOf returns a 0 based index. "." is not in position 1, it is in position 0. If nothing is found -1 is returned. Your code should be if( r != -1 )

    My pointless rants meragussa.blogspot.com[^]

    C# question

  • TabControl problem
    R Ranjan Banerji

    I think you need to be in the C++ message boards. Anyway, you could do something like: TabControl* tabCtrl = new TabControl(); this->Controls->Add( tabCtrl ); Now use tabCtrl to get its position etc.

    My pointless rants meragussa.blogspot.com[^]

    C# help tutorial question

  • Wierd resource disposal?
    R Ranjan Banerji

    asator wrote:

    once i open the program it will keep on draing more memory, it will never stop

    So if you do not minimize do you get a Sytem Out Of Memory Exception?

    My pointless rants meragussa.blogspot.com[^]

    C# help csharp performance question learning

  • Pros and cons of providing source code
    R Ranjan Banerji

    Providing Source will help sales. Piracy? You can't stop that. Also, at least every company I have worked for has been very good about buying software rather than just copying it. So perhaps you are being a tad bit paranoid :)

    My pointless rants meragussa.blogspot.com[^]

    The Lounge discussion com sales question

  • Wow! I thought my 10MP was cool
    R Ranjan Banerji

    Not that megapixels is everything but this camera definitely takes the prize. Pretty well priced at $36,000 ;P http://www.dpreview.com/news/0609/06093007seitzd3.asp[^]

    My pointless rants meragussa.blogspot.com[^]

    The Lounge com announcement

  • Why, oh why ?
    R Ranjan Banerji

    Its like this one too http://www.codeproject.com/script/comments/forums.asp?forumid=1649&fr=26[^] Its in every message board. Isn't there a way Chris can charge them for advertising on his site? Or maybe we should go to that site and see if there is a 800 number and then everyone call that number :-)

    My pointless rants meragussa.blogspot.com[^]

    The Lounge c++ com tools tutorial question

  • This cracked me up
    R Ranjan Banerji

    I thought it was elegant code. It does nothing hence no bugs :-D

    My pointless rants meragussa.blogspot.com[^]

    The Lounge csharp asp-net debugging tutorial announcement

  • MDI Forms
    R Ranjan Banerji

    In the main application which is the parent of all MDI Child form do something like ((MyMdiForm)this.ActiveMdiChild).SetImage( image ); ActiveMdiChild will get you the active mdi child. You need to make sure your MDI child supports a Method to accept an Image or file path to an image. In MyMdiForm.SetImage( Image image ); Do something like: pictureBox.Image = image;

    My pointless rants meragussa.blogspot.com[^]

    C# csharp help tutorial workspace

  • How to get Image from other Image quickly
    R Ranjan Banerji

    If you want speed then dont use GDI. Use unsafe code. here is an example of using unsae code to handle bitmaps. Does not do what you want, but I am sure you can figure it out :-) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp11152001.asp[^]

    My pointless rants meragussa.blogspot.com[^]

    C# graphics winforms algorithms performance help

  • Best ASP.NET Wiki System?
    R Ranjan Banerji

    I used OpenWiki ages ago. Was quite flexible and really easy to use. But is ASP based not ASP .Net

    My pointless rants meragussa.blogspot.com[^]

    The Lounge csharp asp-net design question

  • MDI Forms
    R Ranjan Banerji

    Easiest way is to load it into a pictureBox. You can do something like: Image image = Image.FromFile( "c:\\blah.jpg" ); pictureBox.Image = image;

    My pointless rants http://meragussa.blogspot.com

    C# csharp help tutorial workspace

  • Downloading .NET 3 SDK
    R Ranjan Banerji

    Is true for everyone. A new patch for a game I play is taking forever to download. :-) Clearly my priorities are better than yours. LOL

    The Lounge c++ csharp css com question

  • Installer Project, Registry and Regasm
    R Ranjan Banerji

    I should reply to my own post. I found the answer to this long ago, but never came back to update this. So here goes. Regasm comes with Visual Studio. So a machine with no visual studio and just the .Net framework will NOT have regasm on it. Hence, you cannot rely on [ComRegisterFunctionAttribute] public static void Register( Type t ) For this is called by regasm. You need to find other ways to register your DLL and make otehr registry entries.

    C# csharp dotnet visual-studio com windows-admin

  • Downloading .NET 3 SDK
    R Ranjan Banerji

    Are you back in India? Its been a while since I have visted CP. Not sure where everyone is. :-)

    The Lounge c++ csharp css com 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