Live One Care Restore
When I restore a backup from some earlier time, do I lose work that has been
saved since the backup?
--
bazzandjo Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228608
www.dotnetvideos.net releases 10 New video Tutorials
Hi all, www.dotnetvideos.net released 10 new videos on the following
category. every registered user of this site still gets a FREE
subscription to asp.netPRO magazine. chek it out!!
An Overview of Editing and Deleting Data in the DataList (7 Videos)
at http://www.dotnetvideos.net/OverviewofEditingDeletinginDList/tabid/127/Default.aspx
Performing Batch Updates (3 Videos) at
http://www.dotnetvideos.net/PerformingBatchUpdates/tabid/128/Default.aspx
---venkat Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228604
Property Set procedure with a structure array
Apologies in advance for what is a very simple question, but I just cannot
get my head around it. I have a public class Something with a public
structure T mapped to the local variable m_Test(). Whenever I try to set the
value of the property Test, I get the error "Expression is a value and
therefore cannot be the target of an assignment." Test code is below. Can
anyone tell me what I'm doing wrong?
Public Class Something
Public Structure T
Public a As Integer
Public b As Integer
End Structure
Private m_Test() As T
Private m_CurrentIndex As Integer
Public Property CurrentIndex() As Integer
Get
Return m_CurrentIndex
End Get
Set(ByVal Value As Integer)
m_CurrentIndex = Value
If Value > m_Test.GetLength(0) - 1 Then
ReDim Preserve m_Test(Value)
End If
End Set
End Property
Public Property Test() As T
Get
Return m_Test(m_CurrentIndex)
End Get
Set(ByVal Value As T)
m_Test(m_CurrentIndex).a = Value.a
m_Test(m_CurrentIndex).b = Value.b
End Set
End Property
End Class
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim s As Something
s.CurrentIndex = 1
s.Test.a = 2 '* Error!!!
End Sub
End Class Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228603
convert int to numeric (formatted) string
vs2005 c#
hi:
need to convert a simple int to a format nnnn. if I have int 1 I want the
result to be padded with 0s as 0001 on a string
I have int 1 and I want "0001"
any help. Thanks
so far these dont work
field.ToString("nnnn") or field.ToString("####") Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228600
Environment.GetFolderPath returns wrong path
I have an application that during installation access the My Documents path.
I am using Environment.GetFolderPath( Environment.SpecialFolder.MyDocuments)
+ restOfPath ) to get the path to the file in question. This works fine
most of the time. The only time it fails is when the My Documents is
recirected using group policy. In this case, the method continues to return
a local path instead of the correct network path.
Does anyone know a way around this issue? Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228599
.net windows service using alot of Paged pool
Hi
We have a windows service implemented in C# that will call some legacy VB6
COM objects. This is a memory intensive application that will create alot of
objects but looking at the memory and virtual memory footprint it will remain
under the 70meg level. On the other hand the Paged pool will keep going up
and up. What would be the cause of this? Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228598
Tool To Create Function Map Of C#.NET Project In Visual Studio 200
I've been assigned to an existing project to assist with some customization
requirements, but most of the documententation is in Japanese and very
lacking in useful pictures or diagrams.
What I'd like to do is create a function map which includes a list of which
assemblies/members contain a call to another assembly/member, or reference,
or method, or whatever-they-are-called.
That way, if I see something like SecurityManager.ChangeBilingalMode (sic),
I have some clue as to where that call originated.
Is there something included with VS2005 that does this, or maybe one of the
Office 2007 products? Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228593
How microsoft supose that we build website with SilverLight?
Microsoft say cross platforms...
your website visitors can wait for Moonlight..
you remember the Mono? who is use with VS2005/2008 to create App for
Mono?!
continue believe to microsoft.. Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228579
How Do I INsert Numbers Into a Raffle Ticket Template
I have downloaded a template to create raffle tickets and I want to avoid
having to manually type in the ticket numbers. Can I input the numbers into
an Excel spreadsheet and then merge with the Word document? Or can I
actually input a formula in Word to assign ticket numbers? Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228577
xmirage caused invalid page fault
everytime i open this certain program i get xmirage caused invalid page fault
in module 32 dll atd67 bff88396. can someone please help with this Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228575
DLLs and Embedded Resources
Hi,
I was designing an application which is intended to run in the background,
and I was wondering about how I should load my resources to reduce the memory
footprint. I was thinking of keeping all the embedded resources in a DLL, so
that they only get loaded when needed.
So my question is this: if your application references a library, does the
library get loaded into memory at startup, or only when its used? There
really isn't much point in keeping the resources seperate otherwise, since it
complicates the code slightly.
Thanks for your help. Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228569
Low Refresh Rate
I using a new laptop running Vista and have Nvidia GeForce 7600 graphics
card. I'm trying to connect my TV to this computer using Svideo. It has
worked in the past however I must have changed a setting somewhere? On my
second computer with Xp it all connects right!
So it's all connected but the display on the TV is just rolling lines as
though it is scrambled. On the monitor setting, the refresh rate is stuck on
25Hertz Interlaced.
Is there a way of forcing a higher refresh rate? or is there another
setting I need to change?
I have been seraching for months for an answer to this question. HELP PLEASE! Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228567
google adsense website for sale
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
<TITLE></TITLE>
</HEAD>
<BODY>
<P>Dear friends,</P>
<P>Earn from google adsense. A complete ready made google adsense website
package for sale @ Rs. 1000 only. </P>
<P><STRONG><FONT face=Verdana color=#400040 size=2>100 Content Rich Adsense
Web Sites containing more than 16000 web pages for Rs.
1000/only.</FONT></STRONG></P>
<P><STRONG><FONT face=Verdana color=#400040 size=2><A
href="http://www.googlead.xtreemhost.com/">click here </A>for sample website
</FONT></STRONG></P>
</BODY>
</HTML> Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228564
Typed datasets and table table adapters components not showing in
Typed datasets and table table adapters components not showing in
Toolbox
Hi,
I have a solution with several projects. One project contains datasets
with table adapters.
When I opened a usercontrol in design mode, it used to have all
datasets and tableadapters in toolbox, under a tab name with the name
of the datasets project
However, I had to upgrate to a new hdd, and did a clean Windows
install, with VS2005, etc
Now, when I open te solution and open a usercontrol in designer, I see
only the other user controls, but no datasets or table adapters as I
used to have before. Sometimes I see a tab with the name of the
datasets project, but on it there is a text telling "There are no
usable controls in this group"
What happend?
I mention, on old HDD I had instaled VS2003 and VS2005, on new one I
have only VS2005 and installed VS2008 express, but then I removed it
(as I thought maybe it caused the issue). I even uninstalled and
reinstalled VS 2005, with no luck.
Can anyone helo me with this?
Thank you Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228563
System.ServiceProcess
This class is not showing up in C# Visual Studio Express
Any ideas? Is this class antiquated? Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228559
Adding pictures to My Pictures from emails
I made a new folder in My Pictures and now I want to send pictures I got from
an email to that folder. I can not figure out how to do this.
Can anyone help me? I would greatly appreciate it. Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228558
Difference between VS 2005 and VS 2005 Express
What's the difference between Visual Studio 2005 and Visual Studio
2005 Express?
I want to start a project on multi-threading in .NET. Will using
Visual Studio 2005 Express be sufficient? Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228553
how to play MP3 files
Hi,
I need to play MP3 files from my .NET 2.0 SP1 C# WinForm app.
I tried referencing Microsoft.DirectX.AudioVideoPlayback; and creating Audio
class for playback. But I get the following error which is beyod my ability
to comprehend.
[
DLL
'C:\WINDOWS\assembly\GAC\Microsoft.DirectX\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.dll'
is attempting managed execution inside OS Loader lock. Do not attempt to run
managed code inside a DllMain or image initialization function since doing
so can cause the application to hang.
]
How do I do this. Please help.
- Andrew Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228552
.NET and Directory Services
Some time back I had to create a utility application for a customer. Their
preferred development tool was Delphi and I was able to retrieve a list of
all accessable domains (including current forest sub domains and extra forest
domains) like this:
var
dn: DirectoryEntry;
en: IEnumerator;
begin
FStatusDisplay.Panels[1].Text := 'Domain Acquisition In Progress...';
dn:= DirectoryEntry.Create('WinNT:');
en := dn.Children.GetEnumerator;
if en<>nil
then while en.MoveNext do
try
FDomainList.Add(
TDomainObjectClass.Create(DirectoryEntry(en.Current).Name.Trim,
FComputerDisplay));
FDomainCount := FDomainList.Count;
except
end;
en := nil;
dn.Free;
I have been trying to reproduce this using C# but have not been able to. The
best results are that I acquire ONLY the domain that I belong to. I would
like to get a list of ALL available domains including Forest sub-domains and
Extra-Forest domains. Can anybody help? Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228551
how to play MP3 files
This is a multi-part message in MIME format.
------=_NextPart_000_0015_01C88137.B20FBF60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
Sorry for crosspost.
I need to play MP3 files from my .NET 2.0 SP1 C# WinForm app.
I tried referencing Microsoft.DirectX.AudioVideoPlayback; and creating =
Audio class for playback. But I get the following error which is beyod =
my ability to comprehend.
[
DLL =
'C:\WINDOWS\assembly\GAC\Microsoft.DirectX\1.0.2902.0__31bf3856ad364e35\M=
icrosoft.DirectX.dll' is attempting managed execution inside OS Loader =
lock. Do not attempt to run managed code inside a DllMain or image =
initialization function since doing so can cause the application to =
hang.
]
How do I do this. Please help.
- Andrew
------=_NextPart_000_0015_01C88137.B20FBF60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16608" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Sorry for =
crosspost.</FONT></DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I need to play MP3 files from my .NET =
2.0 SP1 C#=20
WinForm app.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I tried referencing=20
Microsoft.DirectX.AudioVideoPlayback; and creating Audio class for =
playback. But=20
I get the following error which is beyod my ability to =
comprehend.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>[</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>DLL=20
'C:\WINDOWS\assembly\GAC\Microsoft.DirectX\1.0.2902.0__31bf3856ad364e35\M=
icrosoft.DirectX.dll'=20
is attempting managed execution inside OS Loader lock. Do not attempt to =
run=20
managed code inside a DllMain or image initialization function since =
doing so=20
can cause the application to hang.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>]</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>How do I do this. Please =
help.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>- Andrew</FONT></DIV></BODY></HTML>
------=_NextPart_000_0015_01C88137.B20FBF60-- Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228550
how to send a reference/addressof some procedure to a new thread?
So, I have a new thread creating something like:
dim myThread as new System.Threading.Thread(AddressOf myProcedure)
but, could I send an any kind of parameter instead of call to myProcedure???
I don't know did I made myself clear, but I would like to have something
like:
public sub StartThread(byref myProc as Object)
dim myThread as new System.Threading.Thread(AddressOf myProc)
mythread.Start
end sub Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228548
newsgroup question?
What Newsgroup Is Best for Posting Questions on Visual Web Developer?
I'm going nuts trying to use VWD !
Thanks!
Ross Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228544
Reporting Services Report Model
I am trying to build a query tool that works like the sql server 2005 report
builder connected to a report model. But instead of building a report, I want
the tool to design sql queries based on a report model.
I would like for the users to select items from the model, apply filters,
grouping... then execute the query returning the result set into a grid. The
tool will then use the result set returned to do other things such as loading
into sql db.
Anyone have any ideas on where to start?
I have been trying to use the microsoft.reportingservices.. dlls such as
microsoft.reportingservices.semantecquerydesign.dll.
Thank You
Eric Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228539
defragmenting my windows98 system
In attempting to defrag my system my computer does not display the %complete
or the colored matrix like it used to. I can hear the system operating but
all it get is a blank screen or when I post the 2" x 6" window showing the
building blocks being stacked the % complete never gets off zero. I haven't
defragmented my system for 8-10 months. What can be done here?
--
cbrownlakeside Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228537
Quick launch and start menu disappearing
I do not know what started this, but my quick launch and start menu disappear
after one second, and I can't click on anything.I tried system restore to
before this started, but it keeps failing and not working, this is VERY
annoying, I can't open any of my programs! I have to use the computer
shortcut on my desktop and search the hard drive for the .exe of my programs.
Cany anyone help me with this????
P.S. I am using Vista hp. Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228536
Framework installation
I'm not sure if this should go in FAQs or general.
I have a home network with a primary domain controller running Windows
2000 Server. It has .NET framework v 1.1 on it, and IIS 5 (probably
5.0).
I also have a workstation running XP Pro, Visual Studio 2005 with .NET
framework 2.0, and IIS 5.1 I have a web application I've developed
there, and I'm trying to install it on the server.
When I try to run it on server, it immediately throws an exception
trying to read the web.config file, saying it doesn't recognize the
<connectionstring> element. So I figure, Okay, it's running framework
v1.1, that's probably a v2.0 thing.
So I download the Framework 2.0 Redistributable from the Microsoft
website, and install it on the server, including running the SP1
update.
But it doesn't seem to be installed. There's now a v2_0 folder in the
\Winnt\Microsoft.Net\Framework directory tree, but IIS is still runing
v1.1 (as evidenced by the Version information when it throws the
exception). Also, when I run administrative tools on the workstation,
there's a "Microsoft .NET Framework 2.0 configuration" MSC, as well as
one for v1.1 and v1.0. Running administrative tools on the server
still only has the v1.1 configuration tool, and a search of the whole
disk for .MSC files does not turn up a 2.0 configuration MSC.
So what do I need to do to make sure 2.0 is properly installed, and
specifically, to get IIS to use it?
Thanks for any help. Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228535
WCF service hosted in IIS
Hi All,
based on server2003,
What's the meaning of "BUILD">"Publish WEB SITE" in visual studio 2008 menu
when I create WCF service.
what's the difference between "BUILD WEB SITE" and "Publish WEB SITE"?
When I create the WCF service hosted in IIS, Do I need to publish?
Is it all I need that just make virtual directory on ths iis, and open the
website in the vs2008, coding and saving?
Please, advice me.
Thanks,
soworl Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228534
Diagnostic "pins" with .NET?
Hi all,
Just a quick question as I'm not entirely certain what phrase to google for
as all attempts so far have failed to illicit anything useful, and the best
anaology I can think of comes from hardware :-)
I'm curious as to whether there's some form of API in .NET that's the
software equivalent of diagnostic pins on a circuit board? Essentially I'm
want to have a bucket I can throw diagnostic message into in a
fire-and-forget method, and not care whether there's something looking at
the bucket (connected to the pin) or not. If nothing's listening, the
message gets forgotten about.
Ideally it needs to be lightweight with little latency -- the intention is
to use the 'pin' as a performance diagnostic, so in normal situations,
nothing would be connected. If there are problems, then we can attach to the
pin and read timestamp messages. An event queue would be no good: queue
would eventually fill-up and hang the code, unless there was extra logic in
the code to clean the queue up, which could start getting messy. Performance
counters won't really work either as that then requires a large chunk of
logic to keep track of individual entities in order to create an "average
latency" counter.
Essentially it's analogous to attaching an oscilloscope to a circuit board
and looking at the latency of stuff between two pins on a chip, etc.
I suppose shared memory might be one possible solution, but I understand
there's no CLR wrappers for shared memory (excluding third party
extensions). If anyone's got ideas or pointers, I'd be grateful to hear
them.
Cheers,
Chris Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228529
Namespace mapping tool
Hi there,
I'm currently making a wiki to help developpers in our team to find some
documentation about our framework.
However, I need a tool that will output our namespaces, classes, methods,
properties and so on in a easy to parse XML or formated text file that will
serve to generate the wiki "structure"
Are there tools around that output this in XML / formated text?
Thank you Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228528
MSI Packages and XML Configuaration Files
Hi,
I have a Solution File which has many projects which has many config files.
My current config files have my development environment details.
Each time we buld an MSI we change these settings to be the production
server details. More times these are set incorrectly as there are so many
settings in each file.
What I would like is to have a copy of the live config files in VSS or some
other location so that these are the config files taht are used when building
an MSI and not the ones in my projects that have the development environment
details. This way there are no changes required and hence no chance of a
developer inputting the wrong details.
Anyone know how I can do this or any other suggestions.
Thanks in Advance. Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228527
WCF + net.tcp binding + certificates = Communication object is in the
Hi All.
We are recently in my company working on a large system. It is suppose
to have 3 layers (presentation - ASP.NET, middle - WCF server, and
data - Oracle). As you can see, middle layer, WCF server, is suppose
to separate database from potentially untrusted ASP server.
To provide security to web server - WCF server (called AppServer)
connection and make it as fast, as possible, we decided to use net.tcp
protocol/binding for communication. As we know, this protocol is
encrypted as default. One can choose either Windows Authentication,
user/pass or certificates. User/Pass is good... but it has no use for
package level encryption (one should still provide some way to encrypt
package, usually by X509 certificate). Windows authentication can't be
used, as target company has no windows domain server. Certificates are
the only option.
After 2 days of struggle with certificates (multiple "how to" pages
and blogs, all showing different way how to do it, or how generate
certificate for development use, usually doesn't working or suitable
only for solutions where both server and client are on the same
machine) I figured out how to do it (thanks MitchDanny for this post:
http://notgartner.wordpress.com/2007/09/06/using-certificate-based-authentication-and-protection-with-windows-communication-foundation-wcf/
).
Well, it almost works. I switched certificate related errors to a
different ones.
Whole solution was working fine, without certificates, on one machine.
Now it acts weird (still on one machine). One test method works, the
other, much more important, throws infamous "The communication object,
System.ServiceModel.Security.SecuritySessionClientSettings`1+ClientSecurityDuplexSessionChannel[System.ServiceModel.Channels.IDuplexSessionChannel],
cannot be used for communication because it is in the Faulted state"
Certificates generated using command lines:
makecert.exe -pe -ss My -sr LocalMachine -a sha1 -sky exchange -n
CN=ServerSide
makecert.exe -pe -ss My -sr LocalMachine -a sha1 -sky exchange -n
CN=ClientSide
then exported and imported to "Trusted People" storage, under "Local
Machine" registry.
Service contract:
<ServiceContract()> _
Public Interface IDPSAppService
''' <summary>
''' Returns DataTable filled with simple select query from
database
''' </summary>
<OperationContract(Action:="GetData")> _
Function GetData() As DataTable
''' <summary>
''' Returns GetData() serialized to Xml as string, to test, if
DataTable object doesn't cause any problems
''' </summary>
<OperationContract(Action:="GetDataAsXml")> _
Function GetDataAsXml() As String
''' <summary>
''' Returns simply "Hello World!"
''' </summary>
<OperationContract(Action:="HelloWorld")> _
Function HelloWorld() As String
End Interface
Server configuration:
<!-- WCF configuration -->
<system.serviceModel>
<!-- Service -->
<services>
<service name="AppServerLogic.DPSAppService"
behaviorConfiguration="AppServerBehavior">
<endpoint address="net.tcp://localhost:7979/AppServer"
binding="netTcpBinding"
bindingConfiguration="AppSrvTCPBinding"
contract="DPSAppServerCommon.IDPSAppService">
</endpoint>
</service>
</services>
<!-- Binding config -->
<bindings>
<netTcpBinding>
<binding name="AppSrvTCPBinding">
<security mode="Message">
<message clientCredentialType="Certificate" />
</security>
</binding>
</netTcpBinding>
</bindings>
<!--Behavior (certificate) -->
<behaviors>
<serviceBehaviors>
<behavior name="AppServerBehavior">
<serviceCredentials>
<clientCertificate>
<authentication certificateValidationMode="PeerTrust"/>
</clientCertificate>
<serviceCertificate findValue="ServerSide"
x509FindType="FindBySubjectName"
storeLocation="LocalMachine" storeName="My"/>
</serviceCredentials>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
Client side code for invoking methods:
factory = New ChannelFactory(Of IDPSAppService)("AppServerConfig")
client = factory.CreateChannel()
Debug.WriteLine(client.HelloWorld())
Dim dt As DataTable = New DataTable()
dt.ReadXml(New System.IO.StringReader(client.GetDataAsXml()))
dt = client.GetData()
Client configuration:
<system.serviceModel>
<client>
<endpoint address="net.tcp://localhost:7979/AppServer"
behaviorConfiguration="AppServerClientBehavior"
binding="netTcpBinding"
bindingConfiguration="AppSrvTCPBinding"
contract="DPSAppServerCommon.IDPSAppService"
name="AppServerConfig">
<identity>
<dns value="ServerSide" />
</identity>
</endpoint>
</client>
<!--Binding config-->
<bindings>
<netTcpBinding>
<binding name="AppSrvTCPBinding" closeTimeout="00:10:00">
<security mode="Message">
<message clientCredentialType="Certificate" />
</security>
</binding>
</netTcpBinding>
</bindings>
<!--Endpoint behavior (certificates)-->
<behaviors>
<endpointBehaviors>
<behavior name="AppServerClientBehavior">
<clientCredentials>
<clientCertificate findValue="ClientSide"
x509FindType="FindBySubjectName"
storeLocation="LocalMachine"
storeName="My"/>
<serviceCertificate>
<authentication certificateValidationMode="PeerTrust"/>
</serviceCertificate>
</clientCredentials>
</behavior>
</endpointBehaviors>
</behaviors>
</system.serviceModel>
Now, what is strange ?
If I invoke client.HelloWorld() method, I get "Hello World!", as I was
suppose to. But whenever I invoke either client.GetData() or
client.GetDataAsXml(), it is invoked on server side (I get server
debug console message), but nothing is returned and exception is
thrown on client side.
Exception:
The communication object,
System.ServiceModel.Security.SecuritySessionClientSettings`1+ClientSecurityDuplexSessionChannel[System.ServiceModel.Channels.IDuplexSessionChannel],
cannot be used for communication because it is in the Faulted state
I guess, everyone who had anything to do with WCF knows this
exception. It covers any useful data, showing nothing (inner exception
is empty, of course).
I guess, it has to do something with security (general
SecuritySessionClientSettings class), but maybe I missed something
(like some special attributes in contract or some
ServiceContractAttribute or OperationContractAttribute parameters).
If anybody had such a situation and found a solution, please, share it
with me (and others seeking help).
--
WolfMoon Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228526
Out alignment on UI windows form using .net 1.1
Hi,
I've window form application using vb .net 1.1, deployed on 20 PCs was ok.
Found only 1 pc has problem on UI. Please have a look at
https://dynbms.sslpowered.com/dynbms.com/images/samples/problem1.JPG
https://dynbms.sslpowered.com/dynbms.com/images/samples/problem2.JPG
It looks textbox out of form. Does it because of VGA driver or any advice
please?
Thank you very much.
Adhie Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228523
Display pdf files 1st page in the imagebox in asp.net
Hi All,
1) I want to display pdf files 1 st page in image box in asp.net.
2) I want to rotate images in asp.net but they are from database .
If anyone has any idea plz let us know immdiately.
thanks,
Chetana Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228521
Architecture decision - should components communicate via the DB?
I have decided on a basic architechture to quickly refactor two
processing functions of my winforms application until we get the
chance to rewrite it. Basically it will consist of 2 applications:-
1. A service running on the server to take jobs from a queue table in
a SQL database, perform the job (could be 1 minute or up to an hour or
more) and write the results back to the database.
2. A .NET web application to submit the job requests into the queue
table. (Initially a combo box with a button marked "Process".)
One thing we hope to achieve with this is I would like to keep the
door open to have multiple servers all processing simultaneously
should that become necessary (as we hope it will!). Another thing is
decoupling of the components - eg the server crashes and it (or other
servers) will continue to process jobs on restart as they are queued
safely in the database, while clients can continue to submit jobs and
perform other work.
My question is, should I worry about giving feedback to the client
application and if so how? Two alternatives with minimal overheads
might be
1. Email the client to say "Your job has completed".
2. Write progress info to the database for the web app to pickup and
display back to the client
Given the jobs could run a long time and the user may just wish to
close the browser and move on, is it worth writing code (and
processing overhead) to inform him of progress with one of the one
minute type jobs?
Your thoughts on this question or the architecture decisions in
general would be much appreciated.
cheers,
Paul. Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228511
App.Config - Saving Configuration Error
Hello,
I have been searching the net, MSDN, google groups and can't seem to
find anything about what is happening to me.
I have developed a application using VB.Net 2.0 and deploy it using
ClickOnce over a private network. I use AppSettings.Get("") to
retrieve values form my app.config and I use
AppSettigns.Settigns("").value = value to set values.
This has been working fine for a long time (10 months). All of a
sudden I am now coming across errors when I try to save the
configuration. This is how I save it:
Dim config As Configuration =
ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None)
config.AppSettings.Settings("").Value = newValue
'9-12 more settings set
' Save app.Config file
config.Save(ConfigurationSaveMode.Full, True)
When I call this method I get a "An extension of name
'clientCredentials' already appears.. Extension names must be
unique... line 237"
At line 237 is information that is not in my normal app.Config file
when i develop. My Config file is less that 100 lines. It seems
the .net framework uses the app.Config for it's own settings also.
The 'clientCredentials' is found in a section below my "AppSettings"
in a tag
<system.serviceModel>
<extensions>
<behaviorExtensions>
<add name='clientCredentionsl.....>
I have no idea where this came form or why it would try to create a
send one or what but I have no idea what to do or proceed.
Any help would be appreciated,
Jordon Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228509
Vs.net 2003 on Vista...any issues?
Looks like we're getting Vista soon.
Alas, we're still maintaining a few apps in 1.1 using VS.2003. Are there any
issues? Does it run on Vista?
I found this which appers that MS doesn't SUPPORT it, but that's not really
an issue...as long as it runs.
http://msdn2.microsoft.com/en-us/vs2005/aa948854.aspx
-Darrel Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228498
Old Hp printer deskjet 722C pls help me install a printer driver
Hello I need help I have a 1998 hp and have installed windows xp I can't seem
to install a printer driver to make my computer communicate with my old hp
722c
printer..I've installed the ones from the internet and nothing seems to
work...do I need a HP cd or a different electrical cord..the printer works
fine I hope I can continue to use this printer can someone help me pls thanks
--
Del Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228493
PC slow in development environment
I have been developing on my Laptop (1.9Ghz 512MbRam) in VB.NET2005
for two years now and all of a sudden my performance has reduced
dramatically.
I have defragged the hard drive, but no performance increase.
Does anyone know if the registry or any other system files need
cleaning out, and if so please could they suggest any useful advice on
where to obtain this information.
Many thanks in advance
Terry Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228486
How is this done?
There are a few apps out that allow a user to mouseover a webpage and the
app highlights the portion (be it a DIV, cell, table, whatever) of the
webpage that the mouse is over by placing a colored box around it and allows
the user to select this portion.
One such app is an addon for Firefox called clipmarks. You can see a demo
at http://clipmarks.com/how-to-clip/.
How would I do the same thing in .Net, using the webcontrol? Do I need a
special webcontrol?
jim Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228480
Detect IE7 7.0.5730.11 vs IE7 7.0.6000.16609
Very weird page display going on.
//XP Pro IE 7.0.5730.11
Page displays as designed
//Vista IE 7.0.6000.16609
Page is FUBAR
BrowserCapabilities returns 0 for MinorVersion as expected. How would you
detect the third octet (6000) when using IE7 in Vista? I'd detect Vista
itself but that would lead to unreliability as its called WinNT (as I
recall) so I'll build yet another stylesheet if someone can give me a tip on
how to grab that octet. Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228478
how to halt on some errors
how could I set up mz vs 2005 to halt on some errors even if there is an
exception handler?
(in debug mode) Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228470
Windows updates
For some reason, I cannot install updates. My computer downloads the updates,
and it says they are ready to install, but when I click to install them, it
always lists the updates saying they failed to install. I've tried many
techniques to sort it out, none of them working.
Can anyone help here? Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228467
Microsoft lifecam vx-3000 windows logo testing failure
I recently purchused the "Microsoft lifecam vx-3000 webcam. When I install
the software I get a "not passed Windows logo testing ....." failure. I can
not complete the installation. I run Windows XP sp2. how can I resolve this
problem (for a new product with a MS logo) Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228462
How do you delete an exported template?
Using File, Export Template, I have made some templates in VS 2005 of some VB
windows apps, and now I want to delete them. Does anyone know how? Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228456
Fast way to determine if a string contains a member of a list of strings
I need to find the fastest way in terms of storage and searching to
determine if a given string contains one of a member of a list of strings.
So, think of it in terms of this: I have a string such as the following:
"Smith said the dog belongs (or did belong) to the secretary, an employee of
the company."
Then the list contains the following (and this list is MUCH larger in the
real situation):
Adams
Alan
Jones
Jacobs
Smith
Thaxton
Vela
Zulu
I would need to stop the processing and return (true) as soon as Smith was
found. On the other hand, if the string was changed to the following, there
would be no match and I would return (false):
"Smitherson said the dog belongs (or did belong) to the secretary, an
employee of the company."
In the given string, do know that the matches should begin at a given point
(zero position), but I need to keep processing until I have exhausted the
candidate string in the list - as shown above - to prevent a false match.
I have played around with some different data structures, such as prefix and
suffix trees, an these work in the case that you have a string that you are
trying to match in a list, not vice versa. The approach is required to be
very performant because it will be evaluated millions of times. I am also
okay with an unsafe code approach that works. I just need the evaluations to
terminate as soon as possible rather than looping through every single item
in the list. Even an IndexOf is too slow. Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228454
Web timesheet 100$ for unlimited users
Web timesheet 100$ for unlimited users
Source code is available in just US$250
by http://www.livetecs.com
TimeLive Web timesheet suite is integrated suite for time record, time
tracking and time billing software. The TimeLive suite of products
deliver a time tracking solution for professional service providers.
Each of our products has been designed to meet the time tracking
needs of specific segments of the service provider market, including
both time tracking and time and billing applications.
TimeLive on-demand timesheet solution helps organizations eliminate the
paperwork and manual processes associated with time collection.
TimeLive is available in two different flavors. Hosted version and
downloadable version. Downloadable version required certain system
requirement to install on local server. Whereas hosted version is already
installed on our fully managed server on state of art datacenter.
Free Lite version is available in both hosted and installable version.
Here are some key features of "TimeLive":
Online TimeSheet
-------------------
- Track your contractor and employee's timesheet using full featured and
easy to use Time Entry tool. You can then use detailed and summarized
view
of all time records using different tools.
- Time Entry Day View for entering full day timesheet in just one server
hit.
- Time Entry Week View for entering full week timesheet in just one server
hit.
- Organization setup like Departments, Locations, Roles
- Different type of Off day monitoring like Sick Days, Vacations etc.
- Client Setup with multiple client contacts and departments.
- Project Setup
- Task setup with multiple assignees for single task.
- Audit Trail
- EMail notification of different timesheet related activities to users.
- Different billing type setup like Hourly / Task based / Call based
- Timesheet approval
- Customizable Timesheet Approval Paths
(None,Administrator,Project,TeamLead, External User (Client))
- Reports with all possible filter selection to get your required output.
- Detail Timesheet Report
- Different timesheet summary reports for based on Client, Project,
Employee, Date
- Timesheet Approval status report
- Reminders to employee for their pending entries.
- Role wise billing rates.
Billing
-------
- Different billing rate pick option like employee own billing rate, role
based billing rate, project specific billling rate.
- Billing rate history
- Billable / non billable hour tracking
- Different billing related reports
Expenses Tracking
------------------
- Manage and monitor your project expenses with easy to use integrated
TimeLive Expense management tools.
- Expense entry view for employee to enter their expenses occurred on
project.
- Billable / Unbillable expenses.
- Detail Reports for monitoring expenses
- Different summarize report by Project / Employee / Expenses.
- Customizable Approval of Expenses with different approval options.
-- Team Lead
-- Project Manager
-- Administrator.
-- Client (External User)
- Expenses approval monitoring.
Project Monitoring
---------------------
- Full featured tool to manage your projects and their task with single
integrated tool.
- Nested Task with task hierarchy.
- Tracking of project status
- Assigning of projects to multiple employee
- Tracking of project tasks
- Different dashboard view for Project Manager, Team Lead and Team Member.
- Different report to track and monitor overall project status.
Attendance
------------
- Web based Attendance system to record and monitor all employee attendance
using simple / fully featured tool.
- Time In
- Time Out
- Off Day reporting for different purpose like Sick leave, vacation etc
- Working Day setup
- Daily Attendance report
- Summary reports for employee off days to track employee Sick
leave,vacation etc.
- Detail report employee off days.
Other Features
----------------
- Exportable reports in Word, PDF and XLS file.
- Downloadable / Hosted version
- Free full featured basic version upto 5 users
- Unlimited disk space for all plans
- International date formats supported.
- Role based security.
- Multiple currency support.
- Fully customizable UI with ability of changing company logo.
Developed in ASP.Net 2, Microsoft ASP.Net Ajax 1.0, SQL Server 2005 Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228453
VS2005 Setup Project File with Property 'Permanent' is uninstalled
Hi,
I'm working with VS2005 and I have a setup project that installs a Windows
forms application. I have a config file ( it's the app.config file -
MyApp.exe.config) which I want to leave on the target system if the
application is uninstalled. In the Setup Project File System designer I set
the "permanent" property of this file to "True", which should leave the file
installed if the user uninstalls the application. However if I uninstall the
application using the setup.exe generated by the setup project it removes
this file.
Am I doing something wrong? Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228451
error code COOD1199
I receive certain emails with attachments that have ".wmv" and when I try
open the attachment the next screen says the file type is "video/x-ms-wmv",
when I try to download, I get the error code. I had a new video card, put
in,G-FORCE 6200, is there something wrong with installation? Or is something
else wrong? Thanks in advance.
--
GO PACKERS Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228450
Configuration file issue
How can I make my application to expect config file under â??C:\Documents and
Settings\All Users\Application Data\MyApplicationâ?? folder rather install
folder.
My app performs read/write operation on application configuration file that
gets installed under application folder (c:\program files\My Application). It
works alright on XP, but as soon as I run it on VISTA machine, I start
hitting virtualization & UAC issues.
How can make my app run under VISTA? Can I move the config file under
â??C:\Documents and Settings\All Users\Application Dataâ?? folder? If yes, how
can I make my app to expect config file under â??C:\Documents and Settings\All
Users\Application Dataâ?? rather app folder.
Thanks Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228449
Problem creating an BitmapSource from an HBitmap in threaded code
I am building a high-performance multi-threaded application.
I am making the following call in the code to convert a rasterized bitmap to
a bitmap source.
BitmapSource pageImageSource = Imaging.CreateBitmapSourceFromHBitmap(
bitmapHandle, IntPtr.Zero, Int32Rect.Empty,
BitmapSizeOptions.FromEmptyOptions());
Based on the documentation and lack of comments, I was assuming the method
was thread safe, however, I start getting exceptions after about 48 hours of
operation at full load in my development area.
The following exception is caught:
Exception occurred: System.ComponentModel.Win32Exception: The system cannot
find the file specified
at MS.Win32.UnsafeNativeMethods.RegisterClassEx(WNDCLASSEX_D wc_d)
at MS.Win32.HwndWrapper..ctor(Int32 classStyle, Int32 style, Int32
exStyle, Int32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr
parent, HwndWrapperHook[] hooks)
at System.Windows.Threading.Dispatcher..ctor()
at System.Windows.Freezable..ctor()
at System.Windows.Media.Imaging.BitmapSource..ctor(Boolean useVirtuals)
at System.Windows.Interop.InteropBitmap..ctor(IntPtr hbitmap, IntPtr
hpalette, Int32Rect sourceRect, BitmapSizeOptions sizeOptions,
WICBitmapAlphaChannelOption alphaOptions)
at
System.Windows.Interop.Imaging.CriticalCreateBitmapSourceFromHBitmap(IntPtr
bitmap, IntPtr palette, Int32Rect sourceRect, BitmapSizeOptions sizeOptions,
WICBitmapAlphaChannelOption alphaOptions)
at System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(IntPtr
bitmap, IntPtr palette, Int32Rect sourceRect, BitmapSizeOptions sizeOptions)
at
....
Is my initial assumption about the thread-safety of the method correct? I
would hate to put a mutex around the code but I can if need be.
Is there another way to cause this exception to go away?
Thanks for any assistance Tag: DOWNLOADED ITUNES BUT CANNOT RUN Tag: 228448
I DOWNLOADED ITUNES THE DOWN LOAD WAS SUCCESFUL BUT I HAVE ERROR MESSAGE
WHICH SAYS '' ITUNES ENCOUNTED PROBLEM AND CANNOT START.
POST THIS TO AN ITUNES NEWSGROUP. THIS IS FOR .NET PROGRAMMING
AND STOP SHOUTING!
"JOHN" <JOHN@discussions.microsoft.com> wrote in message
news:95270C16-09DC-444A-92EF-28AC98C49E7E@microsoft.com...
>I DOWNLOADED ITUNES THE DOWN LOAD WAS SUCCESFUL BUT I HAVE ERROR MESSAGE
> WHICH SAYS '' ITUNES ENCOUNTED PROBLEM AND CANNOT START.