Generate A Specific Key Based On Certain Details About The System?

Apr 7, 2010

I have asked questions about this before but my program has came to cross roads where I require more flexibility in my security procedures.At the moment I generate a specific key based on certain details about the system, and I hash this data to file, which ensures it will only run on this system.

However it has now got to the point where I have a need for providing keys which will carry settings for the program within the key. So that if a customer wants an update its the matter of sending an updated key, which will allow certain areas of the program to be unlocked/locked.Obviously I can no longer use the hash, as it can't be decrypted. I am looking to use key encryption system, which will allow to encrypt data within a license key. But obviously it brings the problem of where to store Crypt & decrypt key within the program.

[Code]...

View 1 Replies


ADVERTISEMENT

Display Details In DataGrid Form Based On Another One

Mar 4, 2009

I have a form called FrmPracDetails, which has details of practices and each practice has a unique prac_no populated on the form in the text box called TxtPracNo. Now, I have another form called FrmPayHistory. This form has a datagrid called DgvPayHistory, which is loaded with all the payment history of all practices. It has also a field called prac_no and stores the unique prac_no.

What I want to do is, when a user is in FrmPracDetails, lets say prac_no 1115, then you open the FrmPayHistory. Only the payment history of that respective prac_no should be seen. Presently, it brings all the practices and their payment history. I have added a textbox (TextBox1) in the FrmPayHistory which links and displays the prac_no from FrmPracDetails with the following code:

Private Sub FrmPayHistory_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TblPayHistoryTableAdapter.Fill(Me.TblPayHistory._TblPayHistory)
Me.TxtPracno.Text = FrmPracDetails.TxtPracNo.Text
End Sub

View 1 Replies

Print Specific Details From The Texboxes?

Nov 7, 2010

im having a problem on printform1 tool in VB.NET, when i run it, it selects the whole form

PrintForm1.PrintAction = Printing.PrintAction.PrintToPreview
PrintForm1.Print()

i only want to print specific details from the texboxes, how can i do that?

View 2 Replies

Reading Only Selected Details Based On Header From A String Or File

Jul 3, 2011

I have a weird requirement to parse a file which is a comma separated string with repeating header..i have a file which i load into database and this gets populated as a single column string with header and details data:something like this (This is single COLUMN String in a table). SSIS is not able to handle this so i am trying to know..If it is possible using writhing VB.Net custom component.[code]Also, if i can pass the values of header (i.e. header3, header5, header7 and header10) as a variable would be ideal.

View 1 Replies

Java - Get Specific File Details Under Windows?

May 6, 2012

Which is the easiest way I could get the file details / properties under windows? I am not talking about common properties (such as file size, creation date), but the ones written by variuos software. In my particular case I need to get the detail called "Date taken" for a jpg image file.

I could use PHP,Java or VB.NET, whatever is easier.My final goal: I have a bunch of images I took with different versions of Android on my phone. They are all named with different naming convention, most of them just something like IMG_[consecutive_numbers].jpg. So I want to rename them all, but for that I need their original creation date, and since I have moved them from my pc to the phone and back so many times, I cannot trust the "creation date" property. I found that all of them have a property which was set by the camera called "Date taken", which is still intact and valid.

View 3 Replies

Data Bind Into GridView On Specific User Login Details

Feb 21, 2012

I was assigned a task so as to bind the user related data into a grid view on user login. I have got two web pages, one of which contains Login and authentication information. This goes fine. When user was redirected to second page, I need to provide a GridView control where user details should be automatically updated in grid view control in the back ground.I have three different fields which were saved in sql table. particular user details need to be retrieved from the sql table on user login and bind the data to grid view automatically.

View 1 Replies

Javascript - Open A New Window With Specific Record Details From A Select Row ID In A Datagrid

Dec 2, 2010

I have a gridview displaying all employees. Upon selecting an employee, I'd like to open a new page or window that would display all of the information for that employee with the option to edit/delete/update. Once this transaction is complete, return to previous page with gridview of all employees. ((language I'm usings is VB))

[code]...

View 1 Replies

How To Generate ID Based On Comboboxes Selection

Jun 18, 2012

i am creating a programme for my institute which helps in their administrative process. i am using visual studio(basic) 2010. which is connected with ms access database (abcdata.accdb) the database is having table called session with columns sessionID,sessioncode,sessionname.

* sessionID data = 1,2,3,4
* sessioncode data = 13,14,15,16
* sessionname data = 2013,2014,2015,2016

[Code].....

other then this u can see i want this because i am trying to create a database which must save the students data year wise, so that whenever we need to know a detail any students then we can find with query.

View 2 Replies

System.InvalidOperationException - No Error Details

Aug 25, 2011

A VB.NET app is working on XP, but not in Win 7. User executes the program and it immediate dies with "Stopped Working". A Report.wer file was created and there's no detailed reason other than "System.InvalidOperationException".

How do I get it to tell me more. I put a messagebox in the form load, but it didn't get that far.

