-
- XSLT transformation problem
by dmouser
- 11 Replies
- Last post
by Martin Honnen
- I would like to implement something like this
Display 3 records in each row.
<object> <test>1 </test>
<test>2 </test>
<test>3 </test>
<test> 4</test>
<test>5 </test> <test> 6</test>
<test>7 </test> </object> The XSLT I'm working with is: <xsl:for-ea
-
- Displaying multiple windows
by Kevin Hoffman
- 9 Replies
- Last post
by David Poll - MSFT
- When building an Acropolis application, how do I create multiple detached windows off the main window Basically when someone pushes a button, I want to launch a new shell containing a bunch of new parts in a new window.
-
- Problem Connecting to the database on windows server 2003 Startup.
by Hunain Durrani
- 2 Replies
- Last post
by Hunain Durrani
- Hi,
These days i am having a problem related to database connection on the windows server 2003 startup.I have a C# application which is required to be start when the OS(Windows Server 2003) starts application runs it gets the connection parameter from a text file and connectes to the DB . The problem is that it doesn't connect to the database and throws an exception "Login failed for u
-
- Serialisation of a generic IList
by jarod-dotnet
- 3 Replies
- Last post
by ranamauro
- Hi , I have a web method That have as an input an object That contains a property of type Ilist<>.I have an excpetion saying that this property can't be serializable. My question is : how to make it serializable Thanks!
-
- Creating an ActiveX Assembly with no UI
by rlrcstr
- 7 Replies
- Last post
by Feng Chen - MSFT
- In the examples of creating an .NET ActiveX control, everything is based on a UserControl. What if the control won't have any user interface. Just methods to call from other controls on the web page Can it be done with a standard class What part of the UserControl is enabling the ActiveX type of connectivity Is it something I can add to a class without the overhead of the full UeerControl
-
- Retrieve certain content from the web
by Spoofer
- 2 Replies
- Last post
by Spoofer
- Ok i'm pretty much stuck, that's why i'm here. Basicly what i'm trying to do is grab the tv program guide from the internet. I have been working with the HttpWebResponse and HttpWebRequest classes so i can pull a website from the net. Than i have this static html, javascript etc code. The problem is i don't know exactly how i would go about getting the actual programs and hours out of this static
-
- How to know if ServiceBase.Run is run from command line ?
by Leto58
- 2 Replies
- Last post
by Leto58
- Hi,
I am trying to develop a Windows service that can also be run from command line.
I found examples that showed it could be achieved by parsing command lines parameters, but I would like to have it more systematic and consistent:
If you try and run a service from a command line, as soon as you reach ServiceBase.Run, you get a message that says "Cannot start service from t
-
- help with forward slashes
by ironmonkey_69
- 1 Replies
- Last post
by OmegaMan
- I was wondering if anyone can help me with a regex that would find text between forward slashes. i.e. /new/new.txt. I need it to be able to get the slashes as well as the text between it. the directory and the filename will always change. Please help me.
-
- Can C# offer suport for interMedia data types from ORACLE
by hora03
- 6 Replies
- Last post
by hora03
- Hello,
I want to know if C# offers support for the next data types from ORACLE: ORDImage, ORDAudio and ORDVideo. I know that Java does this, does anybody of you worked with this multimedia data types from C#
Thank you.
-
- VB.NET to Access MS SQL 2000 using Windows Active Directory Authentication
by FijiSmithy
- 14 Replies
- Last post
by FijiSmithy
- I have a VB.NET application that originally sent data to a MySQL database. I am in the process of moving it to MS SQL 2000 server. I'm looking for the follwoing help:
1. Is it possible for my application to access the SQL DB using a Windows Active Directory Authentication If so How I need to be able to submit a username and password to Authenticate on my domain. The machines running this a
-
- When trying to connect to Database, I receive an error message ("Format of the initialization string does not conform to speci")
by gagouche
- 12 Replies
- Last post
by Inpiper
- I am trying to connect to a dabase; the program build successfull. However, I get an error message whenever I ran it " Format of the initialization string does not conform to specification starting at index 0." This is how the connection string looks in the app config file and the method that I am using
< add name = " Leson06.Properties.Settings.userDatabaseConnectionS
-
- What is the most efficient method to update a single row in Access DB
by Bryce Beagley
- 1 Replies
- Last post
by Paul P Clement IV
- I currently use OLEDB for most of our data access, but have a requirement to read a single record from a table, lock it while updating it, then write it back.
I have an OrderID that I need to read, increment by 1, then write back.
The only way to get it to work properly with OLEDB seems to be using two different connections. The OLEDB does not lock the record whilst it is being updated, and
-
- C# SerialPort System.ObjectDisposedException, safe handle has been closed in System.DLL
by BWTSOL
- 14 Replies
- Last post
by SvenK
- I have an application in which at start up I need to do a port discovery process to determine whether instruments are attached to the end of any number of PC com ports. These com ports could be Bluetooth enumerated or, using FTDI USB to serial line convertor drivers, a USB connection. At start up I determine which ports are being used for this session by interogating all the ports stored in a list
-
- nillable="true" and minOccurs=Ħħ0Ħħ in SoapRpcMethod
by Black Bits Neeraj
- 4 Replies
- Last post
by TomK303
- Hi,
I got an interface contract having schema like this:
<s:element name="JoinDate" nillable="true" type="s ateTime"/>
<s:element name="Name" type="s tring " minOccurs="0" nillable="true"/> I have tried all the possible ways
but I am getting my wsdl like this:
<s:element minOccurs="
-
- .Net Remoting : Free Port
by gopvishwa
- 3 Replies
- Last post
by Salvatore Di Fazio
- Hi, I am using Remotng object running at port number 8085,I would like to find a free port number dynamically and assign to the remoting object.Can you pls help me Regards Gopi
-
- Replace character, but only in some cases
by Blind Villian
- 6 Replies
- Last post
by OmegaMan
- Hello,
I'm trying to write a regex expression that will replace " with the word inches, but only in cases where a number precedes it, for example: 9"
So far I have [\d]"
However, I don't want to do this in the case of "9". IE: in the case where words are enclosed in quotes.
Can one of you regex gurus lend me a hand
Th
-
- Web Services - In Development and Production - How to?
by Jhon Doe
- 10 Replies
- Last post
by Jhon Doe
- Hi all!
I have a requirement that my web application interacts with a web-service for some actions. The web-service method will return some value, and my application needs to work based on the value returned by the web-service.
I do not have access to the web-service from my development net-work. So I created one web-service (with same name and methods which is available in my prod
-
- How to Prefix an XML document?
by Solar9
- 9 Replies
- Last post
by Solar9
- How to add prefix to all of the nodes in an XML document Following is my xml.
< xml version="1.0" encoding="utf-16" > - < XYZ123 :NameRequester xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" d1p1:SID="20" d1p1:HID="21" d1p1:RID="22" xmlns:d1p1="http://tempur
-
- RSACryptoServiceProvider.Encrypt is weak, can't handle more than 245 bytes of data
by Voss Burton
- 3 Replies
- Last post
by Voss Burton
- Hey Peoples!
I imported a public key for the RSACryptoServiceProvider using the FromXMLString() method, which imports without drama, but throws an unhandled CryptographicException when I use the Encrypt() method, with the Error Message of "Key not valid for use in specified state."
Does anyone understand this problem or how to get around it I've looked at other forum posts
-
- IPv6 will not enable in Visual Studio .NET 2005
by Johnny2Bad
- 3 Replies
- Last post
by RizwanSharp
- Hi peoples,
I am running Visual Studio .net 3.0 2005 on a Windows XP Pro and am having problems configuring Visual Studio to recognise the fact that I have actually installed the TCP/IP IPv6 protocol on my machine. I have done the following things...
1. Installed Micosoft TCP/IP version 6 on my XP box.
2. Run IPCONFIG on the machine to verify I have it actually got an IPv6 address (wh
-
- Dot Net 2.0 causes WSDL to include SOAP 1.2, Studio gags on update web reference
by Bill Cumming
- 2 Replies
- Last post
by Bill Cumming
- I am trying to update a web reference to a web service I wrote from within Studio 2005. If I update the web reference on my development box where the web service is configured (by accident) to use .Net 1.1, the WSDL responds includes only SOAP 1.1 methods.
In the process of trying to recreate my development environment on another computer, I installed the same web service and Studio 2005,
-
- Beta2 - TraceSource - EventSchemaTraceListener - Issues
by R Raghu
- 4 Replies
- Last post
by Inbar Gazit - MSFT
- I tried to trace (on Win2k3) with following entries in the config file (as shown at BCL's blog: http://blogs.msdn.com/bclteam/archive/2007/03/09/a-new-tracelistener-in-orcas-eventschematracelistener-inbar-gazit.aspx ):
<configuration> <system.diagnostics> <source name="MyTraceSource" > <listeners> <remove name="Default"/>
-
- Reflecting on Properties
by PhilipDaniels
- 4 Replies
- Last post
by PhilipDaniels
- How can one determine the common or garden access modifiers of a property (i.e. public, private virtual, override etc) - the PropertyInfo class does not have an Attributes property nor any IsPublic, IsFamily etc properties. The get & set methods have such properties but its not clear to me how one determines which one inherited its modifiers from the property and which one has the accessor spe
-
- stream reader and writer problem
by ashk1860
- 3 Replies
- Last post
by nahguam
- hi
I have a strange error. I have an .ini file to set the default values and it will change in a button click event. very simple. but when I want to delete the existing file, I get the "file in used" error. I just use stream reader once and stream reader once and I am sure that they are close but I can not undrestand why I get this error. the worst thing is that the error will raise just s
-
- How to find the last occurence of <p> within a textblock tiltled <h2>??
by Zjivago
- 14 Replies
- Last post
by Sergei Z
- I have html files with the following structure: <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p>
<p>paragraph 3 - bladiblah di blahblah</p>
<p>paragraph 4 - bladiblah di blahblah</p> <p>paragraph 5 - bladiblah di blahblah</p>
<h2>articl