|
What I have done is to create a EULA by copying another EULA that is close enough to what I want and then modify it.
In terms of the law, from what I understand, if your EULA is written in good logical English that should do.
It does not need to be written in legalese in order to sue the hell out of whoever re-distributes your software - ooh I'll just calm down for a minute.
I also create trial versions that stamp the registry with an encrypted date so that the software stops working when the date passes.
To activate the software the user needs to buy the activation key from me - which is basically whatever keys my pet gerbils walk over on my keyboard (my best randomization routine yet!).
My take on it is that if the user is brainy enough to crack the registry location and break the code - they can have the software.
Also another good idea - in the trial version have certain aspects disabled which can only be enabled with the registration key - this will get your users hungry for more.
If they decide to sell the registration key themselves then I guess you could sue them.
You always pass failure on the way to success.
|
|
|
|
|
The way to do this, is to create a machine level key which is used to build a response key. Like windows does. Then, you store an online database of those keys that have been used, so they cannot be used again.
So, the key is unique to a PC, and it ties in with a akey they have to enter. Then your central method works out what the key was, marks it as used, and returns the correct response.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I need to be able to print ID cards with magnetic stripes from a VB.NET application. Encoding the mag stripe is a simple matter of putting special code characters in the text to print. I can print text to the card printer from Notepad, ConText or any other text editor, and the printer knows to encode the stripe. This even works printing from a report in Access, but not from a Crystal report, and not from the .NET PrintDocument object. All these do is print the information to be encoded on the front of the card.
So anyway, I need to print simple text from a .NET app without using .NET printing objects or Crystal.
|
|
|
|
|
|
Thanks, but since the printer is not a POS device, this is not going to work.
If there was a print utility that could be called from VB.NET, that would suffice, if there is no way to send text directly to a printer driver in VB.NET.
|
|
|
|
|
So what?? I shows you how to print directly to the printer without going through all the GDI stuff to draw an image of the page.
Once you can get directly to the printer, you can send it all the commands you want that are native to that printer.
|
|
|
|
|
I am doing a bar chart using a date variable and a double variable. I am having trouble reading in the date. Do I have to read in the date using seperate variables for the date?
Regards
Zeldacat
|
|
|
|
|
Hey
Post up a small snippet of code so we can see what is going wrong and trying to help you. By small I dont mean the entire code base but a simplified version of what is happening.
You could even try using a small simplified function or here is a crazy idead - test and debug the function (I have heard people do that sometimes).
Dan
At university studying Software Engineering - if i say this line to girls i find they won't talk to me
Dan
|
|
|
|
|
I am doing an Example of creating barcharts in VB.
I am using two variables
Thedate as date = Today
Theweight as double
The weight is input on a daily basis via a textbox. The date is taken from the pc's calender. I have a sample to go by, which uses integers and doubles as variables. Everything i have tried so far gets errors because of the date.
Dim NumberGames As Integer
Dim DStreak(144) As Double
Private Sub frmPlot_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Streak As Integer
'Open file, load data in arrays
FileOpen(1, AppPath() + "mar95.csv", OpenMode.Input)
NumberGames = 0
Do Until EOF(1)
Input(1, NumberGames)
Input(1, Streak)
DStreak(NumberGames) = CDbl(Streak)
Loop
FileClose(1)
picPlot_Paint(Nothing, Nothing)
End Sub
The above code is what i am trying to follow.
i hope this helps
thanks
Regards
Zeldacat
|
|
|
|
|
So where are you REALLY reading the date from?? I'm quite sure it's not a bar chart...
We'd need to see the code that you're using to read this data.
|
|
|
|
|
I am doing an Example of creating barcharts in VB.
I am using two variables
Thedate as date = Today
Theweight as double
The weight is input on a daily basis via a textbox. The date is taken from the pc's calender. I have a sample to go by, which uses integers and doubles as variables. Everything i have tried so far gets errors because of the date.
Dim NumberGames As Integer
Dim DStreak(144) As Double
Private Sub frmPlot_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Streak As Integer
'Open file, load data in arrays
FileOpen(1, AppPath() + "mar95.csv", OpenMode.Input)
NumberGames = 0
Do Until EOF(1)
Input(1, NumberGames)
Input(1, Streak)
DStreak(NumberGames) = CDbl(Streak)
Loop
FileClose(1)
picPlot_Paint(Nothing, Nothing)
End Sub
The above code is what i am trying to follow.
i hope this helps
thanks
Regards
Zeldacat
|
|
|
|
|
And the error would be???? I don't anything in this code that has anything to do with a date.
|
|
|
|
|
sorry I know what you mean. the code i showed is what i am trying to use as an example. but i got myself totally lost. teaching yourself at 52 isn't easy. but i must
Regards
Zeldacat
|
|
|
|
|
Thanks to all for the help. I have now resolved my query.
Regards
Zeldacat
|
|
|
|
|
Em dang lam chuong trinh co caro tren VB.NET bac nao co ma nguon port len cho em voi(:(chu yeu la nguoi danh voi may ay kho qua a)
|
|
|
|
|
It would be better if u ask ur prob in English
Happy Programming
-----
Abhijit
|
|
|
|
|
Abhijit@CodeProject wrote: It would be better if u ask ur prob in English
Translation:
It would be better if you asked about your problem in english.
---
single minded; short sighted; long gone;
|
|
|
|
|
It would be better if you stopped using TXTSpeak in the forums. There's over a hundred keys on the keyboard in front of you. Use them.
|
|
|
|
|
you have to search in google i think
A.E.K
|
|
|
|
|
viết tiếng anh người ta mới hiểu được chứ !
đây là cộng đồng lập trình viên trên thế giới
chịu khó nhờ ai giỏi tiengs anh hoặc tiếng anh phọt phẹt thì viết ra mấy từ mà sao cho ng rta hiểu được cậu hỏi gì chứ
bây h tìm trên google thì chắc có nhiền lếm rồi
-------------
search on google.com.vn
thanks
in forum in vietnam,there are many topic about this
|
|
|
|
|
Hi,
I have and Issue where one of my imported fields is being formatted in the datagrid view,
The code to import the file is thus:
If OpenFileDialog1.ShowDialog(Me) = DialogResult.OK Then<br />
Dim fi As New FileInfo(OpenFileDialog1.FileName)<br />
Dim sConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties=Text;Data Source=" & fi.DirectoryName<br />
Dim objConn As New OleDbConnection(sConnectionString)<br />
objConn.Open()<br />
Dim objCmdSelect As New OleDbCommand("SELECT SupplierID, SupplierDebrand, RangeID, RangeDebrand, ItemID, ModelNumber, Description, cost, Usual, Sell, SKU FROM " & fi.Name, objConn)<br />
Dim objAdapter1 As New OleDbDataAdapter<br />
objAdapter1.SelectCommand = objCmdSelect<br />
Dim objDataset1 As New DataSet<br />
objAdapter1.Fill(objDataset1, "test")<br />
DataGridView1.DataSource = objDataset1.Tables(0).DefaultView<br />
objConn.Close()<br />
End If
But my problem is sometime I have a model number like "0802.123" but in the grid it is showing it as "802.123" So how do I stop it from formatting it as a number as opposed to text?
Thanks in advance
|
|
|
|
|
Hi,
You can set the custom format for that column.You can try using the following code snippet.
Me.DataGridView1.Columns(1).DefaultCellStyle.Format = "0##.00"
You will have to set the column index on the above code.
Regards,
Allen
Allen Smith
Software Engineer
ComponentOne LLC
www.componentone.com
|
|
|
|
|
Thanks for that feedback, but unfortunatly it does not work, as the data is not always numeric sometimes it is text like "CAT 10" is there a .format that will force a text value?
Regards
Simon
|
|
|
|
|
You have to use a schema.ini file to describe each column in the file you're importing. That column is being interpreted as a numeric column instead of a text string.
Read...[^] and Read[^]
|
|
|
|
|
Thank-you very much, works a treat
|
|
|
|