| 500 error when trying to do a post (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I'm trying to do a POST using the following code, but I'm getting a 500 error. Can somebody please help me? I'm been stuck for quite a while. private void bnInvoke Click(object sender, System.EventArgs e) { string lcUrl "http://www.xmlwebservices.cc/ws/v1/calc/SimpleCalc.asmx/Add"; HttpWebRequest loHttp (HttpWebRequest) WebRequest.Create(lcUrl); // *** Send any POST data string lcPostData "a " Htt... |
|
| 98 and Me Issue (VIP replies) |
| microsoft.public.dotnet.framework.wmi |
| Hi I have installed the Core WMI on the 98 and Me machines. However they are giving me "Object not set to an instant of the object errors." The errors dont give me anymore than that. It does not happen while debugging because I cannot run VS there. Here is the class if anyone sees anything wrong or causing this please let me know. This runs fine on XP and 2000. Imports System.Management Public Cla... |
|
| A container problem (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi Bill, I think I have some same problem as I wrote in codeproject boards. I put a textbox on my dialog and I want to send the text to the child's label. I think it is the same problem(I work only in SDI systems before, these MDI systems are new for me...). If you have time can you quick check the code? I am sending my Parent, Dialog and Child.cs files... Thank you very much, Cem Louis /////Paren... |
|
| A generic error occurred in GDI+ on Save or ReSerialize (VIP replies) |
| microsoft.public.dotnet.framework.drawing |
| I am trying to serialize and deserialize an image, which works fine, until you try and save the deserialized image or "Reserialize" the deserialized image. My investigation shows a System.Runtime.InteropServices.ExternalException in the PropertyItems of the deserialized image. Any assistance you can provide would be greatly appreciated. I have included sample code below, run the form, click the bu... |
|
| A problem that's come back. Please help I cannot see where i have made a mistake.....wirh .Stored Procedure ? (VIP replies) |
| ASPFriends.com 'aspngdata' list |
| A problem that's come back. Please help I cannot see where i have made a mistake...... I can update if I drop the Solution updated (remove the hidden1 var and solution from the procedure and it works) this thing worked once I don't know what I did to undo it. increase to 100000 char? varchar? I have change size type ??? CREATE PROCEDURE dwUpdateknowledbase @id INT, @problem VARCHAR(100), @hidden1 ... |
|
| A Problem under a new title: Try to add a Global.asax to my project using VS.Net (VIP replies) |
| ASPFriends.com 'aspngfreeforall' list |
| I am trying to add a Global.asax with code to monitor user activity I belive I am having problems with the namespace name. On my local VS.Net IDE the application name is kb5 and the root is kb5. under properties On my remote server the root and appnames are different. could this be the problem that when you deploy the project the namespaces are effected? I program directly with VS.NET....connected... |
|
| A Question about Events (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| In a book sample I am working through in ASP.NET, a simple Hello World works fine, but the order of events has me confused. The sample involves a Button control and the onClick event. On click, the page reloads and voila, hello world is written (I understand this part). However, when I set a breakpoint on both Page Load and onClick, Page Load is accessed first, stepping through takes me to onClick... |
|
| A question about size unit! (VIP replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| A question about size unit! Hi, all, I want to draw a ruler on my form, and I want to display it in mm unit, my code as following, but it doesn't work well, can anyone point my fault or give me some advice.thx! Dim nWidth As Integer Me.Width Dim nHeight As Integer Me.Height Dim Sincr As Single, RScale As Integer Dim g As System.Drawing.Graphics g MyBase.CreateGraphics() 'g.PageUnit GraphicsUnit.Mi... |
|
| A StartDocPrinter call was not issued? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Can you raise events from ASP.NET code that will be handled by windows such as a print event? Is there a security setting that makes this not allowed. I want to be able to user the PrintPageEventHandler in my code (because its the only way I know how to print). When I run the following code I get an exception saying A StartDocPrinter call was not issued private void buttonPrint Click(object sender... |
|
| A Strange Problem with ParseControl Method (VIP replies) |
| ASPFriends.com 'aspngcontrolscs' list |
| Hi all, I have a problem with ParseControl method. When I use it to parse a string to control it throws an exception: A NULL value was referenced I tried the MSDN example and I got the same result. My code is very simple. In a PageLoad of a webform I have written: private void Page Load(object sender, System.EventArgs e){ Button b1 (Button) ParseControl(" asp:button runat \"server\"/ "); b1.Text "... |
|
| About asynchronous event triggering form popups . (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| I am trying to pop a dialog box from a thread but I run into problems so far. At the beginning My MainForm pops up a ActiveDlg during the MainForm OnLoad, and stay as is. Then later a thread listening a socket triggers an event that must pop up a EventDlg form, no matter which form is active on the screen. In the near future, I may have dozens of form (let us say similar to ActiveDlg) that can be ... |
|
| About TextBox's background color (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I want make new controls,inhert System.Windows.Forms.TextBox and SetStyle(ControlStyles.UserPaint, true); But I find doesn't set background color when gotfocus I think maybe TextBox inhert another controls,For example ComboBox have one child controls ControlID:0x3e9 so i want get this ControlID and use SetBkColor function set background color Who can tell me ControlID or what do it Thanks! |
|
| absolutePositioning attribute of Custom webcontrol (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.buildingcontrols |
| Hi, does anybody know if its possible to code for the absolute positioning. I have noticed that vs.net applies these attributes to any webcontrol. This is how you are able to move your control around in the designer. I'd like to include the left and top as properties of my custom control and have them updated everytime the control is being moved in the designer. This has to be possible somehow. An... |
|
| AcceptButton Property question / problem (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Ok, my situation is like this. I have a form with a few text boxes each with a 'validating' event, OK & Cancel buttons, and have the AcceptButton/CancelButton/DialogResult properties all set. Situation 1: (works fine) If the user enters invalid text in a text box, presses Enter in the text box, the validation displays a msgbox. They now correct the text, press Enter in the text box, it validates c... |
|
| access c++ runtime from web form? - how (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hello, If I have some older C functions that I am calling from my code behind in a web form; and these functions use the C runtime which is found in the windows/system32 directory; how do I ensure that I have security set up to access these functions from my web form code behind? My application is just hanging when I call the functions from a webform, but they run fine in a windows application....... |
|
| Access File Share from ASP.NET using Unmanaged Code (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.security |
| Hi, We have an application that requires appropriate users to run command files on an adhoc basis. We have implmented a library that uses the following code: using System; using System.Runtime.InteropServices; using System.Security.Principal; using System.Security.Permissions; namespace SAMIS.Porteco.Utilities { public enum LogonType : int { LOGON32 LOGON INTERACTIVE 2, LOGON32 LOGON NETWORK 3, LO... |
|
| Access Locking Problem. (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| Hi, I wrote a VB.NET data entry application that has to be used by about 80 people. The controls on the form bind to the dataset. When we were making the test on multiple machines, the application on some of the PCs locked stating that the record (probably stored in the same memory page) that it was trying to access was locked by another machine . The database is Access. Wasn't .NET a (data) disco... |
|
| Access session in class constructor (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| hi, I want to access my session object in a class constructor. The code I use: Public Sub New() Dim Session As System.Web.SessionState.HttpSessionState System.Web.HttpContext.Current.Session Dim session cUser As cUser CType(Session.Item("cUser"), cUser) If Not session cUser Is Nothing Then ...... End Sub Unfortunately this doesn't work. Session.Item("cUser") is always nothing. It seems to be a pro... |
|
| Access to the path is denied (VIP replies) |
| microsoft.public.dotnet.faqs |
| This is error message I've got. Any suggestion would be appreciated. Server Error in '/WebDirectory' Application. Access to the path "CreateFolder" is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.UnauthorizedAcces... |
|
| Access to the path is denied (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| This is error message I've got. Any suggestion would be appreciated. Server Error in '/WebDirectory' Application. Access to the path "CreateFolder" is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.UnauthorizedAcces... |
|
| Access to the path is denied (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.security |
| This is error message I've got. Any suggestion would be appreciated. Server Error in '/WebDirectory' Application. Access to the path "CreateFolder" is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.UnauthorizedAcces... |
|
| Access to the path is denied (VIP replies) |
| microsoft.public.dotnet.security |
| This is error message I've got. Any suggestion would be appreciated. Server Error in '/WebDirectory' Application. Access to the path "CreateFolder" is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.UnauthorizedAcces... |
|
| Access to the path is denied (VIP replies) |
| microsoft.public.dotnet.general |
| This is error message I've got. Any suggestion would be appreciated. Server Error in '/WebDirectory' Application. Access to the path "CreateFolder" is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.UnauthorizedAcces... |
|
| accessing a control that's on another form using property (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Within a class, can I create a property that is a listview? Here's what I tried, but it doesn't seem to work: ' create property to give the second form access to the first form's listview: Public Class frmToDoDetail ' (this is the second form) Inherits System.Windows.Forms.Form Private m lvwTD As ListView Public Property lvwTD() As ListView Get lvwTD m lvwTD End Get Set(ByVal Value As ListView) m ... |
|
| Accessing Ascx page from Ascx.cs page in .net final (VIP replies) |
| ASPFriends.com 'aspngcontrolscs' list |
| I just installed the final release of vs.net the other day and it seems they changed the way controls work a little bit. Before I could declare the following in my .ascx page: asp:Label ID "lblTest" Runat "server"/ and then I could access it programmatically from my .ascx.cs page via the following: Label lblTest new Label(); private void Page Load(object sender, System.EventArgs e) { // Put user c... |
|