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

RizwanSharp

@RizwanSharp
About
Posts
59
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Some Questions about Compact Framework and TabControl
    R RizwanSharp

    Hello Devs, I'm new to Compact Framework Programming. I'm porting a Chat application to Window Mobile. I noticed that whenever I create and oshow a new instance f Form, its shown as a seperate procees in Running Prgrams. 10 forms means 10 Processes in Running Programs :wtf:. To avoid this to happen, I thought to work with tab controls and adding a tab page to the tab control when a user initiates chat with a new person. What I want is that I want to add and remove pages dynamically. For this when I tap and hold on the node of the tab page (equal to Right Click) a context menu should open "Close Tab" and Taping this menu item that specific Tabpage should be closed. I have tried to do it with Context Menu but It does appear when you tap and hold on the tab page, not its node :(( I have tried to be clear in telling my problem but even if you need some more clarity and info please ask me. I really want to get a solution (Its so urgent) I hope to get a positive response from you people. Best Regards, Rizwan

    C# help lounge

  • speed up application
    R RizwanSharp

    Thanks, I check it Regards

    C# performance help

  • speed up application
    R RizwanSharp

    Exactly this is what I was thinking of. Can you point any article that uses acustom action? Do I have to make a seperate application for precompiling it using System.Diagnostics.Process.Start()??? Best Regards, Rizwan

    C# performance help

  • speed up application
    R RizwanSharp

    I also have a question abour pre compilation. Doesnot we need to precompile on different hardware Configuration? A best Precompiled Image of assembly may not even good at your hardware? Am I right? Or please give me some more info. Best regards, Rizwan Ahmed

    C# performance help

  • Strange Problem Regarding TabIndex
    R RizwanSharp

    Ahhhh! Ok, Thanks. But are you sure Windows and Visual Studio Reinstallation can fix this problem:confused::confused: I think this configuration may only reside in Resource files which i refined clearly but not working :-> Thanks a lot, Regards, Rizwan

    C# help csharp visual-studio winforms learning

  • A Little Problem in Single Instance Implementaion!!!
    R RizwanSharp

    Because I have already explored all the articles and concluded my solution on the basis of the best implementations. All work good but not with the scenirio, I'm facing "The Hidden Form" By the way, I'm interested in Vista Develpement Specially, WPF and WCF. Any guide lines? Best Regards, Rizwan Ahmed.

    C# help

  • Strange Problem Regarding TabIndex
    R RizwanSharp

    Yes, I have tried all the things, I set all the panels and all oher controls' TabStop property to false. But again the same proble. When I run the application, The focus of the control must be at the control whose TabIndex is 0 rather it focuses control with TabIndex 2. When I try check CanFocus property of Controls with TabIndex 0 in Form's Load it returns false. I want to know the reason what's the reason behind "Control.CanFocus is always false". How does it evaluate this that it cannot be focused. If i know this then may be we can solve the problem. Thanks alot, Best Regards, Rizwan Ahmed.

    C# help csharp visual-studio winforms learning

  • A Little Problem in Single Instance Implementaion!!!
    R RizwanSharp

    That is what I'm doing right now:zzz: Anyways, Thanks, Regards, Rizwan

    C# help

  • Strange Problem Regarding TabIndex
    R RizwanSharp

    tried this: (Didnot work) private void FrmServer_Load(object sender, EventArgs e) { rtfSend.BringToFront(); } Nor this: private void FrmServer_Load(object sender, EventArgs e) { rtfSend.BringToFront(); rtfSend.Focus(); } Nor this One: private void FrmServer_Load(object sender, EventArgs e) { rtfSend.Focus(); rtfSend.BringToFront(); rtfSend.Focus(); } :sigh::sigh::sigh::sigh::~ Any Help?? :confused::confused::confused: Thanks a lot Best Regards, Rizwan

    C# help csharp visual-studio winforms learning

  • Strange Problem Regarding TabIndex
    R RizwanSharp

    Hmm, Its impossible to reinstall all the things again. But yes you are so true this is some bug with VS 2005 coz my friends also complained me about this when i discussed my problem with him. Anyways there are 2 possibilities: 1) I Compile it at some other computer. 2) I use the method you used control.BringToFront(); Can I put control.BringToFront(); in Form's Load Event? Can you explain the code: Should I use this: control.BringToFront(); control.Focus(); in Form's Load Event? Thanks a lot for your reply, Best Regards, Rizwan

    C# help csharp visual-studio winforms learning

  • A Little Problem in Single Instance Implementaion!!!
    R RizwanSharp

    Hello, First of all please do not refer any previous articles on this website about my problem and try to point the problem and its solution. Thanks in Advance!!! I'm written some implementation about Single Instance Application. All is working fine. When I run the second instance it stops itself if one already running in the following states of the main Form: 1) minimised 2) maximised 3) Normal The only thing that is not working fine when the main Form is Hidden becuase of Form.Hide(); or Form.Visible = false; Here is the code which i'm using to show the instace of already running application: if (IsIconic(hWnd)) ShowWindow(hWnd, SW_SHOWNORMAL); else ShowWindow(hWnd, SW_RESTORE); UpdateWindow(hWnd); Please suggest an accurate solution to this problem. I'll be really thankful to you. Best Regards, Rizwan Ahmed.

    C# help

  • Strange Problem Regarding TabIndex
    R RizwanSharp

    Hello Devs, I'm facing a very strange problem in Windows Form Application using Visual Studio 2005. I have a lot of controls on my Windows Forms like TableLayoutPanels, TextBoxes, RichTextBoxes, Buttons. I set their TabIndexes appropriatley from 0,1,2,3..... When I run the application The cursor focus is not on the control whoes TabIndex Property is se to zero :mad:. I need to Focus myself on the control I want to be focued when application runs. I'm stucked with this for more than 6-7 hours, Removed all the resource file Entries of TabIndex and set all of them again. (Didnot work). Tried to Set focus on tha control in Form's Load event (Didnot work too). Also Saw the Property in Form's Load even that if that control can be focused using Control.CanFocus (Always Returns false). Please tell me something about this Bull S***:mad: Its a pain in A** for me at this time. I'll be really thankful to you for your help. Best Regards, Rizwan.

    C# help csharp visual-studio winforms learning

  • Asynchronous socket question
    R RizwanSharp

    The more appealing and real world solution for all types of data transfer is to prefix each messaeg with its length. Procedure is as follow. Sending Part: 1) Calculate the Number of bytes produced by a message. 2) Store length as an integer value. 3) Convert the Length (integer) into bytes using BitConverter.GetBytes(messageLength) method. 4) Send these bytes on stream. 5) Send the original message. Receiving Part: 1) Read 4 bytes from the stream Asynchronously. 2) Convert these bytes into integer value using BitConverter.ToInt32(buffer,0) 3) Now creat a Memory Stream and loop on it untill that message size is met. Its the best technique in my knowledge and supports in Network delay situation for other type of data (Not String) If you have further queries, feel free to conact me ;) rizwansharp@hotmail.com Best Regards, Rizwan

    C# question csharp

  • web documentation in VS 2005
    R RizwanSharp

    Sure you can do it. Just put /// above each Property and Function Definition It'll generate Summary comments Fill the spaces. When you are done. Go to Project Menu and Select Project Properties. In the build Tab put the file path for XML documentation. and Its done. If you need to further generate Compiled HTML used nDoc tool to do this. Its startting point you can explore other things now. Best of luck:), Regards, Rizwan

    IT & Infrastructure visual-studio xml question

  • What is blog?
    R RizwanSharp

    Always welcome:) I just saw your profile and was happy to know you are from Pakistan and your DOB is 22nd March I'm also from pakistan and my DOB is also 22nd March. would like to know more about you **email:**r.ahmed@protectstar.com **IM:**rizwansharp@hotmail.com Hope to talk to you again. Best Regards, Rizwan

    IT & Infrastructure question help

  • What is blog?
    R RizwanSharp

    Check this: http://www.google.com/search?sourceid=ie7&rls=com.microsoft:en-US&ie=utf8&oe=utf8&q=define%3Ablog[^] Rizwan

    IT & Infrastructure question help

  • DragDrop Text!!!
    R RizwanSharp

    Hello, I'm implementing drag drop functionality from a RichTextBox to a TextBox (Works Perfect!!!) When I make RichTextBox read only it doesnot work. Its my requirement to set the RichTextBox to be read only. Any Clue???:confused: Thanks in Advance, Best Regards, Rizwan Ahmed.

    C# question

  • Assembly Permissions!!!
    R RizwanSharp

    I already new this :( I was asking How to set these attributes in assembly itself that it requires atleast these permission to successfully do all its operatoion and any zone or user which doesnot allow these permission should not be allowed to even run the assembly :) Anyways Thanks alot. Any Help??? Best Regards, Rizwan Ahmed

    C#

  • Assembly Permissions!!!
    R RizwanSharp

    I want to know how and where to set Assembly Permission for an assembly. If in AssemblyInfo.cs then please share a code snippet for doing that. I'll be really thankful to you. Best Regards, Rizwan

    C#

  • Socket Connectivity Behind Router or Proxy???
    R RizwanSharp

    Hmmm OK I check it. And what about Proxy Case? Any clue if I want to connect to a coputer which is Behind a Proxy server in a LAN but I'm on internet??? Best Regards, Thanks Alot!!! rizwanSharp;

    C# sysadmin help tutorial 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