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
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification