| Working with Multiple Versions (3 replies) |
| ASPFriends.com 'aspngvb' list |
| hi, I heard that we can have multiple versions of same assembly and can work in parellel (without the DLLHell!). How come this possible. Generally we put our assembly in our bin directory. Now, how can 2 versions of the same assembly can exist in the same Bin directory? Am I missing something? Thanks, N.T.GOPALAKRISHNAN |
|
| CodeElements in VB (2 replies) |
| ASPFriends.com 'aspngvb' list |
| Hi, I am writing an addin that reads function information from the Vs IDE. I am using VS.NET Beta 2. I get the codeelement from the codemodule and then loop thru the children. This works for a C# project, but when used with a VB.NET project gives a "not implemented" exception. Is this a limitation of Beta 2 or am I doing something wrong. My code is as follows: CodeModel cm; FileCodeModel fcm; Code... |
|
| Destructors (7 replies) |
| ASPFriends.com 'aspngvb' list |
| Ok, I figured out that Sub New() is a constructor... now what the heck is a destructor in VB.NET? Steve Steven Smith ssmith@aspalliance.com President, ASPAlliance.com http://aspalliance.com The #1 ASP.NET Community http://aspsmith.com ASP.NET Training for ASP Developers Get The Book: ASP.NET By Example http://www.amazon.com/exec/obidos/ASIN/0789725622/stevenatorasp/ |
|
| deleting xml node using vb.net (2 replies) |
| ASPFriends.com 'aspngvb' list |
| Moved from [aspngwebservices] to [aspngvb] by Charles M Carroll darthcarroll@asplists.com hi all i have following xml file. books book title t1 /title price p1 /title /book book title t2 /title price p2 /title /book book title t3 /title price p3 /title /book /books i want to delete the book from this xml file where price is p1. i wrote the following code. Dim objXml As XmlDocument Dim objNode As X... |
|
| Translate c# to vb.net - internal and sealed (12 replies) |
| ASPFriends.com 'aspngvb' list |
| Does anybody know the vb.net translation of the following c# code sample: [AttributeUsage(AttributeTargets.All)] internal sealed class AwcCategoryAttribute : CategoryAttribute { public AwcCategoryAttribute(string category) : base(category) { } protected override string GetLocalizedString(string value) { return SR.GetString(value); } } Specifically, what are the vb.net conterparts to internal and s... |
|
| vb.net equivalent of c# "using" (2 replies) |
| ASPFriends.com 'aspngvb' list |
| Is there a VB.NET equivalent of C#'s using (object) { ... } construct? Dot Net Guruhew Belk BizSpeed, Inc., www.bizspeed.com http://www.bizspeed.com/ 4555 Mansell Rd., Ste 300 Alpharetta, GA 30022 770.521.4262 |
|
| Peculiar compilation error in .vb file (3 replies) |
| ASPFriends.com 'aspngvb' list |
| Moved from [aspngcommunity] to [aspngvb] by Charles M. Carroll darthcarroll@asplists.com I have a function within in a classfile which looks like this: Public Function ExtractFileName( ByVal strPagename As String ) As String Dim strNewStr As String 3D "" Dim strLength As Integer 3D Len( strPagename ) Dim chrTestChar As Char 3D "" Dim bolFlag As Boolean 3D True 09 do while bolFlag and StrLength 0 c... |
|
| Help with syntax (3 replies) |
| ASPFriends.com 'aspngvb' list |
| RGltIGtleSBhcyBCeXRlKCkgPSB7MHgwMSwgMHgyMywgMHg0NSwgMHg2NywgMHg4OSwgMHhhYiwg MHhjZCwgMHhlZn0NCg0KV2hhdCBpcyB3cm9uZyB3aXRoIHRoaXMuIFZTLk5FVCBrZWVwcyB0ZWxs aW5nIG1lIHRoYXQgaXQgaXMgZXhwZWN0aW5nIGEgfSByaWdodCBhZnRlciB0aGUgZmlyc3QgMC4g QW55IGhlbHAgd291bGQgYmUgZ3JlYXRseSBhcHByaWNpYXRlZCENCg0KQmlsbCBFdmplbg0KDQo |
|
| Type Casting (3 replies) |
| ASPFriends.com 'aspngvb' list |
| What's this in VB.NET? ds (DataSet)Cache["authors"]; Thanks, Steve |
|
| translate C# to vb.net.... (3 replies) |
| ASPFriends.com 'aspngvb' list |
| What is the vb.net equivalent of the following? 20 namespace TreeViewTest { 09 public class WebForm1 : System.Web.UI.Page { protected System.Web.UI.WebControls.Label Label1; protected eiBaseControls.TreeView.TreeView TreeView1; 09 public WebForm1() { Page.Init 3D new System.EventHandler(Page Init); } |
|
| System.net (2 replies, VIP) |
| ASPFriends.com 'aspngvb' list |
| Hi, i´ve vs beta 2, i´ve downloaded an example that imports system.net, but vs says that it can´t find it, can anyone tell me what library should i import in order to use sockets? thanks in advance. Lic. Maximiliano Di Rienzo CTO Cordoba.com.ar maxi@cordoba.com.ar |
|
| Problems importing System.Data (3 replies) |
| ASPFriends.com 'aspngvb' list |
| Moved from [aspngibuyspy] to [aspngvb] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hello Everyone and thanks for your help in advance. I am building a business component for accessing a database via and ASP.net page. It is similar to pages on the IBuySpy example on www.asp.net. I am running into problems importing a namespace. I am using the following code: Imports System Imports System.Dat... |
|