[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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image Tag: 135531
Framework 2.0 SP1
Anyone know if/when SP1 of the framework will be released via Windows Update
and WSUS?
Mike Ober. Tag: SDK for vista fax and image Tag: 135525
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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image 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: SDK for vista fax and image Tag: 135458
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: SDK for vista fax and image Tag: 135439
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: SDK for vista fax and image Tag: 135435
file information in ftp site
hi,
I'm working on Script Task among the tools of SSIS Package.
I need to write codes to verify creation date of certain files in ftp site.
I tried to use the "System.Net.FtpWebRequest".
and then How about the information of the files in ftp sites??? Tag: SDK for vista fax and image Tag: 135432
official MS style guide?
hello,
i thought i remember seeing at one point a "recommended" style guide
written for C#. this .NET/csharp guide was written by microsoft and
covered things like case, formatting, naming conventions, etc.
has anyone seen something like this? i am googling & searching MSDN2,
but havent found it yet.
thanks!
sm Tag: SDK for vista fax and image Tag: 135431
.NET Framework 2.0 Configuration utility crash
I cant start the .NET 2.0 Configuration utility, it carshes before I even
get a chance to do anything.
I'm running Windows Vista x64.
When debugging the crash, I see that it crashes due to the following error:
---
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in
mscorlib.dll
Additional information: The file can not be found. (Exception HRESULT:
0x80070002)
---
So I checked if I have that file, and I do..
Can anyone help me?
I've tried to repair the .NET 2.0 framework installation, but it didnt help.
/Magnus Tag: SDK for vista fax and image Tag: 135428
New async socket behavior?
Hi all,
My company has recently migrated an application from .Net 1.1 to .Net
2.0. It uses the Socket class to perform some network
communications. When Calling the BeginConnect() method, I have
noticed that sometimes the specified AsyncCallback method will
actually get called from the same thread as the BeginConnect() call
was made from, prior to the the BeginConnect() call returning (i.e.
same thread, same call stack).
In .Net 1.1, the callback was always performed on a separate thread.
I've even gone back and run some tests to verify this. I guess I
would just like some confirmation. Did this behavior change between
version 1.1 and 2.0? Is this a bug in .Net 2.0? The documentation
for BeginConnect() explicitly states "the system will use a separate
thread to execute the specified callback method."
This caused an issue in our application that we were able to easily
correct, but I wanted to throw this out there in case anyone else is
experiencing a similar problem.
Thanks!
--Darren Tag: SDK for vista fax and image Tag: 135422
Logging method values
I want to log all of the values passed into each method to help
diagnosing problems that can't be reproduced in test (yet). Is there
an easy way to do this or do I have to write logging code specific to
each method? Tag: SDK for vista fax and image Tag: 135421
Hi
does anyone know if there is a SDK for .NET to allow intergration into
VISTAS fax and image?