| .NET and Active Directory (2 replies) |
| microsoft.public.dotnet.faqs |
| Hello, I have a problem to access my active directory. This code works well : DirectoryEntry vo DS new DirectoryEntry( @"WinNT://servername/computername","administrator",""); But i don't manage to access active directory with LDAP protocol : DirectoryEntry vo DS new DirectoryEntry( @"LDAP://servername","administrateur",""); What is the difference between "LDAP" and "WinNT" ? thanks |
|
| design patterns (6 replies) |
| microsoft.public.dotnet.faqs |
| Hello I have class that has four methods Add, Delete,Update,Read each of them return an object of the same type and they all have different input parameters. Depending on the event that comes in I call the appropriate method as follows: select case sEvent Case "Add" return mObject.Add(...) Case "Delete" return mObject.Delete(...) Case "Update" return mObject.Update(...) Case "Create" return mObjec... |
|
| Please help...urgent! (9 replies) |
| microsoft.public.dotnet.faqs |
| (Sorry about cross posting but it's important.) I desperately need to figure out how to use an ASP.NET application to turn an IIS Virtual Directory into an application. I know it's to do with Active Directory and I sorta know what it's all about but does anyone have an actual article or code relating to this? THIS IS QUITE URGENT!! Please help... John |
|
| Form Serialization (3 replies) |
| microsoft.public.dotnet.faqs |
| Can anyone teach me how to do serialization with a form object? TQ |
|
| Method 'Open' of object '_Connection' failed (4 replies) |
| microsoft.public.dotnet.faqs |
| Hi guys, Since i installed Visual Studio.NET on my machine (which previously had Visual Studio 6), i'm having problems with my applications that use ADO connections. I get the message: Method 'Open' of object ' Connection' failed Can anyone out there please help? IOB |
|
| What the hell is going on here? (2 replies) |
| microsoft.public.dotnet.faqs |
| I've got the following code... business.CreatorId this.activeUser.UserId; .....and it's rather self explanitory when you think about it. 'business' is a BusinessRecord object that holds data for a particular business. 'this.activeUser' is a UserRecord that some the same thing as the BusinessRecord. Just after this like I pass 'business' as a parameter through a method but for some reason 'business... |
|
| Mixing VB and C# in same Web Application (2 replies) |
| microsoft.public.dotnet.faqs |
| Hello everyone, Our company has recently purchased VS.NET and it has been my task to figure out migration from ASP to ASP.NET. My specific problem is that we have some developers who want to use Visual Basic.NET and others who are more comfortable in a C# (or C ) environment. It seems that with the VS IDE one must make a choice when creating a Web Application as to which language will be used (VB ... |
|
| MAJOR Try...Catch...Finally BUG! (6 replies) |
| microsoft.public.dotnet.faqs |
| I have found what seems to be a MAJOR bug with VB.NET's structure error handling when working with XML types. I have confirmed that I can cause this behavior on different systems. Has anyone else run across this? Try the following code in a new Console Application: Option Strict On Imports SystemImports System.Xml Module Module1 Sub Main() Dim testXML As XmlDocument New XmlDocument()Dim steps As X... |
|
| Selected item in a DropDownList (2 replies) |
| microsoft.public.dotnet.faqs |
| Anybody can tell me what is wrong in this code to get the value of a selected item in a DropDownListbox when pressed a button inside a form? What happens to me is that I always get the first value in the DropDownListBox not the selected one. Thanks... Private Sub btnGuardar Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGuardar.Click Dim strSql As String strSql "" & M... |
|
| SSL Support? (2 replies) |
| microsoft.public.dotnet.faqs |
| Hi. The only mention of SSL support that I could find in the documentation was with WebRequest. It seems to suggest that if the URI starts with "https", it automatically uses SSL. (So, I'm not sure if it should really have pertained to HTTPWebRequest instead. Anyway...) What if my connection is not HTTP based? Is there an exposed independent SSL class that I can use and that somehow didn't make it... |
|
| ASSERT() or VERIFY() (2 replies) |
| microsoft.public.dotnet.faqs |
| Hello, I'm looking for something in VC .NET that is similar to MFC's ASSERT() macro. Suggestions? Thanks, Chris |
|
| About DateTime Conversion (6 replies) |
| microsoft.public.dotnet.faqs |
| Hi, everybody, Is there any FCL method to convert a unix time(a 32bit integer) to a DateTime object? Or I have to create my own with Managed C ? Thanks, Qian Feng |
|
| Why don't I get Intellisense in the HTML window in ASP.NET? (4 replies) |
| microsoft.public.dotnet.faqs |
| When I am writing some code in the HTML window of my ASP.NET page I cannot get any intellisense. Even with a known object like "response.write". What is the deal? |
|
| FolderBrowser class in Visual C# (2 replies) |
| microsoft.public.dotnet.faqs |
| Dear All, I have the following question to You. I'm using Visual C# from Visual Studio .NET Enterprise Beta 2. I want to use a FolderBrowser class in my application which must be contained in System.Windows.Forms.Design namespace according to the documentation. However, I didn't find this class in the above mentioned namespace. Is this class not supported in Visual Studio .NET Beta 2 ? Where can I... |
|
| FTP - How does it work using .NET (4 replies) |
| microsoft.public.dotnet.faqs |
| Hi, I am trying to program an app, which accesses a webserver via FTP. But the only thing is that I don't know how to program it in .NET. THX, LT |
|
| Calling VB.Net function from C# (2 replies) |
| microsoft.public.dotnet.faqs |
| How do I call a VB.Net function from C#? Specifically, I want to call VB6.TwipsToPixelsX(). Is this possible? Does C# have an equivalent function? |
|
| Include files don't seem to work in ASP.NET (16 replies) |
| microsoft.public.dotnet.faqs |
| I am using include files in the HTML window of my ASP.NET pages (similar to how I was using them in traditional ASP) and they don't seem to be working at ALL. Any ideas on what I am doing wrong? Sample: ! #include file "../include/NavBar.html" % % script language "VB" runat "server" |
|
| Current Regional Setting (2 replies) |
| microsoft.public.dotnet.faqs |
| How to change the CurrencyGroupSeparator to "." and CurrencyDecimalSeparator to "," in ASP.NET??????????????????? I face problem in the Current Regional Setting CurrencyGroupSeparator and CurrencyDecimalSeparator. CurrencyGroupSeparator and CurrencyDecimalSeparator always return "," and "." ,although i have changed the locale in Regional Setting to Indonesia. I guess is because if the asp.net proc... |
|