|
|
Great info ... now it seems I can make it work ....
Thanks a lot for the input !
Leo
|
|
|
|
|
Are you all right my old friend? We haven't seen you in such a long time.
|
|
|
|
|
No worries, I'm fine, thanks. After long consideration I have decided not to spend time around here anymore. I don't like what CP has turned itself into; when publishing articles became nearly impossible, the bugs & sucks forum became the most active one, and CP staff didn't seem to care about it, I decided it was time to move on. When they seem to focus on membership counts, parallel sites, cosmetics, i.e. everything but quality and contributor's comfort, well that is their choice. The automatic downvote on every new message nailed it for me; it was yet another example of the don't-think-don't-test policy that had crept in. Maybe in the mean time things have changed for the better (I doubt it), I have no idea what the functionality or quality of the site currently is, I do know the new layout is making sure I won't return.
I have enjoyed the site and the community for many years; I learned a lot in the 5+ years I have been active here, and I am grateful for the guidance people like yourself have offered. I'll miss a number of nice guys (some of them long gone), and I will cherish the good memories, however this chapter has been closed.
So goodbye it is.
PS: While I much appreciate your enquiry, I unchecked e-mail notifications, as I don't want to enter a discussion on this subject. I had decided to leave quietly, and don't want to stir things up now.
|
|
|
|
|
Just in case you read this message, I wish you well for the future, and you should leave here knowing that you were appreciated, and that you did make a difference - and no one can ask for more than that. All the best for the future my friend, and if I'm ever back over in Belgium, the drinks are on me.
|
|
|
|
|
I Create Login From And MDI Form for a project
my requirement is view a mdi form after giving user name and password on user from,
but the problam is when i close the login form the mdi form also disposed how to overcome this problem
|
|
|
|
|
The reason this happens is because your Main method in Program.cs contains Application.Run(new LoginForm()); . This means that the Windows message loop is tied to your login form. The best thing to do is to show your login form as a modal dialogue, and if login is successful, you show your mdi form, like this:-
static void Main()
{
LoginForm login = new LoginForm();
if (login.ShowDialog() == DialogResult.OK)
{
Application.Run(new MdiForm());
}
else
{
Application.Exit();
}
}
Hope this helps
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
|
|
|
|
|
I have created a console app where it will finally create a text file. Everything run well when I run the program manually but not when I used scheduled task to run it.
Anyone know the reason?
|
|
|
|
|
You haven't described what goes wrong, so how can anybody guess what could be the cause?
Have you run the program in the debugger?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
When run with scheduled task, .exe run properly but it doesn't create text file as writen in codes.
It run well and a text file create when I run it manually.
|
|
|
|
|
Maybe it is a permissions issue. Is the scheduled task running as the same user as when run manually?
Have you attached a debugger to it when it's run as a scheduled task?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
You DO have an exception-handler that catches and logs unhandled exceptions?
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: You DO have an exception-handler
That's certainly funnier than the so-called jokes in the Soapbox.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Does the task scheduler display an error code next to the task when it runs? Also, check the Application event log around that time and see if there are any errors (although as Eddy mentioned, it's a very good idea to catch any exceptions and log them for later debugging - but the Event Viewer might display the exception as well).
The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen
|
|
|
|
|
Also make sure nothing else has the text file open when the scheduled task runs.
The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen
|
|
|
|
|
Hi all,
If I were an employer searching for resumes which contain skill sets that match my search criteria, how is that done from a programmer's perspective. Can we actually go inside of text documents in a database and search their contents? If not, I will have to add a Skills field to the database so that it can be searched. Any suggestions will be greatly appreciated, thanks in advance.
|
|
|
|
|
ASPnoob wrote: Can we actually go inside of text documents in a database and search their
contents?
Maybe. It depends on the datatype. For instance, if they are stored as VARCHAR(MAX) then you can use something as simple as LIKE .
You might get better answers in the database forum.
|
|
|
|
|
Hi PIEBALDconsult, thanks for responding. I will post this question in the Database forum as you've suggested.
|
|
|
|
|
Hi,
For a WinForm (C#) application, how can I have a search textbox similar to the facebook search textbox with a watermark text (type customker name)?
Thanks
|
|
|
|
|
You could check the properties of the textbox object to see what options are available. However your question is not very clear, please give more detail of what you are trying to achieve.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
See this[^] article.
/ravi
|
|
|
|
|
hello guys
i using C# and action script 3 .
and write code in action ascript 3
<pre lang="c#">function callingme(itemp:String):String
{
temp=int(itemp);
myDelay.start();
return "";
}
ExternalInterface.addCallback("callingme",callingme);
</pre>
and i called it in c# The following figure:
<pre lang="c#"> string com = "<invoke name=\"callingme\" returntype=\"xml\"><arguments><String>" + temp.ToString() + "</String></arguments></invoke>";
flash_argham.CallFunction(com);
</pre>
but I encountered with error The following figure :
Error HRESULT E_FAIL has been returned from a call to a COM component.
note: this code it work in action script 2 but not work in action acript 3.
pleas help me
hamed development
|
|
|
|
|
You may wish to start here[^]. I'm guessing that there were changes to the interface implemented between the two versions, so you'll probably have the make some changes in the way you make your calls. I don't know actionscript, but I know COMs, so hopefully this can help you along the way.
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
Hi all,
i`m a visual foxpro developer and started to learn develop windows applications in C#.
How i can create menu in XML and when user login to database (MSSQL), system will grant access to options based on user rights ?
My idea is to create form for sys admin create users and rights by ticking Y for each options in system.
Thanks,
Jeff.
|
|
|
|
|