"-" Every 5 Characters And Activation Codes?

Apr 9, 2011

On my program i am trying to make a activation form, so in order the program to activate the user has to enter a product code on the package but. I know how to code it and everything but I have the code put a "-" every 4 characters that the user types, but now i need it to add a "-" every 5 character that the user types. Here is the code:

[Code]...

View 4 Replies


ADVERTISEMENT

Forms :: Experts Modify UPDATE Codes According To INSERT Codes Style

Dec 25, 2009

Dear Experts modify UPDATE codes according to INSERT codes Style.

[Code].....

I need update codes as there are insert codes

View 1 Replies

FTP As Activation License?

Dec 12, 2010

Just looking at various ways to do so.I came accross an article which unfortunatly I can't find anymore. It explained it like this. (I'll try remember all of it)1) Put activation key in textbox12) Press button3) Checks with the FTP server if the title of a file (In the this case the license key) in the FTP server.4) If the file doesnt exist then a message box comes up incorrect license.4b) I the file does exist then my.settings.activate = 15) Next time its loaded up, the program checks if my.settings.activate = 15b) If not then an activation key must be put in and proccess starts again.

View 6 Replies

Click Once Activation Failed

Apr 16, 2012

i have installed my program on several computers and it works but for some reason on this one computer it doesn't work.i attached the error log. i can't figure out why it won't run. it installs ok.

View 6 Replies

Forms :: Activation Of A Databinding

Sep 27, 2011

Let's say we have a controltab with two tab. The first tab contains textboxs where entry values are entered On the second tab are textboxs that display the results. I have noticed that if I fill up the entry values and create the binding between each textbox and their property and then I destroy it (without clearing the textboxs), the textboxs of the second tab will not display any result. I have this exemple here BindingAddition.rar

[Code]...

View 7 Replies

Programmatically Register A DLL Without UAC Activation In .NET

Jan 11, 2011

An application I'm working with registersun-registers a group of dll's using regsvr32.

System.Diagnostics.Process.Start("regsvr32", "somedll.dll /s")

This worked fine on Pre Vista systems but this will not work on Vista7 due to UAC.
Is there an alternative method to register dll's programatically without needing elevation?

If it help's the dll only needs to be registered for the current user, could adding details to the registry directly solve this?