View 1 Replies

Generate Digital Signature In My Asp.net Application Based On Some Value?

Jul 20, 2009

I wanted to generate digital signature in my asp.net application based on some value like date of birth. what is the way to do that ? i am using vb.net

View 1 Replies

How To Generate Unique ID Based On Combobox Selection

Apr 9, 2009

how to generate unique ID based on combobox selection?

View 5 Replies

RSA: Generate RSA Public And Private Keys Based On A Passphrase (.net)?

Mar 24, 2011

I'm working in .net environment (all versions) and using vb.net. I want to generate RSA public and private keys based on a passphrase. RSA algorithm only limited by using a class provided by the .net ie System.Security.Cryptography.RSACryptoServiceProvider Class. I know how to generate random RSA public/private keys and perform encryption/decryption.But that .net class don't let us creating RSA public/private keys based on a passphrase.

View 4 Replies

Asp.net - .Net Iniatialising A Class Using System.Reflection And System.Type To Create A Session Based Singlton Extension Method

Jun 11, 2009

I have had several occasions recently to access a specific class several times over a relatively small time frame.So I've been storing the value of the class in Session and trying to access it on page load, if it's not available creating a new instance and storing that in session.

So instead of constantly replicating the same code for different classes on different pages I'm trying to create an extension method to do this for me.

[Code]...

I'm stuck on what to do when I make my new instance of my class (it would have to have a New() sub)

I'm not sure where to go from here... or even if this is the best way to do it.

View 2 Replies

C# - Generate Logs Based On Date Using Logging Application Block For EL 5.0?

Oct 18, 2011

I am using logging application block for EL 5.0. I defined listener like below.

<add name="FlatFile TraceListener" type="Microsoft.Practices.EnterpriseLibrary.
Logging.TraceListeners.FlatFileTraceListener,
Microsoft.Practices.EnterpriseLibrary.Logging"

[Code].....

View 2 Replies

Generate Specific Amount Of Random Numbers?

Oct 3, 2009

Trying to create a form where user enters a lower bound, upper bound, and an amount of random numbers to generate (that are between the lower and upper)

I was able to get it to generate random numbers but only 1 per a click of the calculate button...I would like user to be able to click button and it to generate and display all the numbers on seperate numbers all at once[code]...

View 4 Replies

How To Generate Custom Report In Specific Format

Dec 14, 2011

I am working on a simple window application (VS2010,VB.NET). It's an HR management App - Employees records.I need simply insert/edit Employee Info, reports in Excel (with out crystal reports) & Show in Grid.So I am thinking of using Telerik RAD WinForms (2011) only because it looks cool. But I also know that Telerik could be a real pain when you need more flexibility.Although my application is quite basic still I want to determine whether I should go with Telerik or just use standard Windows Forms functionality? How can I generate custom report in specific format.Also It would be nice if some one point me to some sample application or VB.NET windows Tutorials?

View 1 Replies

How To Do Programming Master Details Details Details

Jul 26, 2009

I have 4 Tables Master And Three Tables Details

how to programming this Technique

This Picture dispaly what i mean http://img300.imageshack.us/img300/3981/26072009110315.png

View 2 Replies

Eplace Based On Specific Lines?

Nov 3, 2009

I have the following code that replaces an item in a richtextbox with a new one. Reg-replace works fine but only when the pattern matches only one value. When there are two similar values in the richtextbox it matches them both. How can I replace based on specific lines?

[Code]....

View 7 Replies

ASP.Net Generate And Save CSV Using System.Web.HttpResponse

Sep 2, 2011

I'm using the following code to generate a CSV file containing data from a dataset. The CSV generates fine and a prompt box displays so that the user can either open or save the csv file. What I'm wondering is whether it's possible to save the CSV file?

Edited with solution (NB I don't need the prompt box to open as I'll be writing additional code to generate and save a number of files and then display links to them). This saves the dataset as a CSV on our server.

Protected Sub exportBtn_click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim ds1 As DataSet
ds1 = csvdownload.ReturnNewPledges()

[Code]....

View 1 Replies

Get A Details View In ASP.NET To Display The Details Of The Logged-in User Only?

Dec 9, 2011

I'm trying to get a details view in ASP.NET to display the details of the logged-in user only. I have been told to use:

select * from STAFF where USERNAME = user.identity.name

I thought this was too simple to be true and I was correct as it shows no data when I attempt to run.

View 1 Replies

Use The Internal System Speaker To Generate Sound?

Jun 12, 2011

I know it is possible to use the internal system speaker to generate sound.

EG
System.Console.Beep(500, 500)
'Beep(FREQUENCY,DURATION)

However i was wondering if anyone knows if it is possible and how to go about using said system speaker to speak - MESSAGE YOU ARE NOT AUTHORISED - for example

I am creating an app that allows admin access via a usb key (this is working fine) and i want their system to sound an alarm with a warning message should they try to force thier way into the admin section without the admin usb key.

