Objectivity DB

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
        • *EUROPE PHOTO GALLERY* <http://europephotogallery.blogcu.com/> *EUROPE PHOTO GALLERY* <http://europephotogallery.blogcu.com/> * A typical microraion <http://europephotogallery.blogcu.com/4706688/ > * Church of Sts. Peter and Paul (1613<http://europephotogallery.blogcu.com/4706684/> * The Railway station square, an example of Stalinist Minsk<http://europephotogallery.blogcu.com/4706682/> * Island of Tears, with a recently constructed memorial church<http://europephotogallery.blogcu.com/4706678/> * Shoreline in Mediterranean Greece.<http://europephotogallery.blogcu.com/4706472/> * Tara River Canyon, the deepest canyon in Europe is located in Montenegro.<http://europephotogallery.blogcu.com/4706470/> * Mount Elbrus, the highest mountain in Europe.<http://europephotogallery.blogcu.com/4706468/> * University of Informatics and Radioelectronics<http://europephotogallery.blogcu.com/4706697/> * National Technical University<http://europephotogallery.blogcu.com/ 4706696/> * Building of the Department of Biology, Belarusian State University<http://europephotogallery.blogcu.com/4706695/> * Pedagogical University <http://europephotogallery.blogcu.com/4706692/ > * Russian Orthodox church of St. Mary Magdalene (built in 1847)<http://europephotogallery.blogcu.com/4706674/> * The High Square as painted in the 1840s<http://europephotogallery.blogcu.com/4706669/> * A satellite composite image of Europe<http://europephotogallery.blogcu.com/4706660/> * The Council of Europe created in 1955 a flag for<http://europephotogallery.blogcu.com/4706508/> * Cape Roca, a cape that forms the westernmost point of mainland Europe, is located in Portugal <http://europephotogallery.blogcu.com/4706495/> * Aletsch Glacier, the largest glacier in Continental Europe, is located in Switzerland <http://europephotogallery.blogcu.com/4706492/> * Dettifoss, the most powerful waterfall in Europe, is located in northeastern Iceland. <http://europephotogallery.blogcu.com/4706490/> * P=E4ij=E4nne lake and white nights in Finland.<http://europephotogallery.blogcu.com/4706487/> * Europe's longest river, the Volga River, at Yaroslavl.<http://europephotogallery.blogcu.com/4706483/> * Roland pledges fealty to Charlemagne, Holy Roman Emperor<http://europephotogallery.blogcu.com/4705315/> * The Greek Temple of Hera, Selinunte, Sicily<http://europephotogallery.blogcu.com/4705249/> Ba=F0lant=FDlar=FDm* EUROPE PHOTO GALLERY <http:// europephotogallery.blogcu.com/> * Profilim <http://europephotogallery.blogcu.com/profile/> * Ar=FEiv <http://europephotogallery.blogcu.com/archive/> Kategoriler *FERRAR=DD PHOTO GALLERY* <http://ferrariphotogallery.blogcu.com/> *Kategori yok* Arkada=FElar=FDm TURKEY PHOTO GALLERY<http://turkeyphotogallery.blogcu.com/1-25+TURKEY +PHOTO+GALLERY/> * bbcworldnews <http://bbcworldnews.blogcu.com/> * youtube2008 <http://youtube2008.blogcu.com/> * photoarchive <http://photoarchive.blogcu.com/> * ferrariphotogallery <http://ferrariphotogallery.blogcu.com/> Tag: Objectivity DB Tag: 135595
      • 2
        • Bug with VirtualItemsSelectionRangeChanged event Hi, There is a bug with VirtualItemsSelectionRangeChanged event on version 3.5 of the .NET framework. 1. That event not raises when only one element is selected. 2. That event gives incorrect indices (start and end). To reproduce this bug create a list view in virtual mode, populate it with 100 items and try to change selection using keyboard and/or mouse. Tag: Objectivity DB Tag: 135584
      • 3
        • .Net 3.5 SP1 Now that 3.5 has been released, is there any target for its first SP? My company, along with many others, is a little leary targeting production servers with a "1.0" flavor of LINQ and other new features. Thanks in advance, Mike Tag: Objectivity DB Tag: 135583
      • 4
        • Application exiting on printing Hi all, I have a strange problem: When my application print something with System.Drawing.Printing.PrintDocument(), my application thread (MessageLoop) is going down. I know that because I putted an event on Application.ThreadExit and this event is launched when printing. What is also strange is if I remove the small printing dialog, it doesn't happend... Here is a small test code: <code> Public Class Form1 Public Sub New() ' This call is required by the Windows Form Designer. InitializeComponent() ' Add any initialization after the InitializeComponent() call. AddHandler Application.ThreadExit, AddressOf Me.OnThreadExit End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ShowOtherWin(Nothing) End Sub Private Sub OnPrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) e.Graphics.DrawLine(Pens.Black, 10, 10, 100, 100) End Sub Private Sub ShowOtherWin(ByVal state As Object) Dim printDocument As New System.Drawing.Printing.PrintDocument() AddHandler printDocument.PrintPage, AddressOf Me.OnPrintPage 'printDocument.PrintController = New System.Drawing.Printing.StandardPrintController() ' Hide small dialog "Printing..." printDocument.Print() End Sub Private Sub OnThreadExit(ByVal sender As Object, ByVal e As EventArgs) Console.WriteLine("Application Exited") End Sub End Class </code> Any idee??? Thanks a lot. Pascal Tag: Objectivity DB Tag: 135581
      • 5
        • SDK for vista fax and image Hi does anyone know if there is a SDK for .NET to allow intergration into VISTAS fax and image? Thanks Shawrie Tag: Objectivity DB Tag: 135580
      • 6
        • [WPF]How to insert a vector graphic image into xaml ? Hi there, I would like to import a vector image (which is in a database, but this is not my point) in a WPF application. I can find function to load bitmap image but can't see no way to import svg/emf/eps... images. Is it a limitation of WPF ? Regards Tag: Objectivity DB Tag: 135579
      • 7
        • very general question Bear with me. I looked at all the framework forums here at msnews.microsoft.com and this seemed the most general. To avoid Windows Update failures for microsoft.NET Framework 1.1, I uninstalled that program from my Vista Home Premium's Control Panel \ Programs. The failure messages went away. I have looked at MS' Download site and see a handful of Framwork downloads - from 1.0 to 3.0. I really don't remember how this program got installed to begin with but is this the sort of program that I will be specifically directed to download if I need it to run a program in the future or is this something that should always be installed. Sorry for the dumb questions, I'm just trying to prevent any future problems. Thanks, DH Tag: Objectivity DB Tag: 135576
      • 8
        • Book about Architeture in .NET (Components, Services...) Hi, I would like to know some good books about Application Architectures (Design..) in .NET (Services, Components...), the language Spanish or English... Kind regards Tag: Objectivity DB Tag: 135575
      • 9
        • Deploy .NET project with .NET Framework Hi all, Recently, I have a Project writen in C#.NET, and have deployed it for installation. However, if the machine going to install my project without the .NET Framework, no installation can be done. So, my question is, can it put the .NET Framework into my setup file, and install the .NET framework automatically once it found the machine don't have it. Could someone throw some light on this please If any one having tha answer send me E-Mail:sponraj05@gmail.com Thanks in advance. Regards, ponraj Tag: Objectivity DB Tag: 135574
      • 10
        • Expired ClickOnce certificate was created by another developer Hello All, I have an application which has a singed clickonce manifest. The certificate was created by a developer which is no longer with the company. I has also expired. If I create a new certificate, I am have to uninstall and reinstall the application, is there anyway to overcome this. I don't mind creating a new certificate or removing the signature all together (signing the manifest is not necessary in our enviroment), But i'd rather not have to uninstall and reinstall the app everywhere.. Thanks in advance for the help... Regards, HJ Rodriguez Tag: Objectivity DB Tag: 135573
      • 11
        • AppDomain and Multi-Threading Hi, following situation (this is still .NET 1.1 - *sigh*) For a scheduling application, I create a Thread for every task that is due to be executed. Once a task execution is due, a running Thread will be created. The runner thread in turn will instantiate a TaskRunner object in a new AppDomain, so it is like that. The TaskRunner then instantiates the Task class and calls a method on an interface: 1. Create New Thread 2. Thread creates new AppDomain 3. TaskRunner is created in new AppDomain 4. TaskRunner instantiates task class and executes interface method 2. - 4. all happen on the same (newly created thread) After the TaskRunner has executed the task method, it cleans up, however when the Thread calls to unload the AppDomain it previously created, the whole thread is aborted and no code is executed anymore after the unload. I don't quite understand why this would happen. My worker thread runs on the main AppDomain and creates/unloads a child AppDomain. I wonder why unloading that child AppDomain would kill my worker thread. Any help would be highly appreciated. Thanks Kai Tag: Objectivity DB Tag: 135568
      • 12
        • Question about Windows workflow foundation in n-tier application Hello, I've got a general question concerning Windows Workflow foundation. In samples in books on WF the workflow activities typically show user interface directly to the user when the activity need to communicate with a human. But if you have a n-tier application you can't do that because the workflow in located in the business layer. The smart client uses webservice to talk to the business layer. Are there any patterns or something that can be used to communicate with humans using workflow in an n-tier application? How can the workflow communicate with humans when it is located in the business layer? -rj Tag: Objectivity DB Tag: 135564
      • 13
        • Session Times Out but still logged in with login control? I have a couple items I keep in session variables (using server memory) that I can't pass across the address line. I've done everything I can find to extend the sessions as long as possible but eventually the session will time out. I didn't want to use SQL to hold my session information as this is a single server enviroment with plenty of memory and I don't want to slow my application down by waiting on SQL or have an additional dependency. A new application I built uses the ASP.NET 2005 Login Controls. What I noticed is that when I loose my session, I'm still logged in. I don't know much about the login controls but assumed they were session based and would vanish with my session. So my question is, can anyone explain why I'm not loosing my login and how it is being managed that it stays after my session is gone. Maybe I should use another method such as SQL to manage my session information? Thanks for any advice! Tag: Objectivity DB Tag: 135559
      • 14
        • Installation of dotnet framework 3.5 does not finish I tried to install the final release Dotnet 3.5 Framework on my Thinkpad XP PRO(with very ample memory and disk). After a very long time, the progress bar finally reaches the end but I never receive the Finish button or any indication that the install is done (only the Cancel button remains visible). I'm pretty sure it's not done since when the system tried to go into sleep mode I got the warning message that the setup is not complete. I'm fearful that if were to hit cancel at this point since it might cause seerious windows problems. Any ideas would be appreciated. thanks Tag: Objectivity DB Tag: 135558
      • 15
        • hello.il to hello.exe using System.Reflection.Emit Hi, is it possible to generate a hello.exe from a hello.il with the Emit namespace? I don't want to use the ilasm.exe to assemble the Program. Or with other words: I'm looking for something like a 'ilasm.dll' to use it with my own Compiler. THX and Greetings Volker Thebrath Tag: Objectivity DB Tag: 135557
      • 16
        • Problems with Adding Service Reference I wrote a WCF service that currently runs in a Console host with the config whose XML is shown below. I have tested the service and it works, i.e. it receives the requests and provides the reply, I am writing a new client that utilizes the service and am trying to create a Service Reference. I start the service, test it to verify that it is running properly and then i try to add the service. I am unable to add the service. When I enter the URL "tcp.net//localhost:8080/AnalysisService" or http://localhost:8000/AnalysisService i get an error that "This program cannot display the webpage" Am I using the wrong URL? is there an error in the host config file? thanks for any suggestion. m <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.serviceModel> <bindings /> <client /> <services> <service behaviorConfiguration="AnalysisService.AnalysisServiceBehavior" name="AnalysisService.ServiceAnalyze"> <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration="" name="MexTcpBinding" contract="AnalysisService.IServiceAnalyze" /> <endpoint address="net.tcp://localhost:8080/AnalysisService" binding="netTcpBinding" bindingConfiguration="" name="AnalysisServiceTcpEndpoint" contract="AnalysisService.IServiceAnalyze" /> <host> <baseAddresses> <add baseAddress="http://localhost:8000/MSOMEServiceAnalyze" /> </baseAddresses> </host> </service> </services> <behaviors> <serviceBehaviors> <behavior name="AnalysisService.AnalysisServiceBehavior"> <serviceMetadata httpGetEnabled="True"/> <serviceDebug includeExceptionDetailInFaults="False" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> </configuration> Tag: Objectivity DB Tag: 135555
      • 17
        • VB.net Voice Recognition??? I am running Windows XP Pro SP 2, have Office 2003, installed SDK 5.1, Visual Studio 2005 with installed .NET Frame 3.0 (re-distribution package). System.Speech is in .NET 3.0. C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0 It doesn't contain: Recognition.DesktopRecognizer GrammarBuilding.SrgsDocument GrammarBuilding.SrgsRule GrammarBuilding.SrgsOneOf I look at .NET 3.0, they have System.Speech.Recognition.SrgsGrammar.SrgsRule So my best guess that the namespace/class is a little different? source link: http://blogs.msdn.com/robertbrown/archive/2005/06/14/428967.aspx ////////////////code Imports System.Speech Public Class Form1 Dim WithEvents reco As New Recognition.DesktopRecognizer Private Sub SetColor(ByVal color As System.Drawing.Color) Dim synth As New Synthesis.SpeechSynthesizer synth.SpeakAsync("setting the back color to " + color.ToString) Me.BackColor = color End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim gram As New GrammarBuilding.SrgsDocument Dim colorRule As New GrammarBuilding.SrgsRule("color") Dim colorsList As New GrammarBuilding.SrgsOneOf("red", "green") colorRule.Add(colorsList) gram.Rules.Add(colorRule) gram.Root = colorRule reco.LoadGrammar(New Recognition.Grammar(gram)) End Sub Private Sub reco_SpeechRecognized(ByVal sender As Object, ByVal e As System.Speech.Recognition.RecognitionEventArgs) Handles reco.SpeechRecognized Select Case e.Result.Text Case "red" SetColor(Color.Red) Case "green" SetColor(Color.Green) End Select End Sub End Class Tag: Objectivity DB Tag: 135547
      • 18
        • cant delete security.config.cch from profile On my x64 TS i copied a profile to the local c:\documents and settings\default user using the "copy profile" tool from the system applet this profile had a couple of problems so i re-did the profile and then attempted to copy it to default user the system couldn't delete "default user" due to a file "security.config.cch" I have tried rebbotting the server, but the file still can't be deleted Administrator can't take ownership of it, properites shows no security info any ideas? reagrds Frank Tag: Objectivity DB Tag: 135546
      • 19
        • ObjectDataProvider.MethodParameters With Enum Does the declaration of the enum must be in the local project? I have it in another project and i added a namespace to this project but in the Xaml I got an error the the type of the enum is not declared. Tag: Objectivity DB Tag: 135545
      • 20
        • read the excel row values Hi Kindly help!!!!!!!!! I have to read the excel row values say from A1 to A12 The requirement is something like i have to get the values from the excel sheet of a perticular row i.e i have to itrate thru the row and get the values till a blank cell is encountered. Can anyone provide me a solution using C#. thanks and regards Tag: Objectivity DB Tag: 135543
      • 21
        • Internet Explorer Caches my Video Control Everyone, I'm desperate here. I've created a .NET 2005 DirectX dll Windows control to run on Internet Explorer 7 to capture a picture from a web camcorder to place onto a card printer as part of a IE wizard setup to work with CRM 3.0. When I place the control in a Microsoft .NET 2005 application, the control works PERFECTLY ie. the video is displayed and unloaded on every run. However, when I place the control to run on Internet Explorer 7, the control I believe is cached and unless I close EVERY Internet Explorer window down each time I run the wizard, I get the following error (except on the first run obviously): "Insufficient resources exist to complete the requested service. 0x800705AA." That means that the control is NOT being unloaded. I've read that there is a Garbage Collection issue with IE 7 and that caching DOES happen. I've even tried to place the following tag in the .NET page that implements the control: <%@ OutputCache Location="None" VaryByParam="None" %> Makes no diff! Here is how I instantiate the control: <object id="oCapture" name="oCapture" classid="CLSID: 5d592695-5013-4de4-89fd-7f9ffbf31c50" codebase="CCACardWriter.dll" width="178" height="200" border=2></object><br> PLEASE, any assistance would be appreciated. Somebody MUST HAVE come across this IE behaviour before. I've tried everything including GC.Collect(), special disposing of the control, etc. but the caching does not seem to be unloading the control for me. PLEASE HELP!! Thankyou. JB Tag: Objectivity DB Tag: 135541
      • 22
        • Exception "Field in TypedReferences cannot be static or init only" When deserializing a simple object graph using BinaryFormatter I get an ArgumentException: "Field in TypedReferences cannot be static or init only". I have digged into that problem and I've found some strange circumstances. The basic scenario has the following structure: An OuterType has a readonly field of type MiddleType which has a field of type InnerType. Depending on variations of OuterType, MiddleType and InnerType an ArgumentException ("Field in TypedReferences cannot be static or init only") is thrown when deserializing an object graph using a BinaryFormatter. An Exception is thrown when: OuterType does not implement ISerializable (just tagged with [Serializable]) AND MiddleType is a ValueType (struct) and does not implement ISerializable AND InnerType is a ValueType (struct) and does implement ISerializable (InnerType must not be a System.DateTime; DateTime seems to be treated different from ordinary ValueTypes) Fails when deserializing this object graph[Serializable] public class|struct OuterType { private readonly MiddleType field; // ... } [Serializable] public struct MiddleType { private InnerType field; // ... } [Serializable] public struct InnerType : ISerializable { private int i; public InnerType(SerializationInfo info, StreamingContext context) { this.i = info.GetInt32("i"); } public void GetObjectData(SerializationInfo info, StreamingContext context) { info.AddValue("i", this.i); } // ... } An Exception is not thrown if any of the conditions above is changed (as far as I have investigated the circumstances). OuterType implements ISerializable OR MiddleType is a class OR MiddleType implements ISerializable OR InnerType is a class OR InnerType does not implement ISerializable. I admit, that I'm a little bit confused! Can anyone tell if I'm doing something wrong? Wolfgang Tag: Objectivity DB Tag: 135540
      • 23
        • Laptop screen stays off during startup Hi, In order to see the logon screen when I boot up my Toshiba laptop I need to press Fn F5. This is a recent bug, not sure what I did to deserve it. Does anybody know if there is a setting somewhere that needs changing to return to "normal". Kind regards, Eliza Tag: Objectivity DB Tag: 135531
      • 24
        • Framework 2.0 SP1 Anyone know if/when SP1 of the framework will be released via Windows Update and WSUS? Mike Ober. Tag: Objectivity DB Tag: 135525
      • 25
        • is there any speed difference between a TVF CLR that returns an array vs yield as each result is ready? e.g. does returning the array all at once cause sql server to allocate more efficiently? is there any speed difference between a TVF CLR that returns an array vs yield as each result is ready? e.g. does returning the array all at once cause sql server to allocate more efficiently? Tag: Objectivity DB Tag: 135524
    • Next
      • 1
        • Best practice for single instance and file associations? What is the best practice for a (.Net 2.0) application that is limited to a single instance and has file associations? There appear to be two methods for communicating verbs between Explorer and an application: command line and DDE. Going w/ the command line route, if there is already an instance of my application running, I need to detect that, and then communicate the command line to the 'main' instance using ? Remoting, I guess? Using the DDE route: this seems like the more standard route, however I'm not seeing anything that immediately supports this in the .Net Framework. ? There has to be something, as this is Windows standard behavior since when... Anyone have any thoughts/comments/pointers/suggestions on what is best/standard practice for handling file association verb requests in .Net? Thanks! Tag: Objectivity DB Tag: 135521
      • 2
        • Using CSharpCodeProvider to create MANY assemblies I am planning to use the CSharpCodeProvider to generate some compiled functions in my app. In my current implementation, All of these functions are generated in one swipe... thus they all invoke the compiler once, and create only one DLL. My new requirement tells me that I need to be more dynamic... that I can't queue up all of these functions... I actually need to do them more on demand. The number of times this happens can be as many as 10,000 times... each with a different calculation. This would mean that I invoke the compiler 10,000 times and create 10,000 in-memory DLLs. This idea scares me... can .NET handle that many DLLs being linked to the app? Does anyone know about the performance overhead of such an endeavor? I am about to write some tests to gather data, but I was wondering if anyone out there has experience with this type of execution. Am I going to run into performance penalties for invoking the compiler that many times? Am I going to run into performance penalties for having that many DLLs in the app domain? If so, are there any workarounds that anyone knows of? Thanks, Brian Tag: Objectivity DB Tag: 135517
      • 3
        • Dotnet library to popup a message to Active Directory user(s) on Are there libraries in the framework that my program could use to display a popup message to an Active Directory user or a AD Group of users on our Windows 2003 Server LAN? It wouldn't have to be a two-way chat window. The workstations are running variously Windows 2000, Windows XP, and Vista. Thanks Tag: Objectivity DB Tag: 135515
      • 4
        • Same event fired from 2 different threads..? Hi I have a short question regards event i C#. I have two C# threads. The can both fire the same event idepended of each other. How is this hande by the CLR? Are the calls queued? Thread1() { } Tag: Objectivity DB Tag: 135505
      • 5
        • Response.TransmitFile - Windows Mobile 6 Hi, I have use the following code to transmit a file back to the browser that worked fine on a HTC_TTyN device running windows mobile 5.0. The code executes in the onclick event of a mobilelist control. Now on a similar device running window mobile 6.0 the file is not displayed - the link causes a post back succesfully and the code appears to execute - on the browser a bar is displayed breifely at the bottom of the window (although ist show 0KB to the right of the bar.) - seaming to indciate that a file is being transferred but the file save option (or the file) does not appear. Does any one have any ideas why this is not working ? I suspect it may be something that is specific to the HCT_TTyn devcie as we have identifed a separate issue where the browser capabilities where not being detected correctly - this was due to the fact that the useragent string was being prefixed with 'HCT_TTyn ' - to work around this we have defined a new htctty.browser file and registered it with asp.net which seams to have solved all the problems we were having - apart from this file transfer issue. protected bool SendFile(string filePath) { string fileName = System.IO.Path.GetFileName(filePath); if ((fileName != "") && (System.IO.File.Exists(filePath))) { try { Response.Clear(); Response.ClearHeaders(); Response.ClearContent(); Response.ContentType = "application/octet-stream"; Response.AddHeader("content-disposition", @"attachment; filename=""" + fileName + @""""); Response.AddHeader("content-length", new System.IO.FileInfo(filePath).Length.ToString()); Response.TransmitFile(filePath); Response.Flush(); Response.End(); Response.Close(); return true; } catch { return false; } } else return false; } Tag: Objectivity DB Tag: 135501
      • 6
        • Assembly version detecting utility? Hi: Can anyone suggest an utility to detect specific assembly versions that are required by an exe? I find that, sometimes, I update some assemblies in the GAC and forget to update the client installation. When I execute the new exe file it unceremoniously exits. I then start looking at the assemblies in the GAC for different versions. It would be nice to have a utility that read the expected versions from my exe and report if any where missing. Does such a utility exist? TIA, Martin. Tag: Objectivity DB Tag: 135499
      • 7
        • problem with var in 3.5 Hello, i don't know whether you can answer to questions about issues in 3.5, but i'll ask anyway. i have this code: var material = from materials in myDC.Materials where materials.Name == materialName select materials; it is supposed to load 1 object. how do i know if "material" is loaded or is null or smth like this? or should i use foreach every time? because in this case, material is IQueriable<Material>. or i can write an extension method, but i have to write this for all my domain objects... so, how can i do it in a simpler way? Thank you, Dan Tag: Objectivity DB Tag: 135492
      • 8
        • Handling OOMs in new AppDomain Currently, I'm playing with some ideas on recycling application components for a service application when the individual parts die, because of an OOM. As a start to this I created a secondary AppDomain and created an instance of a class in that application domain that throws an OutOfMemoryException on an interval. I hooked up the AppDomain.UnhandledException event, but it isn't getting called. I can watch the output that says, "A first chance exception of type 'System.OutOfMemoryException' occurred in ..." But, nothing happens and the class seems to continue on its merry way. The error is thrown by an event handler (handling the Timer.Elapsed event). What is the proper way to handle exceptions in this context? Tag: Objectivity DB Tag: 135491
      • 9
        • xaml Please answer me 1. Is XAML maily aiming windows. Why is the controls on double click not produce the event handlers in the c# file( code behind or something ...) 2. XAML web browser applications doesnt need IIS? Then can we use it for server side programming? If yes how is it working? 3.How to use the asp.net objects from xaml (web) page. Or is there any other method which is specific to xaml for this functionality Tag: Objectivity DB Tag: 135490
      • 10
        • XAML Please answer me 1. XAML web browser applications doesnt need IIS? Then can we use it for server side programming? If yes how is it working? 2.How to use the asp.net objects from xaml (web) page. Or is there any other method which is specific to xaml for this functionality Tag: Objectivity DB Tag: 135489
      • 11
        • Video Capture I want to create some training software. I would like something that captures the trainer's screen and broadcast it to other users. Is there anything that work in a Winforms (or better still Webforms) environment that provides this kind of functionality. Preferably an ActiveX control. I've googled it but can't find anything that seems straight forward. Tag: Objectivity DB Tag: 135487
      • 12
        • SQL Insert problems Hi Using the old style of inserting data in a table str="Insert Into MyTable (Description, Test) Values ( 'The Quick, Black Jump's, Over The Lazy Dog', 'Test' )"; The above would fail since there are commas and single quote in the data. I thought fill(ing) a Dataset and the using update would overcome the problem, but it also has the same error, how does one solve such issues. TIA Barry Tag: Objectivity DB Tag: 135483
      • 13
        • Provider factory for Mobile / Compact Framework Hello, I am about to write an app for Pocket PC 2003 / Windows CE / Mobile 5 (don't know which yet) from which I need to query both SQL Server Express 2005 and SQLCe. I would like to be able to use a provider factory to not have to duplicate code. ADO 2.0 has DbProviderFactory, but it is not available in the .NET Compact framework. I could write my own provider factory "the old way" using IDbConnection, etc., but I rather not reinvent that wheel. Can anyone point me to source for a good data access provider factory (C #, please) that works in .NET Compact framework? Thanks, Larry Tag: Objectivity DB Tag: 135482
      • 14
        • [SSL & Socket][Dot Net2 ] [Windows Server 2003] Bonjour, J'ai une application windows service en Dot Net 2 ( C# ) Cette application est une application serveur Elle utilise des sockets pour pouvoir communiquer avec des clients. L'application utilise SSL comme ceci : Lors du démarrage du serveur ........... // x509Cer = System.Security.Cryptography.X509Certificates.X509Certificate.CreateFromCertFile(certificatePath); x509Cer = new System.Security.Cryptography.X509Certificates.X509Certificate(certificatePath); Lors da la connection d'un client : ............ sslStream = new SslStream(LstViewer.GetStream(), true); sslStream.AuthenticateAsServer(x509Cer,false,System.Security.Authentication.SslProtocols.Default,false); Lors de l'execution de cette ligne j'ai l'erreur suivante : The server mode SSL must use a certificate with the associated private key. ; Boolean AcquireServerCredentials(Byte[] ByRef) ; J'ai généré le certificat de la facon suivante : 1. makecert -r -pe -n "CN=Wapper" -b 01/01/2007 -e 01/01/2036 -ss Wapper -sr localMachine -sv IVS.pvk IVS.cer 2. cert2spc IVS.cer IVS.spc 3. pvkimprt -pfx IVS.spc IVS.pvk Ensuite j'ai installé le fichier IVS.cer et .pfx sur le serveur ( double clic et install) Sur le client j'ai installé le fichier IVS.cer Mes questions : pourquoi j'obtiens cette erreur ? comment avoir un certificat avec la clé private associé Merci Tag: Objectivity DB Tag: 135476
      • 15
        • Creating a Custom Shared TraceListener Hi, I'm having a little bit of trouble. I'm trying to create a shared trace listened that requires some aditional parameters. When I add the following line to the <sharedListeners> ... <add name ="TraceName" type="MyCustomTraceListener" initializeData="My Initialization Data" MyCustomProperty="abc" /> I get a ConfigurationErrorsException telling me that the MyCustomProperty is not a valid configuration property. In MyCustomTraceListener the property is decorated as follow: <Configuration.ConfigurationProperty("MyCustomProperty", IsRequired:=False)> _ Public Property MyCustomProperty() As String ... End Property I don't know what I'm doing wrong. Can some one, please, shed some light? Regards, Paulo Santos http://pjondevelopment.50webs.com Tag: Objectivity DB Tag: 135475
      • 16
        • Copying .vob files to Hard drive I've got about 15 Sony miniDVD disks for my camcorder, and I'm just in the process of uploading all the video files to my hard drive to make a DVD. I've successfully done this with all except from 3. Two of the disks will open the files so I can see them, but won't copy them into my documents. The other just won't open the folder at all. I've put all 3 disks into my TV and they work fine. This is really annoying, and hope anyone can come up with a way to help me get these files onto my computer!! I'm using Vista by the way. Thanks Tag: Objectivity DB Tag: 135471
      • 17
        • What is the difference between Enumerable and Queryable? What is the difference between Enumerable and Queryable? http://www.alvas.net - Audio tools for C# and VB.Net developers Tag: Objectivity DB Tag: 135469
      • 18
        • add row to empty DataGridView without selecting it? Does anybody know how to do this? It seems like it should be easy but it is proving not to be. The MultiSelect property is set to True and SelectionMode is FullRowSelect on my DataGridView, in case it matters. Tag: Objectivity DB Tag: 135467
      • 19
        • .net 3.0 installation on Windows 2003 Hi, I have .Net 3.0 installed on a Windows 2003 machine. It seems like .Net 3.0 modules are not yet available to IIS. For example when I start a new web application which use System.Speech I am getting an error stating that System.Speech name space is not found. How do I make sure .Net 3.0 modules are availabel to my application. How do I get VS2005 recognize the .Net 3.0 modules? Thanks, Mo Tag: Objectivity DB Tag: 135466
      • 20
        • bmlbswbjfz Hello! Good Site! Thanks you! grpjlzgnzzw Tag: Objectivity DB Tag: 135465
      • 21
        • lfizxbluwl Hello! Good Site! Thanks you! bipwtsnepkrp Tag: Objectivity DB Tag: 135464
      • 22
        • attachments Every time I send an email with attachments, I get a message in chinese at the bottom, this has happened in the last few days, and so far I cant seem to get rid of it. I am using Vista Ultimate. Can anyone out there advise? Tag: Objectivity DB Tag: 135462
      • 23
        • ShowPrintPreviewDialog shows a tiny size window Hello, I use the WebBrowser component to show a print preview af my HTML document. Using the ShowPrintPreviewDialog() method, a very litte window that I can't resize. How can I resize this print preview ? Thanks Tag: Objectivity DB Tag: 135458
      • 24
        • Process dump for later debugging Hi everybody. We are currently discussing the possibilities in our company, how to optimize the customer support for lots of our business customers. Since our new software products are based aproximatly by 80% on the dotNet-Framework, this seems to be the starting point. I was thinking about dumping a process in some state (the state at which some hard trackable error occurs) and sending this dump file to our support team for debugging reasons, but coud not find any functions/methods in the documentation to accomplish this. So my question would be: Is there a way to dump a .net based process at some state, for later debugging? And if there is, where would be the starting point to read about it - and - is there a way to load this file into a debugger, not connected to the machine where the dump file was generated? I remember the good old days in C/C++, where this was possible but after some research around the web, I did not find any answers for archiving this in C#. Tag: Objectivity DB Tag: 135439
      • 25
        • Wpf/net 3.5 /VS2008 - Binding to Ado.net dataTable problem Hello, because there are no managed news group for window presentation foundation and one has told me I can use this, here my problem: Here a litte code with a sample program - simple program which binds to an ado.net table: <Window x:Class="Test03.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:my="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration" xmlns:form="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms" Title="Window1" Height="414" Width="519"> <Grid Name="grid" Background="LightGray" Height="355" Width="471"> <Grid.Resources> <ObjectDataProvider x:Key="dp" /> </Grid.Resources> <ListBox Margin="12,17,0,0" Name="lbx01" ItemsSource="{BindingSource={StaticResource dp}}" IsSynchronizedWithCurrentItem="True" DisplayMemberPath="Row[0]"HorizontalAlignment="Left" Width="143" Height="78" VerticalAlignment="Top" /> <TextBox Height="23" Margin="183,17,168,0" Name="tx01"VerticalAlignment="Top" Text="{Binding Source={StaticResource dp}, Path=Row[0],UpdateSourceTrigger=PropertyChanged}"/> <TextBox Height="23" Margin="183,48,168,0" Name="tx02"VerticalAlignment="Top" Text="{Binding Source={StaticResource dp}, Path=Row[1],UpdateSourceTrigger=PropertyChanged}"/> <Button Height="23" Margin="183,80,168,0" Name="btnAdd"VerticalAlignment="Top" Click="btnAdd_Click">Add</Button> <my:WindowsFormsHost Margin="12,152,98,82" Name="windowsFormsHost1" > <form:DataGridView x:Name="dataGridView"/> </my:WindowsFormsHost> </Grid></Window>using System;using System.Data;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Forms;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;namespace Test03{ /// <summary> /// Interaction logic for Window1.xaml /// </summary> public partial class Window1 : Window { DataSet ds; CollectionViewSource cvs; public Window1() { InitializeComponent(); ds = new DataSet(); DataTable table = new DataTable(); DataColumn dcName = new DataColumn("Name"); DataColumn dcFirstName = new DataColumn("FirstName"); table.Columns.Add(dcName); table.Columns.Add(dcFirstName); ds.Tables.Add(table); DataRow row = table.NewRow(); row[0] = "Smith"; row[1] = "John"; table.Rows.Add(row); row = table.NewRow(); row[0] = "Sinclaire"; row[1] = "Jill"; table.Rows.Add(row); DataView dv = new DataView(); dv.Table = table; cvs = new CollectionViewSource(); cvs.Source = dv; ObjectDataProvider dp =(ObjectDataProvider)grid.FindResource("dp"); dp.ObjectInstance = cvs.View; dataGridView.DataSource = dv; } private void btnAdd_Click(object sender, RoutedEventArgs e) { BindingListCollectionView bcv =(BindingListCollectionView)cvs.View; DataView dvx = (DataView)bcv.SourceCollection; DataRowView drv = dvx.AddNew(); drv[0] = "new name"; drv[1] = "new firstName"; } }}Run the program and at the bottom in the DataGridView add a new line forexampleas Name aaa as FirstName bbb now change to the line over the new line to addthe record.You get an FatalExceptionEngineError.Now restart the program.Click the Add Button, a record is added. Now click the Add Button again.Now you get again a FatalExceptionEngineError.So you can not add records in DataGridView (WindowsForms) and you cannot addrecordsdirectly with a button (WPF).Thank you for any help.Rolf Welskes Tag: Objectivity DB Tag: 135435

Top

  • The MSS Forum
  • The team • All times are CDT