|
Have you had a look at the System.Reflection.Emit namespace, and the MSDN articles on dynamic assemblies. Using this you should be able to make a dynamic function, and then call it.
|
|
|
|
|
Hello everyone, has anyone managede to get two-way event remoting to work over the internet ?? I can't seem to get it working, not even over VPN, any clues??
|
|
|
|
|
|
Ok, I read those and tried out to redo some of it on my own setup........
I'm trying to make a sort of push service, but it just don't work... I think I've come to the conclution that the problem remains with 2k3 server, then I run the 'server' in a 2k3 env and the 'client' on XP the client never gets any response from events fired from the 'server' but in reversed mode running the 'client' on the 2k3 server and the 'server' on my XP everything works like a charme.
|
|
|
|
|
It sounds like you may have the firewall up on Windows 2003 Server. Did you check for that?
Pete Soheil
DigiOz Multimedia
http://www.digioz.com
|
|
|
|
|
yep, there is no firewall/ics, we use Cisco PIXs for such things, if something it has to be something that is dug into the system somewhere where you wouldn't normally look or have access to, the thing is that the same problem comes up when I'm running over ther VPN and use the LAN address for the server
|
|
|
|
|
booink wrote: yep, there is no firewall/ics, we use Cisco PIXs for such things, if something it has to be something that is dug into the system somewhere where you wouldn't normally look or have access to, the thing is that the same problem comes up when I'm running over ther VPN and use the LAN address for the server
And are you certain that your harware firewall is NOT blocking the connection?
Pete Soheil
DigiOz Multimedia
http://www.digioz.com
|
|
|
|
|
it shouldn't when i'm doing it over the VPN, btw. if I just setup a TcpClient vs. TcpListener and do a simple ping-pong it works fine
|
|
|
|
|
Its hard to pin point the cause of your problem without seeing the actual code. If you want you can email me the client and server software and I will take a look at it.
Pete Soheil
DigiOz Multimedia
http://www.digioz.com
|
|
|
|
|
Hi all ,
How can I use farsi numbers in TextBox Left-To-Right Mode?
thanks
|
|
|
|
|
|
hi guys i am trying to make a software which can takes in data from the bar code scanner.
i have no experiance is this watsoever.
so i am here to seek advice weather there is a global standard class or anything which is for bar code scanner?
|
|
|
|
|
No, not even remotely. Any piece of custom hardware will come with an SDK. Most barcode scanners can be set to pass text through to the PC, so if you focus on a textbox and scan, you get the code passed into the textbox.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
What documentation generators do you use? I've been asked to research this so I thought I'd see what is popular. We need to document applications in both VS 2003 and 2005, both VB and C#. We do not currently have XML comments in the source code. In particular, my team lead is interested in documenting database actions, so whatever we choose, this would have to be a feature.
I've briefly looked at Doc-o-matic, Doxygen, Sandcastle, and NDoc. But, I'm just not familiar enough with what is available to even begin to compare these. I'm not familiar enough with .Net for that matter (I'm pretty much a newbie)! Is there anything else available? I think purchasing an application is acceptable, as long as it isn't too expensive. Which one has the most "bang-for-the-buck"? Which one is easiest to set up? Which ones can you recommend, and which ones should we stay away from?
Thanks!
PS. I asked this in the Visual Studio forum, but I have not gotten any responses, so I'll try again here.
Nancy K
|
|
|
|
|
Nancy K wrote: NDoc
NDoc doesn't support .NET 2.0 and last time I looked the project looked to be on hold indefinitely.
We use SandCastle - There are GUIs you can download for it also.
Our plans are to add it to our build server so that we constantly have up-to-date documentation.
Upcoming FREE developer events:
* Developer! Developer! Developer! 6
* Developer Day Scotland
My website
|
|
|
|
|
Yup we generate all our API docs using Sandcastle, take a look - http://dunnchurchill.com/support/documentation/diamondbinding/Default.aspx[^]
Quite happy how they turn out with very little effort. (Although there seems to be a few bugs in Sandcastle that kill your help-project file. Make sure you keep it in version control!)
-- modified at 20:01 Wednesday 21st November, 2007
And just checking that I find that a recent security update has broken opening CHM files from an untrusted internet zone. FFS! Looks like you have to save CHM files to your hard disk, go into properties and hit unblock before they work properly.
This isnt a Sandcastle issue though - it seems to be Microsoft pulling some kneejerk security and breaking things. KB902225 has more details...
|
|
|
|
|
I am trying to embed a new vector art into a button that is already painted with another vector art.I want this new vector art to take a particular position inside the already existing art that right now paints the button.
I am creating a control template that paints the button based on property triggers & wants to present the new vector art inside the painted art at a specific location through a Content Presenter.Here is how it goes:
<ControlTemplate x:Key="btnCustom" TargetType="{x:Type Button}">
<!-- VisualTree property of ControlTemplate. -->
<Canvas Name="canvas">
<Path Data="" /> *****Here is where I am stuck.I cant find a way to calculate the path where I want to put the content. *********
<ContentPresenter />
</Canvas>
<!-- Triggers property of ControlTemplate. -->
<ControlTemplate.Triggers>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsMouseOver" Value="True" />
<Condition Property="IsFocused" Value="True" />
</MultiTrigger.Conditions>
<Setter TargetName="canvas" Property="Border.Background" Value="{StaticResource overFocus}" />
</MultiTrigger>
</ControlTemplate.Triggers>
</ControlTemplate>
Any ideas??
Vidvict
|
|
|
|
|
Hi all,
I've a bit of a strange issue with interop interoperability
Let's say I have an interop, A which is built using KeyFile X and another interop B built using KeyFile Y. Interop A makes use of interop B but its source (i.e. A.DLL) does not expose the fact that it makes use of B.DLL in its public interface. As a consequence, there is no need to use the /reference flag in the tlbimp command when building the A interop.
Here's the problem: I am getting a FileNotFoundException when trying to do something via the A interop because it is trying to look for a B interop (which it needs) which has the same PublicKeyToken as it.
What recourse do I have around this problem?
cheers!
|
|
|
|
|
If I know the url to a file, is it possible to use FileInfo to get info about the file? instead of using http:// , would I use file:// ?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
|
hi
I'm alen and i'm studding IT,recently i have taken a project base on the WPf and i need someone who can tell me how i can do this project .
i need only someone to tell me what should i do and what languages should i use through this project . here is the project about :
The Windows Presentation Foundation (WPF) is a subset of the .Net Framework 3.0. Students are expected to create a Xmal Browser Application (XBap) Digital Media Library which can store and search for digital media , organise and playback digital media (graphics, audio, video, and 3D objects). Students are expected to make full use of the WPF to create an application which demonstrates a richer user experience as compared to current Internet based applications.
anyone can help me plz send me email at
alireza456@yahoo.com or alen_n2000@yahoo.com
i'll appreciate those who can help me
regards
alen
|
|
|
|
|
alireza456 wrote: i'll appreciate those who can help me
I bet you will. You do know that we don't do homework for you don't you? You need to use C# or VB.NET with XAML. Have a look around this site at articles from Sacha Barber and Josh Smith to get a headstart on them.
|
|
|
|
|
hi friends,
i have posted a thread previously on this topic and that error was "Access is Denied."
now i am able to solve that "Access is Denied" error and also i manage to run the indesign from asp.net but what happens that after some days it giving me error that "System.Runtime.InteropServices.COMException: Server Execution Failed."
i am using the same code as i posted in the previous thread and the statement where i am getting the error is same....
but the error is different i tried to solve this problem but can't find the solution.
if any of you know the solution please reply to this post.
thanks in advance.
bye.
|
|
|
|
|
Have you resolved this? Sounds like a permission issue.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|