I'm searching for an example of an API hook for ExitWindowsEx.
I want to intercept the Shutdown/Restart of windows, do some stuff and go on with the ShutDown or Restart.
Ik know how to intercept the ShutDown with WM_QUERYENDSESSION but
that doesn't give me back which option the user has chosen: ShutDown or Restart.
I'v been searching the internet now for a few evenings with no results.
I'm using VB6 and VB2008. but any example would be appriciated.
I am not sure if this is allowed or not – if this post is against any Rules i apologize in advance and this post can be removed.
I am in the process of creating a open-source project to track the Psychological Mood of a person, this application will be used by people visiting psychologists.
People that are currently in therapy or want to keep track of mood changes. The program is based on CBT.
To provide to the end-user the tools for him to be able to monitor his mood.
To provide to the therapist additional information for the client through the automatic generation of graphs.
To reduce the international suicide rate.
To make this application available for everyone to use.
We are looking for some volunteers to help with Coding of the Project.
The Project has been seperated into three parts for easier management.
The Desktop Application is coded in VB.NET and using an ORM called nHibernate.
Project URL: http://moodtracker.codeplex.com
The Web-Based Application will be coded in C# and use MSSQL as the Database.
Project URL: http://webmoodtracker.codeplex.com/
The iPhone Application.
Project URL: http://iphonemoodtracker.codeplex.com/
We're aiming to develop a feature-rich Psychological Mood Tracker to help the end-users as much as we can.
If anyone is interested please feel to apply to the CodePlex Project Page.
Thats exactly how it works, if an applicable product upgrade is released during your license term you then yes you get a license for the new version as well. Once your license runs out (and if you don't renew) your existing licenses are still valid (I think theres a few exceptions to this though.)
Something you should know is that most stuff is licensed for "development and testing only", obviously that depends on how you read into that though
Still pretty 'green' behind the ears so just got excited as finally learning to program 'as New' objects.
So I am writting a little program for my sister in fact to randomize Tiles for here kitchen believe it or not. OK so not very exciting stuff but good practise.
Have initial startup form which chooses template eg 4x20 etc and the number of tiles to randomly choose from. Then form TilesAuto1 which prompts you to choose the Tile images. From TilesAuto1 it generates
Public Template As New Form
All works fine up to and including the new form generation and random tiles. I have added a 'random' buttom to re-randomise the tiles.
FINALLY, my question - how do i re-use the new objects i have created in the new form as it previously looped through the template format i.e. 4x20 and 3 tile images. I want to get rid of the currently generated New objects and re-create them. if i use 'dispose' the whole form goes.
If i am making any sense, id appreciate some assistance.
By either setting the properties of them to whatever is required or reassigning them to a different new object.
If I understand you correctly, then your form is creating objects which it uses to create the random layout based on the data entered into the start up form and you want to reuse the form (based on the same start up form data) by clearing it to its initial state?
If so, store the information from the start up form in private fields in the display form so they can be accessed at any point. Create a Reset method where you can do whatever it is you need to do with any controls etc to set them back to the initial state and call that whenever needed.
Source Safe is no longer supported by Microsoft (as far as I know) so why use it anyway (free or otherwise). Look at other source control alternatives, there's a lot of good, free, open source alternatives (SVN, Git, Mercurial, etc.).
I have a conflict while designing a tree, with each child has the option of getting deleted individually.
I have designed a tree view with say some 5 children to it, each having the option of getting deleted. At the same time for the whole tree view, I have the option of Saving the changes performed to the tree and Reset them to previous state.
I need a suggestion, is it wise to restore a deleted child, during the RESET of the tree view? I can foresee a design flaw in this.
I'm sorry, but you have picked the wrong forum to ask this question in - as it's about ASP, you should have chosen the ASP.NET forum.
Here are a couple of hints to help you make more productive use of the forums:
1. Pick the right forum to ask a question in. You are more likely to find subject matter experts if you pick the correct forum.
2. Try to make your question as complete as possible. One sentence is rarely enough to get a sensible answer, so try to add more information.
I don't want to seem unkind, but are you really sure you've picked the right forum for your question? When posting a question, you need to pick the appropriate forum rather than just clicking the one that's at the top of the list.