View Full Version : c sharp answers


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 [91] 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174

  1. If my System.IO.StreamWriter Write method throws "The specified network name is no longer available." and I try to Dispose or Close it in the finaly clause the close or dispose method just throws "The specified network name is no longe
  2. foreach loop in Multidimensional Array
  3. if System.IO.StreamWriter write throws an exception, is there anyway to close the System.IO.StreamWriter object? it seems to stay open when this happens then future attempts to write to that same path fail because it says its in use by another proces
  4. when i use stream writer to write to a shared folder, and the network card of that remote computer is disabled
  5. Just want to say thanks...
  6. How use instance's fields immediatelly before they are destroyed
  7. Natural Language Parser
  8. Dissappearing text in Byte[] conversion
  9. question about polymorphism
  10. Enter key to default to OK button.
  11. Hide method ( encapsulate)
  12. Using SAX and DOM with C#
  13. How do I refresh DataView filter efficiently
  14. debugging error
  15. SerialNumberTemplate
  16. Need help with unicode strings.
  17. Help with logical operator
  18. Here's a POSER for you, need multiple server side forms
  19. DataGrid COntrol
  20. XML Documentation
  21. Append items to drop down lists
  22. save attachments in MS Access via a web form
  23. Environment for other user than running the app
  24. BeginInvoke on events with callback problem
  25. Threading and PgressBars
  26. perfmon in your own C# app
  27. Help with regular expression
  28. using lock
  29. Getting a list of installed programs on windows using C#
  30. From ushot to byte[]
  31. .NET Compact Framework and Encryption
  32. Read content of a public folder using C#
  33. Double Buffering in ListBox with OwnerDraw doesn't work?
  34. List local user accounts and their home directories
  35. long word in string
  36. Function Key Detection on WIndows CE
  37. export dataset to excel in winform
  38. Keeping files together within .NET
  39. CACHE, BUFFER, system bug or what?
  40. i wanna help (Pocket PC)
  41. Problems with String's StartsWith and EndsWith in VS.NET 2003
  42. Multithreading - writing to same file C#
  43. MarshalAs(UnmanagedType. EXception
  44. Code Documentation
  45. ASP.Net C# "using" and inherit
  46. C# 2.0 Nullable Types
  47. C# - CSharp - WIN32 - WMI Progamming Issues with NT4 (Out of Memory) - "TSSSysInq.zip" (0/1) 375.5 kBytes yEnc
  48. Memory Leak in C# 2.0 W/ Anonymous Delegates?
  49. Can we join to array into a one
  50. emulate task bar
  51. Ent LIb Config block: deserialize SqlParameterClass
  52. Need to make a class in a master page usable on all content pages.
  53. Querying MS Access database using .NET's OLEDB is very slow
  54. Editable TabPage title
  55. Using P/Invoke and CertFindCertificateInStore
  56. ArrayList question
  57. Log off screen message?
  58. XML to object model generator
  59. Alternative to Interop
  60. convert letters
  61. can't wrap my mind around events
  62. Detecting AND enumerating changes to Registry
  63. Simple DataBinding Problem
  64. Dataview to Dataset
  65. CheckBoxList inside a DataGrid.
  66. System.IO.StreamWriter Close or Flush method to shut down the computer in such a way that just part of the file is written? or an empty file is written? Also if the Close or Flush is to a streamwriter writing to a network share, is it possible for th
  67. C# monitor property changes
  68. MDI Form & Menu Bar
  69. How to create a MSN Messenger Plugin
  70. when writing out a file from .net, when is the file created? after the bytes are all written to the hard drive or before the bytes are written to the hard drive?
  71. GPS Component/Library
  72. set RTL to tabControl
  73. Is there any way for System.IO.StreamWriter Write method to write out part of the string to file. such as if the machine is shut down half way through? or does the file not actually exist until the entire write is completed successfully.
  74. Best way to study for the MCSD C# .NET Exam
  75. unmanaged memory
  76. How to get external IP address?
  77. user login problems
  78. string question
  79. New line in string, \n not working
  80. On Screen Display
  81. runtime casting
  82. how to shutdown
  83. how to shutdown
  84. Is there an Intellisense Object?
  85. Encoding problem
  86. Getting Volume serial number and other information
  87. Complex DataGrid Binding
  88. can you update a stored query in MS Access using C#?
  89. problem when sending data over TCP socke from c# client to java se
  90. Problems with my timesheet program - please help
  91. Telling if an assembly is a BizTalk product
  92. Interfacing with Microsoft's Fax Console
  93. tool to highlight redundant classes & methods...
  94. MSXML Post
  95. Stored Procedures not found
  96. Activator Class
  97. Problem with INSERT Statement
  98. Running winform Exe from Web Application
  99. How do you validate a binary key / file from a Key Generator
  100. Referencing unmanaged ActiveX control methods in C#
  101. create a program to run another sheduled program
  102. Windows service and Certificate
  103. CrystalReportViewer toolbar - change colour of it
  104. trying to click a button with CSHARP and win32api
  105. How to pause or resume a new print job on print server?
  106. Suggestion on how MS can improve debugging with "automatic breakpoints"
  107. Why inconsistency with dataSource and dataMember in the DataBindings method?
  108. Create IIS FTP directories and Accounts
  109. Performance Counter
  110. serialization for hash tables
  111. what are unmanaged resources
  112. What version if Windows is app running under?
  113. window's top color
  114. Using Configuration files in dll's deployed in the GAC
  115. PROBLEM in public class
  116. Traversing from selecting node to parent node
  117. FileSystemWatcher Events - Threads or not?
  118. Creating Shortcuts in the main form
  119. Assign the result of an url to a variable...help
  120. Strings
  121. Converion of DataSet to a flat DataTable
  122. Insert Error:System.Data.NoNullAllowedException
  123. Scanning a document to PDF
  124. Creating Mail Account
  125. is there registry in vista?
  126. new excel application
  127. Looking for custom logging example using TextWriter and/or Streams
  128. COM Call inside thread
  129. insert into error not recognized
  130. unit test best practice
  131. ServicedComponent being invoked is not correctly configured
  132. Filling a ListView with colors
  133. Keeping the draw on an image
  134. Need to open parent window with diffrent url when click button on login popup window.
  135. Crystal Report format of sum
  136. replace null with ""
  137. How to Add Custom Toolbar to Internet Explorer through code.
  138. Detecting if SMTP server is running
  139. Enterprise Library - Asynchronous Logging...
  140. Windows CE Emulator Development
  141. Problem in Listview control in smart devices
  142. FileSystemWatcher Problem...
  143. Start too slow...
  144. COM Events from C# Service
  145. ASP.Net SqlCommand SqlDataAdapter
  146. Object Oriented Programming book
  147. Creating a realtime interactive application
  148. Webservice advice
  149. Fast BitBlt: VS2005, DirectX, ...
  150. How to transfer int to bit string
  151. HourGlass cursor
  152. IDispatch definition in C#
  153. Intelisense Question
  154. how can i get all tables names from MS Access Database
  155. Custom controls and events
  156. Multithreading webresponse
  157. Easy question - for veterans :-)
  158. Background effects
  159. C# volatile field
  160. connect to sql2000 server
  161. Visual Studio Incorrect Syntax Near The Keyword Default Information
  162. Error:System.Data.NoNullAllowedException on non-null column
  163. Request.UrlReferrer.ToString();
  164. I need code for conditioned-redirection please
  165. hebrew monthcalendar control
  166. Real simple Class question-Newbe
  167. Making win xp ui
  168. Multi-tier and Oracle
  169. Default methods
  170. C# Equivalant of VB.NET Shadows
  171. The @ symbol in front of some strings
  172. please See this code
  173. Posting values between pages
  174. set property of a control
  175. OpenFileDialog Again
  176. using manifest problem
  177. A string that keeps its length.
  178. is there any naming definition for C#?
  179. AcceptChangesDuringFill problem?
  180. client side validations
  181. Help! Got big picture wrong...
  182. NUnit Documentor
  183. Loop to read file and exit on button click
  184. Registry modification
  185. HashMap or Property
  186. Datagrid Windows - position to row, show row to user in grid.
  187. Refresh TextBoxes in a GroupBox
  188. Autosave on SelectedIndexChanged?
  189. Visual Stodio2005 and crystal Report
  190. copying objects
  191. Char[] Array
  192. regexp in .net
  193. DataGrid to Excel
  194. Display XML file in browser window?
  195. Timer and Location
  196. Windows Form minimize event
  197. Problem with VS2005 beta 2
  198. Internet Dial from C# Code
  199. Insert New Record Fails On Table With Unique Constraint
  200. ODBC Conection on a Winforms UserControl
  201. Custom TransformerProvider in Configuration Application Block
  202. System Color Orange?
  203. debugging memory inside a managed C++ DLL
  204. Class problem
  205. ASP.NET multiple SQL Server logins
  206. Cant get label to update label.text
  207. How to CreateIpForwardEntry() in C#
  208. asynchronous logging with enterprise library logging application block.
  209. What is the Web App equivilent to this WinForm Class?
  210. problems when maximizing a datagrid
  211. String to have hard return to multi line text box
  212. Is Boxing and UnBoxing Really Necessary?
  213. Parameter with auto increment
  214. Cannot receive data sent across socket connection by .NET app
  215. ComboBox Doesn't Show Added Items
  216. IIsWebServer.Status in c# using DirectoryEntry.Invoke?
  217. Somebody please explain the following Class Declaration
  218. getting value from cell
  219. flash ActionScript/c#
  220. HttpUtility on Windows XP Personal?
  221. Are reference type parameters passed as a copy of the original reference?
  222. Strips and visual Inheritance
  223. Connection timeout.
  224. user in domain
  225. Repeated run of COM from .NET gives System.Reflection.TargetInvocationException
  226. EnterKey keypress event
  227. thread.abort and thread.suspend
  228. How to block network traffic ?
  229. icon hide from taskbar and alt+tab key
  230. Selectedindices in Listview navigation..?
  231. Strange behaviour in dataview
  232. Drawing Rectangle on RichTextBox
  233. Store date permanently
  234. How do I trap Control C in a Console C# .Net application.
  235. DataGrid, Windows - Does not refresh. data is in the rows but they are not visible, the rows are solid blue
  236. question about Split()
  237. SqlDataSource - parameters?
  238. create virtual com port
  239. a question about xpath expression
  240. How to determine the default namespace of a project in code
  241. Problem returning a collection of a class from a DLL to a client app
  242. automating installer
  243. Word Document Object - CreateDate modify problem
  244. Ignore Previously Installed Versions
  245. How to change the Tray icon from a Window Service
  246. Highlighted item on a form
  247. Q: Inheriting forms Studio 2005
  248. CrystalReport Time Diff
  249. Data Type for a CheckBox
  250. ASP.HttpProfile could not be found
  251. How to used AddParameter method to add parameter?
  252. Custom HttpModule returning unique SessionId
  253. ScriptControlClass and WScript object
  254. CollectionBase BUG???
  255. First letter underlined for asp:button
  256. Timer question
  257. With feature Csharp
  258. Problem transforming empty element tags using XmlTransform
  259. XMLTransform converts short empty tags to empty long tags
  260. ReaderWriterLock acquire timeout values ???
  261. hundreds of erroneous 404 errors
  262. Can't single project become a child Form of Mdi Project??
  263. Semaphore wrapper class
  264. Is C# suitable for low-level embedded
  265. custom logging sink for logging application block
  266. Entre key in Text Box
  267. math functions
  268. performance
  269. datagrid problem
  270. why System.ArgumentNullException'
  271. WMI printer job monitoring issue
  272. Decimal format string
  273. Typed DataSet string and null value
  274. Application design
  275. Datagrid scroll Problem?/
  276. Does C# 2.0 provide widecards of generics like Java?
  277. Can't shut down while appl is running
  278. Convert VFP line to CSharp
  279. Get meta tags
  280. Get meta tags
  281. VC# 2005: Resources for creating a server based application
  282. VC# 2005: Resources for creating a server based application
  283. Reading copyright character from file with StreamReader
  284. Reading copyright character from file with StreamReader
  285. Verifiable methods and C# language rule about local variable
  286. Verifiable methods and C# language rule about local variable
  287. *this* keyword
  288. *this* keyword
  289. question on printing multiple report w/same printdoc
  290. question on printing multiple report w/same printdoc
  291. "Not enough storage is available to complete this operation."
  292. "Not enough storage is available to complete this operation."
  293. Files too DataGrid Help Plz
  294. Files too DataGrid Help Plz
  295. take ownership of registry key with .NET 2.0?
  296. take ownership of registry key with .NET 2.0?
  297. LDAP Search Results
  298. LDAP Search Results
  299. Typed datasets and xml documentation
  300. Typed datasets and xml documentation
  301. Why is the compiler flagging this variable as unassigned?
  302. Why is the compiler flagging this variable as unassigned?
  303. Finding occurences of many strings in another
  304. Finding occurences of many strings in another
  305. Q: Autogenerating menus and executing forms.
  306. Q: Autogenerating menus and executing forms.
  307. Embedded Desktop Control
  308. Embedded Desktop Control
  309. TCP Socket end of data?
  310. TCP Socket end of data?
  311. marshalling a byte array to an unmanaged unsigned char*
  312. marshalling a byte array to an unmanaged unsigned char*
  313. Try-Catch Implementation Guidelines?
  314. Try-Catch Implementation Guidelines?
  315. transparent control??
  316. transparent control??
  317. ArrayList of custom classes as Datagrid's DataSource
  318. ArrayList of custom classes as Datagrid's DataSource
  319. Problem to remove \0 in the array in the best way
  320. Problem to remove \0 in the array in the best way
  321. Issue with comparing line breaks
  322. Issue with comparing line breaks
  323. Compiling to EXE succeeds but not to DLL
  324. Compiling to EXE succeeds but not to DLL
  325. HotSpot?
  326. HotSpot?
  327. User Control
  328. User Control
  329. Object Oriented approach to receiving messages
  330. Object Oriented approach to receiving messages
  331. Using Word
  332. Using Word
  333. Enabling SSL on the server with test certificate
  334. Enabling SSL on the server with test certificate
  335. GUI Lib Recommendation
  336. GUI Lib Recommendation
  337. questions
  338. questions
  339. Strange Exception!
  340. Strange Exception!
  341. "DataTable.Select(String*)" criteria
  342. "DataTable.Select(String*)" criteria
  343. rowstate problems
  344. rowstate problems
  345. Using c++ dll in c#
  346. Using c++ dll in c#
  347. exclude classes from build process
  348. exclude classes from build process
  349. Timers and Services
  350. Timers and Services
  351. C# using statement
  352. C# using statement
  353. Number of rows
  354. Number of rows
  355. Installed program path
  356. Installed program path
  357. Convert dd/MM/yyyy to sql server format
  358. Convert dd/MM/yyyy to sql server format
  359. button stops loop
  360. button stops loop
  361. Can Managed C++ Eliminate Boxing/UnBoxing Overhead?
  362. Can Managed C++ Eliminate Boxing/UnBoxing Overhead?
  363. Command window pops up on startup
  364. Command window pops up on startup
  365. Crystal Reprot viewer print dialog
  366. Crystal Reprot viewer print dialog
  367. Object Serialization
  368. Object Serialization
  369. Question re Textbox Component
  370. Question re Textbox Component
  371. About Cursor
  372. About Cursor
  373. VS2005 - Client Side Javascript and Wizard Control
  374. VS2005 - Client Side Javascript and Wizard Control
  375. Large INSERT SQL Server 2000/C#
  376. Large INSERT SQL Server 2000/C#
  377. How to create form with #32770 classname in C# ?
  378. How to create form with #32770 classname in C# ?
  379. Creation Generic class
  380. Creation Generic class
  381. Creation Generic class
  382. Creation Generic class
  383. new versus override
  384. new versus override
  385. html optimizer
  386. html optimizer
  387. Opacity for controls
  388. Opacity for controls
  389. Opacity for controls
  390. Opacity for controls
  391. Serialization, Reflection and Inheritance question
  392. Serialization, Reflection and Inheritance question
  393. split a string by number
  394. Resizing a FolderBrowserDialog
  395. split a string by number
  396. button attributes disable validation
  397. Resizing a FolderBrowserDialog
  398. WinForm Type question
  399. button attributes disable validation
  400. programmatically created droplistboxes
  401. OpenFileDialog
  402. WinForm Type question
  403. int to string
  404. programmatically created droplistboxes
  405. OpenFileDialog
  406. text box or RTF box
  407. int to string
  408. in C# how do i transform an xml document with an xsl document when my xml document is a string and my xsl document is a string? the msdn examples only show how to do it with steams and files. in my case i have everything in string
  409. how to make sure a xsl document has valid xsl syntax? i tried loading it into an xml document but that doesnt show syntax errors inside attributes such as "foo/bar" vs "bar\foo"
  410. text box or RTF box
  411. Specified cast not valid on decimal & double datatypes
  412. UDP Client vs Socket
  413. test
  414. in C# how do i transform an xml document with an xsl document when my xml document is a string and my xsl document is a string? the msdn examples only show how to do it with steams and files. in my case i have everything in string
  415. how to make sure a xsl document has valid xsl syntax? i tried loading it into an xml document but that doesnt show syntax errors inside attributes such as "foo/bar" vs "bar\foo"
  416. Specified cast not valid on decimal & double datatypes
  417. UDP Client vs Socket
  418. test
  419. Focus problem.
  420. Avoiding Catching System.Exception
  421. Formattable TextBoxColumn ignoring format...
  422. compiled Regex
  423. Images in C#
  424. Determining windows version during compile...
  425. System.Reflection question
  426. Selecting appropriate override
  427. DLL vs Dynamic Compile
  428. Databound Item Replace
  429. .NET (C#) and file handles
  430. Totally lost with c# web service execution as remote identity
  431. Seeking advice on transferring a file via WebMethod
  432. Opening a new browser in c# code behind
  433. Batch Statments C# SQL Server 2000
  434. regular expression, replacing group text
  435. Deserializing double.NaN generates exception in framwork source
  436. Windows UI design
  437. CrystalReport - ShowNextPage() ShowLastPage()
  438. IIS and .net
  439. Minimze and show icon on the desktop icon
  440. VS 2005 Beta 2: Using TreeView control in SplitContainer to change the right panel
  441. General GDI+ Error
  442. Close child window when parent closes in asp.net
  443. Close child window when parent closes in asp.net
  444. SocketFlags.None doesnot work
  445. Using OleDbConnection in Sharepoint WebParts gives System.Security.SecurityException
  446. Connection between 2 palmtops
  447. Abusing C#
  448. A problem about sign on in one app and also can work in another.
  449. list of domains
  450. How deep should a deep copy go? / Is an object that contains value type still a reference type?
  451. BUG in non-blocking socket connect ?
  452. Import data to db with c#
  453. URL inside a mail produced with asp.net
  454. Is it possible to hide class methods when the class has not been properly instantiated?
  455. Save Table in SQL
  456. Another VS Error Message. HELP WANTED PLEASE!
  457. can I grant write permissions to a folder for restricted user.
  458. Emacs for VS 2005 beta 2
  459. Where Can I Get More Online Project Templates?
  460. weekOfYear
  461. Need stdout-style console class
  462. Can we use C# to develop a project on OpenVPN
  463. Can a child table be automatically filled in a DataSet with a DataRelation?
  464. button click
  465. ArrayList
  466. file upload position
  467. How to read Powerpoint file in C#.NET
  468. Delaying the framerate in MPEG - C#
  469. Help routing hardware response to correct method call
  470. one client to others client
  471. Temporary turn off wordmail
  472. Interfaces - Why?
  473. ASP.Net C# in commercial environment
  474. build a bilingual web?
  475. Regular Expression Question. Please help!
  476. One or more of the types in the assembly unable to load
  477. strip-out HTML tags from text-block
  478. DateTime.MinValue and nulls
  479. Can't find VS 2003 .Net command prompt?
  480. Encription & Configuration Application Block
  481. creating custom objects 2
  482. VB Guru having trouble with "C# boxing"
  483. patching
  484. Using TsUserEx in C#
  485. Changing text in setup installers
  486. Finding out by reflection what interfaces a class implements
  487. Maintaining page index
  488. Assigning EventHandler of one control to another
  489. compound interest calculation
  490. Current logged on Interactive User from a System Service?
  491. How to set process name/description?
  492. Database form wizard VS2005?
  493. Listview Rectangle Focus problem
  494. Connecting outlook through C#.NET Application
  495. Generics - Calling Static Method
  496. System.Web.UI namespace
  497. Stop combo box closeup event
  498. Using CommPort
  499. ActiveX dll
  500. Reparation lasted two days...
  501. Adding rows to DataTable
  502. Easy way to cast an array of strings to an array of objects?
  503. System.TypeInitializationException
  504. ho to get templates
  505. Website images
  506. publish an app
  507. Documentation
  508. GC effect on runtime
  509. Tooltip not working properly
  510. Understanding threads in Forms
  511. VB .NET -> C# conversion problem
  512. How to get list of shared folders
  513. Gragphics.DrawImage on a flipped Image
  514. How to reference an event ?
  515. Can it Single Sign On on different machines?
  516. How to convert Byte[] to object expect Using the BinaryFormatter
  517. I think C# is forcing us to write more (redundant) code
  518. Where can I get some C# MIS system source code?
  519. How to exit a For-Next in a nested Switch statement?
  520. How to Include C++ file in C#?
  521. Failed to partial bind
  522. Parse vs. Convert
  523. Problem converting managed array (C++) to C# array
  524. Error accessing my C# app from VBScript
  525. Passing reference type as method parameter
  526. How to determinate the version Sql2005
  527. Save a file
  528. strange context menu shadows
  529. Regular Expressions
  530. Displaying the textual value from a foreign table in a datagrid using the foreign key
  531. Datatable position
  532. Datatable position
  533. DataGrid Rows Color
  534. Binding DataGrid to an hierarchy of objects - problem with Stylesat the bottom of the hierarchy
  535. prohibit access to a database.
  536. Connect to VSS with C#
  537. Windows Forms and Partial Classes
  538. I'm at a loss... Printing and margins?
  539. (General Query) why n++ executes faster than n+1
  540. (General Query w.r.t Program Execution )
  541. Run a resource
  542. console redirect
  543. printing a user control
  544. Add string in a file
  545. SetConsoleScreenBufferSize
  546. File Permission
  547. ToChar of strange values
  548. TcpListener inherited by child processes when UseShellExecute = false
  549. Debugging DLLs
  550. How to override forecolor of radio button?