| |
thread by: Mike P |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
I've just started using the 'using' keyword for database connections
etc. Is it not possible to use try catch blocks with using? And if so,
how do you trap errors when using using?
*** Sent via Developersdex http://www.developersdex.com ***
|
thread by: =?Utf-8?B?TWFydGluIEtvY2g=?= |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
1st I serialize a DataSet (contains 14 DataTables) into file, with
BinaryFormatter.
2nd I change some columns in a DataTable.
3rd When I now Deserialize the DataSet from bin file got I problems ??
Thanks in advance
|
thread by: Giulio Petrucci |
last post Jun 27 '08 by: Giulio Petrucci
Hi there,
is there any library to "manipulate" multimedia files? What I need is to:
- confert file across different formats
- split audio and video
- resample audio files
Any suggestion?
Thanks in advance,
Giulio
|
thread by: Peter Morris |
last post Jun 27 '08 by: Peter Morris
I have a 200x200 PNG file which has an Alpha layer.
What I would now like is a 200x200 image that is completely black, but with
the same alpha mask. This is so that I can use it as a drop shadow behind
the PNG when drawing to a target image.
I cannot see how I can draw to a Graphics without destroying the Alpha. Any
hints?
|
thread by: Piotrekk |
last post Jun 27 '08 by: Piotrekk
Hi
I have a strange problem. Here is some input data before I describe
the problem.
1. RemoteClass (Mathematica) is compiled into dll and put to GAC
2. Server remoting configuration is done by code.
//used in case of code configuration
TcpChannel channel = new TcpChannel(5000);
|
thread by: =?Utf-8?B?ZXJkb2dhbg==?= |
last post Jun 27 '08 by: =?Utf-8?B?ZXJkb2dhbg==?=
Hi,
I have Multi-threaded TCPListener.
I can connect to listener from local sistem and remote sistem.
I turned it to windows servis.
I can connect to listener via telnet from local sistem but i can't connect
remote sistem.
I used for loading servis installutil.exe
My Oparationg sistem: XP Professional
|
thread by: Pete Kane |
last post Jun 27 '08 by: Pete Kane
Hi All, does anyone know if it's possible to utilise a .NET class
library from Excel 97 ? I've tried but receive a runtime error
-2146232576 which means nothing to me, my class is shown below, I've
placed the assembly into the GAC and registered it using RegAsm all to
no avail
using System;
using System.Collections.Generic;
using...
|
| |
thread by: Abdellah MOUHOU |
last post Jun 27 '08 by: Abdellah MOUHOU
Hello everybody,
I have an application developed under WM5 SDK (visual studio 2005 & CF .NET2.0). I can get incoming number in WM5 but have problem with WM6, I can't get incoming number !!! it says "Number not transmitted".
PS. The code is developed in unmanaged code
Thanks for you help
|
thread by: bruno.wouters |
last post Jun 27 '08 by: bruno.wouters
Hi,
I have a a
|
thread by: Pete Kane |
last post Jun 27 '08 by: Pete Kane
Hi All, does anyone know if it's possible to utilise a .NET class
library from Excel 97 ? I've tried but receive a runtime error
-2146232576 which means nothing to me, my class is shown below, I've
placed the assembly into the GAC and registered it using RegAsm all to
no avail
using System;
using System.Collections.Generic;
using...
|
thread by: Uwe Domschke |
last post Jun 27 '08 by: Willy Denoyette [MVP]
I had to start and stop the service "RemoteAccess". For this I use the
'ServiceController'. In XP is this no problem, but in VISTA I get "access
denied".
Had anybody an idea?
Uwe
|
thread by: fscali |
last post Jun 27 '08 by: fscali
Hi,
we are using a client c# console application to test a web service
which uses Easy Soap.
We are currently stuck in a strange problem which occurs only in a
particular method call to the web service. In this case the connection
is established, data begins to be transferred from the server to the
client, but after about 260 ~ 270 KBytes...
|
thread by: Sameera |
last post Jun 27 '08 by: Sameera
Hi,
Could any one help me out on how to retriveing the supported formats
for the installed Word version in C#.
Thanks
|
thread by: Chico Che |
last post Jun 27 '08 by: Gilles Kohl [MVP]
I have a program in Visual Basic that has a running object
Public objSAPGui As Object
Public objGUIApp As Object
Set objSAPGui = GetObject("SAPGUI")
If Not objSAPGui Is Nothing Then
Set objGUIApp = objSAPGui.GetScriptingEngine
end if
I can't really create the same way in C#, so I imported the
|
thread by: Jason Huang |
last post Jun 27 '08 by: Niraj Ranka
Hi,
In my .Net 2.0 C# web form WForm1, I have a table Table1 and it's size is
W800 H400, all other controls and stuff are inside the Table1.
When I open the WForm1 in browser, I would like to let the Table1 show in
the middle of the browser regardless of the screen size is 1024*768 or any
other bigger.
What do I need to do?
Thanks for...
|
| |
thread by: Niraj Ranka |
last post Jun 27 '08 by: Niraj Ranka
Hello,
Can we do dosprinting from .net 2003 in c#.
Also can we directly print to lpt1 port. ???
Please let me know
Niraj Ranka
|
thread by: =?Utf-8?B?TWFyZWs=?= |
last post Jun 27 '08 by: Jialiang Ge [MSFT]
Hi
I am trying to dynamically create the following structure using
AssemblyBuilder, TypeBuilder and DefineField:
public struct SimpleType2
{
public double dScalar1;
public fixed double dArray;
public int iScalar1;
|
thread by: fyitang |
last post Jun 27 '08 by: fyitang
hi guys, how could i get the dbserver's ip address using a oracle
connection or a connetting string?
|
thread by: Andy B |
last post Jun 27 '08 by: Andy B
Is there a way that is already built into .net 3.5 that will let me protect
an object from being modified when the object is public?
|
thread by: Johnny Jörgensen |
last post Jun 27 '08 by: Mr. Arnold
I do a lot of winforms programming in C# and VB.NET, but not I've been asked
to do an ASP.NET application, and that's a first for me. So I hope you will
bear with this basic question, because I'm really puzzled.
I've got an SQL Server 2005 DB, and for the sake of simplification, we can
say that I've got two tables, tblBooks and tblAuthors....
|
thread by: P Chase |
last post Jun 27 '08 by: Peter Duniho
The .Net "pack URIs" feature seems ideally suited to my C#
application, but I cannot make it work. I hope someone can help.
I have some images (GIF and JPG), which I have built into my library's
DLL, by setting Build Action to Embedded Resource. Using
Assembly.GetManifestResourceNames(), I have verified that they're
there, at run-time.
I...
|
thread by: Benny |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
I might be overcomplicating the solution, but the problem is I have to
make a breakdown of each week for many ranges of dates within a
particular year. So for example one record might have a start date of
1/1/2008 and an end date of 2/31/2008 and I need to break down each
week within that period and display the data corresponding to that...
|
thread by: TheSteph |
last post Jun 27 '08 by: TheSteph
Hi,
does anybody know how I can get the "default system Border Width " ?
example : if I draw a TextBox with the default 3D border, what is the with
(thikness) of the border ?
Thanks for your help !
Steph3.
|
| |
thread by: William Johnston |
last post Jun 27 '08 by: William Johnston
Hi,
A support technician proposed a workaround to black images created for thumbnails.
The code to create a thumbnail is below:
//passes results to Response.OutputStream
private void CreateThumbnail(string url)
{
try
|
thread by: Samuel R. Neff |
last post Jun 27 '08 by: Samuel R. Neff
I'm having trouble creating a Semaphore with read-access rights for
everyone. Originally I was trying to use this code:
semaphore = new Semaphore(maxLocks, maxLocks, "RwLock#" + name);
but when using that code to create a Semaphore instance for an
existing system semaphore (i.e., the second time the code gets hit), I
get an...
|