|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
I am dealing with something related to .NET and C# and wonder about your comment. Hope you are clear in understanding my problem.
|
|
|
|
|
By cross posting you minimize your chances of getting relevant help, partly because you annoy other people, partly because you don't use the message boards in the best way.
If you feel that you have to draw attention to the question from different message boards, post the question in the most relevant board, and post links to the question in the other boards. That way you get the replies in a single thread, and people can see what other have replied so that they can cooperate in helping you.
---
b { font-weight: normal; }
|
|
|
|
|
Is there any "approved" method of controlling the order in which delegates are invoked when an event occurs, other adding them to the event in the "right order".
Phil Daniels
|
|
|
|
|
You could try delegating the delegate such that the there is exactly one delegate within the event and the other delegates are called by this ?
event calls B (single)
B calls others in the desired order. The other delegates could be internally maintained, perhaps as using a order::delegate value in a Dictionary
[?]
namaste,
Nitin
|
|
|
|
|
I've done something similar, which is to create another event that's fired first, the two hi-priority delegates subscribe to it, the rest subscribe to the other event which is fired (ie the On.... method is invoked) after the first is done. It'll do for now.
Thanks for your assist - rgds phild
|
|
|
|
|
Hi,
Im creating Setfile for my Windows application and i can able to install it after creation, i want to add uninstallation option also with this how can i do it.
Thanks in Advance...
|
|
|
|
|
You don't. It is already handled by Windows Installer, look at your Add/Remove programs.
only two letters away from being an asset
|
|
|
|
|
I have done my project in .net
When i run my defualt.aspx, sometime it will show runtime error at web config. But sometime it will not.
What will this issue cause by?
the description of my error is:
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
|
|
|
|
|
Try following in your web.config file and you should be able to see more descriptive error.
customErrors mode="Off"
|
|
|
|
|
Hello there
I had this fun idea about writing a program were you can set rights on other accounts(if you are admin etc), and also list what accounts exists on the computer. Everything I intend to do you can already do in windows xp but I want to do it anyway and do it in my program instead. One example would be to set account x so you cannot login afer 10pm.
Problem is, I know very little about what I suspect is needed to do that. I'm suspecting I will have to manipulate the windows shell in some way perhaps?
Anyway, if anyone has any suggestions were I could start looking for information or suggestions how to do this feel free to reply. I know mostly c# but have played around with c/c++ and I guess I could learn it again if needed.
|
|
|
|
|
|
the upper one is the JavaScript code and the lower one in HTML code that I am using in ASPX file for applying the onmouseover functionality on the login button.
Now I would like to use this button (login) as to navigate to some other page (main.aspx ) after clicking it.
Can somone please tell me the function that I should write in the codebehind page for doing as above................ (I am working in C#)
|
|
|
|
|
Use an imagebutton and handle the onclick event to redirect to a new page.
only two letters away from being an asset
|
|
|
|
|
Is it possible to compile and run my .NET code in .NET 1.1 and .NET2.0 both???
Actually while compiling my code in .NET 2.0, which has been developed in .NET 1.1 getting these errors
Error 1 Warning as Error: 'System.Web.UI.Page.RegisterClientScriptBlock(string, string)' is obsolete: 'Use ClientScript.RegisterClientScriptBlock(string key, string script) instead. http://go.microsoft.com/fwlink/?linkid=14202' D:\FileManagerLibrary\Controls\FileManagerTree.cs 147 4 FileManagerLibrary
Error 201 Warning as Error: 'System.Configuration.ConfigurationSettings.AppSettings' is obsolete: 'This method is obsolete, it has been replaced by ConfigurationManager.AppSettings' D:\FileManagerLibrary\Util.cs 173 22 FileManagerLibrary
Error 175 Warning as Error: 'System.Web.UI.Page.RegisterClientScriptBlock(string, string)' is obsolete: 'Use ClientScript.RegisterClientScriptBlock(string key, string script) instead. http://go.microsoft.com/fwlink/?linkid=14202' D:\FileManagerLibrary\Controls\FileManagerSearchView.cs 563 4 FileManagerLibrary
Anyone please help
Thanks in advance.
|
|
|
|
|
You can run an application written with 1.1 in a 2.0 environment. Your application will still run, these are just warning, however as indicated there are newer methods in 2.0.
only two letters away from being an asset
|
|
|
|
|
Hi,
I would have thought finding a decent WinForms text editor control was a no-brainer when I started my most recent project, but there seem to be no mid-range text editors (RTF or otherwise) on the market at prices I can afford or feel good about paying.
Perhaps my needs just fall into a gray zone in the market, but here's what I'd like to get without spending $600 or more:
1. Should support bullets and numbering (multi-indent)
2. Should support standard formatting (right/left/center justify; indent, outdent etc.)
3. Should support drag and drop
4. Should support standard text decoration (font, bold, italic, fore-color, back-color)
I've gone a fair way to just building one myself, but the subtleties of RTF are a constant drain on my time - particularly things like numbered bullets and multi-level (indented) bullets; I'd really rather just buy something and get on with it since the text editor is a small part of the overall project. It doesn't make sense to take on the responsibility of authoring and fully testing a component like this when it really only makes up a small percentage of my application's features.
Any helpful suggestions are welcome and appreciated. Thanks for your help.
P.S. Yes, I've looked at TX Edit, PinEdit WP and their contemporaries. They're really nice products, but pretty expensive and they tend to be a little too feature-rich for my needs. What I would really like would be something along the lines of FreeTextBox for WinForms.
The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’
|
|
|
|
|
Hello,
Is it possible for C# projects and C++ projects share the same library (that's written in either C++/C# also)? By this I mean that the library will contain exposed methods which are accessible by both the C# and C++ projects.
How do you do this?
Thanks,
~Rafferty
|
|
|
|
|
Yes. As a matter of fact, you can compile C++ and C# projects in the same solution.
Best,
Jun
|
|
|
|
|
C# can access C++ functiosn directly using p/invoke. To do the reverse, it's necessary to expose the C# code using a com object.
|
|
|
|
|
If everything is in .NET then just create a C# or C++/CLI class library and reference it from either a C# or C++/CLI project.
If you want unmanaged then what the others suggest is the way to go.
Kevin
|
|
|
|
|
Hi there,
I like to start n number of instances of a .net application from my .net windows serivce. I was wondering if there is a limit for n. Because I tried implementing it but I saw some a .net framework error while I am able to start any number instaces of the same application when I convert this service to a Windows Application. Any idea what's going on here?
Thanks,
|
|
|
|
|
I think you might run into some security problems trying to start a windows application from a service. Try setting the login credentials of your service.
|
|
|
|
|
Thanks for responding. Service is already running under an admin account's privileges, and I noticed that it starts few of the processes but stops starting anymore after 24 processes.
|
|
|
|
|
I started the jit on dev machine and found a clue that this exection is win32exception and raising in the Windows Application (Form Appliction) which is being started by this service. Here is the what I saw, but I am still not sure why this error comes after 24 processes are started without such error. Any comment?
Errors:
1.
An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.windows.forms.dll
Additional information: The parameter is incorrect
And
2.
An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.windows.forms.dll
Additional information: Error creating window handle.
|
|
|
|