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
S

Software_Specialist

@Software_Specialist
About
Posts
237
Topics
75
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Cricket Thriller!
    S Software_Specialist

    Yo INDIA win the match.... :-D

    The Lounge com question

  • sub forms ??
    S Software_Specialist

    Well said Yeh i am not a beginner but yes i don't have much experience with windows programming and this was one of the problem. I have read many books but they don't mention anything about windows programming. So i though may be somebody could help me out as i knew it was a simple problem. Anyway thanks for your input and i have now solved this problem forever. :)

    C# question help

  • sub forms ??
    S Software_Specialist

    great So it was basically sequence problem. Thank you its working now. :-D

    C# question help

  • sub forms ??
    S Software_Specialist

    well ok ill take beginner lesson in windows programming...You know any good book for that ? And yeh what you said i already tried that and it isn't working. Well you said its too simple but still no body could answer me correctly...strange.. Are you advance level programmer or a beginer ? May be some one experience in this could give me correct answer..

    C# question help

  • sub forms ??
    S Software_Specialist

    I got one more part working i.e. when i close the form2 then form1 doesnt get closed.. The code is... Form1 code -> public partial class sForm1 : Form { public sForm1() { InitializeComponent(); } private void sformbtn_Click(object sender, EventArgs e) { Form2 objForm = new Form2(); objForm.ShowDialog(); this.Hide(); } } Form2 code -> public partial class Form2 : Form { private sForm1 frmParent; public Form2() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { //frmParent = new sForm1(); //no need to create its instance as i am unable to hide this.Close(); // the form so if i include frmParent.Show(); it gives me //frmParent.Show(); //same form again... } } So where am i going wrong..any idea.. Thanks

    C# question help

  • sub forms ??
    S Software_Specialist

    Thanks for your reply.. But only one part of your explanation is working. i.e. first part. Now i am able to open a second form. But i am unable to hide it and also 3rd part is not working. If i include this then i get error over the main form button control that Form2 needs argument... Form2 objForm = new Form2(); public Form2(Form objForm) { InitializeComponent(); frmParent= objForm; } So any guesses...???

    C# question help

  • sub forms ??
    S Software_Specialist

    Can you pls tell me in a bit detail... I have created a windows project and at the moment it has only one form. Over that i added a button and double click over button to write certain code to open up a new form and hide that one. So do i have to add another form first or how does it work. If i add another form i.e. Form2 then i can't write the code you said under the button action ... i.e Form2.ShowDialog(Form1); Nopes the intellisence doesn't give me any ShowDialog option... Thanks

    C# question help

  • Why i can't import C# com dll to C++ project ? ? ?
    S Software_Specialist

    Are you trying to import .Net dll to Unmanaged C++ ?

    C# c++ help csharp com question

  • sub forms ??
    S Software_Specialist

    Hiya How can i create a sub form. Actually what i want is after i press a button on my parent form. It should open up a new sub form and hide the parent form and when i close the sub form, my parent form should comes up again. Do i have to add sub forms to the application or how does it work basically.... Any help would be greatly appreciated. Thanks

    C# question help

  • Answer my comment
    S Software_Specialist

    which country are you from ??? I hope not from India..There was a big issue about this in Launge. Anyway read guidelines.And try to be polite and give a proper subject title....And then we might help you... hv fun

    C# html xml tutorial question

  • 24 bit bitmap doubt ..
    S Software_Specialist

    okay thanks... So 54 is the header size in bitmap file...

    C# graphics data-structures question

  • Filestream and BinaryWriter
    S Software_Specialist

    http://msdn2.microsoft.com/en-us/library/system.io.filestream(VS.71).aspx[^] You ll get the code here..

    C#

  • 24 bit bitmap doubt ..
    S Software_Specialist

    Hi i am trying to check whether the bitmap file is 24 bit or not. For this i have written a below code FileStream File byte[] buffer = new byte[2]; File.Seek(28,0); File.Read(buffer,0,2); Int16 nBit = BitConverter.ToInt16(buffer, 0); The above code works fine and give me the value of nBit as 24. But i don't understand the exact working of it. Ok first it creates 2byte array, then i have a doubt over 2nd line i.e. File.Read(28,0); Why current position is set to 28 here....?? It gives correct value when i set that to 28 and by next line the position jumps 2 place further i.e. 30 and by then i get correct value 24. Can any one please explain me this behaviour...? Thanks

    C# graphics data-structures question

  • Hard to believe this was in the Wall Street Journal
    S Software_Specialist

    I can't even access Proxy.org site :( So there is no chance to access other sites... Not a good option... My 1 -- modified at 5:04 Thursday 2nd August, 2007

    The Lounge java html com security tutorial

  • Suspicious Mail .....
    S Software_Specialist

    oh yeh that is a seperate issue dear. And i am still serious about that ....No issues..

    The Lounge question announcement

  • Suspicious Mail .....
    S Software_Specialist

    aah okay i see...I thought its only me...So there are many who are getting this...Now i have opened this email....and yeh worst thing is that my anti virus got expired 3 days ago.. So do you think it would have affected ma system by now :(..?

    The Lounge question announcement

  • Suspicious Mail .....
    S Software_Specialist

    Hi i got a failure notice that message was unable to deliver. Whereas i have not mailed any one from this account since last 2-3mmonths... This looks bit suspicious as i already have a doubt somebody hacked my msn id.. But this mail is not making any sence to me...Any guesses ???? From: my id To: mrel-auf@mail.sy Subject: Re: Secound document Date: Wed, 1 Aug 2007 04:41:22 +0300 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0016----=_NextPart_000_0016" X-Priority: 3 X-MSMail-Priority: Normal Content-Transfer-Encoding: 7bit X-Antivirus: Dr.Web (R) mail daemon ver.4.33.0.01250 on localhost host X-Antivirus-Code: 0x100008 X-VRSPAM-STATE: 2 X-VRSPAM-SCORE: 9999 X-VRSPAM-CAUSE: Virus doubt This is a multi-part message in MIME format. ------=_NextPart_000_0016----=_NextPart_000_0016 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Hello! Your secound document is attached. Thank you ------=_NextPart_000_0016----=_NextPart_000_0016 Content-Type: application/octet-stream; name="secound_document3.pif" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="secound_document3.pif" TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAqAAAAESeqUgA/8cbAP/HGwD/xxuD48kbDP/HG+jgzRsZ/8cbg/eaGwL/xxsA/8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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAA

    The Lounge question announcement

  • VOTD
    S Software_Specialist

    The good option is too become a programmer :) Lot of free time to get on with all the programming languages and creating good software's. Might become rich software developer after 20yrs in prison :)

    The Lounge com

  • Cannot Delete a File
    S Software_Specialist

    You first need to stop the service which is using this log file and then delete the log and restart the service. You can stop and restart the service using WMI approach. i can write down the code for you if you want, its quite simple. SS

    C# debugging help question

  • [Message Deleted]
    S Software_Specialist

    you go away and never turn back...Do you own this community or what ????

    The Lounge
  • Login

  • Don't have an account? Register

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