Answer Questions
tassie Preventing .NET DLL execution
I need some way to prevent my .NET DLL assemblies from being called by unauthorized executables. Is there some way to do that I have tried the StrongNameIdentityPermissionAttribute, but it's not enough. Can be anything, even at low level C/C++ code. I cannot trust in the use of the .NET Framework Configuration tool, because I'll not be an administrator for the systems where the DLLs will be running. But I should constrain the execution of ...Show All
VeeraMuthiah Don't copy that floppy
hi i created a vb.net Pr . now i go to bin directory to run .exe it is correct but when i copy only exe into a floppy !! my Pr was changed before,two weeks ago, i change myconfiguration of Pr into Release then it was correct but know i have this problem again(release does not response) i run my exe in my floppy on my computer(i have Vs.net2003) Hi, What's the error Is the .net framework installed on the target computer ...Show All
PeteCarterGreenan Parameters in a sql statement
I am creating a simple sql statement that returns all from the table that is equal to Comp_UserID. The problem I am having is that I want to pass in the Comp_UserID as a variable. I am not sure of how sql parameters work, i have tryed searching the msdn network but I can see nothing for begineers so if anybody has any useful links that would be great. Below is the code I am using. //This is statement works correctly SqlDataSource ...Show All
DotNetRules How to Hide original IP while using HttpWebRequest/Proxy support
Hello friends, I am developing Windows Application and using HttpWebRequest. My requirement is, While sending a request to a URL, I want to hide my IP address, or I want that the requested URL gets some other IP from My request. Can anybody suggest how to do this Rgds, Kiran Suthar. It is not easy No idea I'm afraid, I've never set up a proxy server in my life. If the place you work ...Show All
jcnewbie Beta 2 documentation
Did MS not release MSDN documentation for the .Net Framework Beta 2 bits I can't seem to find it from the sdk download. Anyone know if it is available If not, where am I supposed to look for namespace / class library documentation for beta 2 Thanks It has been released, if you want to view it online go here And you can also download the express library beta2 form http://lab.msdn.microsoft.com/express ...Show All
rccopter Possibility to query the CLR execution engine ?
Hi, anyone out there who knows if (and if so, how) it is possible in the .NET framework to obtain the list of objects which are actually managed in a running application Thanks. Konstantin, I'm looking for the instantiated objects (in an application), not the types/classes defined in an assembly. Frans. Mattias, let me rephase what I'm looking for: suppose I have an ...Show All
braverwon "multiple rows" If select all checked true ~ insert old data with updated dates appended to database for logging Mgr decision
I have been twirling this one around for days ~ HELP!! I hope that this will make since. Here is the just of what I am doing in lang="VB" . Dataset select satement generates a collection of data defined by login, that inturn says you are the manager of the following users 'Code example Dim auth As String auth = (Request.ServerVariables("AUTH_USER").Split("\")(1)) 'in the select statement where manager = ...Show All
TMB HTTP-GET through a proxy
Hey I am working on a proxy testing program as a personal project for a friend of mine, and for the life of me I cannot figure it out. I have searched the forums and MSDN till im blue in the face for something I figured would be very simple. maybe you can help, all I need to do is do a HTTP-GET to a specified URL ( his website ) through a third party proxy ( my proxy ) from c# application. Can anyone point me in the right ...Show All
Regis St-Gelais NullValue throws exception for nullable columns
I need help with the NullValue column property in a typed dataset. We have columns that allow nulls (the AllowDBNull property is set to true) and yet in code if we try to assign a null to the cell it throws InvalidCastException and StrongTypingException exceptions. So looking into the dataset I try to set the column's NullValue property to "Null" or "Empty" (instead of "Throw Exception") but it doesn't allow this ...Show All
Steve Lange Insert/Select Pic/Clip from MSSQL2K DB
Insert/Select Pic/Clip from MSSQL2K DB Hello, Can n e 1 show me the code of inserting/selecting the pics/movie clips from the SQL 2000 database from "IMAGE" datatype column set to the particular table Pics need to display in the web brower one below the othere and movie clips need to be played in the windows media player browser plug-in. taan ku phor your time. with regards, Beau Peep The Hospital (Bed Pans II - Sponge Bath Revange) ...Show All
Velkropie How to get field values from TableAdapter?
Can I get field values from my database using the tableadapter or bindingsource Like rs.Fields("field1").Value, but then with the BindingSource or TableAdapter or DataSet // Retreiving data from BindingSource: System.Data.DataViewManager dvm = (System.Data.DataViewManager) this.bindingSource1.List; foreach (DataTable tbl in dvm.DataSet.Tables) { foreach (DataRow row in tbl.Rows) &nb ...Show All
Gabi-XDS Server currupt when Client close.
I have made a "Hello world" Remoting example. The Client works fine when connecting with the Server. While I close the Client, a message comes out as below, and the Server close. Server has encountered a problem and needs to close. We are sorry for the inconvenience. The debug information is as below: System.AccessViolationException was unhandled Message="Attempted to read or write protected memory. This is often a ...Show All
PaulFnNY Create mdb file in VB 2005
Hello, How can i create an Access database (.mdb file) in a VB 2005 project Is this possible Christos Hi there, Here is a best link that could help your problem. http://www.dotnet247.com/247reference/msgs/11/59426.aspx hth, Michael Castillones This would require automation with the Microsoft Access object model. It cannot be done through data access methods. Hi All, I want ...Show All
ff_mac The type or namespace name 'SqlConnection' could not be found
Hey all. I am remlig novel here to .NET so hope there's anyone affable while there can be be of use me awhile running. just now says the to me that ( The type or namespace name 'SqlConnection' could not be found ) however im not understand. I hav try to add this in my namespace ( using System.Data.SqlClient; ) at run that still no. plz help me. Yes...just code a connection string and your issue will be resolved. Adamus T ...Show All
Brad Carroll Sorting Does Not Work for Select Function in DataTable in Framework 2.0
Hi, I would like to report a bug in DataTable select function. I entered statement 1 in red below but col4 is not sorted. Sorting works for statements 2 and 3. Would like to confirm if this is a bug and when it will be fixed. Thanks in advance. Problem Description: Sample code namespace testDataFilterSort { public partial class Form1 : Form { public Form1() { InitializeComponent(); DataSet lds_data = n ...Show All
