|
I am using no touch deployment (NTD) to deploy my application.
In order to run my application through NTD, in the workstation i will run the caspol command (.NET 1.1)
Caspol -user -addgroup All_Code -url http://host:portno/* FullTrust -name <appname>
The application executable is uploaded to host machine and can be accssed through port no.
In the Internet Explorer with the trusted URL (CASPOL switch http://host:portno/appname.exe) my application gets downloaded,cached locally and runs successfully.
Untill the local system had .NET 1.1 framework only i didn't face any problems but after installing .NET2.0 framework when i try to run the application through IE i am getting an dialog with Run, Save and Cancel option whereas i will not get this dialog if the system has .NET1.1 only. Even if i select the option "Run" in the dialog the application is not running.
I thought this is because of .NET 2.0 secutiry policy so i ran CasPol.exe in the .NET Framework 2.0 with the same switches as used in .NET Framework 1.1 but still i am getting the same dialog and application is not running.
Did any one faced the same problem? if so
thanks,
MS-Sudhakar
|
|
|
|
|
Hello, I am building an application in C#... it has to with voice recognition. I have a variable whose value should increase as the volume of the speaker increases and decrease as the volume decrease.
My question is that: How do I implement this voice recognition? and how can I control this variable with the volume of the voice?
Thanks for ur response in anticipation.
Greetings,
Commickey
|
|
|
|
|
Examine the sound data in blocks, large enough to contain at least half a wave of the lowest frequencies that you anticipate. Keep the maximum altitude for the last blocks and get the average or maximum of those to calculate the volume, depending on what you want.
---
b { font-weight: normal; }
|
|
|
|
|
Is it a real-time or post processing application?
Best,
Jun
|
|
|
|
|
Hi
I have written code in vc++.But designed GUI in C#.
Can i integrate vc++ code in c#.and
please tell me the procedure
Parshant
|
|
|
|
|
Not directly. But you can call C++ code from C# with interoop. Search this site for p/Invoke.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
If you develop both managed C++ and C# on .Net platform, you only need to put them in separate assemblies (e.g., DLLs). Then, one assembly can refer to the other directly. They can compile in the same solution. No P/Invoke is necessary.
Best,
Jun
|
|
|
|
|
Hi...
Can someone tell me how to find a hosting company that will allow me to implement .Net Remoting?
My hosting company does not offer this service. And it will be at least 3 months untill i get my server; however, i would like to at least work with .net Remoting other than here locally..
Any suggestions?
Thanksssssssssssssssssssssssss
Erik
|
|
|
|
|
I must be missing something. How does a hosting company host .Net Remoting for you? Are you talking about web services?
Best,
Jun
|
|
|
|
|
It seems you have a misconception about remoting. Remoting is best used on internal networks while Web Services are best across networks.
only two letters away from being an asset
|
|
|
|
|
does the smartphone 2002 support .net cf 1.0 or can a .net cf 1.0 dll be deployed on smartphone 2002?
|
|
|
|
|
We were using VSA in our application with .NET 1.1 successfully.
When we convert our application to .NET2 and install it on to a 'clean' PC we find that when the VSA IDE is started it crashes because of a missing DLL or other file.
When we try to run the VSA IDE on a PC that has VS2005 installed on it then there is no problem.
Presumably we are missing some extra file/s that we need to install to get the .NET2 support?
|
|
|
|
|
I've attempted to search the discussion groups for this topic and may have missed it.
I need Office Extensions for Dot net 2003. Since Microsoft has removed them from its Web sites, does any one have a copy they can send to me or let me download. I particularly need Access 2003 runtime.
I know I should have downloaded them some time ago, but our project has just reached the stage where they are needed...
Please email me at cawolfe@verizon.net
Charles Wolfe
C. Wolfe Software Engineering
|
|
|
|
|
What kind of Event(s) is thrown, when a ToolStrip-Control is docked to a ToolStripContainer - Panel after a Drag and Drop Operation?
Need this to re-arange the ToolStrip-Items when the Docking-Status changes.
I had a look at this MSDN Walkthrough - especially Point 17. Sadly, this article does not discuss the Events to handle.
Thanks in advance,
Niels
|
|
|
|
|
Ok, found it out myself:
The ToolStrip.BeginDrag and ToolStrip.EndDrag - Events should help
|
|
|
|
|
I have this class this semester and have to do a research paper on setting up a company from the request for information to the training manual and user evaluation. I am sure most of you know what all this means. This is my last class before graduation and I just don't get this. I am 50 years old and took computers to help people with their computers in my area from my home or theirs. I have been sick and can't work full time anymore. Can anyone guide me to where I can find a sample research paper to help guide me. I am a visual person and just reading the chapters is not helping me I have to see it and I just don't know where to look. I have my own company to do, just need to see another one for the processes. It does not have to be over done she realizes this is our first. She is looking for quality more than quanity, but the more items we use the better. Thank you in advance for any help you can provide.
Have a great day!
Candy
|
|
|
|
|
I want to be able to join multiple tables in a datagrid, like a join in SQL. For example, I want to take the values in an employee and status table, join them into a view and use that view as the datasource in a datagridview.
Want:
EMP Name Status
------------------------
John Doe ACTIVE
Jane Doe INACTIVE
What I'm Getting:
EMP Name Status
------------------------
John Doe 1 (foreign key)
Jane Doe 2 (foreign key)
|
|
|
|
|
I want to create a "report" user control, which acts similar to a DataGridView. The "ReportView" class consists of a datasource, datamember and a collection of columns. The issue is that the columns need to reference the datamember of the "ReportView" object to be able to show a drop-down list of fields in the designer dialog box. How do I do this?
Public Class ReportViewColumn
<system.componentmodel.editor("system.windows.forms.design.datamemberfieldeditor, system.design",="" _
="" "system.drawing.design.uitypeeditor,="" system.drawing")=""> _
Public Property DataPropertyName() As String
Get
Return gstrDataField
End Get
Set(ByVal value As String)
gstrDataField = value
End Set
End Property
End Class
<designerattribute(gettype(reportviewdesigner))> _
Public Class ReportView
Inherits System.Windows.Forms.Control
<editor(gettype(buttoncollectioneditor), gettype(uitypeeditor))=""> _
<designerserializationvisibility(designerserializationvisibility.content)> _
Public Property Columns() As ReportViewColumnCollection
Get
Return gobjColumns
End Get
Set(ByVal value As ReportViewColumnCollection)
gobjColumns = value
End Set
End Property
<typeconverter("system.windows.forms.design.datasourceconverter, system.design")=""> _
<category("data")> _
<defaultvalue(ctype(nothing, object))=""> _
Public Property DataSource() As Object
Get
Return source
End Get
Set(ByVal value As Object)
source = value
If (TypeOf source Is DataSet) And DataMember > "" Then
'Call bind()
End If
End Set
End Property
<category("data"), bindable(false)=""> _
<editor("system.windows.forms.design.datamemberlisteditor, system.design",="" "system.drawing.design.uitypeeditor,="" system.drawing")=""> _
<refreshproperties(refreshproperties.all)> _
<defaultvalue("")> _
Public Property DataMember() As String
Get
Return data
End Get
Set(ByVal value As String)
data = value
If (TypeOf source Is DataSet) And DataMember > "" Then
'Call bind()
End If
End Set
End Property
#End Region
End Class
|
|
|
|
|
im curious and unsure (and wading through a fog of nondeterministic destruction)...
if one was to obtain a System.Runtime.InteropServices.GCHandle for each reference field of a class, and that class becomes eligible for finalization (implying that all its internal referenced objects also became eligible), would that class be finalized before any of its references (for sake of argument, the GCHandles were stored say, in an array in another reference type and both the array and its host object were also GCHandle'd in the array) ?
would it be safe to assume all reference fields are still accessible at finalization time, allowing a controlled cleanup ?
how might this be affected when the AppDomain unloads or CLR exits ?
would the System.Environment.HasShutdownStarted property be of any use/relevance ?
I worship his divine shadow. ^
|
|
|
|
|
The first question would be, why would you want to prevent the garbage collection from running?
mikewinny wrote: would that class be finalized before any of its references
I don't think so. The runtime doesn't guarantee when the objects will be collected and it doesn't provide any guarantees on the order the collection will occur.
mikewinny wrote: would it be safe to assume all reference fields are still accessible at finalization time
If you are writing your own finalizer, you shouldn't be accessing other finalizable fields. Again, since the runtime doesn't guarantee any ordering, I would say that it isn't safe to make that assumption.
The Environment.HasShutdownStarted property will tell you if your finalizer has started to run, but not much more than that. It is also only available in .NET 2.0 and later.
Check out the latest updates to my article Implementing IDisposable and the Dispose Pattern Properly[^]. Hopefully, it will answer these questions in a little more detail.
You may also find some additional answers here:
SafeHandle and Constrained Execution Regions[^]
|
|
|
|
|
Hello All,
Can I install Visual Studio 2005 any edition on Windows XP Home edition. Please help me in this.
Thank you all in advance,
Nagaraju.
Naga Raju Epuri
+91 9885758884
|
|
|
|
|
VS 2005 Standard Edition works fine on XP Home Edition. Not sure about other VS 2005 editions.
Best,
Jun
|
|
|
|
|
|
Using VS 2005 is there a standard way to save user settings (ie form sizes, locations)? If there is could someone point me in the right direction. I am having no luck with google.
Thanks in advance.
Mike Lasseter
|
|
|
|
|
Not sure about what you wanted. The property page from VS 2005 can help at design time. Saving the UI at run-time requires significant thinking and coding. But there should be more information on the web including this site for you to check.
Best,
Jun
|
|
|
|