(The application runs several versions of a legacy application, these dll's are swapped out depending on the version being loaded)

View 1 Replies

C# - Generating Activation Key From Serial Number

Sep 22, 2011

I have devices with unique serial number (string incremetation) ex : AS1002 and AS1003. I need to figure out an algorithm to produce a unique activation key for each serial number. What would be the best approach for this ?

View 5 Replies

Failed To Initialize Activation Context

Jan 17, 2010

I have made some custom .dll's or components and then I downloaded custom webkit component and it didn't work perfectly(I mean that I always get some error code with this error: An error occurred creating the form. See Exception.InnerException for details.The error is: Failed to initialize activation context. When I try to debug the project). And if I have made a new project, and make a component with user control, and I haven't saved it yet, it will work fine, but until I save it then it will give me a designer error.

View 1 Replies

Runtime Stack And Activation Record?

Dec 10, 2011

Is there any detailed information if Visual Basic uses a run time stack as well as the format of the activation record the stack, return address, parameters, local variables, etc

View 23 Replies

VB Runtime Stack And Activation Record?

Mar 31, 2012

Is there any detailed information if Visual Basic uses a run time stack as well as the format of the activation record the stack, return address, parameters, local variables, etc...

View 1 Replies

VS 2010 - Using CPU Hardware ID As Activation Formula

Mar 24, 2011

I am going to publish my program soon. As for the product serial activation, I have combined the user machine's CPU ID and the MAC Address to make a formula. Here is the class code to find processor ID and MAC which I have found on net and used :

Friend Function GetProcessorId() As String
Dim strProcessorId As String = String.Empty
Dim query As New SelectQuery("Win32_processor")
Dim search As New ManagementObjectSearcher(query)
Dim info As ManagementObject
[Code] .....

There a few questions I want to ask to be sure about my program activation :
- These 2 function code, Are they safe to use ? Is there any possibility that one of them or both doesn't return anything ? ( because of user permissions,os type, etc...)
- Is it possible that somehow the user machine won't have MAC Address?
- Is Proccessor ID a Unique serial for each machine in the world?

View 9 Replies

Excel Auto Filter Functionality Activation

Dec 16, 2010

In Excel 2010 (but also in older versions you can find a nice functionality - auto filter. When you just put some data in a row and press CTRL+SHIFT+L you activate Auto Filter. Now you press the down arrow and you get what I need... A new window appears. This window include buttons ordered in something like a context menu a textbox and a checkedlistbox. The windows definitely is not a classic form, because when you operate with the controls on it, the original excel windows is still the active window. The window can also be drawn outside of the main excel windows.

View 5 Replies

Product Activation And Licensing...is It Worth The Effort?

Apr 30, 2012

I have created an Excel Ribbon Addin that has some custom features that will benefit a relatively small business niche. The target companies number less than 1,000.I don't want to limit any one company's usage of the Addin...meaning I want them to be able to install and use the Addin as often as they need to, for as long as they need to, on as many computers as they need to.

The thing I want to prevent is sharing of the Addin. There are family members in this industry, that own different companies in different parts of the country...there are close friends in this industry that each own different companies. I want each company to purchase the Addin instead of share it.I have created a License Agreement that they have to agree to before the Addin is installed. But, that is as far as I have gone with it at this point.So, this leads me to 2 questions:

1. Is it worth the investment and effort to create this type of limitation for such a small market?

2. If so, what is the best way to go about accomplishing this?

View 7 Replies

VS 2008 - Handling Online Activation For Application

Feb 20, 2010

This is how I handle online activation for my application the problem is that this is very poor security because i display my Username and Password. I was thinking of using Myslq but i also have to input the Username and the password into the application. What other ways do big companies like Kaspersky handle online activation.

My code
Try
My.Computer.Network.DownloadFile("FTP SITE" + textbox1.Text + ".txt", "C:" + textbox1.Text + ".txt", "USER", "PASS")
Dim auth As String = My.Computer.FileSystem.ReadAllText("C:" + textbox1.Text + ".txt")
If auth = Textbox2.Text Then
Kill("C:" + textbox1.Text + ".txt")
[Code] .....

View 9 Replies

VS 2008 Timer Activation Mouse Hotkey?

Apr 13, 2009

i was searching this earlier but couldnt find it:i want to set hotkey for my timer to activate only when my left mouse button is down, else timer is inactive

View 23 Replies

Save The Information From Each Activation Of The Code Inside The Loop?

Jun 11, 2011

How do I save the information from each activation of the code inside the loop. I decided to try this a different way. I also need to know how to create colums in a label?

For countInteger As Integer = 0 To 3
seatsSoldInteger = ticketDetail(countInteger).seatsSoldInteger
costDecimal = ticketDetail(countInteger).costDecimal
totalTicketSalesDecimal = ticketDetail(countInteger).totalCostDecimal

[code].....

View 1 Replies

VS 2010 Checkbox(txtbox Activation) And Textbox Calculations?

Feb 21, 2011

It's being some years since i actually wrote a program in VB, last time was VB 6.So it's being a long time, and things have changed a bit.And i am still very rusty, so i need to get back into it.I got a few problems which i cant remember very well.1st question.I got several text boxes, in these text boxes there will be prices of products.The very last text box is inactive, and is supposed to show the total of all of the above.I have to declare the text boxes to contain numeric values only, so there will be no mistake when doing the calculations.But i cant remember what it was, and what the best option is to add up all the values from the text boxes.

View 2 Replies

Regex - .NET: Manipulating TextBox Input: Dash Every 5 Characters And Removing Special Characters?

Dec 21, 2011

Essentially I am trying to replicate the Windows 7 (In-Windows) activation key TextBox form. The Form where it will auto capitalize letters, remove or deny all non alphanumeric characters except dashes every 5 characters that will be auto-input.I assume this can be done with a fairly complicated replacement Regular Expression but I cannot seem to create one to fit the needs.

This is an Example of what I have right now, but it creates an infinite loop as it removes all characters including dashes, than adds a dash, which changes the text and removes the dash again.

[Code]...

View 4 Replies

Remove All Special Characters(except - And /) From A String Including All Cr,lf,crlf, Other Illegal Characters?

Sep 13, 2010

i have been trying to remove special characters. i am not able to remove many crlf in middile of the string.

View 3 Replies

Inputting A String Of Keyboard Characters And Outputting The Characters In Reverse?

Aug 3, 2009

I need to create a console program that allows you to enter a string, of which is then outputted in reverse.

Sample:
Input: Diewas
Output: saweiD

Apparently I need to find out about strings and will also need to use a loop.

View 9 Replies

Error When Getting A Substring Of X Characters Out Of A Parent String Of Less Than X Characters?

Feb 23, 2011

Not sure if too many people know this, but the following line will cause an error:

GroupName.Substring(0, 3) = "jt_"

....if the length of GroupName is less than 3 characters. I always thought it would simply return whatever characters in GroupName, but no, it errors. I must be thinking of the old VB6 days.So, I now have to change the code to:

If (GroupName.Length > 2) Then
If (GroupName.Substring(0, 3) = "jt_") Then

Note that the two comparisons need to be on separate lines. If they are on the same line, such as:

If (GroupName.Length > 2) and (GroupName.Substring(0, 3) = "jt_") Then then the code will still fail as the length command is executed at the same time as the substring command- which will cause the error when the GroupName length is less than 3.Just thought that those of us not aware of this should be!

dp.SyntaxHighlighter.ClipboardSwf = '/dp.SyntaxHighlighter/Scripts/clipboard.swf'
dp.SyntaxHighlighter.HighlightAll('9844f9bfb55449e6a786fa62aaadfa20')
dp.SyntaxHighlighter.HighlightAll('f6d554fd98464bdba9159b319e51b381')
dp.SyntaxHighlighter.HighlightAll('93bf4ca63ad8447abdf084d8a9991e15')

View 8 Replies

Replacing Characters In Textbox (including Special Characters)

Aug 5, 2011

I have two textboxes. I type in one of them and the text gets copied in real time into another textbox. There is one catch. I need to replace specific character with something else.

If I enter a quote " in textbox1, it has to be replaced with " in textbox2.

I started with something like the below code, but obviously this does not work (tried different stuff - this is for demonstration only). In the example below 'a' represents " , and 'b' represents "

Private Sub TextBox1_KeyUp(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.KeyUp
TextBox2.Text = TextBox1.Text

[Code]....

View 2 Replies

Shape Of Really Large Characters Such As Numbers And Alphabetic Characters

May 9, 2011

With the shape of really large characters such as numbers and alphabetic characters + others, is there a way to get that shape as a REGION please?Imagine a really fat snake forming the letter S or two rectangles placed together to form a large letter L or a T like the shapes in TETRIS.

1) Does anyone know of anything in VB.Net that can translate such shapes into a System. Drawing.Region or know of a project elsewhere that achieves this please?

2) While I'm on the subject, how would you SCALE UP / DOWN a System.Drawing.Region please? How would you work out the Transform Matrix required please?

View 1 Replies

VB Mixing Characters When Change Position Of Two Characters In Word

Aug 27, 2011

I'm making an application that will change position of two characters in Word.

[Code]...

Program works good, it is mixing characters good, but it doesn't write text to the file. It will write text in console, but not in file. Note: Program is working only with words that are divisible by 2, but it's not a problem. Also, it does not return any error message.

View 1 Replies

VS 2010 Turn Only Selected Characters Into Password Characters

Feb 20, 2011

I'm making a custom control suited for handling passwords. I have created a control that inherits from a text box and I have implemented a lot of things so far. But what i want to do now is create a system so that when a user types It will display his last character typed for a X amount of time. Is there a way to turn only selected characters into password characters and still be able to get the password text from the Text property ?

View 4 Replies

C# - Activation Error Occured While Trying To Get Instance Of Type LogWriter, Key ""?

Oct 18, 2011

I have asp.net web site. I added reference of Microsoft.Practices.EnterpriseLibrary.Logging.dll to the site. in web.cofig file, I defined like below.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>

[code]....

When I run the code exception happening below place.

defaultWriter = EnterpriseLibraryContainer.Current.GetInstance<LogWriter>();
//errr: Activation error occured while trying to get instance of type LogWriter, key ""

View 1 Replies

VB 2005 Code To Program A Software To Ask For Activation Key To Run The Software?

Jul 30, 2009

I want to protect the Software by making it to ask for a Activation Key when the software is installed in a computer - I have seen commercial programs asking for Activation Key and for this I should send a Number shown after installing the software in the Computer.I want to know how to make this in a program. Can anyone give the Code and etc for MS Visual Basic 2005.

View 1 Replies

Add Characters Between Characters In A Line Of Text?

Aug 4, 2009

I know that the topic is kind of weird, but I will explain that here. I am reading text from a text box and inserting that into a listbox. I am wanting to read what the user inputs into the text box and add a character between each character they type. Here is what im wanting to do written out[code]...

View 4 Replies

No Special Characters | Minimum Characters

Aug 4, 2010

example. i have 2 textboxes and if there empty it says "Incorrect Information", but how do i make it that like when a person enters something into the textbox1 it can be 3 values minimum.. like it could be eather 2 letters 1 number or what ever just more than 3 values (no special characters), and on the password.. 6 values minimum (no special characters).

[Code]...

View 14 Replies

Asp.net - Character Support - Translate Higher ASCII Characters To Lower ASCII Characters?

Aug 7, 2009

So I have an ASP.Net (vb.net) application. It has a textbox and the user is pasting text from Microsoft Word into it. So things like the long dash (charcode 150) are coming through as input. Other examples would be the smart quotes or accented characters. In my app I'm encoding them in xml and passing that to the database as an xml parameter to a sql stored procedure. It gets inserted in the database just as the user entered it.

The problem is the app that reads this data doesn't like these characters. So I need to translate them into the lower ascii (7bit I think) character set. How do I do that? How do I determine what encoding they are in so I can do something like the following. And would just requesting the ASCII equivalent translate them intelligently or do I have to write some code for that?

Also maybe it might be easier to solve this problem in the web page to begin with. When you copy the selection of characters from Word it puts several formats in the clipboard. The straight text one is the one I want. Is there a way to have the html textbox get that text when the user pastes into it? Do I have to set the encoding of the web page somehow?

[Code]...

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved