TCP/IP and ASTM protocol
I have one laboratoric device, which it is connected with computer by
TCP/IP.
I know taht this device is using ASTM protocol.
I need to connect to this deviceand send him some commands.
How to do this and maybe you can give me the example link.
Thanks Tag: Objectivity DB Tag: 135597
*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
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
.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
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
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
[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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
[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
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
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
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
.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
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
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
I have one application which use Objectivuty DB (I think version 7). I need
to connect to this database.
How to do this by .NET?
"vaidas gudas" <vaidas.gudas@rst.lt> wrote in message
news:OxbNAJyMIHA.4912@TK2MSFTNGP06.phx.gbl...
>I have one application which use Objectivuty DB (I think version 7). I need
>to connect to this database.
> How to do this by .NET?
>