| Custom Control (6 replies) |
| microsoft.public.dotnet.faqs |
| Hi Group: I have a question as follows: I want to write a custom control,including his propertites,the override render method and override CreateChildControl method .The question is I want to place an visual Component (e.g. TextBox),but I do not know how to write the code to make the componet visible. Any help will be appreciated!Thanks |
|
| Use of listview control (2 replies) |
| microsoft.public.dotnet.faqs |
| How we can use listview control in asp.net. |
|
| What is the C# equivalence for Shell ? (2 replies) |
| microsoft.public.dotnet.faqs |
| Hope this is the right group for this question but as the subject says: What is the C# equivalence for Shell to execute an external DOS command? TIA |
|
| How to format a double in a string in this format indipendently from the current culture (2 replies) |
| microsoft.public.dotnet.faqs |
| Hi guys I want to format a double without grouping symbol and with "." as decimal separator indipendently from current culture. ToString() and ToString(Format) are culture dependent. Any solution ? Thanks |
|
| ? Drag / Drop FILES onto form ? (3 replies) |
| microsoft.public.dotnet.faqs |
| I want to drag and drop files onto my form. I'm getting the DragDrop event, but don't know how to extract the file info from the e.Data property. Can I get the: 1) file type (extension) 2) file path 3) File contents: all from e.Data? How? Thanks, Steve private void FormController DragDrop(object sender, System.Windows.Forms.DragEventArgs e) { e.Data.GetData(DataFormats.FileDrop); /////// WHAT SHOU... |
|
| how do i make a class return a property? (4 replies) |
| microsoft.public.dotnet.faqs |
| I have 2 classes I make called FirstName and LastName. Really the only reason I'm making FirstName and LastName etc. into classes is so that I can build in validation. All of the classes I have like this have 1 member (Value) which I use to set the value of it. How do I make it so I can assign FirstName "John" rather than FirstName.Value "John"? I was told to do it like... [DefaultProperty("Value"... |
|
| SoapMethodAttribute (6 replies) |
| microsoft.public.dotnet.faqs |
| Hi All, I have the following line in my proxy code: [System.Web.Services.Protocols.SoapMethodAttribute("http://localhost/Add", MessageStyle System.Web.Services.Protocols.SoapMessgeStyle.ParametersInDocument)] Every time I try to run my program, I get the following error: The type or namespace name 'SoapMethodAttribute' does not exist in the class or namespace 'System.Web.Services.Protocols' (are y... |
|
| please help :: button.click event (11 replies) |
| microsoft.public.dotnet.faqs |
| I'm using a code behind file and I'm trying to use a Button, the problem is that I can't interact with the OnClick property in code behind (because it's protected) and when I try to add an EventHandler to the Click event it doesn't work. I found out that if I try it in an aspx file and not actually create a new instance of a Button but instead just use the... asp:Button Id "myButton" ... / ....the... |
|
| Retriving AutoNumbers after Insert (8 replies) |
| microsoft.public.dotnet.faqs |
| This question was asked before, but I will ask it again cause It wasnt answered right now I am inserting A row into a DB, and want to receive the ID AutoNumber... I tried doing it this way (The unclear demonstration in Syngress Chapter 9) sql "INSERT INTO Change (User ID, [TimeStamp]) values ('" & User ID & "', Now())" 'response.write sql Dim objReader As New wbDB.wbDB.objCommand() Dim objParamete... |
|
| What does this mean? (error message) (3 replies) |
| microsoft.public.dotnet.faqs |
| "An SqlParameter with ParameterName 'ID' is not contained by this SqlParameterCollection." What does this mean? ... Trying to do an Insert Data Command on a SQL Database. In .NET C# ASPX project. Ideas, clues? Much thanks! Jean Marc |
|
| Drawing primiteves in VB.NET (2 replies) |
| microsoft.public.dotnet.faqs |
| I have seen that VB.NET is not supporting drawing on form any more ? is this a beta 2 problem, or will stay like this also in Release? Gregor |
|
| coordinates for a control on web forms (4 replies) |
| microsoft.public.dotnet.faqs |
| Hello, how to set coordinates for the control, created programmatically, on Web Form ? TextBox TextBox2 new TextBox(); TextBox2.Text "aaa"; TextBox2.Width 100; TextBox2.Visible true; this.Controls.add(TextBox2); This function places my newcontrol using default coordinates. In the properties of TextBox2 I do not see coordinates... Mitya |
|
| where can i get some latest sample (6 replies, VIP) |
| microsoft.public.dotnet.faqs |
| so i've download asp.net final edition sdk, i've ever use the beta2, now i'd like to find some doc or sample in final edition, who can tell me where i can find it, any insight would be appreciated. |
|
| Install problems (4 replies) |
| microsoft.public.dotnet.faqs |
| When i click setup.exe for .net sdk final i get 'Extracting file failed. It is most likely caused by low memory (low disk space for swapping file) or corrupted Cabinet at around 25% progress bar point. I have tried down loading both the single and multiple part downloads but no luck and downloading a second time. When I done the beta 2 version there were no probs. Is anyone else having problems do... |
|
| How to check for existence of DLLs? (2 replies) |
| microsoft.public.dotnet.faqs |
| I'm writing an application that provides a set of tools. Code for the tools are in separate DLLs. The tools are not always deployed with the application; some tools may be deployed in certain situations, and some other set of tools are deployed in others. I would like to be able to check which DLLs are installed, thus indicating which tools to make available in the app. Can that be done at runtime... |
|
| A quick and dirty VB.NET property generator (2 replies) |
| microsoft.public.dotnet.faqs |
| Hi, Dunno if this is of any use to anyone, but I just did this because of was sick of creating reams of standard properties. It generates the properties in VB.Net format and basically saves a bit of typing if you have lots to create. In the top Textbox type in " Property Name space Data Type " CR then press the button. e.g. FirstName String DateofBirth Date Press the button and the bottom text box... |
|