Is there perhaps a machine or web.config setting that could be preventing it? IIS throws up errors when I am using the tag.
The network is down...let's go get bagels.
Is there perhaps a machine or web.config setting that could be preventing it? IIS throws up errors when I am using the tag.
The network is down...let's go get bagels.
I am developing a web application that uses Forms authentication however it has a few web service methods so that I can script some maintenance tasks and allow other administrative functions. Is there an easy way to change a sub folder to use Windows authentication instead of Forms without multiple web applications or web.config files. I tried to override it using the option but am getting "configuration section not allowed to be set below application." when looking in IIS. Any thoughts on how to use both methods without deploying a separate app?
The network is down...let's go get bagels.
Not sure on your scripting website but there is an excellent book on WMI publised by Microsoft that talks about various system scripting. As for Symantec, I there there is a password reset tool on the CD. I know I have used one with the Symantec System Console MMC when I forgot a password before. If this is the for the SSC and you can't find it, let me know and I can see if I can locate it. -- modified at 16:40 Sunday 30th October, 2005
You may be able to use a transform file. I think the office resource kits have a way to build one. By configuring its settings, outlook can change when a new users logs in. I use it with NT4, 2K, and XP... Not too sure if it works with 98. It might if you are using profiles. The network is down...let's go get bagels.
You could try the one that comes with QueryCommander. It looks very similar to the VS.NET IDE. Might do something that Word can, but I have not messed with it much. http://sourceforge.net/projects/querycommander The network is down...let's go get bagels.
I feel your pain :) Happens to me multiple times per week. 2.5k per second really makes me wanna download the newest apps. The network is down...let's go get bagels.
I have created a custom principal class based on IPrincipal and have exteded it for additional properties and methogs such as .UserName, .UserID to return data and IsInAnyRole to accept a list of possible roles for a user. Is there a way that I can use Declarative security with this for something like... Public Shared Sub _ [PrincipalPermissionAttribute(SecurityAction.Demand, IsInAnyRole:="Role1,Role2,etc...")] _ PrivateInfo() 'Print secret data. Console.WriteLine(ControlChars.CrLf + "You have access to the private data!") End Sub
The isInAnyRole is not part of the PrincipalPermissionAttribute class though. Is there an easy way to write or extend it so that I can use it with extended methods from my custom principal class? Thanks in advanvce for any help...
I am working on a application that uses the MyApplication_UnhandledException event to basically tell the user that I screwed up somewhere...see below Private Sub MyApplication_UnhandledException(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs) Handles Me.UnhandledException MsgBox(e.Exception.Message.ToString) e.ExitApplication = False End Sub My test app that I was working on has 3 controls on it, A menu bar, textbox, and datagrid. The app will take what I have in the textbox aka SQL Query, then use the dataadapter to fill a dataset then bind it to the datagrid. Here is where it gets weird, or at least I have no idea why this happens... First here is my code... I have a SQL class, which takes the query, and connection string and returns a datatable Imports System.Data Imports System.Data.SqlClient Public Class SQL Private pResults As New DataTable Private pQuery As String Private pConnStr As String Public ReadOnly Property Results() As DataTable Get Return pResults End Get End Property Public Sub New(ByVal ConnStr As String, ByVal Query As String) pConnStr = ConnStr pQuery = Query End Sub Public Function ExecuteQuery() As DataTable Dim DBConn As SqlConnection Try DBConn = New SqlConnection(pConnStr) DBConn.Open() Dim adp As New SqlDataAdapter(pQuery, DBConn) adp.Fill(pResults) Return pResults Catch ex As Exception Throw ex Finally DBConn.Close() End Try End Function End Class Also here is my main body of the testForm, the menubar has two items one Parent (File) then a child node of Run with a shortcut key set to Ctrl+R Private Const CONNECTION_STRING As String = "uid=sa;password=SomePassword;initial catalog=SomeDatabase;data source=wwwsql01,1433;connect timeout=15;persist security info=false;network library=dbmssocn" Private Sub RunToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RunToolStripMenuItem.Click RunQuery() End Sub Private Sub RunQuery() Dim qry As New SQL(Me.CONNECTION_STRING, TextBox1.Text) qry.ExecuteQuery() DataGridView1.DataSource = qry.Results End Sub Very simple... If I run it as is and an exception is thrown when I press Ctrl+R while in the textbox, the unh
I am working on a few applications in VB.net which use a custom application context for many things such as showing the splash screen, database login form, and finally launching the main form. I have looked all over for a way to put a unhandled exception handler in the custom Application Context so anything that "spawned" from it so to speak would be covered if a exception occured. Is there a way that this can be done? I have tried a few of the examples on CodeProject but still no luck. Doing something like Throw New Exception("this is a test") without a Try Catch will cause the debugger to popup and not the exception handler. Thanks in advance... The network is down...let's go get bagels.
It appears that is for VB and not VB.net... .NET does not seem to have ColumnHeaders. ANy thoughts on how to do it in .NET? The network is down...let's go get bagels.
Is there a way to add images into the listview columns kinda like how outlook can display a paperclip instead of text? I have seen that people say that you must tie into the API to do it, but no one provides examples. Does any one know how to do it and is willing to share how they did it? Thanks, - Nick The network is down...let's go get bagels.