Is there a simple ASP.NET (.VB) available for AES-encrypting?
here is a link to c# one but its complicate one having pretty much parameters, for example salt.
[http://www.gutgames.com/post/AES-Encryption-in-C.aspx]
I need a simple one that works together with GOOGLEAS3 Class that is called easily like this:
var key:ByteArray = Hex.to...
I am trying to use myclass.cs from aspx.vb but receive error "myclass not declared" when I give command:
Imports myclass
any ideas how to make a reference?
...
I'm trying to stack a few lists on top of each other. But the label.size.height appears to be bigger then the label itself.
When i set the borderstyle to fixedsingle, i see the border around the text. But the height is bigger, so there comes a space between one label and the next.
I have tried to set margin and padding to 0 without res...
I have the following problem with MEF:
Interface definition to be used by host:
Public Interface IExecuteDoSomething
Inherits IAddinSettings
Event DataReceived As EventHandler(Of DataReceivedEventArgs)
Function DoSomething() As Boolean
End Interface
Public Class DataReceivedEventArgs
Inherits EventArgs
Public Sub New...
hello, i was having error while making the installer in my program.
I have images inside the debug folder and i use those images in my program.
I successfully create the installer the problem is that when i run it it gives me
an error message looking for my Images folder.
How do i solve this? Thank you
...
I am using a string to store key=value pairs, it has same format as QueryString
How can I easily parse it to array? or can I somehow use interal class QueryString("paramname") to access it?
...
Need to convert Hex to a Decimal in VB.Net. Found several examples in C#, but when I tried to convert to VB.Net I was not successful. Here is an example of a hexidecimal number that I am trying to convert "A14152464C203230304232323020572F544947455234352E".
Thanks,
Dave
...
I like to confirm that array is created, how can it be done? There is no nul keyword?
Dim items As Array = str.Split("|")
if (items=null) then ???
...
I like to create a session value that expires in 5 minutes.
How to do that, do I need to manually compare creation time when I read it?
Session("sessionval") = myvariable
Session("sessioncreated") = now
...
I've got a bunch of DLL projects that I'm pulling into my application, each contains their own Settings.settings/app.config. When I compile the app and run for debugging, everything works just fine, but come deployment time I can't get my DLLs to read their own settings files.
I've been doing some reading and it has become apparent tha...
I've programmed in C# for the majority of my .NET career - now I'm working on a VB.net project - when debugging it drives me insane the differences of how the debugging works.
two off the top of my head are
1) having to prefix my immediate window queries with ?
2) not being able to mouse over a GUID, I have to ?myGuid.ToString() to ac...
I am counting how many seconds it takes to go from aspx page 1 to page 2. This time is not reflecting a real clock.. Where is the bug?
on page 1 I have:
Session("sessioncreated") = Now.Ticks
on page 2 I have:
Dim diff As Long = 0
If Not Session("sessioncreated") Is Nothing Then
diff = Now.Ticks - Session("sessioncreated")
End I...
Hi, as I am doing a small chat application in vb.net (windows form), I'm having problem for the design of my chatbox. I would like text messages to be selectable so user can copy(ctrl+v) it but not usernames which displays who sent the message. What form controls should I use in order to accomplish this and what properties to change from...
Hi,
I have a base class that contains a fairly large number of parameters in it's New constructor. I have 7 subclasses that inherit the Super base class. My question/issue is, all of the subclasses use the same values for most of the parameters in the New constructor of the base class and these subclasses can be called one after the o...
I have an application that dynamically draws a chart onto a winform.
Both the chart background and the individual chart bars are drawn using a VisualStyleRenderer object:
For Each rect As Rectangle In barRectangles
Dim renderer As New VisualStyleRenderer (VisualStyleElement.StartPanel.UserPane.Normal)
renderer.DrawBackground(e....
I have a decent sized set of data that needs to be stored in an active record. In order to prepopulate the form fields on the page, I have already written the following code:
Device device = new Device(DeviceID); // device is simply the active record
txtDeviceName.Text = device.Name;
txtNotes.Text = device.Notes;
txtHostName.Text = dev...
Dim goodCustObjList As New List(Of CustomerObj)
goodCustObjList = DataBLLModule.GetCustomerRecordList(String.Empty)
Dim custList = From t In goodCustObjList _
Where t.ID.ToString() IsNot Guid.Empty.ToString() _
Select t
I have a list of CustomerObj and if the ID (GUID) is not empty then i want to select t...
I've got a bunch of web page content in my database with links like this:
<a href="/11ecfdc5-d28d-4121-b1c9-1f898ac0b72e">Link</a>
That Guid unique identifier is the ID of another page in the same database.
I'd like to crawl those pages and check for broken links.
To do that I need a function that can return a list of all the Guids ...
The program should request the person’s occupation, the amount of the bill, and the percentage tip as input and pass this information to a Sub procedure to display the person and the tip. Title is gratuities, first line Person’s occupation, amount of the bill:, Percentage tip: Compute Tip, and show the tip. Im not sure how to approach it...
I am new to development and am receiving the error "Expression Expected" when I attempt to compile the code below. What am I doing wrong?
Public Class Form1
Private Sub btnCompute_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCompute.Click
Dim Occupation As String = CStr(txtOccupation.Text)
...