ASPFriends.com 'aspngvb' list Archive - December 2001
Messages
Page: 1
Command line compiler references (10 replies)
ASPFriends.com 'aspngvb' list
I have a two different versions of an identical program one version in vb.net and the other in C#. One is a direct translation of the other. They both access the same database. They have identical functionality and equivalent methods. 20 However, the command line to compile the two are different in that the VB.NET program requires additional references. Specifically, the C# command line uses the f...
Will window.opener work? (3 replies, VIP)
ASPFriends.com 'aspngvb' list
hi, Generally, if I open an HTML page in another window, from an HTML document, I can refer to the parent window as WINDOW.OPENER.XXX. Now, I am trying to do the same thing with an HTML ASPX combination. But I am sceptical whether I can use the same WINDOW.OPENER.XXX in an ASPX page. Is there any way to find out this one? Thanks, N.T.GOPALAKRISHNAN
VB.net's Java super equivalent? (2 replies, VIP)
ASPFriends.com 'aspngvb' list
In java if I want to call a method or property of the class that my class inherits from I could use the super keyword. Is there an equivalent in VB.NET? In case I'm not clear on what I'm asking, here's some more info: http://java.sun.com/docs/books/jls/second edition/html/expressions.doc.html#20860 Thanks, Brian
System.Reflection - Invoking a method without parameters (3 replies)
ASPFriends.com 'aspngvb' list
hi, I am trying to Invoke a Method using System.Reflection. The Assembly Name is "AP". There is only one Class inside the Assembly called "AP". In that Class there is a Method called "CallAP" which receives no parameter but returns a String. Here is my code: Dim a As Object Dim b As String Dim asem As System.Reflection.Assembly System.Reflection.Assembly.LoadFrom("C:\Tech\ModuleProto\AP\BIN\AP.DLL...
Problem with null values (15 replies)
ASPFriends.com 'aspngvb' list
I have a problem with null values in VB.NET. That is, how to handle the following: dim mystr as string someValue where someValue might be null (dbnull.value) like a field in a database or xml file. I would love there to be a function in VB (maybe there is) so I could say (as I do in Oracle) dim mystr as string nvl(someValue, "") which would return either someValue (if not null) or "" if it is null...
Overloading (7 replies, VIP)
ASPFriends.com 'aspngvb' list
Let's say I have a page with 3 controls on it, a Label, and TextBox and a DropDownList. I want to do a loop and call an overloaded method for each control. I want to do the following by I can't figure out how to do it.... my first attempt was... dim ctrl as control for each control in page.controls ShowVal(ctrl) next But you can't do that because you need to cast 'ctrl' to the specific types in th...
Oracle DataGrid (2 replies)
ASPFriends.com 'aspngvb' list
I am looking for a sample, or link that shows how to implement a DataGrid on a webform, from ORACLE table(s). Thanks in advance for any suggestions. Edwin A. Perez peree1@supreme.com
ArrayList Collections (4 replies)
ASPFriends.com 'aspngvb' list
Is the ArrayList Collection only 1 dimesional or can it be used like a mulit dimesional array. I am assuming that I should be using a DatasSet instead of a ArrayList. ********************************************************************** This e mail is the property of Enron Corp. and/or its relevant affiliate an d may contain confidential and privileged material for the sole use of the intended re...
Non-shared member error - Global.asax (2 replies, VIP)
ASPFriends.com 'aspngvb' list
(I havesystem.web.caching in my Imports list in both cases.) Why is it that this: dim xdoc as XmlDocument CType(Cache.Get("brandinfo"), XmlDocument) works fine in an aspx.vb, or ascx.vb file, but when I put the same line in global.asax.vb, VS gives me the following error: This reference to a non shared member requrires an object reference, and none is supplied ???? Send and receive Hotmail on your...
GetRows arrays in VB.NET (2 replies)
ASPFriends.com 'aspngvb' list
I'm taking an incremental approach to migrating an ASP app to ASP.NET, still using classic ADO in my ASP.NET pages for now. My VBScript ASP code creates a variable myArray (with the code "Dim myArray() As String"), opens a recordset, then returns Recordset.GetRows into myArray. After converting the page to VB.NET, this works fine without Option Strict, but when I turn it on, I get this: Compiler E...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com