| object.TopLevel control (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, I inherited Button and I created my component (MyButton) In this button onclick event I want show this objects parent form. When my form is not MDIChild this codes run correct. But when my form is MDIChild this codes show MDIParents name. How can I show parent form name (not MDIParent) public class MyButton: System.Windows.Forms.Button{ { .... protected override void OnClick(EventArgs e) { if ... |
|
| Obtaining UserControl Name (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| On my web form, I have inserted a UserControl, named ReceivedRecord in two different places on the form. The first UserControl on the web form is named ReceivedRecord1. It will record records that are classified as "New". The second user control on the web form is named ReceivedRecord2 it will record records that are classified as "Expanded". When the user clicks on the SAVE button that is on the ... |
|
| OCX interop causes "Catastrophic failure" (VIP replies) |
| microsoft.public.dotnet.framework.interop |
| I have a 3rd party OCX control that I can happily use with VB6. E.g. Private bool As Boolean Private ocx As OCXLib.ocxInterface Private Sub Form Load() Set ocx New OCXLib.ocxInterface bool ocx.Method() End Sub When I try the equivalent in VB.NET using the code: Private ocx As OCXLib.ocxInterface Private b As Boolean Private Sub Form1 Load(ByVal sender As System.Object, ByVal e As System.EventArgs)... |
|
| Odd Behaviour? (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| I have an app that spawns a thread to copy some files. The spawned thread then spawns threads to copy individual files and wait for the specific file to finish copying or timeout. The specific file copy procedure raises an event which gets handled in the main form from where the original thread was spawned which then updates a status box and a progress bar. The first spawned thread raises a startc... |
|
| Odd breakpoint behaviour ? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Pressing Button2 does cause the breakpoint shown in Button1's handler to be active the first time. After stopping the program and restarting it it break as soon as you start Button1, Any ideas what I might be doing wrong ? Best Regards OHM O H M{at}BTInternet{dot}com CODE BELOW 'At Class Level Private breakpoint As Boolean False '//Start the loop Private Sub Button1 Click(ByVal sender As System.Ob... |
|
| Odd connection issue - (yes I'm running in mixed mode authentication) (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| Here is the scenario... There are two sql servers: "Production" and "Staging". PLEASE READ THIS BEFORE REPLYING Both SQL servers are set to "SQL Server and Windows" mixed authentication mode. (I have verified this multiple times). Both Sql Servers have Named pipes and TCP/IP port 1433 installed under network client configuration There is a development machine: "Development". Any machine we try to ... |
|
| Office XP Primary Interop Assemlies (VIP replies) |
| microsoft.public.dotnet.framework.interop |
| I want to work with Office XP Primary Interop Assemlies (Office XP PIA) with Visual Studio.Net 2003. I want to build an OLAP Reporting Application in ASP.NET Using SQL Server 2000 Analysis Services and Office XP OWC (PivotTables and Charts). I have create a new project with Visual Studio.Net 2003. But only the connecting to the OLAP Cube and the behaviors of the PivotTable are work correct. All ot... |
|
| Oh Control Arrays where art thou? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Sorry, but this ia another whine about VB.Net's lack of Control Arrays. I am new to VB.Net and I'm building an application that uses variable number of Label controls that are created at run time. The number of label controls will vary between 50 and 200. I have created an array of labels and placed them on the form. It works great, BUT I have not been able to raise any events for these controls. ... |
|
| OLEDB database connection from ASP.NET (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I can connect to a Sybase database from a WindowsApp project without any problems, but when I use the same code to connect from an aspx.vb file I get an OLEDB exception "Database server not found". Code is: Imports System.Data.OleDb Public Class WebForm1 Inherits System.Web.UI.Page Private Sub Page Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim strConn As ... |
|
| oma problem (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.mobile |
| I'm running a 2003 SBS server with oma & owa enabled. I have set up 2 accounts which have exact same properties and user rights, and yes.... mailboxes. Both belong to Mobile User Group. First account ( Admin) can access Exchange server using the oma with cellular phone, but the other (Mike) however gets: "Item no longer exists. The item you are attempting to access may have been deleted or moved."... |
|
| On the fly webform creation (VIP replies) |
| microsoft.public.dotnet.distributed_apps |
| Hi there, I am at a point where I want to display pages dynamically that is have a single page, but allow users to display it as they wish. In other words, if it were a airline registration page, if a person chose "single destination, no stopovers", the SAME PAGE would display a dropdown list of destinations, and allow the user to choose one. If the user chooses "multiple destinations, unlimited s... |
|
| OnCheckChanged does not work in DataGrid ! Why? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| I insert checkbox into datagrid's template. I add onCheckChanged updateStatus as attribute. For example: ItemTemplate asp:CheckBox id "match" runat "server" onCheckedChanged "updateStatus" /asp:CheckBox /ItemTemplate Does anyone can help to solve this problem? thank you ! |
|
| One Datagrid for Multiple resultsets (VIP replies) |
| ASPFriends.com 'aspngdata' list |
| Hello, I want to populate my Dataset with the results of a stored procedure which returns several tables. I don't know how to fill my dataset with the content of the second, third, ... table??? Can you append the tables together? I would like one DataGrid to display the data from several tables. ' run stored procedure which returns multiple tables. Dim DS As New DataSet() myCommand.Fill(DS) Dim i ... |
|
| One entry in 'Running Programs' (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Hi, I have created one application with main form as splash screen and after doing some initial work, I shows another form, but tasks utility 'Running programs' shows 2 instances of my application, one is splash screen and other is newly created form. Also If I popup one form using show then 'Running programs' shows 3 instances. I cannot hide the splash screen as it hide the whole application even... |
|
| one frame calling a function in another frame (VIP replies) |
| microsoft.public.dotnet.scripting |
| I have 2 frames. The first frame has a webform with a button on it (ie, "Save"). The second has some codebehind that I want to execute from the button (vb code: sub Save()...). How do I get the button on the page in the first frame to execute a function in the codebehind of the second frame? TIA, Mark |
|
| One line C# code failing in ASP.NET but not in .NET Windows app (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I've been trying to build a .NET application that references the MapPoint Type Library. I've been successfully able to import the Library with TlbImp.exe and to run a .NET Windows application with the following early binding: private void Form1 Load(object sender, System.EventArgs e) { MapPoint.Application app new MapPoint.Application(); textBox1.Text app.Caption; } This works just fine, but when ... |
|
| Only getting first letter when reading data of SQL Server (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| Hello, This is a weird problem. Am attempting to extract information of a database and display it on a ASPX web page. The information extracts ok but it seems that not the whole word is displayed. For example, when user logs in, the main page should say, "Greetings Joe Bloggs", instead it says "Greetings J B". When in the database, the column for first name is in full "Joe" and column for second n... |
|
| OnPorpertyChanged method, what is this? (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello, the sample http://samples.gotdotnet.com/quickstart/winforms/doc/WinFo rmsCreatingControls.aspx uses the RaisePropertyChangedEvent("DrawingMode") call, but i cannot find it in the source!!! And it also overrides: //Override OnPropertyChanged to raise the DrawingModeChanged event protected override void OnPropertyChanged (PropertyChangedEventArgs e) { base.OnPropertyChanged(e); string d e.Pro... |
|
| OnResize method (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hello, Could somebody please explain the purpose of the following line of code? OnResize(EventArgs.Empty) Thanks and Best Regards, David Morris |
|
| OnSelectedIndexChanged for a RadioButtonList in a DataGrid (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I have a webform that has a DataGrid on it with a RadioButtonList in each row. It is a simple On & Off. When the User Clicks on either of the RadioButtons, I need to postback to the server and update the database. Here is the control containment hierarchy: ASP Page Static User Control // just provides a pretty border around contained user control Dynamic User Control Data Grid: RadioButtonList: Au... |
|
| OnSizeChanged vs OnResize (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| What's the difference between OnSizeChanged and OnResize? I assume that there must be some kind of behaviorial difference, or there wouldn't be two sets of virtual event to capture the same phenomena. |
|
| OOD theory question (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| bo'jour, bo'jour, So I have question to present to the forum about OOD. This is a Csharp forum, but C# is the lang of choice and the question is an exercise based on some comments by the chief designer of C#. Those of you who are junkies for design principle might be interested in contributing to this thread. I was recently reading some interviews with the chief engineer for C# (formerly Mr. Delph... |
|
| OOP question VB.NET (VIP replies) |
| microsoft.public.dotnet.general |
| Can anyone tell me how to access a variable in a parent class from within a nested class? Note: this snippet is only to illustrate my problem... I realize there's no need to get at the parent name THROUGH the child object, but it quickly shows what I'm after... any help would be appreciated. THANKS IN ADVANCE! see example.... Public Class Parent Private mParentName As String Private mChild As Chil... |
|
| Open a new webpage from a Dropdown List item (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi, I'm looking for some help. I would like to know how to launch a new IE browser window when I select an item from a dropdown list. I know this is possible I've seen many examples of where people have done it, but I can't find any information on how. I'm using VB as my page language. Thanks in advance... Brian |
|
| Open Browse (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi, Can anyone tell me if I can open a WebForm inside a WinForm? How? Give me examples, please. I have a winform application and I want that in some items opens a browser inside. Can you help? Programming ASP.NET with VB.NET Thank's (if you try to help me) Hope this help you (if I try to help you) ruca |
|