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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
K

kkun

@kkun
About
Posts
14
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how to add a "Web UserControl" in Class Library project ?
    K kkun

    how to add a "Web UserControl" in Class Library project ? when i select Add --> New Item , it don't have a Web UserControl item !:(

    C# tutorial question

  • how to get the innerHtml from iframe in C# ?
    K kkun

    in one word , In a UserControl ,How to get a iframe's innerHtml value and assign to its property ?

    C# csharp tutorial question

  • how to get the innerHtml from iframe in C# ?
    K kkun

    //Make a hidden textbox run at server. Get IFRAME value using javascript, and assign to this textbox. very good ~ but ,it also have problems ~ I have got the method that get value of iframe and assigned it to TextBox, but when run the method to do this ? it required a Event,a suitable Event,the Iframe haven't got those Events,for example:onkeyup,onkeydwon,onchange,onpropertychange...,and in this section it haven't got a

    or the other control like to occur. In other way , there's a user control with two properties:Text and Content. when using the user control ,we just see the Content property is ok , the Content property's value is the iframe's innerHtml,Now i know how to get innerHtml in javascript ,but i don't know how to use it in codebehind ?! the former said "..and assign to this textbox...",It request a suitable Event to do that , for there's no Form label,No button , only a button is in another page that use the user control,when it clicked we must show the user control's property ~ how ever , I do not like this method... thank you very much !

    C# csharp tutorial question

  • how to get the innerHtml from iframe in C# ?
    K kkun

    to [N a v a n e e t h]: thank you reply,but how did it in c# ?

    C# csharp tutorial question

  • how to get the innerHtml from iframe in C# ?
    K kkun

    how to get the innerHtml from iframe in C# ? thanks ~

    C# csharp tutorial question

  • how to send a file by SMTP or POP3
    K kkun

    //but without any openDilogFile for choosing file like this below ,using javascript ,not C#, html: [附件](#) | js: //附件 function Upload(){ var oEdit = eval(this.ObjUpload); oEdit.click(); } //上传文件 function OnFileLoad() { var oFile = eval(this.ObjUpload);//max 61 var oFileName = oFile.value.substring(oFile.value.lastIndexOf(".")+1,oFile.value.length); if( oFileName.toLowerCase() != "txt" && oFileName.toLowerCase() != "text" &&//-文本文件 oFileName.toLowerCase() != "rar" && oFileName.toLowerCase() != "zip" &&//-压缩文件 oFileName.toLowerCase() != "bmp" && oFileName.toLowerCase() != "jpg" &&//-图片文件 oFileName.toLowerCase() != "jpeg" && oFileName.toLowerCase() != "gif" && oFileName.toLowerCase() != "png" ) { this.ObjUploadFile.innerHTML = "![\"附件\"](\"Images/oFile.gif\") 不允许上传的文件类型![ " + oFileName + " ]"; return ; } this.ObjUploadFile.innerHTML = "![\"附件\"](\"Images/oFile.gif\") " + oFile.value; }

    C# csharp help tutorial question

  • how build dll file using vs2008?
    K kkun

    thanks !

    C# question

  • how build dll file using vs2008?
    K kkun

    just like using vs2003 ... thanks very much...

    C# question

  • File not found Exception [how to solve this]
    K kkun

    It said Could not find file 'C:\WINDOWS\system32\VS_logo.PNG':) I think your visual studio or system was demaged ,

    C# visual-studio security help tutorial

  • Get a window of other application topmost
    K kkun

    The Form has a boolean TopMost property , set it to true then will topmost , if their two application runs ,and both of them set TopMost to true , then ,which one modified last will be effective ,

    C# csharp question

  • How can I get the Mouse POsition on click?
    K kkun

    For your problem ,i estmate that you have written code under Panel's MouseClick method ,i mean that not entire Application's Click method ,try again and make a reference to the the following code fragment,Good Luck! public Form1() { InitializeComponent(); } _protected override void OnMouseClick(MouseEventArgs e) { int x = e.X; int y = e.Y; MessageBox.Show(x.ToString()+","+y.ToString()); base.OnMouseClick(e); }_

    C# question

  • How can I get the Mouse POsition on click?
    K kkun

    Try using Form's MouseClick method , private void GetPosition(object sender, MouseEventArgs e) { int x = e.X; int y = e.Y; MessageBox.Show(x.ToString()+","+y.ToString()); }

    C# question

  • Why Main?
    K kkun

    Its name based on its compiler , If compiler is editable, you can change it to whatever you like ,

    C# question

  • which tools we need when building games ?
    K kkun

    We know that XNA tool is good for develop games, We also know that Visual Studio 2005 with DirectX9.0c SDK is another tool to do this ,It use DirectX3D's classes to build the game ,I have found that the XNA tool uses its own classes, any differents between XNA environment and DirectX SDK if only runs on PC?

    C# game-dev csharp visual-studio graphics tools
  • Login

  • Don't have an account? Register

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