Answer Questions
DBArchitect C# get the return parameter from storage procedure of Oracle
I have created a storage procedure Insert_Data in Oracle, which returns a parameter new_ID. Now I use the OledbCommand to execute the procedure. How to get the returned parameter new_ID The language is C#. Thanks! Try the following to specify the return value and specify In and Out Params: ------------------------------------------------------------------------- OracleCommand cmd = new SqlCommand(); cmd.Connection = conn; cmd. ...Show All
davecarrera how to delete files with a certain extension
I know how to delete a single file, but how do I delete multiple files at once with a certain extension Is there some file enumeration function I'm unaware of i.e. if exist c:\test\*.txt del c:\test\*.txt ok thanks, i'll give that a shot. System.IO.Directory.GetFiles has an overload which takes a search string as well as a directory path. ...Show All
Triforce bytes in a byte[]
Hi maybe this will sound idiot.. but.. The number of byte recived( from client ina byte[] buffer) is the buffer.Length buffer.Length will return the number of elements in te byte array What function are you using Normaly this type of function return an integer containing the number of byte read. buffer.Length is the length of your buffer, maybe you allocated 100 byte for only read 10 byte, this way buffer.Length wil ...Show All
Alekos66 Integration of MSDN Library with Visual Studio 2005
I have installed two versions of MSDN Library, and still my VS2005 doesn't recognise any local help at all. Because of some legacy code I need to keep VS2002, VS2003 and VS2005 on my system. My VS2005 is Team Edition for Software Developers. My installed versions of MSDN Library are Octover 2005 DVD for VS2003, and 8.0.50727.137. Thank you. Could you elaborate What do you mean by "doesn't re ...Show All
VistaCurious How to convert string data?
I using terminal program to get my data. U can load it at: http://bray.velenje.cx/avr/terminal/ My hardware send string data to computer, when terminal program display in hex format, data is "55 AA 08 20 00 28" and when it display in string data, it is "U@<00>H". How do i convert U@<00>H to 55 AA 08 20 00 28 and from 55 AA 08 20 00 28 to U@<00>H Thank you! You can use the char data type. You can co ...Show All
polymorphicx Signing an assembly with a key container
The AssemblyKeyName attribute I've been using to sign my assemblies with a key from a container is now deprecated in VS 2005 (I'm using the Standard released version). I get this warning message: AssemblyInfo.cs(59,12): warning CS1699: Use command line option '/keycontainer' or appropriate project settings instead of 'AssemblyKeyName' But as far as I can tell, there's no way to specify a key container in the project settings, only a key file. I ...Show All
MichaelLaw about vs2005 ! give me a hand! waiting on line!
vs2005 help!!!! a textbox ,a button , a sqldatasource ,a dataview when click the button execute sql: select * from authors where name=‘+textbox.text+’ the dataset returned list in dataview , just like c/s 。 I feel it very hard to contral sqldatasource, code is holpful 2! HI Thank you very much ! I solve it by myself ! that is very simple query interface , Hi Your question is not clear that what you wanna ...Show All
joshcsmith13 pulling forms out of applications.
Is there a way to pull out what forms are in a particular application that get's passed in Also does any one know how to find out the name of the exe file that call's the dll Anything would be very helpful. Thanks, Matt mattdawg wrote: Ok I got the calling assembly thing figured out thanks a lot. Now how do I reflection to find out the forms in a particular form without passing it in If ...Show All
George Archer How to extract files from a zip archive using C#.Net
Hi.I want to extract a zip archive using C#.Net. CAn anyone help The .NET Framework can't do directories. However there is a free zip/unzip library below that can: http://www.kellermansoftware.com/p-19-free-sharp-zip-wrapper.aspx in here http://www.icsharpcode.net/OpenSource/SharpZipLib/ do you have a open source library for use with .net it extract Zip, GZip, BZip2 and Tar files.. ...Show All
Osama Ibrahim how to check overflow
how can i check if a sum of 2 numbers are causing an overflow (but i want to use a custom exception, not the regular one). thanks Assuming ints, how about: int delta = maxint – addend; if (delta < augend) { throw …; } thanks for the help :) I guess the obvious way ...Show All
Doutaz Michel How to record audio...
Does anyone knows how can I record and reproduce(the recorded audio file) audio, from the microphone Thanks Oke, you know how to record now sending to the server isn't so hard. You can use sockets for that or remoting, take a look at some of there articles: Real Time TCP/IP using C# - The Code Project - C# Programming Introduction to TCP client server in C# VB.NET TCP Client - Server Socket Communications Client Server Multithr ...Show All
stripendulous Print a Header on each page
I'm programatically printing from C# using a class derived from System.Drawing.Printing.PrintDocument which handles line wrapping and multiple pages by overriding OnPrintPage(). This is all in the Microsoft example. Is there a handy way to print a header on each page, for instance the way notepad does, with like a title and the page number Or customize the print dialog so as to get header and footers like in notepad, excel, IE, etc ...Show All
chudman Datagrid Events
I am trying to find an event that then the user scrolls down the datagrid for each record I can display the notes in a listview control. So, when the user goes to a different record the notes for that record will appear in the listview control. Can somebody help thanks Hopefully this is not taken in the wrong thought, but did you create a handler for the event, not just copy and paste the code I presume this is Framework 1.1 not 2.0, sin ...Show All
hernanac File -> New Web Site -> Templates is empty
I have just installed Visual Web Developer 2005 Express Edition Beta 2. When i click File New Web Site the templates is empty. Have anyone a solution on that problem. Thanks, Poul Erik PoulErik - The right forum to post this question would be the Express forum. http://forums.microsoft.com/msdn/ShowForum.aspx ForumID=24 Someone from VWD Express would probably have a better idea of why this is happening. Thanks! Karen Liu Visual C# No ...Show All
Rutger van Dijk Retrieving the COM class factory for component{} - 8007007e
Hi, I am trying to take screenshots of any open Internet Explorer. I have writen the code and it works fine when I run the site in debug mode. Once the site is published I get the following error: Retrieving the COM class factory for component with CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} failed due to the following error: 8007007e. Description: An unhandled ...Show All
