|
Search MSDN on Bootstrapping + Net Framework. There is a bootstrapper component that handles the NET Framework install.
|
|
|
|
|
Thanx for replying...
I have seen that document...and accordingly I have installed "Microsoft VS.NET 2003 Bootstrapper Plug-in Setup". As I have mentioned, I have also added "Custom Action" and "Launch Condition" to my setup project. But "Launch Condition" only determines whether the condition specified is true or not and if its true then proceeds to install the application. Also "Custom Action" is executed after my application's installation...wherein I have specified to install .NET framework.
Now, I don't know how to take the custom action before doing nething else...
Can u please tell me, if according to current situation, if .NET framework is installed after my application's installation is completed, then will it work on target machine???
Looking forward to see your reply...
Regards,
Rohan
|
|
|
|
|
Rohan_bhat_31 wrote: Can u please tell me, if according to current situation, if .NET framework is installed after my application's installation is completed, then will it work on target machine???
Of course. The .NET framework always installs to the same place, and registers itself with the OS. Your app will run fine as soon as an appropriate .NET framework is present.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi
How can I share the .NET framework in a workgoroup for a single project
shyjupkandachira
|
|
|
|
|
What? I hope I'm interpreting your question correctly.
The .NET Framework must be installed on each PC that's going to run a .NET managed code application. You can't "share" a single copy and have all the .DLL's and stuff work from a remote volume.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-- modified at 7:34 Monday 17th October, 2005
|
|
|
|
|
or you can run Start/Run/regedit .. Software section/ Microsoft and copy the full .Net Framework section to a folder in .key format.. then u copy it on all computers and simply run it.. this will add all registry keys.. this is the final step though, i presumed you know where all the .dll's and other resource files are... you realise those have to be copied too, using THE SAME path 
|
|
|
|
|
In .NET 2003 after creating a Office Project and compile, the Word is opened and a fraction later is closed...
If I clos teh VS and enter the doc created by the project the Word is opened and this error apears:
"The current .NET security policy does not permit testWordProject to run from the folder .\testWordProject_bin\. Do not change the security policy in your computer. The .Net security policy is controlled by your administartor or the developer who wrote the custom macros. .......bla bla..."
How can I solve this?
I have OffciePro 2003 and Office comps from installed from the VS DVD...
PLS HELP
"Tow things are infinite,
the Universe and human stupidity,
and I am not so sure about the former!"
Albert Einstein
|
|
|
|
|
After reading some articles I convinced that C# (.NET 2003)is not good enough yet for heavy array operations. Therefore, I want to use VC++ for math functions and C# for GUI applications. How can I use them together?
Any comment will be appreciated.
Yours
Nuray
|
|
|
|
|
The best way to do it is to write your code in C++ and provide a managed wrapper using MC++.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
I use VS .NET 2003 (Framework Version1.1). I downloaded NET Framework Version 2.0 Redistributable Package Beta 1 (x86). I don't undertand how do I use new Framework. After the installation no shortcut is created.
Thank you in advance.
Nuray
|
|
|
|
|
You can't use VS .NET 2003 with .NET Framework 2.0 Beta. You'll have to make do with the command line tools or install one of these[^].
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Thank you. Microsoft website is not clear.
If I install Visual Studio 2005 Beta 2 I think I will have .NET Framework 2.0 Beta. Is that correct?
Yours
Nuray
|
|
|
|
|
|
Does any one know of a good place to get help on programming imaging applications for Pocket Pc’s running Windows CE 4.2 .NET or better?
Ronald Hahn, CNT - Computer Engineering Technologist
New Technologies Analyst
HahnTech Affiliated With Code Constructors
Edmonton, Alberta, Canada
Email: rhahn82@telus.net
|
|
|
|
|
I have couple of questions:
1. I was trying to install Microsoft Visual Studio .Net 2003 and the default installation path showing was - c:\Program Files\Microsoft Visual Studio .Net 2003\...and the path was disabled. How to change this path.
MSDN Library for Microsoft Visual Studio .Net 2003 has already been installed in that path. Is that the reason?
2. How to compile VC++ (with COM) project using Dot Net Compiler.
|
|
|
|
|
Soumyajitr wrote: MSDN Library for Microsoft Visual Studio .Net 2003 has already been installed in that path. Is that the reason?
Nope, this is not the reason, you must select the Visual Studio 2003 node from the left part of the application, this will enable it, many of single things that are under the node of vs may not be installed to the vs location.
"Praying." Is this only what I can do for him ?
|
|
|
|
|
I haven't found a good native VB.Net answer to this anywhere - probably someone else has had this issue and can help...
I (simply) want a tooltip to popup more than once without moving the mouse off of a control.
I have determined the Tooltip control is triggered by a MouseEnter event (not a MouseHover event as I first thought!) My test project - create a ToolTip, a Textbox and a blank CheckedListBox; set the Tooltip InitialDelay = 1; in the form load sub, set the Tooltip active and bound to the CheckedListBox; handle the CheckedListBox MouseHover event to enter the time of this event into the TextBox. Run this and the ToolTip will popup before the Hover text, and if I'm fast enough with the mouse, I can get the ToolTip to popup without the MouseHover event writing text.
I haven't had any joy with Me.ResetMouseEventArgs (Me being the form), and this is an unsupported call anyway.
I've thought of adding the C++ converted API call to TrackMouseEvents to reset the Tooltip hover timer, but want to pose the question first in case someone else has a better solution.
Thanks, Barnaby
|
|
|
|
|
HI,
Is it possible to refer the .NET 2.0 dll into .NET 1.1???
If yes then how???
Ashutosh
|
|
|
|
|
No you can't.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Let's say I have a class that contains a member class:
class A<br />
{<br />
public B myB;<br />
etc.<br />
}
Class B might be a member of many, many different classes.
From a method in class B I would like to be able to discover the class in which the instance of class B is executing maybe using a syntax like:
string classString = this.GetParentClass();
How can I accomplish that?
Thanks in advance.
Dave Berkowitz
Manager of Software Development
Tangent Systems
|
|
|
|
|
System.Type parentType = myB.GetType().ReflectedType
Rein
|
|
|
|
|
I have been writing a simple client/server application which functions just fine without encryption. However, I need to add encryption to be compliannt with regulations.
I am using RijndaelManaged objects for encryption. Both sender and reciever have the same hard-coded legal Keys and IV's.
Once I have a TCP socket established, I set my Network Stream using tcpClient.GetStream().
I use one of the stream reader/writer classes (all of them fail so far). For example, I will send a sting using a BinaryWriter bWrite. Then I will look to receive some string using BinaryReader bRead.
On the Send Side:
RijndaelManaged crypt = new RijndaelManaged();
//Insert code to set Key and IV
NetworkStream netStream = tcpClient.GetStream();
CryptoStream coutStream = new CryptoStream(netStream,crypt.CreateEncryptor(Key,IV),CryptoStreamMode.Write);
BinaryWriter bWrite = new BinaryWriter(coutStream);
bWrite("Some Cool String");
bWrite.Flush();
coutStream.FlushFinalBlock();
CryptoStream cinStream = new CryptoStream(netStream,crypt.CreateDecryptor(Key,IV),CryptoStreamMode.Read);
BinaryReader bRead = new BinaryReader(cinStream);
String receivedString = bRead.ReadString();
tcpClient.Close();
On the Recieve Side:
RijndaelManaged crypt = new RijndaelManaged();
//Insert code to set Key and IV
NetworkStream netStream = tcpClient.GetStream();
CryptoStream cinStream = new CryptoStream(netStream,crypt.CreateDecryptor(Key,IV),CryptoStreamMode.Read);
BinaryReader bRead = new BinaryReader(cinStream);
String receivedString = bRead.ReadString();
CryptoStream coutStream = new CryptoStream(netStream,crypt.CreateEncryptor(Key,IV),CryptoStreamMode.Write);
BinaryWriter bWrite = new BinaryWriter(coutStream);
bWrite("Some Cool String");
bWrite.Flush();
coutStream.FlushFinalBlock();
tcpClient.Close();
PROBLEM:
If I simply send from one program and recieve on the other -- everything works fine. It is when I actually send/receive from both that the program hangs.
Any thoughts?
|
|
|
|
|
Hi All,
I wondered if anyone could make sense of this undocumented object (System.Runtime.Remoting.Proxies.__TransparentProxy) being returned from the static method call to System.Appdomain.CreateDomain(...).
Normally (in my simple single-assembly testing application), System.Appdomain.CreateDomain(...) returns the documented System.Appdomain that is expected.
When I stitch the code into my multi-project solution, however, the call returns a __TransparentProxy object that raises exception further on in code when I call a member on it (of what is supposed to be the System.Appdomain object). The exception demands that all sorts of classes (and their members!) be marked as serializable. I'm not interested in doing that for various reasons.
Any help is greatly appreciated.
Rein
|
|
|
|
|
Is it possible that the code that creates the AppDomain itself is running in an AppDomain different from the code calling it? Usually, you'll get Transparent Proxies and serialization problems only when you cross AppDomain boundaries.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Hi Senthil,
Thanks for responding, I'm at my wits end and appreciate a helping hand.
Yes it is very possible that I may be calling AppDomain in another domain (somehow). My solution is a multiproject solution and the startup project is not the same project that is calling System.AppDomain.CreateDomain(...).
I have tried (for testing purposes) to call System.AppDomain.CreateDomain(...) from the startup project (in the constructor of the startup form - right at the beginning) just to see if that was the problem but it still returned a __TransparentProxy and I was, consequently, stymied.
I could be mistaken, but I understood that with all the references to various projects load the modules into the root AppDomain. I may be completely wrong on that.
I'm not sure what to do next and am grateful for any suggestions - even a shot in the dark might prompt to think laterally about this problem.
Thanks again Senthil
Rein
|
|
|
|