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


ADVERTISEMENT

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

Deleting Particular Record During Runtime

Jun 21, 2010

I'm using vb.net and I have connected a database to it. As per my interface I should add, delete, go back, go next and save my records. All the buttons work apart from delete. The problem is I do not know the codes for deleting a particular record during the run time, how to work with the codes and steps of deleting a particular record.

View 13 Replies

Inserting Record - Overflow Runtime Error With Data Reader

Jan 28, 2011

I am new to VB. I was trying to insert a record into access database with data reader. I was getting OVERFLOW error at runtime. My understanding is that overflow error occurs when we assign values that to variables that exceeds the maximum size of the data type.

Following is my code
Private Sub InsertRecord(ByVal CustomerID As Integer)
Dim RowArray() As String = Split(Me.lblRow.Text)
Dim intPrice As Integer
Dim decTotalPrice As Decimal
Dim mySQL As String
[Code] .....

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

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

Retrieve The Record And Display The Record In A Listbox Displaying The Time Field As The Text For That Record?

Apr 18, 2009

I hav a web service which pull records from a database and I am hosting these services in IIS which works fine but I am trying to retrieve the record and display the record in a listbox displaying the time field as the text for that record.I have created the following function

public sub get_data()
dim dt as new data.dataTable
dim service as ws webservice.webservice

[code]...

View 1 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

Quering Record - Check A Record In Database Before Inserting A New Record

Aug 9, 2010

I am trying to check a record in database before inerting a new record here is my code but problem is when i enter a names first alphabet it imediatly populate massage. i want to check it after entering whole name

Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
Try
Dim cnString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" &

[CODE]...

View 2 Replies

Force Users To Save Current Record (If Current Record Has Changed) Before Going To Next Record

May 17, 2010

How do I force users to save the current record (if current record has changed) and not let user go to the next record unless the save button is pressed?

View 5 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

C# - Stack Vs Heap In .NET

Oct 13, 2009

In your actual programming experience, how did this knowledge of STACK and HEAP actually rescue you in real life? Any story from the trenches? Or is this concept good for filling up programming books and good for theory?

View 6 Replies

Get A Stack Overflow?

Mar 10, 2010

What I want to know is that in VB.net is it possible to get a stack overflow, and if so how is it caused. What I mean is, what sort of written code would cause a stack to overflow.

View 2 Replies

How To Reverse A Stack

Apr 21, 2011

I need to write a VB.NET code to reverse the given characters using a stack.Input: 'S','T','A','C','K' So far I have input the letters, but I don't know how to get the console to reverse it. I'm a beginner to programming so please excuse my ignorance.

Module Module1
Sub Main()
Dim StackObject As New Stack

[code].....

View 4 Replies

.Net Stack Collection Efficiency?

Apr 15, 2009

I've started using .Net's stack collection. The basic features I guess are the "pop" and "push", where you add or take off the top element of the stack (if you are referencing other elements in the stack then another collection type is probably better).[URL]..it appears that the Stack collection (like other collections) is basically an array with some window dressing (so you actually can see other elements). As far as I can tell, "popping" and "pushing" is changing the first element of the array. Shouldn't instead the final element be the "top" of the stack and be the one that is changed? Otherwise the program has to reindex all the other elements in the array every time a pop or push is made. This seems very inefficient. But this is what Microsoft's description appears to be saying what is happening.

View 10 Replies

2005 How To Log The Stack Trace

Jun 22, 2009

My problem is that i need log the stack call. I know that i can put a breakpoint in code and choose the debug menu option "call stack", But that is not a solution for me, because i need all the methods called by the application, not only the last until the breakpoint.

View 3 Replies

Bind Textboxes To A Stack?

Apr 14, 2009

I just started programming in VB.NET 2008 with the Express edition and have been having a blast so far. I thought a fun program to try and make would be an infix to postfix program.

I have five text boxes off to the side of my program that shows what is on the stack as you iterate through the equation. I'm wondering if it's possible to make these textboxes set to display what is at a certain index of a stack.

For example, if I pushed a "(" onto the stack, I would like the top box of my textboxes to update and show a "(". When something else is pushed onto the stack, say a "/", I would like the "(" to be displayed in the second box down, and the "/" to be displayed in the top box now.

View 1 Replies

Call Stack Error?

May 11, 2010

I did alot of work then I suddenly get this error message

View 2 Replies

Can't Get Stack Trace From OjbectDisposedException

Jan 7, 2009

We have this funky little ObjectDisposedException happening now and again. But only on production machines, of course ... can't recreate the issue on my dev unit. So I trotted on out to the Microsoft site to see what members of this exception I could use to figure out what's going on. Microsoft says that one of the members is StackTrace. I double and triple checked that I'm looking at .Net 1.1 information as I'm pretty sure that's what I'm using (how can I check that?). Here's the page I found - [URL]

So I go back to my program to write something useful to the event log so I can figure out what's going on. And when I look at the members of the ObjectDisposedException available to me I only see the following: GetBaseException, GetType, InnerException, Message, ObjectName, ToString.

what happened to my StackTrace member? I sure could use it if I could figure out how to get to it.

View 6 Replies

Get Stack To Be Accessible From Operators

Oct 23, 2010

As a learning experience I decided to try and implement the Shunting Yard Algorithm(string calculator) using OOP. It was successful for as far as I took it, but it had one flaw. In order to get the stack to be accessible from the operators I had to declare it as shared, which meant that all versions of the calculator shared one stack. This very short piece of code illustrates what I came up with and the "flaw". [code] How can I maintain the functionality of anOP.add1 without declaring "something" as shared?

View 9 Replies







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