{"id":10281,"date":"2012-07-17T08:45:00","date_gmt":"2012-07-17T08:45:00","guid":{"rendered":"http:\/\/melotopia.net\/b\/?p=10281"},"modified":"2012-07-17T08:45:00","modified_gmt":"2012-07-17T08:45:00","slug":"%ed%8c%8c%ec%9d%bc-%ec%9d%bd%ea%b8%b0%ec%93%b0%ea%b8%b0-%ec%82%bd%ec%a7%88%ec%9d%98-%ec%a2%85%ea%b2%b0%ec%9e%90","status":"publish","type":"post","link":"http:\/\/melotopia.net\/b\/?p=10281","title":{"rendered":"\ud30c\uc77c \uc77d\uae30\uc4f0\uae30 \uc0bd\uc9c8\uc758 \uc885\uacb0\uc790"},"content":{"rendered":"<div class=\"desc\">\n<div class=\"tt_article_useless_p_margin\">\n<div class=\"txc-textbox\" style=\"border-style: solid; border-width: 1px; border-color: rgb(231, 253, 181); background-color: rgb(231, 253, 181); padding: 10px;\">\n<p>\n           Public Class fileoperation<br \/>\n           <br \/>\n           Public operated As System.IO.FileStream<br \/>\n           <br \/>\n           Sub New(ByVal filepath As String)<br \/>\n           <br \/>\n           operated = New System.IO.FileStream(filepath, IO.FileMode.OpenOrCreate, IO.FileAccess.ReadWrite)<br \/>\n           <br \/>\n           End Sub<\/p>\n<p>           Function read()<br \/>\n           <br \/>\n           Dim o As New System.IO.StreamReader(operated)<br \/>\n           <br \/>\n           Dim ss = o.ReadLine<br \/>\n           <br \/>\n           operated.Seek(0, IO.SeekOrigin.Begin)<br \/>\n           <br \/>\n           Return ss<br \/>\n           <br \/>\n           End Function<\/p>\n<p>           Sub write(ByVal s As String)<br \/>\n           <br \/>\n           Dim o As New System.IO.StreamWriter(operated)<br \/>\n           <br \/>\n           o.Write(s)<br \/>\n           <br \/>\n           o.Flush()<br \/>\n           <br \/>\n           operated.Seek(0, IO.SeekOrigin.Begin)<br \/>\n           <br \/>\n           End Sub<\/p>\n<p>           End Class<br \/>\n           \n<\/p>\n<\/div>\n<p>\n\n<\/p>\n<p>\n          VS2005\uae30\uc900, \uc774\ub807\uac8c \ud558\uba74 \ub41c\ub2e4.\n         <\/p>\n<p>\n          \ub2e4\ub978 \ubc29\ubc95\ub3c4 \uc544\uc8fc \ub9ce\uaca0\uc9c0\ub9cc, \uc774\uac8c \uac00\uc7a5 \uc88b\uc740 \uad6c\ud604\ub3c4 \uc544\ub2c8\uaca0\uc9c0\ub9cc, \uc544\ubb34\ud2bc \ub09c \uc774\ub807\uac8c \ud588\uc74c.<br \/>\n          \n<\/p>\n<div style=\"width:100%;margin-top:30px;clear:both;height:30px\">\n<div style=\"width:31px;float:left;\">\n<a href=\"\/toolbar\/popup\/abuseReport\/?entryId=3117\" onclick=\"window.open(this.href, 'tistoryThisBlogPopup', 'width=550, height=510, toolbar=no, menubar=no, status=no, scrollbars=no'); return false;\"><br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\uc2e0\uace0\" src=\"https:\/\/i0.wp.com\/t1.daumcdn.net\/tistory_admin\/static\/ico\/ico_spam_report.png\" style=\"border:0\"\/><br \/>\n<\/a>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Public Class fileoperation Public operated As System.IO.FileStream Sub New(ByVal filepath As String) operated = New System.IO.FileStream(filepath, IO.FileMode.OpenOrCreate, IO.FileAccess.ReadWrite) End Sub Function read() Dim o As New System.IO.StreamReader(operated) Dim ss = o.ReadLine operated.Seek(0, IO.SeekOrigin.Begin) Return ss End Function Sub write(ByVal s As String) Dim o As New System.IO.StreamWriter(operated) o.Write(s) o.Flush() operated.Seek(0, IO.SeekOrigin.Begin) End Sub End Class [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-10281","post","type-post","status-publish","format-standard","hentry","category-12"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8o6gA-2FP","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/10281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10281"}],"version-history":[{"count":0,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/10281\/revisions"}],"wp:attachment":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10281"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}