| Disabled Panel control loses viewstate (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| I have a Panel control containing a few TextBox controls. The Panel is originally enabled, I enter data into the TextBox controls. When I submit, the Panel is disabled during the PostBack and the TextBox controls render greyed out, and I can see the values in the TextBox controls....this is what I expected. I submit again, the Panel is enabled during the PostBack. All of the TextBox controls withi... |
|
| Disabling form controls (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Is it possible to disable a form control (eg. text box) without affecting it's foreground and background colors? (I want it to look the same, but disallow user input.) Miriam |
|
| display all colors (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Is there a programatic way to iterate through all the named colors? Something like: HtmlTable ht new HtmlTable(); HtmlTableRow htr; HtmlTableCell htc; foreach (Color c in [collection of all colors]) //I CAN'T FIND COLLECTION OF ALL COLORS { htr new HtmlTableRow(); htc new HtmlTableCell(); htc.InnerText c.Name; htr.Cells.Add(htc); ht.Rows.Add(htr); } phColors.Controls.Add(ht); //Display table in a ... |
|
| display empty grid (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.datagridcontrol |
| Hi, The grid is not displayed when it is bound to an empty dataset. I need to display just the header of the grid when the dataset is empty. How can I do this? Thanks... Nikhil |
|
| displaying a dialog right after window is shown (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| is there an event that is raised right after the window is shown? i have been trying to create my main window and as soon as thats done, then show a login dialog box. i cant seem to figure out where to put the dialog display code. ive tried in the constructor, the onload, and the onenter, but they are raised before the window is actually shown. ive also tried to keep track of the first time shown ... |
|
| Displaying an Image from an OLE field in an Access Database (VIP replies) |
| microsoft.public.dotnet.languages.vb.data |
| I have an OLE column in an Access database. The column name is "PHOTO". I have JPEG files stored in that field. For the life of me, I cannot get this data to show in a PictureBox. I have learned that the OLE data type in Access handles data differently than just storing a blob of data containing my picture. Can someone please pity me and help me with this? If it cannot be done using my current dat... |
|
| displaying data in list box (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi I have a form that has a list box bound to a Data view. When I add a record to the data table in run time, it is displayed in the list box as System.Data.DatarowView. When the app is saved and reloaded, the data appears properly. Any ideas on how to work around? Code Snippet to add the row to the data table Snip DataSetInfo.DetailsRow dr this.dataSetInfo.Details.NewDetailsRow(); .... code to fi... |
|
| Displaying Special Symbols (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi Is there any way to show the special symbols[CopyRight, Cents] in a TextBox. Thanks in Advance Gibs |
|
| Displaying two months w Calendar conrol (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| Hi: How do I get two months to display side by side with my calendar control. So when I move the month forward, both months are synchronisly monthed forward. For instance, I want to display Jan and Feb together in separate controls. Then, when I click the arrow to move forward in months, it should then show Feb and Mar. Thanks, Do |
|
| Displaying user info from a NT4 domain. (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, I have a mixed domain structure (Win 2000 and NT4) and require to find user details in both domains. I have created an app that lists the info from the Win 2000 using System.directoryservices and a LDAP querey, but I seem to be having problems with the NT4 side of thing. I need to find out Full Name Login ID Home Directory Login Script Home Dir Drive Groups the user belongs to. If poss I would... |
|
| Disposing of a log in window (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi ! I am trying to dispose of the startup form in my application a login form (frmLogin) after it calls the main form (frmMain). I cant seem to get it to work. Here is my code. frmLogin Code Sub btnSave Click Dim mainF As New frmMain mainF.Show() Me.Dispose() End Sub The main form flashes up and then the whole app closes down as it goes to the next line (Me.Dispose()). What needs to happen is the... |
|
| dll from aspx (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| hello i m making a web service based on .net..... i use web matrix to make pages and code in vbscript... my web pages have .aspx extension and everybody who have access to server may read my code from this files.... maybe there is somethin to make a dll or ??? from aspx files that allow to hide my code from other people ??? thanks VEN |
|
| DLL Import (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, I have a general DLL "genDLL.dll",this dll open other dlls by calling generalDll.openDll("dll1.dll"). I mad a form with got dll name in new,and then this for open the new dll by calling the openDll function. the problem is when I make more than one instance of this Form from MDI the All form work with same dll even if thay are deferent. The following Is what I do in MDI form : 1 childForm chil... |
|
| DllImport Help (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Hello All, I am tring to call a function within a third party DLL and keep getting the following error: MissingMethodException According to the dumpbin results, there is a function calle IBT on however, I can't seem to access it. ordinal hint rva name 1 0 000025SC ?IBT on@@YAIXZ Here is what my code looks like that is importing the DLL: [DllImport("IBT.dll")] private static extern Int32 IBT on(); ... |
|
| Do a postback without updating client's page? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| In a .aspx web page, I created a button that will do a postback What I want to do: let the button do postback, and process the postback data in my code behind, but the client side's page won't be affected (because I have javascript to change the web page at client side). In C#, I need such a code: private void btnEdit Click(object sender, System.EventArgs e) { //some code to save postback data //s... |
|
| Do I Have to Open a Connection 3 Times? (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| I'm just starting to learn asp.net. What I have is a registration form for a message board system. Basically, the user enters in their info and it's validated. So I have a custom validator check to make sure the username is unique, I have another custom validator that makes sure the email address is unique and then I save the info to the database. That means I open the connection to the sqlserver ... |
|
| Do I Have to Open a Connection 3 Times? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I'm just starting to learn asp.net. What I have is a registration form for a message board system. Basically, the user enters in their info and it's validated. So I have a custom validator check to make sure the username is unique, I have another custom validator that makes sure the email address is unique and then I save the info to the database. That means I open the connection to the sqlserver ... |
|
| Do I need to override the OnClosing event when I'm closing a thread or would the Form_Closing event would work fine? (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Hi All, I'd like some clarification on this point. In my application I'm playing audio files for different phrases listed in my listview control using a 3rd party audio library. In one of the features I'm providing the user an AutoPlay feature in which all the audio for every phrase in the listview control is played one by one. I also need to highlight for which phrase the audio is currently being... |
|
| Do something while copying (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Is it possible to show some movement in the screen while copying a file? I tried to use a timer that change the position of an image but when I start the copy of a file from diskette all is stopped until the copy finishes. Any ideas? Thank you |
|
| DoClick (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| What is comparable to the DoClick command in VBNet? Thanks...Arne |
|
| Does paging work when datagrid does not use viewstate? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi, I disabled viewstate for a datagrid control, and suddenly paging for that control is not working anymore. Is this because I disabled viewstate? Thanks for any help, Bulent Biyikoglu, MCSD Here's my test code: Private Sub Page Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If IsPostBack False Then 'Put user code to initialize the page here Dim i As Integer ... |
|
| DoEvents not working (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hello, Could someone give me a hint why my CancelPrint Logic won't work despite the DoEvents ? in form lvele declaration I have Public Shared CancelPrint As Boolean 'Printing Logic Do While rsAccount.EOF False And CancelPrint False Application.DoEvents() SelFormula "{Socios.NumSocio} in " & Chr(34) & rsAccount.Fields("NumSocio").Value & Chr(34) & " to " & Chr(34) & rsAccount.Fields("NumSocio").Val... |
|
| doing a POST to .ASP from ASP.NET page (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hello, What is the best way to do a POST from an ASP.NET page to an old time ASP page. The ASP accesses the data through Request.Form("username") method. Looks like a normal WebRequest with POST method is not able to see the input fields in the form of the posting ASP.NET page. I would like to post something to the ASP page and get the response back to the ASP.NET. Request.QueryString() is working... |
|
| Doing Time in the "Windows Form Designer generated code" region (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| Many seem to say not to dig around in there too much, but I'm in there alot. Tweaking the Command set, bindings stuff like that. Anyone else? |
|
| Don't know where to place subroutines getting invalid namespace (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I'm not sure where to physically place my subroutines in vb.net I get namespace and not declared errors... Imports System Imports System.Management Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the Initialize... |
|