View 3 Replies

Isable Multiple Controls Based On Specific Circumstances

May 17, 2010

I have the need to disable multiple controls based on specific circumstances.[code]Thing is, this doesn't work for ToolStrip items. Is there a way to do this without checking the type of each control passed to the function?

View 7 Replies

Ranking Of List Items Based On Specific Property?

Feb 17, 2012

I need to determine the ranking of the List items specified by one specific property of the items.

I have the following Class:
Public Class LevelA
Property items as New List(Of LevelB)
Public Class LevelB
Property factor as Double
ReadOnly Property rank as Integer
End Class
End Class

For example, let's say I have three items in the List. I have set the factor property for the first item as 5.50, the second item as 6.60 and the third item as 3.30.Now I should be able to get the rank property of each item (the highest value should be ranked as 1). Here the first item in the list should have the rank as 2, the second item as 1 and the third item as 3.

What kind of procedure is needed for the "ReadOnly Property rank as Integer" for returning such values? It should somehow be able to access the list in the parent class probably?

View 3 Replies

Form To Open A Specific Record Based On The Result Of Query?

Mar 20, 2010

I have this frm_customers and this button called View/Edit.

What I want is that when i click this button it should ask me a customer Id and then go to that customer id in frm_customer

View 1 Replies

VS 2008 Highlight Rows In A ListView Based On Specific Conditions?

Oct 12, 2009

I have a ListView that I populate with running processes and would like to highlight specific rows based on the amount of memory consumption. After I add the processes to the list and and call the WorkingSet64 property of the process, I tried this:

vb.net For Each lvi In ListViewProcess.Items If proc.WorkingSet64 >= 2000 Then lvi.BackColor = Color.Yellow End If Next

Processes is the variable I used to grab the collection of processes. proc is defined as a variable and then used to loop through the processes.

lvi is of course the ListViewItems in the ListView.So, by the code I have above, I loop through the ListViewItems, and if any of the processes are above or equal to 2000, then I set the background color to Yellow.

However, it sets every line to yellow, and I can't seem to figure out to set only those processes that have a WorkingSet64 above 2000.

Would I need to loop through the processes and then set the background color of the ListViewItem based on that? That kind of makes sense to me, but if I do that, I'm not sure how to set it just for those processes. Maybe by setting a separate variable?

View 6 Replies

.net - Generate A PDF File As System.net.mail.attachment Using Memory Stream?

Nov 25, 2011

I have a function that accepts a string and generates an email attachment based on that string. It works fine for html pages, text documents, and so forth but I can not get it to generate a PDF file.

Code:

Public Sub SendMail _
( _
ByVal strFrom As String _
[code]......

If I save the file attachment as Whatever.PDF i get the error that it was not encoded properly.I am using datadynamics active reports PDF exporter to generate the PDF

dim pdf as new datadynamics.activereports.export.pdf.pdfexport
sendmail("from@", "to@", "test", "test", pdf.tostring, "pdf.pdf")

I think the problem is I am converting the PDF to a string, and then trying to convert it back to a PDF and attach it to the email but I am not 100% sure.

View 1 Replies

For Loops - Determine Which Students Have A Specific Major Based Upon The Button That Is Clicked?

Dec 15, 2011

I need to determine which students have a specific major based upon the button that is clicked , then code will pull all the CS student's name and put them in the results list box. The text box above the results list box should contain the specified major and the text box below the results list box should contain a message indicating the total number of students with specific major.

View 4 Replies

Making A Specific Node Expand Based On The Navigate URLs Of Its Children?

Nov 8, 2009

So I have a TreeView and it has about 7 parent nodes that have 3-5 children each. All of these children nodes when click navigate to a URL. What I would like to do is have one parent node auto-expand based on the URL and the other parent nodes to collapse.

[Code]...

View 1 Replies

Asp.net - Server Error Asks For Error Specific Page Instead Of Error Details?

Mar 6, 2012

When I deployed my project on a server, in certain circumstances, I get an error page that indicates I should create a custom error page. I was wondering how exactly I would implement this custom error page the server asks for to give me a precise and helpful message or preferably, how I would get the error to just display on the main page?This is the error message I got below

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->
<configuration>
<system.web>

[code]....

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->
<configuration>
<system.web>

[code]....

View 2 Replies

System.InvalidOperationException Was Unhandled The Error Is: An Error Occurred Creating The Form. See Exception.InnerException For Details

May 8, 2012

ok so i viewed some other question that are ruffly the same and i am still confused, here is the stacktrace

at Game3.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
at Game3.My.MyProject.MyForms.get_Character_Creator()
at Game3.My.MyApplication.OnCreateMainForm() in C:UsersMasonDocumentsVisual Studio 2010ProjectsGame3Game3My ProjectApplication.Designer.vb:line 35

[Code]...

also, where is game3.my.myproject, obviously its a line of code but what is it in.

View 6 Replies







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