Trace Switch Issue

TheMSsForum.com: The Microsoft Software Forum

  • The MSS Forum ‹ Framework
    • Archive
      • Biz
      • MCSE
      • CRM
      • Drivers
      • Framework
      • ADO
      • ASP
      • Compact
      • Forms
      • Dotnet
      • C#
      • VB
      • FontpageGen
      • Excel
      • WorkSheet
      • Exchange
      • Setup
      • Fox
      • Fontpage
      • ASP
      • IIS
      • Entourage
      • Money
      • Messanger
      • PocketPC
      • Powerpoint
      • Project
      • Publisher
      • Excel
      • VB
      • Security
      • Portal
      • Services
      • SQLServerDev
      • SVCS
      • SQLServer
      • VB
      • VC
      • MFC
      • ExcelGen
    • Previous
      • 1
        • .aspx page will not run For some reason my web server does not recognize .aspx pages. I get this error: A dynamic link library (DLL) initialization routine failed. It's a stand alone W2k server with IIS 5.0. Thanks Tag: Trace Switch Issue Tag: 62865
      • 2
        • Extracting .NET framework 1.1 failed I'm trying to extract the files from the dotnetfx.exe file with the /T:<path> and /C switches, but every time I try, it pops up an error saying "Extracting file failed. It is most likely caused by low memory (low disk space for swapping file) or corrupted Cabinet file." I've downloaded and tried it on two different PC's and I'm constantly getting the same error. Thanks. Tag: Trace Switch Issue Tag: 62863
      • 3
        • What's my Mode? What might be the best way to detect in code whether (C#) system is in design mode or running? In other words, how to tell the system if I want something to happen in a control constructor when I am dropping the control onto a form, but don't want it to happen when the control is initialized in a running form. Thanks! Tag: Trace Switch Issue Tag: 62861
      • 4
        • Namespace Security Is there any way to secure a Namespace so that it can only be accessed from a designated Namespace? I believe there is a way but cannot locate the exact sytax to do so. Thanks Tag: Trace Switch Issue Tag: 62860
      • 5
        • Regex - NFA, DFA, POSIX - seeking clarification The framework help says: "Microsoft .NET Framework regular expressions incorporate the most popular features of other regular expression implementations such as those in Perl and awk. Designed to be compatible with Perl 5 regular expressions, .NET Framework regular expressions include features not yet seen in other implementations, such as right-to-left matching and on-the-fly compilation." Perl is traditional NFA (non-POSIX), while awk (and most of its derivatives) are DFA (which are mostly POSIX anyway), so the help is a little ambiguous regarding the nature of Regex's engine ..NET's Regex doesn't (seem) to implement the POSIX longest-leftmost mandate. Jeffrey E. F. Friedl explains this mandate using the expression "(to|top)(o|polo)?(gical|o?logical)" and an input of "topological" (ignore the quotes) A POSIX engine would be expected to return "top", "", and "ological" for the subexpressions (see Mr. Friedl's book for an explanation of why). However, .NET's Regex returns "to", "polo", and "gical" So, is it NFA, DFA, semi-POSIX, or ...? Or, am I doing something wrong (a real possibility) Thanks in advance for any additional info or resources you might provide Tag: Trace Switch Issue Tag: 62859
      • 6
        • How to create SSL socket? Does anyone know how to create an SSL socket using the .NET Framework? Jon Tag: Trace Switch Issue Tag: 62856
      • 7
        • Shortcut I am development an application in C# and i want to know this: How can i create a new sortcut for a file having the path of that file. Thanks. Tag: Trace Switch Issue Tag: 62853
      • 8
        • Register Primary Interop Assembley I have a Windows Form app that uses the Windows Media Player Active-X control. It works fine on my development machine, but on a client computer the app crashes becuase the wmppia.dll hasn't been registered and installed in the global assembly cache. I 've looked around and can't find a way to automaticlly register the wmppia.dll during installation. So as a test, I followed the instructions the do it manually on a non-development machine that had Framework 1.1.4322 on it. I can "regasm c:\Program Files\MyProgram\wmppia.dll" with no problem. But the Global Assembly Cache installer; Gacutil.exe is missing. Isn't this supposed to come with the Framwork? If not, how can I expect my end users to have it? My question goes back to my origional thought: How can I set up my installer to automaticlly register and install the wmppia.dll to the Global Assembly Cache? thanks Tag: Trace Switch Issue Tag: 62850
      • 9
        • Question - >net framework 1.1 install without admin rights Hi, is it possible to install .net framework 1.1 redistributable without administrator privileges. Thanks .... Joe Tag: Trace Switch Issue Tag: 62849
      • 10
        • File stuck open after ThreadAbortException Hello, I am having a problem in which a file can get stuck open when a thread that is attempting to write to it gets aborted (ThreadAbortedException occurs). The log file gets stuck open until the process is shut down (cannot delete file from Windows Explorer, for example). My test application stops execution with: An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll Additional information: The process cannot access the file "c:\abort_test.txt" because it is being used by another process. I figured I was not closing things properly, but I think I'm OK. I created a simple test application and am still stumped. Here's my code (added to a visual studio.net 2003 Windows application): public static void ThreadProc() { // Just keep writing to the log file until thread gets aborted for (; true;) { try { using ( FileStream fs = File.Open(@"c:\abort_test.txt", FileMode.Append,FileAccess.Write)) { using (StreamWriter sw = new StreamWriter(fs)) { sw.WriteLine(DateTime.Now.ToString()+" A line of text"); } } } catch (ThreadAbortException e) { using ( FileStream fs = File.Open(@"c:\abort_test2.txt", FileMode.Append,FileAccess.Write)) { using (StreamWriter sw = new StreamWriter(fs)) { sw.WriteLine(DateTime.Now.ToString()+ e.Message + "--" + e.StackTrace); } } } Thread.Sleep(0); } } private void Form1_Load(object sender, System.EventArgs e) { // Sometimes code aborts in non-harmful places, so loop enough times to almost guarantee a problem for (int i = 0; i < 10; i++) { Thread t = new Thread(new ThreadStart(ThreadProc)); t.Start(); Thread.Sleep(1000); t.Abort(); t.Join(); } } Here's the contents from my c:\abort_test2.txt: 11/14/2003 3:43:02 PMThread was being aborted.-- at Microsoft.Win32.Win32Native.CreateFile(String lpFileName, Int32 dwDesiredAccess, FileShare dwShareMode, SECURITY_ATTRIBUTES securityAttrs, FileMode dwCreationDisposition, Int32 dwFlagsAndAttributes, IntPtr hTemplateFile) at Microsoft.Win32.Win32Native.UnsafeCreateFile(String lpFileName, Int32 dwDesiredAccess, FileShare dwShareMode, SECURITY_ATTRIBUTES securityAttrs, FileMode dwCreationDisposition, Int32 dwFlagsAndAttributes, IntPtr hTemplateFile) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share) at System.IO.File.Open(String path, FileMode mode, FileAccess access) at TestFileAbortProblem.Form1.ThreadProc() in c:\programs\dotnet\testing\testfileabortproblem\testfileabortproblem\form1.cs:line 98 Any ideas on how I can make sure the file gets closed or how I can prevent the ThreadAbortException exception from being thrown during file manipulation? Thanks in advance, Mark Tag: Trace Switch Issue Tag: 62847
      • 11
        • Unhandled Exception handler I'm trying to install an UnhandledException handler in a Console application. I have done the following as the first few lines of code in Main: AppDomain currentDomain = AppDomain.CurrentDomain; currentDomain.UnhandledException += new UnhandledExceptionEventHandler(HandleTheException); Then my handler is defined: public static void HandleTheException ( object sender, UnhandledExceptionEventArgs e ) { Console.WriteLine ( "Exception: {0}", (Exception)e.ExceptionObject).Message ); Console.ReadLine ( ); } When an UnhandledException is thrown and I have the JIT debbugging options all UN checked I still get a dialog that has "Common Language Runtime Debugging Services" in the title bar and a message saying that the application has generated an exception that could not be handled. Click OK to terminate that application or Click CANCEL to debug the application. If I click OK then my handler gets invoked. Is there any way to disable this dialog box? I just want my handler to do all the work with no other dialogs. Thanks Ken Tag: Trace Switch Issue Tag: 62845
      • 12
        • Question about framework 1.1 Does anyone know if and where we can check the source code for the .net framework 1.1 class library? Just like the MFC class library? Thanks. Roy Tag: Trace Switch Issue Tag: 62832
      • 13
        • Question Does anyone know if and where we can check the source code for the .net frame class library? Just like the MFC class library? Thanks. Roy Tag: Trace Switch Issue Tag: 62831
      • 14
        • Insert a clob into Oracle I have to store a large XML document in a Oracle Database (9i). I have specified a field as a clob. Can someone show me some code (c#) how to insert this. Thanks Tag: Trace Switch Issue Tag: 62827
      • 15
        • include image file in an other type of file. Hi group I try to include a image file into my App type of file (.MyApp files), like you can add image in your word .doc. When i open my open a .MyApp file, i need that the image file containing in appears in a PictureBox. for the momment i create a new image file (.GIF .JPG .BMP ...) which i add in my picture box, and after i used it, i delete it. How can i do to create some kind of temporary image file to populate my picture box, without create file, the perfection consist inhave a byte[] in place of a file. thank you for your help ROM Tag: Trace Switch Issue Tag: 62826
      • 16
        • WebProxy & authentication Does WebProxy handle anything other than Basic Authentication - if so, more info would be much appreciated! Cheers Sparky Tag: Trace Switch Issue Tag: 62824
      • 17
        • URGENT: Vbc fails with error code 128 I have a .NET application that compiles fine and runs fine under most circumstances. However when tested with heavy user load, it runs for a while (9 hours) and then starts failing with the following message displayed to the user. Any ideas what could cause that? /Stan Error message: Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: The compiler failed with error code 128. Show Detailed Compiler Output: C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4 322 \vbc.exe" /t:library /utf8output /R:"c:\winnt\assembly\gac\ system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R: "c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\vistaaspnet\84d4bfb8\8a98fbbc\assembly\dl2 \d1defa8c\00f91e4b_0aa6c201 \interop.pominterfaces.dll" /R:"c:\winnt\microsoft.net\fram ework\v1.1.4322\temporary asp.net files\vistaaspnet\84d4bfb8 \8a98fbbc\l5yofysr.dll" /R:"c:\winnt\microsoft.net\framewor k\v1.1.4322\temporary asp.net files\vistaaspnet\84d4bfb8 \8a98fbbc\hsp9dv3e.dll" /R:"c:\winnt\microsoft.net\framewor k\v1.1.4322\temporary asp.net files\vistaaspnet\84d4bfb8 \8a98fbbc\bz0zz1vv.dll" /R:"c:\winnt\microsoft.net\framewor k\v1.1.4322\temporary asp.net files\vistaaspnet\84d4bfb8 \8a98fbbc\maffrs7u.dll" /R:"c:\winnt\microsoft.net\framewor k\v1.1.4322\temporary asp.net files\vistaaspnet\84d4bfb8 \8a98fbbc\assembly\dl2\0c2a136a\006aca0d_2728c201 \interop.adomd.dll" /R:"c:\winnt\microsoft.net\framework\v1 .1.4322\temporary asp.net files\vistaaspnet\84d4bfb8 \8a98fbbc\assembly\dl2\9bd2daf5\405219ce_e5aac301 \vistaexport.dll" /R:"c:\winnt\microsoft.net\framework\v1.1 .4322\temporary asp.net files\vistaaspnet\84d4bfb8 \8a98fbbc\assembly\dl2\e634931a\803995b6_e9aac301 \vistaaspnet.dll" /R:"c:\winnt\microsoft.net\framework\v1.1 .4322\temporary asp.net files\vistaaspnet\84d4bfb8 \8a98fbbc\assembly\dl2\eb4d3b95\00981176_415cc301 \interop.msxmlanalysissclib.dll" /R:"c:\winnt\assembly\gac\ system.xml\1.0.5000.0__b77a5c561934e089 \system.xml.dll" /R:"c:\winnt\microsoft.net\framework\v1.1. 4322\temporary asp.net files\vistaaspnet\84d4bfb8 \8a98fbbc\assembly\dl2\890304c9\0047adec_18a6c201 \interop.dso.dll" /R:"c:\winnt\assembly\gac\system.enterpri seservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterprisese rvices.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322 \temporary asp.net files\vistaaspnet\84d4bfb8 \8a98fbbc\assembly\dl2\5e2129a8\0070c1b0_9536c301 \interop.vba.dll" /R:"c:\winnt\assembly\gac\system.drawing\ 1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\win nt\microsoft.net\framework\v1.1.4322\temporary asp.net files\vistaaspnet\84d4bfb8\8a98fbbc\assembly\dl2\1327e3a8 \0009d450_21a6c201 \interop.msolapadminlib2.dll" /R:"c:\winnt\microsoft.net\fr amework\v1.1.4322\temporary asp.net files\vistaaspnet\84d4bfb8\8a98fbbc\assembly\dl2\c7402bd4 \b0ee02cd_05aac301 \vista.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322 \temporary asp.net files\vistaaspnet\84d4bfb8 \8a98fbbc\mlaly9cs.dll" /R:"c:\winnt\assembly\gac\system.we b.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll " /R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c5 61934e089 \system.data.dll" /R:"c:\winnt\microsoft.net\framework\v1.1 .4322\temporary asp.net files\vistaaspnet\84d4bfb8 \8a98fbbc\assembly\dl2\22995fc8\1063dbce_e5aac301 \vistanet.dll" /R:"c:\winnt\assembly\gac\system.web.service s\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R: "c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089 \system.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.43 22\Temporary ASP.NET Files\vistaaspnet\84d4bfb8 \8a98fbbc\liutf_nl.dll" /D:DEBUG=1 /debug+ /win32resource:" C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\vistaaspnet\84d4bfb8 \8a98fbbc\liutf_nl.res" "C:\WINNT\Microsoft.NET\Framework\ v1.1.4322\Temporary ASP.NET Files\vistaaspnet\84d4bfb8 \8a98fbbc\liutf_nl.0.vb" Show Complete Compilation Source: Line 1: '----------------------------------------------- ------------------------------- Line 2: ' <autogenerated> Line 3: ' This code was generated by a tool. Line 4: ' Runtime Version: 1.1.4322.573 Line 5: ' Line 6: ' Changes to this file may cause incorrect behavior and will be lost if Line 7: ' the code is regenerated. Line 8: ' </autogenerated> Line 9: '----------------------------------------------- ------------------------------- Line 10: Line 11: Option Strict Off Line 12: Option Explicit On Line 13: Line 14: Imports ASP Line 15: Imports Microsoft.VisualBasic Line 16: Imports System Line 17: Imports System.Collections Line 18: Imports System.Collections.Specialized Line 19: Imports System.Configuration Line 20: Imports System.Text Line 21: Imports System.Text.RegularExpressions Line 22: Imports System.Web Line 23: Imports System.Web.Caching Line 24: Imports System.Web.Security Line 25: Imports System.Web.SessionState Line 26: Imports System.Web.UI Line 27: Imports System.Web.UI.HtmlControls Line 28: Imports System.Web.UI.WebControls Line 29: Line 30: Namespace ASP Line 31: Line 32: <System.Runtime.CompilerServices.CompilerGlobalScopeAttribu te()> _ Line 33: Public Class dimension_aspx Line 34: Inherits VistaAspNet.dimension Line 35: Implements System.Web.SessionState.IRequiresSessionState Line 36: Line 37: Line 38: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",42) Line 39: Protected LanguagesCtl As ASP.SupportedLanguages_ascx Line 40: Line 41: #End ExternalSource Line 42: Line 43: Line 44: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",97) Line 45: Protected LoginCtl As ASP.LoginInfo_ascx Line 46: Line 47: #End ExternalSource Line 48: Line 49: Line 50: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",97) Line 51: Protected StateCtl As ASP.State_ascx Line 52: Line 53: #End ExternalSource Line 54: Line 55: Private Shared __initialized As Boolean = false Line 56: Line 57: Private Shared __stringResource As Object Line 58: Line 59: Private Shared __fileDependencies As System.Collections.ArrayList Line 60: Line 61: Line 62: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",9) Line 63: Line 64: Dim PageSettings As Settings = CType(LoadControl("../Controls/Settings.ascx"), Settings) Line 65: Dim PageSettings1 As New VistaAspNet.Settings1 Line 66: Line 67: #End ExternalSource Line 68: Line 69: Public Sub New() Line 70: MyBase.New Line 71: Dim dependencies As System.Collections.ArrayList Line 72: If (ASP.dimension_aspx.__initialized = false) Then Line 73: ASP.dimension_aspx.__stringResource = System.Web.UI.TemplateControl.ReadStringResource(GetType (ASP.dimension_aspx)) Line 74: dependencies = New System.Collections.ArrayList Line 75: dependencies.Add ("D:\VistaSolution\VistaAspNet\bin\VistaAspNet.DLL") Line 76: dependencies.Add ("D:\VistaSolution\VistaAspNet\bin\Interop.MSOLAPADMINLib2. DLL") Line 77: dependencies.Add ("D:\VistaSolution\VistaAspNet\bin\VistaNet.DLL") Line 78: dependencies.Add ("D:\VistaSolution\VistaAspNet\bin\Interop.DSO.DLL") Line 79: dependencies.Add ("D:\VistaSolution\VistaAspNet\VistaApp\toolbar.inc") Line 80: dependencies.Add ("D:\VistaSolution\VistaAspNet\bin\Vista.DLL") Line 81: dependencies.Add ("D:\VistaSolution\VistaAspNet\bin\Interop.MSXmlAnalysisSCL ib.DLL") Line 82: dependencies.Add ("D:\VistaSolution\VistaAspNet\controls\state.ascx") Line 83: dependencies.Add ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx") Line 84: dependencies.Add ("D:\VistaSolution\VistaAspNet\VistaApp\PoweredByLogo.inc") Line 85: dependencies.Add ("D:\VistaSolution\VistaAspNet\bin\Interop.VBA.DLL") Line 86: dependencies.Add ("D:\VistaSolution\VistaAspNet\VistaApp\VistaApp.inc") Line 87: dependencies.Add ("D:\VistaSolution\VistaAspNet\bin\Interop.POMInterfaces.DL L") Line 88: dependencies.Add ("D:\VistaSolution\VistaAspNet\bin\Interop.ADOMD.DLL") Line 89: dependencies.Add ("D:\VistaSolution\VistaAspNet\controls\logininfo.ascx") Line 90: dependencies.Add ("D:\VistaSolution\VistaAspNet\Controls\Settings.ascx") Line 91: dependencies.Add ("D:\VistaSolution\VistaAspNet\bin\VistaExport.DLL") Line 92: dependencies.Add ("D:\VistaSolution\VistaAspNet\VistaApp\logoicon.inc") Line 93: dependencies.Add ("D:\VistaSolution\VistaAspNet\controls\SupportedLanguages. ascx") Line 94: ASP.dimension_aspx.__fileDependencies = dependencies Line 95: ASP.dimension_aspx.__initialized = true Line 96: End If Line 97: Me.Server.ScriptTimeout = 30000000 Line 98: End Sub Line 99: Line 100: Protected Overrides ReadOnly Property SupportAutoEvents As Boolean Line 101: Get Line 102: Return false Line 103: End Get Line 104: End Property Line 105: Line 106: Protected ReadOnly Property ApplicationInstance As ASP.Global_asax Line 107: Get Line 108: Return CType (Me.Context.ApplicationInstance,ASP.Global_asax) Line 109: End Get Line 110: End Property Line 111: Line 112: Public Overrides ReadOnly Property TemplateSourceDirectory As String Line 113: Get Line 114: Return "/vistaaspnet/VistaDim" Line 115: End Get Line 116: End Property Line 117: Line 118: Private Function __BuildControlLanguagesCtl() As System.Web.UI.Control Line 119: Dim __ctrl As ASP.SupportedLanguages_ascx Line 120: Line 121: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",42) Line 122: __ctrl = New ASP.SupportedLanguages_ascx Line 123: Line 124: #End ExternalSource Line 125: Me.LanguagesCtl = __ctrl Line 126: Line 127: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",42) Line 128: Me.LanguagesCtl.InitializeAsUserControl(Me.Page) Line 129: Line 130: #End ExternalSource Line 131: Line 132: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",42) Line 133: __ctrl.ID = "LanguagesCtl" Line 134: Line 135: #End ExternalSource Line 136: Return __ctrl Line 137: End Function Line 138: Line 139: Private Function __BuildControlLoginCtl () As System.Web.UI.Control Line 140: Dim __ctrl As ASP.LoginInfo_ascx Line 141: Line 142: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",97) Line 143: __ctrl = New ASP.LoginInfo_ascx Line 144: Line 145: #End ExternalSource Line 146: Me.LoginCtl = __ctrl Line 147: Line 148: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",97) Line 149: Me.LoginCtl.InitializeAsUserControl (Me.Page) Line 150: Line 151: #End ExternalSource Line 152: Line 153: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",97) Line 154: __ctrl.ID = "LoginCtl" Line 155: Line 156: #End ExternalSource Line 157: Return __ctrl Line 158: End Function Line 159: Line 160: Private Function __BuildControlStateCtl () As System.Web.UI.Control Line 161: Dim __ctrl As ASP.State_ascx Line 162: Line 163: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",97) Line 164: __ctrl = New ASP.State_ascx Line 165: Line 166: #End ExternalSource Line 167: Me.StateCtl = __ctrl Line 168: Line 169: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",97) Line 170: Me.StateCtl.InitializeAsUserControl (Me.Page) Line 171: Line 172: #End ExternalSource Line 173: Line 174: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",97) Line 175: __ctrl.ID = "StateCtl" Line 176: Line 177: #End ExternalSource Line 178: Return __ctrl Line 179: End Function Line 180: Line 181: Private Sub __BuildControlTree(ByVal __ctrl As System.Web.UI.Control) Line 182: Line 183: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",1) Line 184: Me.__BuildControlLanguagesCtl Line 185: Line 186: #End ExternalSource Line 187: Dim __parser As System.Web.UI.IParserAccessor = CType (__ctrl,System.Web.UI.IParserAccessor) Line 188: Line 189: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",1) Line 190: __parser.AddParsedSubObject (Me.LanguagesCtl) Line 191: Line 192: #End ExternalSource Line 193: Line 194: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",1) Line 195: Me.__BuildControlLoginCtl Line 196: Line 197: #End ExternalSource Line 198: Line 199: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",1) Line 200: __parser.AddParsedSubObject (Me.LoginCtl) Line 201: Line 202: #End ExternalSource Line 203: Line 204: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",1) Line 205: Me.__BuildControlStateCtl Line 206: Line 207: #End ExternalSource Line 208: Line 209: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",1) Line 210: __parser.AddParsedSubObject (Me.StateCtl) Line 211: Line 212: #End ExternalSource Line 213: __ctrl.SetRenderMethodDelegate (AddressOf Me.__Render__control1) Line 214: End Sub Line 215: Line 216: Private Sub __Render__control1(ByVal __output As System.Web.UI.HtmlTextWriter, ByVal parameterContainer As System.Web.UI.Control) Line 217: __output.Write (""&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&"<!DOCTYPE HTML PUBLIC ""- //W3C//DTD HTML 4.0 Transitional//EN"">"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &"<HTML>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"<HEAD>"& _ Line 218: ""&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)) Line 219: Me.WriteUTF8ResourceString (__output, 0, 338, true) Line 220: Line 221: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",18) Line 222: Line 223: If InStr (Request.ServerVariables("HTTP_USER_AGENT"), "MSIE") = 0 Then Line 224: Response.Write ("<LINK HREF='../Style_NS.aspx' rel=stylesheet type='text/css'>") Line 225: Else Line 226: Response.Write ("<LINK HREF='../Style_IE.aspx' rel=stylesheet type='text/css'>") Line 227: End if Line 228: Line 229: Line 230: #End ExternalSource Line 231: Me.WriteUTF8ResourceString (__output, 338, 9040, true) Line 232: Line 233: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\VistaApp.inc",297) Line 234: __output.Write(m_rm.GetString ("TableNoLoaded")) Line 235: Line 236: #End ExternalSource Line 237: Me.WriteUTF8ResourceString (__output, 9378, 355, true) Line 238: Line 239: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\VistaApp.inc",310) Line 240: __output.Write(m_rm.GetString ("TableNoLoaded")) Line 241: Line 242: #End ExternalSource Line 243: Me.WriteUTF8ResourceString (__output, 9733, 582, true) Line 244: Line 245: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\VistaApp.inc",330) Line 246: __output.Write(m_rm.GetString ("TableNoLoaded")) Line 247: Line 248: #End ExternalSource Line 249: Me.WriteUTF8ResourceString (__output, 10315, 2857, true) Line 250: Line 251: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\VistaApp.inc",425) Line 252: __output.Write(m_rm.GetString ("LoginName")) Line 253: Line 254: #End ExternalSource Line 255: __output.Write ("""))"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" bValid = false;"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (13)&Microsoft.VisualBasic.ChrW(10)&" if (bValid) {"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)&"szTemp = szLogin.toLowerCase();"& _ Line 256: ""&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" if (szTemp == strAdmin) {"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&"alert(szLogin + "" ") Line 257: Line 258: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\VistaApp.inc",431) Line 259: __output.Write(m_rm.GetString ("Reserved")) Line 260: Line 261: #End ExternalSource Line 262: __output.Write ("""); "&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)&" bValid = false;"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &"}"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &" }"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" if (bValid) {"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" if (! CheckForLengt"& _ Line 263: "h(object.logintemp, 50, "&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&"""") Line 264: Line 265: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\VistaApp.inc",437) Line 266: __output.Write(m_rm.GetString ("LoginNameLength")) Line 267: Line 268: #End ExternalSource Line 269: __output.Write ("""))"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)&" bValid = false;"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &" }"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" if (bValid) {"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" if (!IsAlphaNum (szLogin,"& _ Line 270: " false, true)) {"&Microsoft.VisualBasic.ChrW (13)&Microsoft.VisualBasic.ChrW(10)&" alert(""") Line 271: Line 272: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\VistaApp.inc",442) Line 273: __output.Write(m_rm.GetString ("Alphanumeric")) Line 274: Line 275: #End ExternalSource Line 276: __output.Write (""");"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" object.logintemp.select();"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" myfocus (object.logintemp);"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" "& _ Line 277: " bValid = false;"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &" }"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &" }"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (13)&Microsoft.VisualBasic.ChrW(10)&" // Password"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" if (bValid) {"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" "& _ Line 278: " if (IsControlEmpty(object.pwdtemp, """) Line 279: Line 280: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\VistaApp.inc",451) Line 281: __output.Write(m_rm.GetString ("NoPassword")) Line 282: Line 283: #End ExternalSource Line 284: __output.Write ("""))"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" bValid = false;"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &" }"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" // look for white spaces in the Password"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" if (bValid) {"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" if (szPassword.indexOf("" "") != -1) {"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" alert(""") Line 285: Line 286: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\VistaApp.inc",457) Line 287: __output.Write(m_rm.GetString ("Spaces")) Line 288: Line 289: #End ExternalSource Line 290: __output.Write (""");"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" object.pwdtemp.select();"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" myfocus (object.pwdtemp);"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" "& _ Line 291: " bValid = false;"&Microsoft.VisualBasic.ChrW (13)&Microsoft.VisualBasic.ChrW(10) &" }"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &" }"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" if (bValid) {"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" if (!CheckForLength (o"& _ Line 292: "bject.pwdtemp, 50, "&Microsoft.VisualBasic.ChrW (13)&Microsoft.VisualBasic.ChrW(10) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&"""") Line 293: Line 294: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\VistaApp.inc",465) Line 295: __output.Write(m_rm.GetString ("PasswordLength")) Line 296: Line 297: #End ExternalSource Line 298: Me.WriteUTF8ResourceString (__output, 13172, 261, true) Line 299: Line 300: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\VistaApp.inc",473) Line 301: __output.Write(m_rm.GetString ("InvalidEmail")) Line 302: Line 303: #End ExternalSource Line 304: Me.WriteUTF8ResourceString (__output, 13433, 21504, true) Line 305: __output.Write (""&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)&"<SCRIPT src=""../VistaDim/dimension.js""></SCRIPT>"&Microsoft.Visua lBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10) &Microsoft.VisualBasic.ChrW(9) &"</HEAD>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"<BODY bgColor=""") Line 306: Line 307: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",28) Line 308: __output.Write(PageSettings.BkColor) Line 309: Line 310: #End ExternalSource Line 311: _ output.Write(""" leftMargin=""0"" topMargin=""0"">"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)&"<TABLE border=""0"">"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9) &"<TR>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&"<TD id=""cell1"& _ Line 312: """ vAlign=""top"" width=""1%"" height=""1%"">"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)) Line 313: __output.Write("<a href='http://www.beyond2020.com' target=new>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" <IMG SRC=""../Bmp/Vista.gif"" alt"& _ Line 314: "=""") Line 315: Line 316: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\logoicon.inc",2) Line 317: __output.Write(m_rm.GetString ("Beyond2020HomePage")) Line 318: Line 319: #End ExternalSource Line 320: __output.Write (""" "&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" Title=""") Line 321: Line 322: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\logoicon.inc",3) Line 323: __output.Write(m_rm.GetString ("Beyond2020HomePage")) Line 324: Line 325: #End ExternalSource Line 326: __output.Write (""""&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" border=0 vspace=3>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &"</a>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)) Line 327: __output.Write ("</TD>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&"<TD id=""cell2"" vAlign=""top"" align=""right"">"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)) Line 328: __output.Write("<TABLE align=right border=0 cellPadding=0 cellSpacing=0>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" <TR valign=top>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" "& _ Line 329: " <TD class=ToolBar nowrap>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" &nbsp;&nbsp;<A href=""javascript:OnHelp"& _ Line 330: "Window();"">"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" ") Line 331: Line 332: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\toolbar.inc",5) Line 333: __output.Write(m_rm.GetString ("Help")) Line 334: Line 335: #End ExternalSource Line 336: __output.Write ("</A>&nbsp;&nbsp;|"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" </TD> "&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" <TD class=ToolBar nowrap>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" &nb"& _ Line 337: "sp;&nbsp;"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" <A href=""javascript:OnLogin ('../VistaApp/browsetables.aspx'"& _ Line 338: ",'','');"">"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" ") Line 339: Line 340: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\toolbar.inc",10) Line 341: __output.Write(m_rm.GetString ("Login")) Line 342: Line 343: #End ExternalSource Line 344: __output.Write ("</A>&nbsp;&nbsp;|"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" </TD>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" <TD class=ToolBar nowrap>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" &nbs"& _ Line 345: "p;&nbsp;<A href=""javascript:OnDataBank ();"">"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" ") Line 346: Line 347: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\toolbar.inc",14) Line 348: __output.Write(m_rm.GetString ("DataBank")) Line 349: Line 350: #End ExternalSource Line 351: __output.Write ("</A>&nbsp;&nbsp;|"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" </TD>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" <TD class=ToolBar nowrap>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" &nbs"& _ Line 352: "p;&nbsp;<A href=""javascript:OnListMyReports ()"">"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" ") Line 353: Line 354: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\toolbar.inc",18) Line 355: __output.Write(m_rm.GetString ("MyReports")) Line 356: Line 357: #End ExternalSource Line 358: __output.Write ("</A>&nbsp;&nbsp;"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" </TD>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" </TR>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &"</TABLE>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &"<br>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &"<br>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)) Line 359: __output.Write ("</TD>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9) &"</TR>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &"</TABLE>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)&"<TABLE cellSpacing=""10"" border=""0"">"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9) &"<TR>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)& _ Line 360: "<TD id=""cell3"" vAlign=""top""><BR>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)&"<TABLE id=""MenuTable"" height=""0%"" cellSpa"& _ Line 361: "cing=""0"" cellPadding=""0"" width=""0%"" align=""left"""&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9) &"border=""0"">"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)) Line 362: Line 363: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",42) Line 364: parameterContainer.Controls (0).RenderControl(__output) Line 365: Line 366: #End ExternalSource Line 367: __output.Write (""&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)) Line 368: Line 369: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",43) Line 370: Line 371: StateCtl.InitializeTable(Request.Form("Server"), _ Line 372: Request.Form("Database"), Request.Form ("CubeName"), _ Line 373: LoginCtl.VistaUserId, LoginCtl.VistaPassword) Line 374: CreateMenu() Line 375: LanguagesCtl.CreateLanguageMenu() Line 376: Line 377: Line 378: #End ExternalSource Line 379: __output.Write ("<tr>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"<td>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &"<br>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" <a href='http://www.beyond2020.com'>"&Microsoft.VisualBasic.Ch rW(13)&Microsoft.VisualBasic.ChrW(10)&" <IMG SRC='"& _ Line 380: "../Bmp/Beyond2020sm.gif' "&Microsoft.VisualBasic.Chr W(13)&Microsoft.VisualBasic.ChrW(10) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)&"alt=""") Line 381: Line 382: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\PoweredByLogo.inc", 6) Line 383: __output.Write(m_rm.GetString ("Beyond2020HomePage")) Line 384: Line 385: #End ExternalSource Line 386: __output.Write (""" "&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&"Title=""") Line 387: Line 388: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaApp\PoweredByLogo.inc", 7) Line 389: __output.Write(m_rm.GetString ("Beyond2020HomePage")) Line 390: Line 391: #End ExternalSource Line 392: __output.Write (""" "&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9) &"border=0>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &"</a>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" </td>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &"</tr>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)) Line 393: __output.Write ("</TABLE>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&"</TD>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&"<TD id=""cell4"" vAlign=""top"">"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)&"<form id=""Form1"" onsu"& _ Line 394: "bmit=""return Search ()"" "&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&"onreset=""return resetSearch()"" method=""post"">"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)& _ Line 395: ""&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)) Line 396: Line 397: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",55) Line 398: Line 399: Dim szTitle as String Line 400: Line 401: If m_bLoginChecked And m_bRegistrationChecked Then Line 402: InitializeDimension() Line 403: szTitle = StateCtl.m_szViewTitle Line 404: If szTitle = "" Then Line 405: szTitle = StateCtl.m_clOlapCube.CubeTitle (m_strLanguage) Line 406: End If Line 407: StateCtl.WriteTableTitle(szTitle, False, True) Line 408: Response.Write("<BR>") Line 409: Response.Write("<FONT class=DataBodyBold>") Line 410: Response.write(m_szDimDesc) Line 411: StateCtl.WriteDimensionLink(StateCtl.m_unDim) Line 412: If m_szHierarchyDesc <> "" Then Line 413: Response.Write("&nbsp;(" & m_szHierarchyDesc) Line 414: StateCtl.WriteHierarchyLink (StateCtl.m_unDim, _ Line 415: m_nCurrentHierarchy) Line 416: Response.Write(")") Line 417: End If Line 418: Response.Write("</FONT>") Line 419: DisplaySearchInfo() Line 420: Response.write("<BR>") Line 421: Response.write("<DIV class=Default>") Line 422: Response.write("<NOBR>") Line 423: if (NOT m_bIsSearchResult) OR m_unFoundCount > 0 then Line 424: DispSelControls() Line 425: end if Line 426: Response.write("</NOBR>") Line 427: Response.write("</DIV>") Line 428: If m_bIsSearchResult AND m_unFoundCount = 0 Then Line 429: Response.Write("<DIV class=DimSelectionTree>") Line 430: Response.Write(m_rm.GetString ("NoMatchFound")) Line 431: Response.Write("</DIV>") Line 432: Else Line 433: DispAllItems() Line 434: End If Line 435: End If Line 436: StateCtl.Save(True) Line 437: StateCtl.WriteFootnotesPopup(PageSettings) Line 438: Line 439: Line 440: #End ExternalSource Line 441: __output.Write (""&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&"<input type=hidden value=""") Line 442: Line 443: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",96) Line 444: __output.Write(m_strLanguage) Line 445: Line 446: #End ExternalSource Line 447: __output.Write(""" name=VistaLanguage>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &Microsoft.VisualBasic.ChrW(9)) Line 448: Line 449: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",97) Line 450: parameterContainer.Controls (1).RenderControl(__output) Line 451: Line 452: #End ExternalSource Line 453: Line 454: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",97) Line 455: parameterContainer.Controls (2).RenderControl(__output) Line 456: Line 457: #End ExternalSource Line 458: Me.WriteUTF8ResourceString (__output, 34937, 3931, true) Line 459: Line 460: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",249 ) Line 461: __output.Write (PageSettings1.HoverColor(PageSettings.BkColor)) Line 462: Line 463: #End ExternalSource Line 464: Me.WriteUTF8ResourceString (__output, 38868, 310, true) Line 465: Line 466: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",261 ) Line 467: __output.Write(PageSettings.BkColor) Line 468: Line 469: #End ExternalSource Line 470: Me.WriteUTF8ResourceString (__output, 39178, 1410, true) Line 471: Line 472: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",318 ) Line 473: __output.Write (PageSettings1.HoverColor(PageSettings.BkColor)) Line 474: Line 475: #End ExternalSource Line 476: Me.WriteUTF8ResourceString (__output, 40588, 3467, true) Line 477: Line 478: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",457 ) Line 479: __output.Write(m_szOrigSearchString) Line 480: Line 481: #End ExternalSource Line 482: __output.Write (""";"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" setSearchHelper (document.forms[0].SearchString, val, true);"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &"}"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (13)&Microsoft.VisualBasic.ChrW(10)&"function"& _ Line 483: " onPageLoad()"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &"{"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"document.forms[0].VistaLanguage.value = """) Line 484: Line 485: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",463 ) Line 486: __output.Write(m_strLanguage) Line 487: Line 488: #End ExternalSource Line 489: __output.Write (""";"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"document.forms[0].Server.value = """) Line 490: Line 491: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",464 ) Line 492: __output.Write(StateCtl.m_strServer) Line 493: Line 494: #End ExternalSource Line 495: __output.Write (""";"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"document.forms[0].Database.value = """) Line 496: Line 497: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",465 ) Line 498: __output.Write (StateCtl.m_strDatabase) Line 499: Line 500: #End ExternalSource Line 501: __output.Write (""";"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"document.forms[0].CubeName.value = """) Line 502: Line 503: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",466 ) Line 504: __output.Write (StateCtl.m_clOlapCube.CubeName) Line 505: Line 506: #End ExternalSource Line 507: __output.Write (""";"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"document.forms[0].Advanced.value = """) Line 508: Line 509: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",467 ) Line 510: __output.Write(Request.Form ("Advanced")) Line 511: Line 512: #End ExternalSource Line 513: __output.Write (""";"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (13)&Microsoft.VisualBasic.ChrW(10) &Microsoft.VisualBasic.ChrW(9)&"document.forms [0].Dim.value = ") Line 514: Line 515: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",469 ) Line 516: __output.Write(StateCtl.m_unViewDim) Line 517: Line 518: #End ExternalSource Line 519: __output.Write (";"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"document.forms[0].FirstItem.value = ") Line 520: Line 521: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",470 ) Line 522: __output.Write (StateCtl.m_unFirstItem) Line 523: Line 524: #End ExternalSource Line 525: __output.Write (";"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (13)&Microsoft.VisualBasic.ChrW(10) &Microsoft.VisualBasic.ChrW(9)&"if (document.layers) {"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)&"onPageLoadGlobal ();"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"}"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"else {"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)&"setVistaScrol"& _ Line 526: "l();"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"}"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"if (!document.layers)"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)&"setTimeout (""document.body.style.cursor = 'au"& _ Line 527: "to';"", 1);"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &"}"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (13)&Microsoft.VisualBasic.ChrW(10)&"setSearch ();"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&"document.forms [0].DimPageSize.value = ") Line 528: Line 529: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",483 ) Line 530: __output.Write (StateCtl.m_unDimPageSize) Line 531: Line 532: #End ExternalSource Line 533: __output.Write (";"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &"</SCRIPT>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9)) Line 534: Line 535: #ExternalSource ("D:\VistaSolution\VistaAspNet\VistaDim\dimension.aspx",485 ) Line 536: Line 537: If NOT m_bLoginChecked Then Line 538: Response.Write("<SCRIPT>") Line 539: Response.Write("OnLogin ('../VistaView/dimension.aspx','" _ Line 540: & m_strErrorMsg & "','');") Line 541: Response.Write("</SCRIPT>") Line 542: ElseIf NOT m_bRegistrationChecked Then Line 543: Response.Write("<SCRIPT>") Line 544: Response.Write("OnRegistration ('../VistaView/dimension.aspx','" _ Line 545: & m_strErrorMsg & "','');") Line 546: Response.Write("</SCRIPT>") Line 547: ElseIf m_bIsSearchResult then Line 548: CheckFoundItems() Line 549: End If Line 550: Line 551: Line 552: #End ExternalSource Line 553: __output.Write (""&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &"<SCRIPT>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" if (! document.layers)"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&" document.body.style.cursor = 'wait';"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&" setTimeout(""onPageLoad ();"", 1);"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&Microsoft.VisualBasic.ChrW(9) &"</SCRIPT>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW (9)&"</BODY>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10) &"</HTML>"&Microsoft.VisualBasic.ChrW(13) &Microsoft.VisualBasic.ChrW(10)) Line 554: End Sub Line 555: Line 556: Protected Overrides Sub FrameworkInitialize() Line 557: SetStringResourcePointer (ASP.dimension_aspx.__stringResource, 44055) Line 558: Me.__BuildControlTree(Me) Line 559: Me.FileDependencies = ASP.dimension_aspx.__fileDependencies Line 560: Me.EnableViewStateMac = true Line 561: Me.Request.ValidateInput Line 562: End Sub Line 563: Line 564: Public Overrides Function GetTypeHashCode() As Integer Line 565: Return -545058712 Line 566: End Function Line 567: End Class Line 568: End Namespace Line 569: Tag: Trace Switch Issue Tag: 62823
      • 18
        • HttpWebRequest timeouts? I create a HttpWebRequest as follows: m_req = (HttpWebRequest) WebRequest.Create(url); m_req.Timeout = 1000*1000; m_req.Method = "POST"; // issue request I issue my request and receive the HTTP headers. However as the request is a long running dynamic request for computed data the body will not be sent for some time. What happens to me is that the request times out on the Read way before my 1000secs is up! I can see no other timeout to set to prevent this happening - is there any other workaround? HttpWebResponse res = (HttpWebResponse) m_req.GetResponse(); // I can see res.Headers // Read on res.GetResponseStream() times out The reason that the server sends the HTTP headers before the body is because the requests are dynamic it can NOT predict the size of the response document and therefore just produces it as it process the request (e.g. a large database query of indeterminate response size). Many thanks in advance for any useful answers! Tag: Trace Switch Issue Tag: 62820
      • 19
        • Windows Forms No-Touch Deployment problems using DAO on User-Level Secured Access DB to access groups . I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem. Since the database is secured, I must provide a way for my users to change their passwords. Also, some forms access tables that certain permission groups do not have access to. So instead of letting the error come up when they open the form and try to update, at logon I am searching through the groups that the user belongs to and locking out access to these forms if they do not have permission. The only way I know to do these 2 functions is to use DAO. However, for accessing and updating my data, I'm using ADO.NET. So I have included DAO 3.6 using Project>>Add References>>COM tab in the VS project. I No-Touch deployed it and most users are working, running the gamut from Windows NT 4.0 to Windows XP, admins and non-admins. Then there was this 1 machine, then another...It is now 3 machines. Each have different errors or none at all(app won't even open). On 1 of the 3 I have a strong belief due to the nature of the errors that it is just something wrong with the machine. The user has reported problems with the unit before my app was placed on it. Now on the last 2 machines....1 is Windows NT 4.0 and crashes before the app even opens, the other is Windows 2000 and has the error of "QueryInterface for interface DAO._DBEngine failed.". I thought that maybe installing MDAC would work. So I put the version of MDAC that all the machines have including mine(2.6) on both, and same error. I have also made sure that the Jet 4.0 engine is setup and current. I thought that maybe the dao360.dll was not properly registered or set up which is why I did these steps. No change. I checked the registry and "HKEY_CLASSES_ROOT\DAO.DBEngine.36\CLSID" is present. I don't know if that even matters. Also, I have a VB6 app that uses dao360.dll on these machines and this VB6 app works. The more I work on this, the more I think it is not just this machine, but rather something(s) I'm doing wrong in .NET(also taking into account the 2 other users and even more mentioned below). The framework version on these machines is the same as mine 1.0.3705. NOW HERE IS THE DOOZY: Since this is No-Touch deployment I am accessing the app by clicking a link in the browser of course(IE 6.0). It errors. If I instead browse out to the folder using Windows Explorer....IT RUNS FINE ON BOTH MACHINES!!? My limited knowledge about .NET No-Touch doesn't help me understand this much. This re-enforces my belief it is me and not the just the machines. But if I understand right, doesn't No-Touch put the assemblies in the GAC. Maybe I can force what I need into the GAC or something along those lines. How could I remedy/do this? It seems that on the NT 4.0 machine it can't find any assemblies even to open and the Windows 2000 machine just can't find the DAO assembly.....but I'm probably way off?? Here is the .NET code and the spot that errors out when No-Touch is used: Dim wks As DAO.Workspace Dim theEngine As New DAO.DBEngine() ' Open the workspace, specifying the system database to use '***************** error theEngine.SystemDB = AccessDatabasePath & AccessWorkgroupName'this is the line that errors '***************** error wks = theEngine.CreateWorkspace("", UserName, OldPassword) ' Change the password for the user Admin wks.Users(UserName).NewPassword(OldPassword, NewPassword) ChangePassword = True 'I have a loop that gets the users permission groups here As a matter of fact if I try to reference any of the DBEngine's methods or properties it errors on this machine. Also, I tried latebinding: Dim theEngine As DAO.DBEngine theEngine = CreateObject("DAO.DBEngine.36") and it errors with a message: "Specified cast is not valid." Here is the VB6 code that works: Dim wks As DAO.Workspace Dim usr As DAO.User ' Open the workspace, specifying the system database to use DBEngine.SystemDB = theSysDB Set wks = DBEngine.CreateWorkspace("", UserName, OldPassword) ' Change the password for the user Admin wks.Users(UserName).NewPassword OldPassword, NewPassword DAOChangePassword = True WHAT I'D LIKE TO KNOW: I know that .NET is trying to avoid "DLL HELL" and that by using COM items I'm throwing myself back into it. I'd love to use ADO.NET(or anything else in the framework) to do what I'm doing with DAO but....how....can it even do it(getting user group and password in from *.mdw)? How does No-Touch work, for instance, the point I made above about the app running from the folder and not the browser, could the method of No-Touch deployment be the problem, and if so how can one fix it, something like forcing stuff into the GAC or other method? Basically why does it work when executed from the folder directly, but not from the Browser using No-Touch deployment on this particular machine(yes I know you would have to see the machine, but what COULD it be, maybe just some things for me to check)? Even if ADO.NET or other item can do what the DAO is doing I'd still like to know the way to get COM items to work with the "No-Touch" philosophy. Meaning little to no maintenance. In addition to the 3 user mentioned above I have had others with errors. I was able to resolve them simply by installing MDAC 2.6 or later. This kind of defeats my purpose. Is it possible to deploy(via No-Touch deployment) projects using COM items and still fully reap the benefits of No-Touch in every case(ie no DLL HELL)? Is there some special tricks that can perhaps still use COM items and avoid "DLL HELL", or is it that if you go using COM items your just stuck taking the risks? If there are tricks, what are they? If no tricks, then if COM must be used, are there precautions that can reduce the problems? Are there any books, etc. that are very thorough on "No-Touch" deployment Any other pointers would be most appreciated. Thanks in advance. JL Tag: Trace Switch Issue Tag: 62815
      • 20
        • 'System.ArithmeticException' in system.drawing.dll, from font constructor Hi group i use some class Line, herited from Forms.Panel in this control i have a Button (named Insert) which possess a special font (for design purpose). this font is declare like that (in the InitializeComponent method) : this.Insert.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); I have two way of call the Line.InitializeComponent method. i create a Formulaire class instance with the method ReadFormulaire(byte[] source) - from a byte array extract from a file on hard drive, or - from a byte array extract from a RFID device note that the two way are strictly identical from the Line point of view, i can't anderstand the difference. Formulaire are composed of some Rubrique(s), wich are composed of some Line(s). (Line where there is my bug) The two ways of creacting the Formulaire instance are the same, passingg throw the same method (ReadFormulaire). In the first way, ReadFormulaire is called from the program itself, and in the second way, ReadFormulaire is called from an extern Dll. In the first way, the bug never happend. In the second way, a 'System.ArithmeticException' in system.drawing.dll is thrown french information says something like : there was a positive or negative capaciy overflow in the arithmetic operation. if i comment the font declaration, the bug do not appears, so i am lead to think the exception comes from System.Drawing.Font constructor. It looks like all the fonts aren't be loaded in the second way (from the DLL), so i had System.drawing to the dll references. is somebody can help ?? Thank you ROM Tag: Trace Switch Issue Tag: 62810
      • 21
        • Marking an object for inclusion in WSDL Hi - does anyone know if it is possible to single out an object for inclusion in the WSDL of a Web Service? I have a .asmx file with an associated code-behind file. The code-behind file has a method: [WebMethod] public object[] MyMethod(C1 c1, C2 c2) The return type is object[] due to the fact that object of differing types (C3 and C4) can be returned. The types of these objects are all available in the project. Now, the WSDL tool does not include the types of the returned objects C3 and C4, because their types are not explicitly present in the method signature. My current workaround is to create a dummy web method that contains all the types in the argument list like this: [WebMethod] public void DontCallMe(C1 c1, C2 c2, C3 c3, C4 c4) which I think is a hack. I'd be cool if I could do something like this: [SOAPObject] public class C3 { ... } which would cause the object to be included in the WSDL. Any help would be appreciated. Regards Thomas Koch Tag: Trace Switch Issue Tag: 62809
      • 22
        • Application or Cache Hi there, I have a question. In my application I have a table which is frequently used to fill a combo. I want to store it in the application or cache object. it is never updated. What's the besta container to improve performance and scalability, Cache or Application object? Thanks in advance Stefano Mostarda Rom Italy Tag: Trace Switch Issue Tag: 62807
      • 23
        • FEATURE REQUEST XmlTextReaderWriter Hi, XmlTextReaderWriter as I would like to be able to modify an XML value inplace of an existing file which would require both read and write operations. I want to be able to modify like I would a .INI file, inplace. So I can say something like update this node from this value to this value but I dont want to have to read in all the nodes and values and then rewrite them all. Thanks Tag: Trace Switch Issue Tag: 62806
      • 24
        • See these critical package --euiugamvup Content-Type: multipart/related; boundary="gwwvioamfoacme"; type="multipart/alternative" --gwwvioamfoacme Content-Type: multipart/alternative; boundary="qfpadhzagpzpbfnj" --qfpadhzagpzpbfnj Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Microsoft Partner this is the latest version of security update, the "November 2003, Cumulative Patch" update which eliminates all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express. Install now to help protect your computer from these vulnerabilities, the most serious of which could allow an malicious user to run code on your computer. This update includes the functionality = of all previously released patches. Microsoft Product Support Services and Knowledge Base articles = can be found on the Microsoft Technical Support web site. http://support.microsoft.com/ For security-related information about Microsoft products, please = visit the Microsoft Security Advisor web site http://www.microsoft.com/security/ Thank you for using Microsoft products. Please do not reply to this message. It was sent from an unmonitored e-mail address and we are unable = to respond to any replies. ---------------------------------------------- The names of the actual companies and products mentioned = herein are the trademarks of their respective owners. --qfpadhzagpzpbfnj Content-Type: text/html Content-Transfer-Encoding: quoted-printable <HTML> <HEAD> <style type=3D'text/css'>.navtext{color:#ffffff;text-decoration:none} </style> </HEAD> <BODY BGCOLOR=3D"White" TEXT=3D"Black"> <BASEFONT SIZE=3D"2" face=3D"verdana,arial"> <TABLE WIDTH=3D"600" HEIGHT=3D"40" BGCOLOR=3D"#1478EB"> <TR height=3D"20"> <TD ALIGN=3D"left" VALIGN=3D"TOP" WIDTH=3D"400" ROWSPAN=3D"2">&nbsp; <FONT FACE=3D"sans-serif" SIZE=3D"5"><I><B> <A class=3D'navtext' HREF=3D"http://www.microsoft.com/" TITLE=3D"Microsoft Home Site" target=3D"_top">Microsoft</A> </B></I></FONT> </TD> <TD ALIGN=3D"right" VALIGN=3D"MIDDLE" BGCOLOR=3D"Black" NOWRAP> <FONT color=3D"#ffffff" size=3D1>&nbsp; <A class=3D'navtext' href=3D'http://www.microsoft.com/catalog/' = target=3D"_top">All Products</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://support.microsoft.com/' = target=3D"_top">Support</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://search.microsoft.com/' = target=3D"_top">Search</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://www.microsoft.com/' target=3D_top> Microsoft.com Guide</A>&nbsp; </FONT> </TD> </TR> <TR> <TD ALIGN=3D"right" VALIGN=3D"BOTTOM" NOWRAP> <FONT FACE=3D"Verdana, Arial" SIZE=3D1><B> <A class=3D'navtext' HREF=3D'http://www.microsoft.com/' TARGET=3D" top"> Microsoft Home</A>&nbsp;&nbsp;</B> </FONT> </TD> </TR> </TABLE> &nbsp;<IMG SRC=3D"cid:dttzqxo" BORDER=3D"0"><BR><BR> <TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2"> Microsoft Partner<BR><BR> this is the latest version of security update, the "November 2003, Cumulative Patch" update which eliminates all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express. Install now to help protect your computer from these vulnerabilities, the most serious of which could allow an malicious user to run code on your computer. This update includes the functionality = of all previously released patches. </FONT></TD></TR> </TABLE> <BR><BR> <TABLE BORDER=3D"1" CELLSPACING=3D"1" CELLPADDING=3D"3" WIDTH=3D"600"> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:wopjmwr" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;System requirements</B> </FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Windows 95/98/Me/2000/NT/XP</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:wopjmwr" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;This update applies to</B> </FONT></TD><TD NOWRAP> <FONT SIZE=3D"1"> MS Internet Explorer, version 4.01 and later<BR> MS Outlook, version 8.00 and later<BR> MS Outlook Express, version 4.01 and later </FONT> </TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:wopjmwr" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;Recommendation</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Customers should install the patch = at the earliest opportunity.</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:wopjmwr" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;How to install</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Run attached file. = Choose Yes on displayed dialog box.</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:wopjmwr" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;How to use</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">You don't need to do = anything after installing this item.</FONT></TD> </TR> </TABLE> <BR> <TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2"> Microsoft Product Support Services and Knowledge Base articles can be found on the <A HREF=3D"http://support.microsoft.com/" = TARGET=3D"_top">Microsoft Technical Support</A> web site. = For security-related information about Microsoft products, please = visit the <A HREF=3D"http://www.microsoft.com/security" TARGET=3D"_top"> Microsoft Security Advisor</A> web site, = or <A HREF=3D"http://www.microsoft.com/contactus/contactus.asp" = TARGET=3D"_top">Contact Us.</A> <BR><BR> Thank you for using Microsoft products.<BR><BR></FONT> <FONT SIZE=3D"1">Please do not reply to this message. = It was sent from an unmonitored e-mail address and we are unable = to respond to any replies.<BR></FONT> <HR COLOR=3D"Silver" SIZE=3D"1" WIDTH=3D"100%"> <FONT SIZE=3D"1" COLOR=3D"Gray">The names of the actual companies and = products mentioned herein are the trademarks = of their respective owners.</FONT> </TD></TR></TABLE> <BR> <TABLE WIDTH=3D"600" HEIGHT=3D"45" BGCOLOR=3D"#1478EB"> <TR VALIGN=3D"TOP"> <TD WIDTH=3D"5"></TD> <TD> <FONT COLOR=3D"#FFFFFF" SIZE=3D"1"><B> <A class=3D'navtext' HREF=3D"http://www.microsoft.com/= contactus/contactus.asp" TARGET=3D"_top">Contact Us</A> &nbsp;|&nbsp; <A class=3D'navtext' HREF=3D"http://www.microsoft.com/legal/" = TARGET=3D"_top">Legal</A> &nbsp;|&nbsp; <A class=3D'navtext' HREF=3D"https://www.truste.org/validate/605" = TARGET=3D"_top" TITLE=3D"TRUSTe - Click to Verify">TRUSTe</A> </FONT></B> </TD> </TR> <TR VALIGN=3D"MIDDLE"> <TD WIDTH=3D"5"></TD> <TD> <FONT COLOR=3D"#FFFFFF" SIZE=3D"1"> &copy;2003 Microsoft Corporation. All rights reserved. <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= info/cpyright.htm" TARGET=3D"_top">Terms of Use</A> &nbsp;|&nbsp; <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= info/privacy.htm" TARGET=3D"_top"> Privacy Statement</A>&nbsp;|&nbsp; <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= enable/" TARGET=3D"_top">Accessibility</A> </FONT> </TD> </TR> </TABLE> </BODY> </HTML> --qfpadhzagpzpbfnj-- --gwwvioamfoacme Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: <dttzqxo> R0lGODlhaAA7APcAAP///+rp6puSp6GZrDUjUUc6Zn53mFJMdbGvvVtXh2xre8bF1x8cU4yLprOy zIGArlZWu25ux319xWpqnnNzppaWy46OvKKizZqavLa2176+283N5sfH34uLmpKSoNvb7c7O3L29 yqOjrtTU4crK1Nvb5erq9O/v+O7u99PT2sbGzePj6vLy99jY3Pv7/vb2+fn5++/v8Kqr0oWHuNbX 55SVoszN28vM2pGUr7S1vqqtv52frOPl8CQvaquz2Ojp7pmn3Ozu83OPzmmT6F1/xo6Voh9p2C5z 3EWC31mS40Zxr4uw6LXN8iZkuXmn55q97PH2/Yir1rbL5iVTh3Oj2cvX5Pv9/+/w8QF8606h62Wk 3n+dubnY9abB2c7n/83h9Nji6weK+CGJ4Vim6WyKpKWssgFyyAaV/0Km8Gyx6HW57FJxicDP2+Tt 9Pj8/wOa/wmL5wqd/w6V8heb91e5+mS9+VmLr4vD6qvc/b/j/Mbn/sTi9rvX6szq/tPt/9ju/dzx /+n2/+74//P6/+3w8hOh/xOW6yCm/iuu/zWv/0m4/XTH/IXK95TP9qPV9bfi/tDn9tfp9OP0/93r 9L3Izy6Vzj22/lrC/mfG/JvJ5JGntAyd6IbX/3zD6GzP/3jV/2uoxHqbqujv8g6MvJTj/2HF5pXV 606zz6Hp/63v/7j1/8Ps88b8/rbj5RKOkE2wr3OGhoKGhv7///Dx8V2alqvm4Zni1YPRvx5uVwyO X0q2hLTvw8X10gx2H4PXkkuoV5zkoQeADZu7mmzIVEO7HIXbaGfLMPz8+97d2/Px7v///+bl5eHg 4P7+/v39/fT09PLy8u7u7gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAAaAA7AAAI/gCVCRxI sKDBgwgTKlzIsKHDhxAjKgwiqs2kSJEgQfqyp2PHLxoxTmojSpTEkyglBrGYcU+el3n09PEDSFKg mzclAfLTRw/MPV4gjTSZsmhRURchuXwUs88fSYIGubEiqyqAq1gBNLPiRlCgPz197tE4MojRswuD JHX5UiagQILcNMtKl26zu3etuBgUaKcePXv0QIo0iSjaw8raROKYh6nbuFbmVpVlpbKby4Mya858 eWrlrV0l/fECWDBhw4hPimoJUw9NQVa0Yg6kk6dPmD9xt/Xi52kgKG4GCRLtpTjZNmZTQ5yktLXT QFNDA+qJe2wkkgkrrmWrx4tv0X6M/gvFrnzh6uaO+wCKOhzs7TzWyUesyDom7z9//EAKOh51eYKK sdWWH1D15cd78J12GFJKufRXcfwNNtR/ANYXE006UfdSfBQq1lxM3fFHWFlojRBCCA5goMMK5y3V 1B879VGdUMlRqIxaG7kUmHEikVTjQyuAcGIGDmSQwQUYzPBAA1UIKJMfUCI4Vhs2EjTJKrWYwogp mXSxY0iTTLhQAC2ocKIDHGywgAwYWPDAm3AeIIVztr3E1FiFVSnQJLXc4ksxuujyiy6npNGFYBKK WRAzKZipAgkp8ACCAyLg0MClDcD5ppIUVNCFFDL1oSF8Qvn3nyi8+KIqMH8aQwwx/66EMQcoVQxG mI/KBEBCCCSo0MIPLJSJwA6YFvsmBlFkYgopUTxwgQ8XXGBBBRUA0QUXeJp6qi2r2rKLLcAU42qs WIRhR623YpdDNM4wQ0IOInggrwfFNoCDDl20wooqqaSCCil3SHCBBgQXnAGbFmCAgQMkBKDnLsMU 4wswvPCySy3DuLpJGFiY4YodX6RrUhnOIFDDvPNeqkkXfKzCyssv8+svwM5uYPPNONusAZszEEEE GoooQsfQdRRdxyJII83I0ow04nQjjkTtCB5cVN3KMBEXA8wuFbMC6Cu5jIJFLsG4oonIQeQQQw4o a5KsI6moogrMMMvt77+kCPzB3v589+03BxdQ0IFyotyCdTFap7I1K7Z4YskmcIwSTC+9KMHGSD6S 0AIJHkRxByekkIJKv3LPXbfMeOddgQmst+466xoAIUEEEUzAQNBD02H00UkvwnTTT0s9ddV4ZPEK 1hH/qTUnlyDyRi659BJMMLiEgrkoQSwTAjMefPIJ6KKPHnfppfeLCt6cCDFDmjT8AMP7MJywwQW0 1187Aco5osUYyGNtjC+ccFwhzuCK6U0OF2uoQht8FAMEoMADnfge+M7Xrwpa8HyhI0X6JGCwDGhg fvYLoe1wRzSj9c53THsa1KRGNS6oYQxZ0AXyjKGLUlzCEoeIQxjIRjnKTYESC/7EnjJyYAIRRMF7 4Auf+Cp4vtRxghNOiEAHjxTC+k3gfsp5ghPSAIqMBeoUlkjEIeYgBzjwEBdonEIOgmgWSDlgC0h8 YgabSEcncuITUZQBwYxERftRYAIToEDtbie0EhbthL9TofBa6IT9jeEVgQpUJcZoCDEUcHqUw8UU ysBGZZQgBAvAgSfimMQMmjJ0T/SeGiKgRw3w8QKz+2Mgp/UALKamC1FYwha1AElJzkEMYiDb5HqB wE2SRIjR0MEIGoCJUUqwlKd84h0/4QlMRKACezQSLAM5A2pR6wF/JGTudofIFAaPhVW7AxWooIX9 ZSELv4hnJYA5CjQScw1rUP/jMQeCgA/gQA2ecOYzpUnQaVKzmtfM5pEkMIFpebMCtZwA/lJTBR88 YQlRcIITQBHPeNrhCEcwQhPQmM8EALEkAwnBDTBAhWYG1HukTCVMD4oJTBDBAgrNAEOnZYE/vomh 4jQk75KWyHNGrYWO0KUT1tlOWnRUCUdQQhOaoIQ12GEKsVCgEAVSAge88RIufelMxxrQal7iEkLg oCv5uFOffvOPE0XMMvjggy74IAoZ3UI8aYEEJUh1CkoggxIOUIbCbFUZyczADM4K1rI69rHVxARj kyDFtRppp9OawR8pAFQS6s6EvSuq0xZZNS444gkZ1SgVQkELWvjMr1QlQgT+pgALG+yTIDrgwAPo wFiwhtWxNZUsYxVBWYX6YAYT0CwgHwDRB0i0PNGoghTsCoQoaEIYQhCCz7ZLhCYoIAdD+ZEyQqAB C4xBEb09a3Brmt5LBE0RWYiAB/mo2EBSoJvfdG5QP3vI0JpztOgsLR8y8QTU4jUK2U2wEIagBAWU AQy3JcgIUqSF97b3wu9VhCXQwErLKpYCDvXmmygQV+UEQLpScKUPfACEFjuBCGuAhQ4gXBLxIjZa QrBEhtGL3rPyOMOWCHIiOkxfCzT0oc2lwH7J6d+lKTLAVfPIdAu8hCUAwQlCIIMBikAJCEeYIMm4 gAxmkIggB3nHOzazJcb+QIXZ6bHIIPZmT0FMYj2RyUw50EEZRIAASnzheoctSJEekIgyq/nQalaE E2QXAYHlFANx1iyILYDcJYOWqP9d4VFLi62PgEQkGAl1mI5p44HcYMxoQISqC21oIYcxDUuowOwk IAMOTDEDGAAnBR5gARyAE5Al1pMytIM5UiuEBxWwQBIOoepmO1sRd/BBBWgnMGo9a758xECmcOBr QE5Av55lMqadbNThldYjX/h0qEVyvVIDiFpEOIS85b3qOjBBBrODgL4foCZoWVsG2cZAt5fL7ToL WyAVWeAxA42QScjgAkQoRCHmrYhGgDAC+s54AjbAAQ4s4GDeFHOuvf3/ABwMQBgiUHK4L620TJP2 3J7WSEhG1MmJRKILsJzDxBfxhfLWL+MZn4AGOm5rgj2cWrJ8wAB2sAMRFEMYBtcTRUpCdXcbZDV8 sIAExoAHHuA7At2sYv3Q5PEOQmvXTE/7DlCu8kLyd6gtJzeANw3zPaRb5uwOIkoV0gY2SNsCgG+0 DFJwJFhWMbkDK7qHRcD4xjMeBxMoQAGEHYSpWz0hPlhANHxggWtyYBnMQAYIKvBwCZj+9GCHqAUc kFMdOF4EOzBAAXoA2JX3d9zAm7u5oxxzW4164doaiAM0rwwU0IAHz4hGAEDfAjH74PTQn4G0EpAA Z9HX9Y03wAEKcIAB/oDAYQc/CQkcEIBoPAMGzoDBM2KwfGa0QAMXOBLg5y8B6V/gAVNowhQogIEV 61kEDXAAPdADTVAJaKBjtgd3KCR3mrZ7nWZ36kZzx0QIV5AQGNAC5Xd+x6B+7Md8KYBN0oZkziIt E4AAKTAACtBQ8ZIA3NcBKrAMMRB+RfEAzLAM0aAMz/ACLwANyrcMyNACKXABCwA40VKEFPBwRtYE cjAHhmAEU5AAAzgFYjAHrHZmCVhODPhyvAeBtkJzNUYIs5AQNLgM5VeBV9CDoQeEIZABICADbviG FBAtRqYAzCAQAVACOSAACFACMngYFqACNRgAgiiIy+CDLQCEJCAD/yWgAV7ViHF4ATOQAFMABxI3 cWM0B6tWhQjoduIWd7nXgC20hXfHbkOBPRSYECFgAchQg4VYiMyQhikAAjdwAStgAydyIm1yARVA AQXQASvQhzYSAA2AAav4iq/4g0AYiyRwATRQAiqgAggwAxYgA7t4AAcQAjcIjBTSAgYwAySADOB4 iMkoi7uCAQuQJBYgZj3FfQOwDNpYJSnQAROAAZozjuS4AAsAfzLgAGzyACzYfXX4jlVSAmVAfQ+w MCRgAyRAAvhIMCmCXNtXAAYQAu4okHryAzaAARNgjQYJJxNAfRF5AAaQAy2QjRYpdWBQBV2QawrA gpLHfQpgAA1ggiMrYJInKWxIsRhfUAU82ZMj0Iwr8AM3qY3E9ntVV3lDWSUBAQA7 --gwwvioamfoacme Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: <wopjmwr> R0lGODlhDAAMANUAAP////f3//f39+/v9+/v797m987W787W5sXW5rXF76295qW975y175St75St 3pSlzoyl1oSl5oylzoycxXOU3nOMxWOM5mOM3mOE1lqE3mOEvVKE1lp7xVJ71lJ7zlJ7xVJ7vUp7 zkpzzkpzxVJzrUprvUJrxUJrvUJjtTpjtTpjrTparTpapQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAADAAMAAAIjAABAAhwwMGFCxAQ CACwkICDDBYSLGjQwQEBhg8zDBAIYIEIBwIQdLjAoOOFgSFMIICwIUMEAxQwCBxhAgKHDh5C6DQA IIGJEyA4fPAwYoQCAAVKoEgBQsKJEidQ8CyRYumDA1VTqNBQQYXXFQofsPB6AIAKFiweNBTLoiza BxcFCjgwgQSJCQcWCggIADs= --gwwvioamfoacme-- --euiugamvup Content-Type: application/x-compressed; name="Q185956.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment --euiugamvup-- Tag: Trace Switch Issue Tag: 62804
      • 25
        • Slow in regular expression I have a string "=?big5?B?VHdpbnMgpbys9azb?=" ( a MIME encoded string ) I want to use regular expression to capture the strings "big5", "B", "VHdpbnMgpbys9azb" So I use this pattern string "\=\?(.*)+\?[QqBb]\?(.*)+\?\=" When I use Regex.Match for matching, the program doesn't have any response for more than 1 min. I would like to know if it is the problem of the pattern or the problem of the regular expression service which .NET prvoides. Thanks. -- Franz Wong My C++ and C# Site (Traditional Chinese) : http://www.franzwong.com/Programming Tag: Trace Switch Issue Tag: 62797
    • Next
      • 1
        • VB.net+W2K - File or assembly name stdole, or one of its dependencies, was not found Hi group, first sorry for my poor english We have a vb.net app, run whit any problem in our pcs (whit vs.net 2003 installed). The app have a ocx that draw a binary tree (the only external component, all the rest is standart). When our client need the app, we say "only install the framework 1.1" (only???, poor of us !!!). Well, the first problem we have is registered the ocx, library not found message, but, whit the dependencies program whit vs.net i found the gdiplus dependencies, copy the file whit the ocx, and... magic, i can register. The problem not finish, i run the app very well, since use the form whit the ocx... a msg box appear whit "File or assembly name stdole, or one of its dependencies, was not found" exception. In other machine i have the same problem, and the only solution was install the vs.net (all the vs.net), the same message whit the prerequisites and framework 1.1 previusly installed. Like you imagine, this is not the solution, "all the pc whit vs.net.... naaaa". So, i have that problem, i cant find a solution in web, not whit the exact problem i have. The ocx was write in C++.net and if you need information, work whit a oracle DB (the form whit the ocx). All the rest of app run very nice, only have problem whit the 2 forms whit the ocx. The exception, not give me much information like you see. Really, i look hours the web to find a light of solution of that. If you need more information to give me a clue, of course i will. Thanks in advance Federico. Argentina. Tag: Trace Switch Issue Tag: 62796
      • 2
        • Framework deployment Hey, I have a setup file for my Frontend to an sql database and it all installs just fine, i was wondering if there was a way to setup the .net framework automatically in the setup of the Frontend? Instead of installing it seperatly. Also on windows 98 machines i need to install the latest MDAC so can i include that aswell (for win 98)? Any hel por documentation would be great. Thanks. Tag: Trace Switch Issue Tag: 62790
      • 3
        • Where is the DESCRIPTION property for a Windows Service? I've been creating and installing Windows Services, but my services never display a "Description" in the computer management console. The DisplayName I specify with the ServiceInstaller class works great to display the friendly name of the service in the computer management console and I figured the same class should also have something like a DisplayDescription, but no luck. How do I specify desciptions for my services? Tag: Trace Switch Issue Tag: 62788
      • 4
        • Explorer Dear Sir or Madam We are absolutely delighted to be able to announce an exciting new software in our range of developments. ImageExplorer ImageExplorer,the fastest, most powerful, and easiest-to-use image viewer available for Windows! This innovative software with following distinctive features: Full-featured image viewer. Quickly Browser. Photo Editor. I am pleased to enclose our sales literature for your perusal.If you require any further information,please do not hesitate to go to https://www.Qwerks.com/order/buynow.asp?ProductID=6872 We look forward to hearing from you. Yours faithfully KeleaSoft Sales Director Tag: Trace Switch Issue Tag: 62787
      • 5
        • ImageExplorer Dear Sir or Madam We are absolutely delighted to be able to announce an exciting new software in our range of developments. ImageExplorer ImageExplorer,the fastest, most powerful, and easiest-to-use image viewer available for Windows! This innovative software with following distinctive features: Full-featured image viewer. Quickly Browser. Photo Editor. I am pleased to enclose our sales literature for your perusal.If you require any further information,please do not hesitate to go to https://www.Qwerks.com/order/buynow.asp?ProductID=6872 We look forward to hearing from you. Yours faithfully KeleaSoft Sales Director Tag: Trace Switch Issue Tag: 62786
      • 6
        • C# works with Excel 2002 but not 2000? This code runs fine on win xp and office xp: string sheetPassword = "Senior1993"; string sheetToOpen = "NewRpt1c.xls"; Excel.Application excelApp = new Excel.Application(); excelApp.Visible=true; object spreadsheetFileName = Environment.CurrentDirectory + "\\" + sheetToOpen; Excel.Workbook excelWorkbook = excelApp.Workbooks.Open (Convert.ToString(spreadsheetFileName), 0,false, Type.Missing, sheetPassword, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing); Excel.Sheets excelSheets = excelWorkbook.Worksheets; excelApp.Visible=true; Application.Exit(); However, on Windows 2000 (.net framework 1.1 installed) with office 2000 installed it does not work! I need this to work with office 2000. Am I doing it wrong? Please give code examples on how to work with excel 2000 workbooks (already exist in the application folder) with c#. Please Help!!!! Tag: Trace Switch Issue Tag: 62785
      • 7
        • How Can I Get the Dotnet Framework? How can I get the Dotnet framework? I've been to the Microsoft website called "How to Get the .NET Framework 1.1", but the only option it gives me is to use Windows Update, which doesn't work. Is there any other way to get the framework? -TC Tag: Trace Switch Issue Tag: 62781
      • 8
        • Setting assembly attributes I have a legacy C/C++ header file which I use to set the version for DLLs thru' the .rc files while compiling legacy DLLs every day. I update this header file for every build and would like to use the constants I defined in this header file for the .NET projects AssemblyInfo.cs file instead of updating the AssemblyInfo.cs for every build. Below I came up with a strategy to use the legacy header file but it is not working. Contents of VersionConstants.h C/C++ Header legacy file ------------------------------------------ #ifndef _VERSIONCONSTANTS_H #define _VERSIONCONSTANTS_H #endif #define VERSIONNUM "6.3.4.123" #define COPYRIGHT "Copyright 2003" #define COMPANYNAME "My Company Inc." #endif // _VERSIONCONSTANTS_H ------------------------------------------- I created a small managed C++ class something like this: #using <mscorlib.dll> #include "VersionConstants.h" namespace MyCompany { public __gc class VersionInfo { public static string Copyright = COPYRIGHT; public static string VersionNumber = VERSIONNUM; public static string CompanyName = COMPANYNAME; ... } } In the C# projects, I added a reference to this new assembly and add code like this in AssemblyInfo.cs C# code (AssemblyInfo.cs): ... using MyNamespace; ... [assembly: AssemblyCopyright(MyCompany.VersionInfo.Copyright)] [assembly: AssemblyVersion(MyCompany.VersionInfo.VersionNumber)]; ... The managed C++ layer is there strictly as the portal from the unmanaged world to the managed world so that (managed) C# code can access the stuff defined in the (unmanaged code) C/C++ header files. When I do that I get compile error at AssemblyCopyright and AssmblyVersion attributes in AssemblyInfo.cs file. CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression. I understand why this error is coming because I guess you must have a constant expression such as string literal and cannot be a variable. Am I at dead end and the only way to do it is updating AssemblyInfo.cs everyday. Tag: Trace Switch Issue Tag: 62758
      • 9
        • How to save Data in a Grafics to a Bitmap ? How can you save all or a portion of the Grafics object to a Image/Bitmap ? I am try to save the Images from Cards.dll to a BitMap file. I can read in the Images to the Grafics, but when I try this with a Bitmap the results are Black. Can you somehow Clip the Grafic and Paste it into the Bitmap ? Mark Johnson, Berlin Germany mj10777@mj10777.de Tag: Trace Switch Issue Tag: 62757
      • 10
        • Simple C++ Client with .NET Remoting Server Hi All, Is it possible to have a .NET Remoting Server talk to a simple DCOM Client. How should be the server and the client application be setup to work? I need some articles which can explain a system where the .Net server communicates with the DCOM client. Any reference articles would be useful. Abhishek. Tag: Trace Switch Issue Tag: 62756
      • 11
        • FREE Webinar - Service Oriented Development of Applications - Exposing Your Components for J2EE Magic Software invites you to join us this coming Tuesday (November 18th, 2003) at 12:00 EDT / 17:00 GMT for a FREE live Webinar: Title: Service Oriented Development of Applications - Exposing Your Components for J2EE Date: November 18, 2003 Time: 12PM EST / 17:00 GMT Presenter: Avishai Shafir Description: Application development using .NET and Java are becoming increasingly popular. This two part webinar series will show how the eDeveloper development environment can be used to easily and rapidly integrate and communicate with both .NET and Java environments. In this second session, participants will learn how eDeveloper seamlessly connects with the J2EE environment. The benefits that eDeveloper offers J2EE developers will be discussed as well as techniques for rapid development. By way of a live demonstration, participants will be able to view the ease and speed in which eDeveloper can integrate and communicate with J2EE. Who should attend this event? Any developer interested in learning how eDeveloper can be used to quickly and easily communicate and integrate with the J2EE environments. Attendance in this session does not require the participant to have previous experience with eDeveloper. Register Today: http://www.magicsoftware.com/news/event.jsp?o=ne_events^l171 Upcoming Webinars: Future Proofing the Enterprise for Business Change - In conjunction with ebizQ Nov 20, 2003 12:00 PM EST / 17:00 GMT Understanding Business Process Management Dec 2, 2003 12:00 PM EST / 17:00 GMT Legacy Integration with eDeveloper Dec 16, 2003 12:00 PM EST / 17:00 GMT Register to attend http://www.magicsoftware.com/home/webinars For additional information on this or any of our upcoming Webinars visit us at http://www.magicsoftware.com or email us at webinars@magicsoftware.com Archives: Visit the Magic Webinar archive: http://www.magicsoftware.com/home/webinars/archive.jsp Tag: Trace Switch Issue Tag: 62755
      • 12
        • Saving Group IV Tiff images as black and white Thanks to help from a few people this very economical amount of code creates a copy of a tif images, writes data to it and saves as with a new name. It does almost everything I want it to do and in an acceptable amount of time. My problem is that the resulting TIF image is not saved as a black and white, grayscaled image, but with colors and I don't know how to turn this off. Also the resulting tif comes out to over 100K instead of around 10- 15K. If I overload the bitmap.Save method with System.Drawing.Imaging.ImageFormat.Tiff not only does the size jump to nearly 350K, but I then end up with a TIF image that requires LZW compression instead of the Group IV TIF I want. I have seen examples that use unsafe code to accomplish this, but the example is slower than I'd like and is several hundreds of lines of code when it seems to me like I should be able to add a line or two of code to the following dozen or so lines I have and be done. What am I missing? Thanks, Jeff Gress private Font textFont; private FontFamily serifFontFamily; serifFontFamily = new FontFamily (GenericFontFamilies.Serif); textFont = new Font(serifFontFamily, 24); string textToDraw; Image image = Image.FromFile(@"c:\apps\amod2.tif"); Bitmap bitmap = new Bitmap(image); Graphics g = Graphics.FromImage(bitmap); g.TextRenderingHint = TextRenderingHint.ClearTypeGridFit; g.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.HighQuality; textToDraw = "Welcome back my friend"; g.DrawString(textToDraw, textFont, new SolidBrush (Color.Black), 184, 342); // Set the resolution and save the bitmap object bitmap.SetResolution(200,200); bitmap.Save(@"c:\apps\amod3.tif"); Tag: Trace Switch Issue Tag: 62752
      • 13
        • License Class and .NET Hello all - I've written some custom controls using VS.NET 2003 and .NET 1.1 - I've been trying to get the licensing to work in the control using the examples at http://windowsforms.net/articles/Licensing.aspx - for some reason though a continually get exceptions from the validate method of the LicenseManager class whenever I try to use the control in another project in my solution. I've basically setup two projects in a solution - a custom user control project and a windows form project for testing the control. The code to use the licenses classes is simple enough, and I think I am creating the .LIC file correctly in the custom control project - but I always get an System.ComponentModel.LicenseException whenever I try to use the custom control - also the licenses.licx never gets created (I think it is supposed to be created when I drop the control onto the form in the designer). Any tips on what I am doing wrong - I'm almost sure I've got everything, but documentation on what to do "outside" the classes with files needing to be created seems to be lacking and I can't seem to find a tutorial that covers everything in a clear manor. Thank you, Matt Tag: Trace Switch Issue Tag: 62751
      • 14
        • C# registry problem I have a program that encrypts a datetime objects "to=20 long datetime string" string to and encrypted sequence. =20 The problem is this: if I use the following source code=20 it works (key is declared earlier and works fine): string valueName=3D "Date Installed"; key.SetValue(valueName, "=B2=E395=EC.*=FA=DEx = e=06=B8<=01=A1uO2s=01=AFE=08=D4"); The problem is this code doesn't: string valueName =3D "Date Installed"; object s1 =3D "=B2=E395=EC.*=FA=DEx e=06=B8<=01=A1uO2s=01=AFE=08=D4"; //(I have tried string instead of object) key.SetValue(valueName, Convert.ToString(s1)); When I check the registry in this case, only "=B2=E395=EC.*=FA=DEx"=20 was written. Please help if you can! This is driving me=20 crazy! Tag: Trace Switch Issue Tag: 62748
      • 15
        • Deleting a Datarow from a windows form datagrid I am having a problem deleting a database row from a datagrid. I have the following code: CurrencyManager cm1=(CurrencyManager)dataGrid1.BindingContext[dataGrid1.DataSource]; DataRowView drv=(DataRowView) cm1.Current; DataRow myRow = drv.Row; myRow.Delete(); ProcessSQLData.SetData("ExpenseLines", ExpLineServSet); 'Sends the databack to the webservice for update I get an error that says concurreny error 0 records where updated. It seems the the deleted flag for the row in the dataset is not being set by the above code. Does anyone know what I need to set that flag. Thanks, Tag: Trace Switch Issue Tag: 62747
      • 16
        • "Complex" URL in App.config-file Hi, Using C# I need to retrieve a setting from my App.config-file (console application). The key I need to retrieve is shown below. <appSettings> <add key="HtmlString" value=@"http://ADDRESS.com/opdat.php?name=NAME&domain=DOMAIN&pw=PW&silent=1" /> </appSettings> I use the following code to retrieve the setting. string htmlString = ConfigurationSettings.AppSettings["HtmlString"]; However, I get a runtime error doing this (ConfigurationException). If I replace the value in the key with something more simple - such as "Test" for example, it works fine. This leads me to believe that it somehow is the composition of the URL that is the problem... But what can I do to solve it? Thanks in advance. -- Michael Barrett Tag: Trace Switch Issue Tag: 62740
      • 17
        • Automation and .NET (NEED HELP PLEASE) Hello, This is a post that started in the vb.net newsgroup that I am having difficulty in getting answers to. It involves using the web browser control as the replacemnt for the Ole Container that existed in vb6. It is a vb.net windows app. If anyone and I do mean anyone has answers to this please help.....I am a little under the gun as the boss indicated we need to have it exist within the app and I told him that I could do this not remembering the Ole Container was dead. I also have Visual Studio Tools for Office 2003 installed but I am not sure if that will help. It needs to work for Office 2000,XP and 2003. Open Visual studio start a new project, add 3 buttons to form1 and the (Ax)WebBrowser control. load the document with teh button1 click event: AxWebBrowser1.Navigate("C:\test.doc") (Can this dialog that appears be turned off programmatically(asks if it should open or save)?) Make changes to the document by typing. Have button2 do something like insert text into the document (something along the lines of what you would do if automating the document.) Click button3 to save the document and reload with the changes. Is this possible? Thank you all for any help you might be able to give.... Tag: Trace Switch Issue Tag: 62734
      • 18
        • on what OS is .NET currently supported ? Hi, on what OS is .NET currently supported ? mac, unix, ... ?? thnx Chris Tag: Trace Switch Issue Tag: 62732
      • 19
        • DynDns Update IP Address Hi, i want to write a .net class that can update my ip address at the dyndns service (http://www.dyndns.org). When I open the page https://username:password@members.dyndns.org/nic/update?system=dyndns&hostname=MyHostNameHere&myip=MyCurrentIpHere&wildcard=on i get the response nochg 80.146.122.175 which means "No change". IP hasn´t changed. Fine. I wrote this code in my c# class: public void UpdateIP(IPAddress ip) { const string UPDATE_URL = "https://<USER>:<PWD>@members.dyndns.org/nic/update?system=dyndns&hostname=< HOST>&myip=<IP>&wildcard=<WILDCARD>"; string url = UPDATE_URL; url = url.Replace("<USER>", mUsername); url = url.Replace("<PWD>", mPassword); url = url.Replace("<HOST>", mDomain); url = url.Replace("<IP>", ip.ToString()); url = url.Replace("<WILDCARD>", mWildcard ? "on" : "off"); HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Headers.Add("Cache-control", "no-cache"); request.Headers.Add("Pragma","no-cache"); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); string text = new StreamReader(response.GetResponseStream()).ReadToEnd(); } I get the following error on the line "HttpWebResponse response = (HttpWebResponse)request.GetResponse();": 'System.Net.WebException' in system.dll Remote Server returned an error (403) Unzulässig. What is the difference betwenn the browser and my code? Any ideas? Tia André Heuer Tag: Trace Switch Issue Tag: 62726
      • 20
        • Reinstall 2003 Server's .Net Framework As I know .Net Framework (1.1) has come with Windows 2003 Server, can anyone tell me how to reinstall it? I'd looked at Add/Remove program couldn't find this option! because I suspect it has some abormal behaviour on ADO.Net component! Thanks in advance for help! Tag: Trace Switch Issue Tag: 62724
      • 21
        • ZIP class in Whidbey .NET Framework (2.0) Does anyone know if there will be built-in compress/decompress components (ZIP, GZIP,...) in coming .NET Framework 2.0? I know there is several freely available components out there such as #ZIPLib from #Develop, but built-in components provided by the Framework would be nice and useful. Thanks in advance, LP Tag: Trace Switch Issue Tag: 62699
      • 22
        • win app icon I have two questions: question one: How can i get the icons that are in a dll?. For example if i have the name of the dll and the number of the icon, like this: "shell32.exe, 52". question two: How can i get the default icon associated with a determinate extension. For example, the icon associated with the extension txt?. I hope to be clear. Thanks for any help. Tag: Trace Switch Issue Tag: 62694
      • 23
        • Nulls and Value Types in Business Objects The business classes that we create for our applications have typically used many value type properties like Int32, DateTime, Decimal, etc. that cannot store null values. This is a problem, because we can't expose a property as null and can't store null back to the database unless we use some ugly workaround. We have started using the SqlTypes namespace to get around this and this seems acceptable in c#, but not in VB.NET, which doesn't support the operator overloading. We are curious what techniques others have used to get around this issue? Do you allow nulls in the database? Do you require entry of everything in the app? Do you use the SqlTypes? Do the same issues arise in java? Tag: Trace Switch Issue Tag: 62684
      • 24
        • PostBack events not firing when page is posted back Okay, this is a rather complicated problem, so here is the short o it I am using a custom designed user control that simply writes out plain old html submit button to the page. When the page posts back i will randomly (I'm talking a few out of a hundred times) not catch th System.EventHandler on the submit button click Here are the details I have tried using a asp:button, and html input button, and a lin with an onClick event to fire __doPostBack in the custom user control All three of these seem to produce the same symptom The page header definately states it is a post, however, nothing in a IsPostBack block executes No code in the event handler Submit_Command(object sender System.EventArgs e)is being executed. This is at least as far as can tell since the error is difficult to replicate. There are man writes to the database contained in the event handler, and none o them are occuring The problem seems to occur very randomly. It sounds like may be related to this http://support.microsoft.com/default.aspx?scid=kb;EN-US;818537. Bu I'm not sure because this article directly states that the namespace get changed on recompile causing the problem. We don't put new files up t cause the code to recompile as often as this problem occurs. On the pages that use the custom control, here is the code tha catches the click event (SubmitOrder is a custom button id) private void InitializeComponent( { this.SubmitOrder.Click += ne System.EventHandler(this.SubmitOrder_Command) this.Load += new System.EventHandler(this.Page_Load) The standard __doPostBack javascript fucunction is being used, I hav not overridden it Here is the code for the custom control using System using System.Web.UI using System.Collections using System.ComponentModel using System.Data using System.Web using System.Web.SessionState using System.Web.UI.WebControls namespace CustomControls public class CheckOutButton: Control, IPostBackEventHandle { string _text = "Button" string _class = "Button" string _arrows = null string _htmlType = "div" string _browserName = "IE" string _browserVersion = "6.0" string _postBackClientHandler, _buttonType, _altClass, _href _javascript string _commandName = "" string _commandArgument = "" string temp int _width = 100 int _height = 20 bool _visible = true bool _hasArrows = false // Defines the Click event public event EventHandler Click public string Tex get { return _text; set { _text = value; public string ButtonTyp get { return _buttonType; set { _buttonType = value; public int Widt get { return _width; set { _width = value; public int Heigh get { return _height; set { _height = value; public string Clas get { return _class; set { _class = value; public string AltClas get { return _altClass; set { _altClass = value; public string Hre get { return _href; set { _href = value; public string PostBackClientHandle get { return _postBackClientHandler; set { _postBackClientHandler = value; public string Arrow get { return _arrows; set { _arrows = value _hasArrows = true public string HtmlTyp get { return _htmlType; set { _htmlType = value; public string CommandNam get { return _commandName; set { _commandName = value; public string CommandArgumen get { return _commandArgument; set { _commandArgument = value; public string BrowserNam get { return _browserName; set { _browserName = value; public string BrowserVersio get { return _browserVersion; set { _browserVersion = value; protected virtual void OnClick(EventArgs e) { if (Click != null) Click(this, e) } public void RaisePostBackEvent(string eventArgument OnClick(new EventArgs()) } protected override void Render(HtmlTextWriter output) { if(this._visible) { if(this._commandArgument != "") _javascript = "href=\"javascript:__doPostBack('"+this.UniqueID+"', '"+this._commandArgument+"')\" "; else _javascript = "href=\"javascript:" + Page.GetPostBackEventReference(this)+"\" "; switch(this._buttonType) { case "link" : output.Write("<a id=\"" + this.UniqueID + "\" "+this._javascript+" class=\"" + this._altClass + "\">"); output.Write("<" + this._htmlType + " style=\"width: "+ this._width + "px; heigh