| panel.controls (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| I have a panel I am placing a bunch of usercontrols onto. Based on other selections I am only making one of these usercontrols visible at a time. using FormPanel.Controls[pos].Visible true; This has been working fine, until I added one additional control. I have noticed that when this controls visible property is set to true, its position in the FormPanel.Controls[] collection changes. This happen... |
|
| Parameter Array Question (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hello, I'm studying parameter arrays now and see what looks like a contradiction in my book. First it says that to pass any number of say object types to a method you say: int myMethod (params object [] O) {...} //so basically you need to use the 'params' keyword. But then later it says to pass any number of string arguements to function main you say: static void Main (string [] args) {...} Did th... |
|
| parent column in child row (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hello, I have a dataset with 2 tables and a relation (parent child). I linked that ds to a datagrid. Shows everything fine (very little coding for such functionality!). But.. in the child row I want to show a column of the parent. Example: orderColumn shows customerId and I want the customerName which is located in the parent. How do I do that? Thanks in advance Frank |
|
| parent column in child row (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| Hello, I have a dataset with 2 tables and a relation (parent child). I linked that ds to a datagrid. Shows everything fine (very little coding for such functionality!). But.. in the child row I want to show a column of the parent. Example: orderColumn shows customerId and I want the customerName which is located in the parent. How do I do that? Thanks in advance Frank |
|
| ParkingWindow revisited (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| This issue was already reported by several others but I did not find any useful solution / workaround. The problem happens in a random non frequent manner when I run my WindowsForms application. I get the following exception: Cannot access a disposed object named "ParkingWindow" In another post in this NG titled "Derived combo box controls in forms MessageBox.Show breaks the control's message rout... |
|
| pass a function as a parameter(argument) (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| How do you pass a function (or sub) as a parameter (argument) of another function (or sub). I need help in both VB.net and C#. Thanks. |
|
| pass form to function (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi! I am new to vb.net and have a question on how to pass a form to a function. Could someone point me to an example or give me a quick example on how to do this. Thank you Stacy |
|
| pass values (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| On my web page i'm passing in a value using request.querystring, but i need this same value several other pages. How can I store this value and use it on my other pages to execute my SQL? thx |
|
| Pass variables value between diferent pages (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| Hi, How can I pass the values of some variables from page1.aspx to page2.aspx? I try to define some variables in page2 and then when I click a button in page1 it will fill that variables (in page2) with values. The proble is that when I call page2 variable values are NULL. Like this: BEGIN CODE Imports AppName.ClassNamePage2 Dim m Page2 as New ClassNamePage2 Private Sub Button1 ServerClick(ByVal s... |
|
| Pass variables value between diferent pages (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi, How can I pass the values of some variables from page1.aspx to page2.aspx? I try to define some variables in page2 and then when I click a button in page1 it will fill that variables (in page2) with values. The proble is that when I call page2 variable values are NULL. Like this: BEGIN CODE Imports AppName.ClassNamePage2 Dim m Page2 as New ClassNamePage2 Private Sub Button1 ServerClick(ByVal s... |
|
| Pass variables value between diferent pages (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| Hi, How can I pass the values of some variables from page1.aspx to page2.aspx? I try to define some variables in page2 and then when I click a button in page1 it will fill that variables (in page2) with values. The proble is that when I call page2 variable values are NULL. Like this: BEGIN CODE Imports AppName.ClassNamePage2 Dim m Page2 as New ClassNamePage2 Private Sub Button1 ServerClick(ByVal s... |
|
| Passing a Class to a Web Service? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I've mastered the HelloWorld web service, but having trouble with my real one. : ) I am trying to pass a class to a web service, but it doesn't seem to work. I have set up a small VB example to illustrate my problem. Here is my example class: Public Class BKInfo Public author As String Public title As String Public pub As New BKPublisher End Class Public Class BKPublisher Public name As String Pub... |
|
| Passing a DataReader between methods and getting RETURN_VALUE (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| Hi all, I have the following problem: I have a private method that returns a SqlDataReader. For this to work I have not to close the DB connection in the above method. I do this only to have the possibility to iterate through the entire rows set in a while loop, located in the calling method. I have included a few lines of code to get the number of rows fetched from the DB. I do this with SqlParam... |
|
| Passing a subroutine as a parameter to another subroutine (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi. In c/C i can pass the address of a subroutine to another subroutine as an actual parameter. How do I do that in VB .NET? What should be the syntax for a parameter to receive the address of a subroutine? Let's say theres a sub that creates buttons and I want it to receive as a parameter the address of the sub that handles the OnClick event for the button being created. How do I pass such a para... |
|
| Passing a variable to a User Control (VIP replies) |
| ASPFriends.com 'aspngfreeforall' list |
| Hi, I have all my sites navigation etc in a header.ascx user control: SCRIPT LANGUAGE "VB" RUNAT "SERVER" Public sTitle As String /SCRIPT html head title % sTitle % /title meta http equiv "Content Type" content "text/html; charset iso 8859 1" link rel "stylesheet" href "/alexcampbell/AlexASP.css" type "text/css" /head In each page I specify what the page's title should be with this code: %@ Regist... |
|
| passing arrays to non-managed code (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi all, I'm new to c# and interop so I have a potentially stupid question to ask here. I'm trying to use some of the Win32 calls to handle serial I/O access. I'm able to open the com2 port using an interop ported CreateFile ok. My problem is in write file. When I execute the following code, I get a "Syetem.NullRefferenceException" and "Object reference not set to an instance of an object". I belie... |
|
| Passing data from one form to another when both forms are loaded (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| How can I pass data from one child form to another? I have two forms, one (formX) that holds a datagrid (with the results of a query) and another (formY) that consists of many textboxes. I'd like to pass, for example, a row from formX to the textboxes of FormY. In this case, since both child forms are already loaded (both forms are loaded when the MDI loads), I don't know how to reference formY fr... |
|
| Passing Event Delegate as an argument (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I am having problems passing an Event Delegate as an argument to a method that accepts a delegate argument. I get the following error message: 'Public Event ProgressChanged(sender As Object, e As System.EventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event. I don't want to raise the event, but rather pass the delegate associated with an event to ano... |
|
| Passing in a file to a browser... (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I am creating a small help browser. It is pretty much finished except I cannot find how to pass a file to it (i.e. browser.exe index.html, or any html file, and the html file opens in the browser) from the command line. Pointers would help. : ) Bob |
|
| passing information between forms (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I'm developping in C#. I need to provide information between 2 form (formely Form1 and Form2) I need to do the following: Form 1 creation .... Form1 call Form2 passing information(way1) .... Form2 data validation Form2 unload and passing validated data (way2) .... Form1 unload Way 1: OK no issue (i override the Form2 constructor to provide information to Form2) Way 2: ???? How to do this. i need t... |
|
| Passing parameters to a Report (VIP replies) |
| ASPFriends.com 'ngfx-crystal' list |
| Hi All, I have a report which needs the numeric parameter "ClinicID" to be passed to it. How do I go about this using C# and ASP.NET? I have the following at the moment ****************************************************** ParameterFields paramField new ParameterFields(); paramField 13; error here CrystalReportViewer1.ParameterFieldInfo paramField; CrystalReportViewer1.DataBind(); ***************... |
|
| Passing Parameters to Access Report from VB.Net (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hello All, any help would be appreciated: I am trying to pass a parameter to an Access Report. Just running the report from .net with no parameter in my access query and no wherecondition clause in my .net ...report prints correctly. As soon as I add the parameter to my Access query, and the wherecondition to my .net....the .Net form pop's up a parameter box for the user to enter the parameter. Th... |
|
| Passing parameters to and from a Form object (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hello, I am a novice to C#. Say I have two Windows Form: A and B (not a DialogBox). Suppose I want from Form A object to create and display Form B object (passing it parameters). When closing the Form B object, I would like to get the return parameter/s. Can anybody show me a way of doing it? Thanks, David |
|
| passing pointer reference to structure with array (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi! I have a problem which is quite tricky. I need to pass a struct from .NET to a native Win32 DLL. But i just need to pass the pointer to a reference of that struct. With my first struct this worked pretty well, accepting to write unsafe code ; ) But my next struct has an array inside and I don't get it passed over to the DLL correctly. Here my struct in c#: [StructLayout(LayoutKind.Sequential)]... |
|
| Passing the Page object (VIP replies) |
| ASPFriends.com 'aspngfreeforall' list |
| Moved from [aspngwebcontrols] to [aspngfreeforall] by Todo Proudfoot bbilbro@hotmail.com This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. NextPart 001 01C176E0.C88CB120 Content Type: text/plain I'm trying to communicate between a web page and a non web object (standalone vb assembly). ASPX page invokes a method ... |
|