Answer Questions
styvie Can I prevent Web Reference Auto-Generation?
I have a Web Service project and a WinForm project in the same solution. The WinForms project has a web reference to the Web Service. When I first created the web reference I then went through and customized the code in reference.vb (I wanted it to use classes for the return types from another referenced dll, and not regenerate dummy classes inside reference.vb). Whenever I make a change to the web service code it re-creates a new re ...Show All
Limmy Is there a way of specifying the SoapActorAttribute through config?
I'm trying to trace requests going in and out of my web service by redirecting them trough a tracing utility (MSSoapT.exe). The problem i that in order to make the WS-Addressing policies happy, I had to add a SoapActor attribute to my asmx but that fixes the issue only at compile time. Is there a way of setting this value through config Thanks Gabo ...Show All
Anand Code runs but database doesn't update
All, I'm new to ADO.NET (used to work in ADO and am really struggling with the concept!)... I've got a web form, which has a dataset and connection attached with 2 text fields that I want to use to add a new record to a table. The code runs fine, but the database does not get updated... the db is Access. Here's the code - I know I'm doing something stupidly wrong, but I can't work it out! Thanks in advance. Dim strPN As String Dim s ...Show All
Frosty1_4me SqlException: Timeout expired
Hi, I have a problem with a function that retrieves data from a sql server database. The following code: For j = 1 To intRows Dim ctlTemp2 As HtmlInputCheckBox ctlTemp2 = FindControl("chk" & j) If ctlTemp2.Checked = True Then Dim ctlTemp1 As HtmlTableCell ctlTemp1 = FindControl("login" & j) strSQLExec = SaveBon(ctltemp1.InnerHtml) If strSQLExec <> "" Then ...Show All
SamCKayak about dot net framework organisation
hello ,can any one tel me if there is an dotnet framework for developing information systemes whith database like in J2EE: repertori -hebernate - AOD exactly if l can organise a group of classes specialy tables,others classes specialy controls this tables,others specialy swaping betwin database and calsses table with eventuelly the mapping for connecting table with classes thanks ADO.NET typed data se ...Show All
Shane McRoberts MSFT All Windows Applications Under .Net
I am imagining a system where all the software running on it has been built on the .Net framework. Is that likely What do you mean when you say, all software Any piece of code that has to execute before the run-time starts cannot be managed. In the same way, the OS boot loader + low level kernel would still have to be unmanaged. But realistically speaking, unless someone builds a micropr ...Show All
Shelly Guo - MSFT Oracle Databinding on Formview.
Ok, Love VS2005, but it's not that Oracle friendly at first sight. I can create a FormView bound to a SqlDataSource, and Bind() fields to view the data (I have to manually create the query because of [] around each field, but that's part of the incompatibility...), but anyway, the viewing works fine. This is ODBC->Oracle 9i, Feb CTP. I cannot get the update to work though. My UpdateCommand is: UpdateCommand="UPDATE MYTAB SET ID = @ID WHERE ( ...Show All
totte500 bug in Int32.Parse
In Visual Studio 2005, the following throws a FormatException and it definitely shouldn't. The same code works fine in Visual Studio 2003. This is the version that I am seeing the problem, running on XP: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Profes ...Show All
Jin12551 How to get current user logon in windows service
Hello i want to run windows service on client machine that makes an entry of Current user logon in server database well i tried three ways to do it 1) Enviroment.username 2) System.security.Principals.windowsidentity.getCurrent(); 3) through windows registry All three methods work well when i use them in console application but when i make a windows service the first two returns me name of user who s ...Show All
Philippe Thibault Send directly to MAC address over Ethernet
I Need to connect to some hardware device (a lab instrument), which is connected via Ethernet to the PC and which has an unknown IP address or no IP address at all. This situation may occur, if the system is started up the first time and no DHCP server is on LAN. I thought it would be a good idea to implement some communication with ARP protocol, but I couldn’t find any .NET class helping me. I found a system DLL (iphlpapi.dll) which gets the MA ...Show All
Adam Tatusko Mutiplayer game using Remoting
some body tell me how to handle multiplayers in remoting using TCP channel i mean how i can identify clients on the server side. Don't use remoting for this! It is never designed for outbox connections and suddently not for multiplayer games If this game is to be played across the internet or LAN use web services. If you must use remoting go with HTTP/binary hosted in IIS. Ahlan wa sahlan Al ...Show All
Maverick2311 How to use DateTimePicker and then convert to number
The question is how do i use datetimepicker and then later convert into integer number. say i tell the user to put in his or her date of birth. Then i want to take that to convert into age. So if someone enter 11/11/1955 then my Dim age as integer age = dateofbirth. which right now is 11/11/1955. Well how do i make it so that age = 51 years old. Thnk you and i would like to have a next and previous on my apps. Back button to go back ...Show All
emtiez System.DirectortServices
Hi all, I am new to System.DirectoryServices programming. I am trying few samples at home. But somehow the samples in MSDN uses Organizational unit and other AD terms and I dont knwo how to use them at home. I dont have any Active Directory setup in my machine. Moreover the System.DirectoryServices samples in MSDN doesn't work when I try them at home. Here is a basic task I wanted to do. I wanted to add a user to a group. When I use the Direc ...Show All
cbwick How to access a Microsoft Access DB with OleDbConnection?
See the example I posted in the thread 'executing stored action query in ..NET' on the 10th. It's a VB.NET example, but there are very few differences - mostly just variable declarations and line endings. There are various other elements of the connection string you may need to specify under some circumstances, for example if working with a secured database. Sometimes it helps to create a Universal Data Link (UDL) file so that you c ...Show All
HariValath IHasXmlNode and XPathNavigator
Reading the docs on IHasXmlNode I assumed an XPathNavigator object would always implement IHasXmlNode. The examples always use CreateNavigator() on an XmlDocument object. I assumed this was just an example. If I use CreateNavigator() on an XPathDocument object, that XPathNavigator object does not implement IHasXmlNode. For example: XmlTextReader reader = new XmlTextReader(@"file.xml"); XPathDocument document = new XPathDoc ...Show All
