Answer Questions
lx1973 checking if .NET already installed
Hi Guys, I'm running the 2003 version. I have two MSI files: one with the .NET in and the other without the .NET. I need to check if the .NET framework already installed on the PC so I will know what MSI to run. Is there someone here that can help me here Thanks... Thanks for the tip... i'm checking that with a PHP script Do this- check for existance of this key HKEY_LOCAL_MACHINE\SOFTWARE\Mic ...Show All
jacopo Self modifying code in the CLR
Is self modifying code in the CLR possible To be more specific I had previously written a scripting engine for a game project in unmanaged C++. This worked by allocating a buffer big enough to hold the resulting code and then compiling it to x86 instructions using a mini compiler i wrote into memory and then creating a function pointer to the resulting code calling it. Will this work in managed code Or am i better off using IJW ...Show All
Karijn Exporting a DataTable to a CSV file
Hi I was hoping their was a way I can use the ADO.net functionality to write the data contained in a DataTable object to a CSV file. I’m quite new to C# development so I need a kick in the right direction. Thanks Its all to do with your connection string. With accessing CSV you need to thing of a folder as a non-relational database and the csv files in the folder as tables. Onc ...Show All
Mazmo ASP.net Website configuration tool ERROR
Hi guys, Could anyone please help! I'm trying to view the "ASP.NET Configuration Tool" and all I get is this message: An error was encountered. Please return to the previous page and try again. The following message may help in diagnosing the problem: System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name, SafeH ...Show All
Need Help Stop a windows service on a remote machine
Hello, I have to create an application on my machine(A) to start/stop a Windows service on another machine(B) connected through network. I have used the System.ServiceProcess.ServiceController object. It provides two properties to specify the 'machine name' & 'service name'. But when I use the ServcieController object's "stop" method, I get an error indicating that I don't have the permission to do stop a service on the machn ...Show All
ANeelima Answer found
xsd files create typed datasets in C# Express 2005. All I need do is add it to the project. But in VS 2003 adding it to the project does nothing. I've tried several other xsd files and none of them seems to create typed datasets in VS 2003 the same way they do in C# Express. Any suggestions please Patrick The code is simple. I add dsMotd.xsd to the project and can type: dsMotd tds = new dsMotd(); In VS 2003 I can't do that. T ...Show All
Laxmikant D. dataBase is not been updated-->please urgent...
im trying to insert a new row in my dataBase but the dataBase is not updated. the code- connection = New OleDbConnection() connection.ConnectionString = Convert.ToString(System.Configuration.ConfigurationSettings.AppSettings("connectionString")) command = New OleDbCommand("add1", connection) command.CommandType = CommandType.StoredProcedure Dim param As New OleDbParameter() param.ParameterName = "@id" param.OleD ...Show All
wattgn Additional information: No connection could be made because the target machine actively refused it
Hello, I am currently getting this error when attempting to instantiate and remote object. Currently, everything is located locally. Here is a code snippet to further explain. The highlighted code is where the error occurs. Can anyone help Thanks =========================================== namespace ResumeClient { public class ResumeClient { public static void Main( string [] args) { ChannelServices.RegisterChannel( new TcpCl ...Show All
Rachel J Create a serial port connection to a modem
Hi everybody, I am new in creating serial port connection, this application will connect to a gprs modem using api functions like shown below, but does not know how to used them, Can anyone show me how exactly to use them and values to enter to be able to create a serial port connection with this modem Please show actual codes. I am using C#. I like to create a serial port connection where the modem wil ...Show All
Koobor Integration .Net 2 SDK into Whidbey Express
Would u mind be so kind as to help me to cope with subj Problem:static link clr:pure required libs & so on. One said to me no need to trust linkers messages about missing user32.lib 'n' so on... Just integrate .NET PSDK and Express. Okay! Have somebody know-how (strict instructions or strict link to that one) 'Futures' to plenty-thanking... Hi, Here's a guide on how to use PSDK with C++ Express. http://msdn.microsoft.com/ ...Show All
Davide Rinaldi Inserting data into an access database
Hello, I am trying to insert IpAddress and other stuff into an access database in my ASP.NET 2.0 application but keep getting an exception on the INSERT statement. Can anyone tell me what I am doing wrong Thanks. Dim ipAddress1 As String = Request.ServerVariables( "REMOTE_ADDR" ) Dim UserHostName As String = Request.UserHostName Dim UserAgent As String = Request.UserAgent Dim UrlReferer As ...Show All
Ajay Panhale Unload/unbind an assembly
I have a question with respect to loading assemblies and what overhead there is if I continue to load new assemblies. What drives this question is that I have a script engine that loads VB or C# source files, builds a temporary assembly and then loads that assembly and then starts execution from a known interface. Once I'm done with the assembly I would like to release/unload/unbind the assembly and remove the temporary file ...Show All
ColinJMcGrath Major shortcomings -will vs2005 fix them?
I coded Dim a As Boolean = Me .ActiveCheckBox.CheckState and get the warning, implicit conversion from syste.windows.forms.checkstate to boolean. I have lots of such warnings. You'd think vs would allow you to get more information on how to solve it. I have many such warnings and can't submit a million questions to this forum on solving each one. In addition, I can't copy the warning Another irritant is the well known need to ...Show All
Katarn https webreference problem
I am having problems working with web references. I am using references to secure sites like https: / / www. arcwebservices. com/ services/ v2006/ Authentication. wsdl The web reference is added successfully with all the correct methods and, I can get the web reference to work correctly when the protocol is http, but I get an E_FAIL result when my derived class hits the following line. Authentication::CAuthenticationT<> * ...Show All
SnakeSV consuming SSL web service!
Hi everyone.. Im trying to consume a Web Service from winforms (no ASP) which has develop SSL security in VB .Net . Once I've loaded the WSDL file, I can see the available resources and add the as a web reference. But when I try to execute a method from the service, I get the error: "THE UNDERLYING CONNECTION WAS CLOSED. EUNABLE TO CONNECT TO REMOTE SERVER". Now, Im pretty sure it's got something to be with certificate. I have the u ...Show All
