Answer Questions
mmc071 load 1 record into a variable
hello all i'm quite new to vb.net i'm trying to use the online help suggestion that's supposed to load a specific table row into a variable: Dim Lnrow As paraohDataSet.LoansRow Lnrow = ParaohDataSet.Loans.FindBylID(5) (5-an existing key in my table) trying to use it to reach any value, like using this line: LID.Text = Lnrow.lID causes an error : "Object reference not set to an instance of an object." since that's exac ...Show All
JRZ Suddenly some .NET Framework API's are missing through object browser\IntelliSense
Hi All, I have a big problem: I suddenly noticed some API's are missing in my .NET Framework 1.1 when browsing it through the object browser or IntelliSense and the code isn't compiled either. I don't have for example: System.Windows.Forms.Design.ControlDesigner Does anybody know why Thanks. ControlDesigner is located in the System.Design assembly. Have you added a reference to it ...Show All
PGI Dev What type of security should I use on web app(asp.net)
Hi, Hopefully I've posted in the correct forum. I have a relatively simple C# asp.net web app that a user enters personal data it POST's back to the server and an email is sent to a specific user with that data. I have all the code and everything working, my problem now is security. I want to implement some on the POST and on the email, but hopefully with no cost$(third party) involved and conceptually easy to develop. I've looked at the ...Show All
Christopher J. Cooper Using ConfigurationManager & custom configuration sections
Hi there, I'm trying to use the ConfigurationSection class from the ConfigurationManager because I need to store some repeated custom configuration settings that have multiple properties. Using C# Express Edition 2005 Beta 2, I've built the example below based on an example I downloaded from the Internet. It compiles OK but when I run it I get the following error message: An error occurred creating the configuration section h ...Show All
ria654 Distributing a .NET application
Hi , I have problem with visual studio .NET 2003 : after I have completed my application I tried to run it at another machine which doesn't contain V.S. 2003 or the .NET framework how I can run my application on any windows machine in other words do I need to install the .NET frame work to do it thanks verymuch . You created an .NET application, so yes, you need .NET Redistr. installed on the target machine. ...Show All
KeithInSac What this lines do?
[System.Web.Services.Protocols.SoapDocumentMethodAttribute( http://tempuri.org/WS_STARTWORK , RequestNamespace=http://tempuri.org/, ResponseNamespace=http://tempuri.org/, Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] why doing such thing what those mean Take a look at the MSDN documentation for this attribute: http://msdn2.microsoft.com/en-us/libra ...Show All
OilierThanThou SQL UPDATE - "No value given for one or more required parameters"
I've used this structure in several other C# database programs with success, until this app. Now I'm receiving this: "No value given for one or more required parameters." The key is SAMS_ID. The data is text, no numeric fields. The code I used is below. I've tried removing the single quotes from around the date field and also from around any fields that contain numbers but still receive the same error. Anyone know w ...Show All
Ifti Timeout in WinHttp object
I am using WinHttp object to send and receive information (getting a document in terms of bytes and opening on the browser by converting it into PDF). I am not setting any timeout explicitly in my C# program. I am using synchronous connection to do this process. Sometimes, our clients are coming across 'timeout' error while downloading the document. Does anyone have any idea what could be wrong What is the default connection timeout 60 seconds ...Show All
Happy and Peace Null For SqlDBType.Int32 Problem
Hi! I've field in database of type integer and accepts null. Similarly I declared parameter in stored procedure for insertion. But when I add parameters to command object in C# Express specifically for mentioned above field as SqlDBType.Int, I get error saying parameter can't convert string to integer. When I changed parameter SqlDB type to Nvarchar everything worked fine. It wasted my whole day as I was thinking that I'm doing everything cor ...Show All
sravula Can't get a new table into my dataset
Can't get a new table into my dataset I created a new table Person in my Access 2003 database. However, I can't get it into my dataset. I tried refresh, the designer, and confiqure with the wizard, however the table Person doesn't appear. Is this a bug Or am I just being an idiot, as usual dennist Paul, It turned out to be a disaster. It kept recogtnizing that it is the same database and would ...Show All
murari Replace info in XML doc of xls spreadsheet with live data???
I want to read through my excel spreadsheet that i have as an XML document and replace my data information with my information from my sql tables and i really dont know how to accomplish this any help would be great! Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim conn As SqlConnection Dim drsql As SqlDataReader Dim cmmd As SqlCommand ...Show All
rajithakhandavalli Possible to Cast from String representation of Type?
I am loading an xml file that contains both the type and value of an item. EG: < ListReturnItem itemName =" TargetID " itemType =" int "> 23 </ ListReturnItem > < ListReturnItem itemName =" TargetState " itemType =" PublicTargetState "> Enabled </ ListReturnItem > PublicTargetState is a predefined unumerated type. I need to be able to create a new object based on the xml value of itemType, which is a string ...Show All
jacco2 .NET 2.0
Hi, I want to write a tool to troubleshoot our product issues using Visual Studio 2005 which requires .NET 2.0. But our product's requirement is .NET 1.1 SP1. My questions are: 1. Can I install .NET 2.0 on top of .NET 1.1 SP1 so that I can install my tool on the machine where product is installed. Due to this will it break our product from running or is .NET 2.0 backward compatible 2. If I would not be able to install the tool on the machine w ...Show All
Kiwi Samurai Coder System.InvalidOperationException: Process performance counter is disabled, so the requested operation cannot be performed
I've Programmmed an C# Code wich starts an other allpication wich makes an Image of the Harddisk. The external Programm is PQDI2002(Drive Image). See my Exception and my Sample Code below. May somebody can Help! This is my Exception. System.InvalidOperationException: Process performance counter is disabled, so the requested operation cannot be performed. at System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib library) ...Show All
Kari Passing a ascii byte array as System.String to a COM BSTR param
I have a VC6 ATL COM Object that accepts a BSTR as an input parameter in one of its methods. The COM Object expects an ascii buffer to be embedded in the body of this BSTR and uses a call to SysStringByteLen to dynamically create an appropriately sized single byte char array for holding the extracted contents based on the results obtained from interrogating the size prefix of the BSTR. The COM interop wrapper generated from this dll defines ...Show All
