my.user.settings and authorizing users in my app
So, in my application, I present the user with a login form on load. They supply a username/password (into two textboxes, txtUserID and txtPassword) which is then compared via md5 against a database,...
View ArticleVS 2008 String mask - Last 4 SSN
New to VB.net . I need to mask a string that contains a SSN (123-45-6789) to the last 4 digits. I would link the output in this example ***-**-6789 . Need to replace the first 6 chars (no matter what...
View ArticleVS 2012 Send a vCalendar item via IIS
Hello All, I am working with VB.NET VS2012 and I have a simple calendar with the ability to send a icalendar request via email. (Using SMTPClient) The frame work is working with a few problems... Here...
View ArticleVS 2010 Printing Form into 2 Parts/ Side 1 & Side 2 May be as a Page Break ...
I am using VB.Net I am need to print a ID Card, so after looking out for ways to do that and also not getting help from anywhere I am finally trying to designed it in a single form & divide it as...
View ArticleVS 2012 Multidimensional array
This is the first time I've ever used a multidimensional array so bare with me. I'm trying to have a list of lists, I have a combobox that when selected it populates a listbox. So the combobox is the...
View ArticleVS 2010 Posting Data in ASP.Net Site - Params Values
Hey, I am ecommerce website that is designed to get IPN notification from payment system. While it works fine.. But due to some constraint i cant use in that way, instead i need to use web service in...
View ArticleVS 2012 [RESOLVED] Trouble with Func(TResult).
Ok, bear with me on this one. I am sure I am just messing up something very simple. I have this declared: vb.net Code: Property CheckStateCondition As Func(Of Boolean) Then, I use it like so: vb.net...
View ArticleVS 2010 [RESOLVED] Is using of List(of ) is better than using IEnumerable...
Is using of List(of ) is better than using IEnumerable Interface ? How ?
View ArticleVS 2005 DateDiff function issue
I am using DateDiff function in vb.net sometimes it works best but sometimes return me a different value than expected. Here is my code. intRet = DateDiff(DateInterval.Minute, dte, dtpFromTime.Value)...
View ArticleVS 2012 DataGridView Selection Mode Question
Hello again everyone. This time, I have a problem with data selection on datagridview. I want to be able to select data from 2 distinguished ways, by selecting the full row or cell by cell, as you can...
View ArticleMore to Namespaces (organization-wise)
I'm wondering if there is more information out there that may help me manage my namespace structure in a large project. Unfortunately I'm still stuck with vs2008, and the auto correction and auto...
View Article[RESOLVED] DropDownList Default Value
I'm using a combobox using the "DropDownList" property I want some text in the combobox and have found that I can't just type text in what I want, I have to do this by populating the combobox and then...
View Articlepulling specific data from a text file
Up til now I've been pulling data from a database, and now I have to begin pulling the data from a loosely structured text file. I know this post somewhat seems like I'm asking "write this code for...
View ArticleCode executes too fast for command Shell
Hi everyone, I got this: Code: For x = 0 To itcount - 1 orden3 = "echo " & ListBox1.Items.Item(x) & " >> " & """" & Directorio.SelectedPath...
View ArticleEvaluating each ImageUrl in a table and setting it's value/path conditionally
Greetings, I'm about to write some code whereby a user will be able to: check some checkboxes on a pageopen a new print page via a print buttonselect a print button on the new print page to finally...
View ArticleDatagridview column keeps rounding
Hi all, I have a problem with a column in a datagridview. When I add (for example) 51,75 to the "BTW 21%" column, it shows up as 52,00 The strange thing is that it does not do this in the "Prijs"...
View ArticleCheck if Textbox has only "spaces"
Hi, I need to check if a textbox has only spaces, I need this because if the textbox has any value on it, it enables a button, but I don't want the button to be enabled if a space (or many spaces) are...
View ArticleVS 2010 Decrypting textfile split with ROT 13
So I am trying to make a login system that decrypts the password as they attempt to login using ROT 13. Code: Using srUser As New System.IO.StreamReader("Details\userdata.txt") 'Sets streamreader to...
View ArticleListBox HideSelection
VB6 version of the ListBox has HideSelection property when set to True, the highliting of the selected item will disappear when the ListBox lost the focus, I cannot find HideSelection in VB.NET...
View ArticleContext menu strip
I have been trying to make a context menu strip as in MS excel as shown below with another context menu in the form of a tool strip above the regular context menu strip. But it was not possible to have...
View Article