Answer Questions
Mal Cartwright Help with Custom Comparer
I have a class with 3 variables. When I create an array of them, I'd like to be able to sort the array on each of the three variables. Array::Sort has one form that does this: Array.Sort (Array, IComparer) The example code given for the IComparer is: public ref class myReverserClass: public IComparer { private: // Calls CaseInsensitiveComparer::Compare with the parameters reversed. virtual int Compare( Object^ x, Object^ y ) = ICom ...Show All
Geoffroy Problem to access web service via ISA server
Hi, I have the problem to access web services. The machine is behind the ISA 2000 server. When I try to add web reference, it will pop up the screen to enter the username and password. However, I enter the the username and password for our domain, it comes up the following message "The request failed with HTTP status 403: Forbidden ( The ISA Server denies the specified Uniform Resource Locator (URL). )." Should I configure the ISA to allow ...Show All
Dennis Vroegop Enable/Disable network card
Hi. Is there any possibility to control the network card ( enable/disable) using c# in .NET Framework 1.1 Thanks.Mircea Thank you very much. Mircea It is a good point. I figured out that I don't need to enable/disable the network card: I am interested in disabling/enabling a specific connection, not the whole connections from the network card. Any ideea Thanks. Mircea ...Show All
pearljam DOT Net Framework Compatibility Question
I have RC1 of VS2005. I am told that the RC1 framework is compatible with the RTM V2.0 Framework where the beta-II framework was not. My question is how compatible There is a new .NET SDK that is supposed to require the 2.0 Framework. Is that compatible with the RC1 Framework To what extent are they interchangeable Could I deinstall the RC1 Framework and install the RTM framework Is the new sdk compatible with the RC1 Framework ...Show All
samujob Default value in dropdown list
I am looking to programatically add a value to a dropdown list that is populated using a DataReader and to position the cursor to the top value in the list. I can do this when working with a DataSet, but want to use a reader. Any suggestions on how to proceed DWC While DataReader . Read Me . ComboBox1 . Items . Add ( DataReader ("FieldName"). ToString ) End While If Me . ComboBox1 . Items . Count > 0 T ...Show All
GHSR control .net apps with speech
Somebody can give me ahint in how to make this. For example I made an win form app with a button that plays a song. now I want that the application can be used with my voice. I wanna say PLay" and the song must begin Any ideas in .net 2.0 please You should search for "voice recognition" maybe http://www.microsoft.com/speech/default.mspx could help ...Show All
Voightsl Connecting to a database through a webservice
Ilya Tumanov wrote: Yes, but it makes no sense. To accomplish that you would have to purchase SQL 2000/2005 and pay CALs per device (or per CPU license). If that’s acceptable, simply get rid of Access and use much more powerful SQL you've paid for. Alternative solution is to use Web Service to talk to Access database. Create couple WEB methods to talk to access and call them from device. Something like this should do: ...Show All
crystal report printing problem Uploading picture files using Visual Web Developer
Could someone tell me where I can find some code examples for uploading picture files using the "upload file" control in Visual Web Developer into SQL Express 2005. I looked at the "personal web" kit and tried to figure out how the file was uploaded and passed into the database seemingly as a binary file. Very clever. Many thanks, Steve. Ps am I posting in the correct thread I couldn't see a forum for Visual Web Developer only Web Services! ...Show All
RobLinton windows firewall
Is it possible to check the status of the windows-firewall (activ or inactive) Thanks. regards Karsten I tried it out on my machine and it works correctly as the code stands on that posting. What about the other properties on the same object Are they accurate If what you say is true, I can only guess that this is a problem with the underlying COM object because the code I posted on that b ...Show All
karina Differnce between wsdl and asmx?
Hey Guys, I searched half of the web to find the answer what the differnce between a wsdl and a asmx file is. In my vs 05 projects I have only a .asmx. How can I create a wsdl and is it nessasary Cheers You use an *.asmx file to create an ASP.NET Web Service. This file contains your service implementation and is needed for hosting the service. ASP.NET automatically generates the WSDL or "service desc ...Show All
Kent Boogaart obtaining identity from sql server after insert using DA - constraint error
I am using a DA with individual select, i,u and delete sps. The update sp first updates the fields UPDATE Customer SET [Company] = @Company,........ then returns the whole row to ensure that calculated columns are refreshed at the client. I used to have a simple select for this and it worked fine : SELECT [Customer].[Company],.............. FROM Customer WHERE PK = @PK but for ease of applying future changes, I wanted ...Show All
JuanMi69226 (Yet Another) OleDB Database Update Problem
First of all, let me thank you for at least trying to help. I have to finish a simple program by friday and although the code works I have a few problems: I have a database with 2 tables "Table1" and "Table2" Each Table have 4 fields which are the tablenumber + F + column number So in table1 we have 1F1, 1F2, 1F3, 1F4 And in table 2 2F1, 2F2, 2F3, 2F4 The code uses an OleDbCommandBuilder to create the queries. With the names ...Show All
fbiots How to send mail from a Windows Application??
I am attempting to write an application which will send a mail message with an attachment. Here's code: using System; using System.Drawing; using System.Data; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Web; using System.Web.Services; using System.Web.Mail; string filename = "c:\\stuff.xls" MailMessage send = new MailMessage(); send.To = " validmail@mymailserver.com "; s ...Show All
cGeorge Error handling
Hi, I have written a Web Service and a dll (in VB.Net2005)that will be called from VB6 client. I cannot find any info on generating an event in the web service that I can consume in the dll. The event should pass error info to the dll which in turn could be sent to the VB6 app. The VB6 client can't consume the Web Service directly as the return is a dataset. The dll converts the dataset to a recordset for VB6. I'm new to all this so any help gre ...Show All
awturnbull how to Copy a table from mssql to ms access
Is there any way to copy a table(structure and data) from mssql to ms access It is true that there might be problems with this approach, and that SSIS is an alternative. However, if you set up a linked server in Access, you can write queries and the providers will convert the data types. At this point, if you make the Access query into a Make Table query, the type conversion will occur automatically. If ...Show All
