|
Make sure that you have all of the necessary updates from Windows Update. This should give you all of the prerequirements that you need to install the framework.
If you still can't install it after this, post the exact error message you're receiving. That would be most helpful for us.
|
|
|
|
|
thank you vega, the exact error message is "prerequisite programs are missing, setup has detected that the following prerequisite programs are not installed: Microsoft Windows Installer 3.0". The problem is that windows installer 3.0 wont allow me to install it. What should I do, I have tried with my spare pc which is windows server 2000, it installed perfectly.
|
|
|
|
|
I uninstalled windows installer 3.1 then .net is able to install. Its so wierd, but i know it must be something wrong with my windows installer, maybe another small bug from microsoft.
|
|
|
|
|
More like a corrupted installation of 3.0.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
That's very strange. But I'm glad you were able to get it to work.
|
|
|
|
|
In the add-in itself I use reflection.
An other programmer can give me a DLL file with actions (functions) and with the class, namespace and the path of the DLL
I can use these functions in my add-in.
I tested everything in a windows application and it worked perfect.
After that I tried to use the same code in my Word add-in but I got a Security error.
Here is the code where I had the problem:
Assembly ass = Assembly.LoadFile(this.FilePath);<br />
if (ass == null) return;
System.Type T = ass.GetType(this.Namespace + "." + this.Class);<br />
<br />
object o = System.Activator.CreateInstance(T);<br />
T.InvokeMember(this.Method, System.Reflection.BindingFlags.InvokeMethod, null, o, new object[] { (object)dicArgs, (object)sConfig });
The program gave a securityerror on the InvokeMember method.
Probably I have to register the used dll somewhere in the .NET Framework 2.0.
Can anybody help me fix this?
Programming code is like magic, just use the right code (magic words) to make happen what you want..
|
|
|
|
|
Ideally, in a web app, you want to include Trace / Debug information for things that go wrong.
Is there a good way of doing this without the Trace / Debug tokens that don't seem to get supplied in a release build?
Or is it good practice to build with trace enabled?
-------------------------------
Carrier Bags - 21st Century Tumbleweed.
|
|
|
|
|
Hi,
I hope to be in the right forum with this question:
1/ I would like to create a webservice method, that returns the username of the user that executes its assembly. I hope to be clear here. Typically it would be the ASPNET user that is returned, but i want to get the exact user.
2/ I also would like to return the IIS folder in which the webservice files are installed. When i use "return Directory.GetCurrentDirectory();", then i get "c:\windows\system32". But i'd like to have "c:\inetpub\wwwroot\bin" or something like that.
Is this possible? And if so ... what do i have to do ?
don't waste your time, or time will waste you
|
|
|
|
|
woops, just found the answer to question 2/ :
return Server.MapPath("/");
I still have question n° 1/. I just can't get the user that executes the webservice. Please help.
thx !
don't waste your time, or time will waste you
|
|
|
|
|
Hi All,
I have created web service using C#, VS2005. I can browse the web service and check whether the web methods are working fine or not (on my develoment server); so far so good.
I want to deploy this web service on other host, so I created web setup project from VS2005 and created installables. I ran these installables on other host and they got added too (I checked it through IIS manager).
Now when I browse the web service I get the following error message.
"The page cannot be found.
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. "
Could someone let me know what exactly am I missing here.
I am new to both C# and web services, so any kind of help would be much appreciated.
Thanks in advance,
JD.
|
|
|
|
|
I am pretty sure you figured this one out on a different thread, try not to cross post in the future.
Ben
|
|
|
|
|
By default TrackBar is horisontal. Is there any way to make it vertical?
|
|
|
|
|
The TrackBar doesn't have that option. You'd have to either find a control that does this for you, or make your own.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Dave Kreskowiak wrote: The TrackBar doesn't have that option.
I just checked with .Net 2.0 and it does have the option to make a track bar horizontal or vertical. Just change the "Orientation" property from horizontal to Vertical.
Phil
|
|
|
|
|
Whoops! I was looking at the .NET 1.1 version.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Yeah, thanks, but it didn't help. The orientation of arrow is to right, and I want to left.
|
|
|
|
|
Change the TickStyle property from BottomRight to TopLeft.
Phil
|
|
|
|
|
Thanks a lot!
|
|
|
|
|
Your welcome. Just playing with the properties in the controls helps one to learn the controls and what they can do well.
Phil - I play with everything, scientists call it "Experimentation".
|
|
|
|
|
|
Use static library versions of C Runtime(libcmt.lib & libcmtd.lib) instead of these Dynamic libraries..
Cheers,
Suresh
|
|
|
|
|
|
Can anyone tell me what is serialisation?
Regards,
LEE
|
|
|
|
|
|
It is the process of taking an object and translating it to something like xml so that you can save it to a database or pass it to some other process. Then you can read in that serialized data and de-serialize it back into the original object.
Ben
|
|
|
|