|
I used internal keyword for class2 and it met my requirements. Thanks
|
|
|
|
|
If you use the reply feature at the bottom of a specific message it goes to the person who wrote it.
In this case, I replied to your message about internal, and the system sent you an email.
Your message replied to your original message, so no email was sent.
If you had replied to V's message he would have got one.
It's not important this time - but in future it's worth remembering as it can speed up responses. If you get a email, you can respond quickly. If you don't then it's next time you visit the page before you notice a reply.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
Before checking V's message, "internal" solution came to my mind and it was working. So, for others(people facing the same issue) sake, I posted reply to my message. By that time, I didn't check latest replies.
|
|
|
|
|
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
Don't worry I've seen your post .
But idd, if you want me to get the mail from your message, reply to my message instead of your own.
good that you solved the problem.
V.
|
|
|
|
|
|
I would like to create a wait form that displays a progress bar (marquee) be called in my program, for example:
myWaitForm.StartWait ();
......
do some work .....
.....
myWaiForm.StopWait ();
How can I do?
thanks
|
|
|
|
|
|
What you describe is normally called a Splashscreen.
If you search the articles on this site using that term you will find many examples such as A Pretty Good Splash Screen in C#[^]. I am not suggesting that is the best one, it is just the first from the list when I searched.
The other suggestion of using a backgroundworker could also be useful, in which case you might make your search term backgroundworker splashscreen.
Henry Minute
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
Cogito ergo thumb - Sucking my thumb helps me to think.
|
|
|
|
|
|
MemberDotNetting wrote: I also found on this blog template studio 2010 but how add it.
This[^] blog might help you to work that out. If not, then I found that by using vs2010 how to add a template as a search phrase in my favourite search engine. It gives over half a million hits, give it a try.
Henry Minute
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
Cogito ergo thumb - Sucking my thumb helps me to think.
|
|
|
|
|
Hi,
I would like to add a small box with ads (configurable by admin) on a Windows Application.
Has anyone tried one?
Thanks.
|
|
|
|
|
Telerik offers an adrotator for Windows Forms - see here[^].
This behaves similar to the image adrotator control that is used in ASP.Net to display various add images as a user is viewing a page.
Other than this, you can use a picture box and a timer to build your own simple adrotator custom control that you can plugin to your application.
|
|
|
|
|
My task is to convert an existing PHP application into a C# windows forms application. The PHP application displays report based on several criteria. This report is a mix of some text and some tables all stacked and centered in the form.
Please suggest how I can do this in a C# desktop application.
|
|
|
|
|
Bastard Programmer from Hell
|
|
|
|
|
Instead of a table, you will need to use a datagridview to show data in a tabular format.
Text can be displayed in a text box.
|
|
|
|
|
Hi Guys,
I have a suite of applications that create simple log files for errors, etc. One of the applications must run with Administrative privileges.
requestedExecutionLevel level="requireAdministrator"
When it creates the log file, it sets permissions so that the other apps can't write to it.
Is there a way to open or create a text file and specify that it should be available to all users to read/write?
Thanks...
|
|
|
|
|
If you are asking if multiple apps should write to one "log" file then that probably isn't a good idea.
If your log file exists to provide information to you, a developer, so you and not someone else, can figure out what happened when the application failed then each application should have its own log file.
|
|
|
|
|
As I said, this is a suite of applications that work together. That's why the log is shared. It allows end users to provide information to technical support about when and where whatever happened.
I'd like any user to be able to open it for read/write.
|
|
|
|
|
Steve Harp wrote: As I said, this is a suite of applications that work together. That's why the log is shared. It allows end users to provide information to technical support about when and where whatever happened.
Then I can only repeat what I said - it isn't a good idea to share the same file.
I base that on 20 years of using logs.
|
|
|
|
|
Hi Steve,
I'm afraid I'm missing something here. Yes, when an application creates a text file it can control the permissions of the file, just as the administrative-privelege application does. That application would need to create the log file with different priveleges allowing "world" read/write access.
If that's not possible, an administrative user could change the permissions of the file after it is created, but that an operational issue rather than a programming issue.
BDF
I often make very large prints from unexposed film, and every one of them turns out to be a picture of myself as I once dreamed I would be.
-- BillWoodruff
|
|
|
|
|
|
Excellent! That put me on the path.
Thanks very much....
|
|
|
|
|
Hi All
This has been drving me insane. I have a user control that I am adding and removing controls from and want to see what it looks like on the main form. When I goto the main form the updates are not there. The same thing happens when I run the solution. Taking the control off and putting it on again doesn't work. Shutting down visual studio 2008 and re-opening it causes me to loose all of my changes. I found this article here[^] but it didn't fix my problem. I even deleted all copies of the dll I could find, checked the auto populate setting and when I went to the Choose Items... dialog, there was a reference to the dll in there as before.
The form and user control are in the same DLL within the solution. Is there any way around it? Should I structure my project differently?
Thanks for your help in advance
The FoZ
|
|
|
|
|
A bit harsh, but this should do the trick;
- Right-click on the toolbox, and choose "Reset Toolbox".
- Right-click on the toolbox, and choose "Choose Items.."
- Select "browse" to navigate to the assembly containing the UserControl.
Bastard Programmer from Hell
|
|
|
|