|
I have been building a program for some time now. And now I´m intrested in how to get paid for my application. I will put it out on the internet and make people be able to drive the program for a trial period. I wonder which different ways there is to get paid? I want that the customer automaticly recieve a activation code to the application after they have paid... Please give me some hints to solve this.
Best Regards
Sebastian
|
|
|
|
|
Communicating, more descriptively than your subject line here, with your potential clients would be a good start.
Dave
|
|
|
|
|
Well, 'hi' is not really a helpful subject line. Instead of attracting people who know about your issue, you attract people who are inclined to express frustration at your communication skills.
Most people worry too much about security. Your app is C#, it can be decompiled. Worry a bit, but don't inconvenience people who want to pay you, they will hate you for it.
It's really hard to help you without knowing what the app is. If you can't afford to buy advertising somewhere like CP, and if you can't direct market your app, you're going to enter a world of shareware sites where I would expect a limited return. Of course, advertising on CP only makes sense if it's a developer tool, but it needs to be advertised *somewhere*. Even if you just put together a website and buy google ads.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Christian Graus wrote: communication skills
Seems like people sure don't understand how important that can be.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
If you're giving out a trial version, you need an expiration date when the trial period is over. Also you need a way of detecting if they've set their computer's date back to use the program longer. So if people find your program useful, they'll have to pay to get a version that doesn't expire.
Another possiblity is shareware, where there's no expiration date, but people are encouraged to pay a small fee for things like more features, updates, support, etc...
|
|
|
|
|
Hi guys, I have a form that has a textbox and I am trying to run some function only when the form has been completely loaded. This funtion loop through the arraylist retreive and display the data one by one in the textbox. I dont see any AfterFormLoaded event . Can anyone of you please show me some examples.
thanks
|
|
|
|
|
Something like this? MSDN[^]
this.HandleCreated += new EventHandler(OnHandleCreated);
Regards,
Gareth.
(FKA gareth111)
|
|
|
|
|
Thanks for replying but what i really want to do in my form is display all the files that need to be copied from one place to next and then display each file status in the textbox once they are copied. But if run them in load event the texbox is not update until the entire form is loaded.
|
|
|
|
|
You want the Shown event
Dave
|
|
|
|
|
|
hi
am working on microsoft word document 2003,my project is "data hiding in structure of word document"
i want to hide data in any empty places in structure,
my problem is:
1- how i access to strucure of word? how can i work with it?
2- how can i loading the header of document file which i work with it ??
3- how can i loading the boady of document file???
please help me
|
|
|
|
|
In other words you would like someone to code it for you...
|
|
|
|
|
Set it to white on a white background?
Change the typeface to WingDings?
Put it in the document summary?
|
|
|
|
|
Yes, send codez now urgently. kthxbaai!
|
|
|
|
|
I only know how to do that in a Word macro, and I refuse to pollute the world with more VBA.
|
|
|
|
|
Does anyone know why the Clipboard will not work while it's nested within the iTunes event handler? I cannot figure this out for the life of me. Source noted code below.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using iTunesLib;
namespace WIKDSPK
{
public partial class Form1 : Form
{
private iTunesAppClass m_iTunes = new iTunesAppClass();
public Form1()
{
InitializeComponent();
try
{
m_iTunes.OnPlayerPlayEvent += new _IiTunesEvents_OnPlayerPlayEventEventHandler(m_iTunes_OnPlayerPlayEvent);
}
catch(COMException)
{
Application.Exit();
}
}
protected void m_iTunes_OnPlayerPlayEvent(object iTrack)
{
string iTArtist = ((IITTrack)iTrack).Artist;
string iTName = ((IITTrack)iTrack).Name;
string iTAlbum = ((IITTrack)iTrack).Album;
string m_iClipStr = "Now Playing [ Artist: " + iTArtist + " Name: " + iTName + " Album: " + iTAlbum + " ] www.wickedradio.org";
MessageBox.Show("THIS IS A TEST!"); //This works!
Clipboard.SetText("THIS IS A TEST!"); //This does nothing!
Clipboard.SetText(m_iClipStr); //This does nothing!
}
private void Form1_Load(object sender, EventArgs e)
{
Clipboard.SetText("THIS IS A TEST!"); //This works!
m_iTunes.Resume();
}
private void Form1_FormClosed(object sender, FormClosedEventArgs e)
{
m_iTunes.Quit();
}
}
}
### DEBUG INFORMATION ###
+ this {WIKDSPK.Form1} WIKDSPK.Form1
+ iTrack {System.__ComObject} object {System.__ComObject}
iTArtist "Andy C" string
iTName "Vault" string
iTAlbum "Nightlife [IMPORT]" string
m_iClipStr "Now Playing [ Artist: Andy C Name: Vault Album: Nightlife [IMPORT] ] www.wickedradio.org" string
modified on Tuesday, July 8, 2008 7:57 PM
|
|
|
|
|
This is not a framework bug. It is probably ITunes hijacking your clipboard. I have seen similar behaviour in Adobe Acrocrapread and VNC.
|
|
|
|
|
I know this is a simple question but I would like to know How and Why this works;
Lets say I have two forms : Form1 and Form2 where Form1 is the main form. I am creating a Form2 variable by clicking a button in Form1 as seen in the code piece below.
private void button1_Click(object sender, EventArgs e)
{
Form2 myForm2 = new Form2();
myForm2.Show();
}
Why am I able to see form2. Because myForm2 is a local variable and just after it is shown, the function button1_Click terminates. So I mustn't be able to see Form2.
NOTE-1 : If you try the same with MS VC++ you will not be able to see Form2 .
NOTE-2 : I know in .NET variables are not deleted when they are out out of scope. Garbage collector does it. Bu in an other function I tried GC.Collect(); which forces the garbage collector but Form2 still remains, it is not deleted.
Regards
|
|
|
|
|
Hi,
a variable is visible ("in scope") as long as you are within the first pair of brackets {}
that encloses its declaration, so myForm2 lives only inside your button1_Click method.
The Form it refers to is an object, calling Show() makes it visible AND keeps it alive,
even when button1_Click returns and hence variable myForm2 fades away. Once visible, the Form
does not need the variable, it has its own life. You would have to close the Form somehow
(by clicking a Close box, or by calling the Close() method) to end its useful life and make it
collectable.
|
|
|
|
|
Thats the point; "Once visible, the Form does not need the variable". I just can't understand why and how?, sorry
But thats not the case in MS VC++. Once you create a dialog class and if the object is out of scope, the form is also deleted. Right?
There are strange things going behind c#
|
|
|
|
|
zafersavas wrote: There are strange things going behind c#
Oh no, if anything is strange it is in the C++ world.
A visible Form remains alive without a reference; same is true for a file you create on disk,
it does not get deleted when your file variable vanishes.
BTW dialogs get shown using ShowDialog() which does not return until the Dialog gets closed.
|
|
|
|
|
That's because the Form class is just a wrapper in the .Net runtime environment to manage a Windows API window handle. Creating a form and calling its Show method creates a window handle, and the window handle will remain until it is released (which happens when the form's Dispose method is called, be it from code or by Garbage Collecgtion). All these .Net classes handling windows API (or COM interop, which is even worse) have been designed to make life easy as long as you don't think about it too much. Soon as you start thinking it looks illogical and only reveals its logic when you read up on the System.Runtime.InteropServices namespace.
Being an old C hand you'll know much better than I what happens to window handles and things when they're not released. All I know is that when I detect a memory leak I have to look into the interop hell unless I can find an easy way (within .Net) to clean things up. That's twe price we pay for using a comfortable top level language like C# instead of ATL and MFC.
|
|
|
|
|
The variable contains a reference to the Form instance, a copy of that reference gets passed on to the Window Manager (or whatever), at which point your app and the whatever both refer to the instance, even when your reference is destroyed the whatever maintains its reference.
|
|
|
|
|
When ever you create a form and show it, a reference to the form is added internaly. There is a property of Application Object named "OpenForms" which returns a read only FormsCollection containing all the forms opened by the application. Since a reference is held to the form object even though your local variable is collected by gc, the form does not get collected. You can access the form through that collection and call the close method on it to close the form. Then the form is removed from the OpenForms collection and will be collected by the gc.
HTH
|
|
|
|
|
Thanks. I understand now; You can reach to the form by Application.OpenForms[1] .
This makes sense
|
|
|
|