How to return a ascii character?
What command(s) do I need to use to return the actual character into a variable. For example Chr(198)...I wish to retrieve it's symbol into a variable. Thanks,
View Articlemy.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 Article[VB2010] - how can i share my exe in windows XP\7(without Visual Studio)
i need create a nice program, but i don't have sure if can run in windows XP(because that person don't have Visual Studio, and i don't know if she uses windows XP or 7). can anyone tell me if runs...
View ArticleVS 2010 Purpose of Windows Installer 4.5
Hello, what is the exact purpose of Windows Installer, when do I need this prerequisit for my application? Thanks for explanation... Attached Images
View ArticleVS 2010 Restoring Database
Hello, I am using SQL Server 2008 and i am trying to restore a database from Vb 2010 with this the code below but had this erro "RESTORE cannot process database 'DatabaseName' because it is in use by...
View ArticleRunning Excel Macro from VB.NET - Macro not running correctly
Hi all, I'm writing a small application that allows the user to pick a .csv file that is outputted via a 3rd party app that records blood pressure, and then takes the .csv and carries out some...
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 ArticleVS 2008 [RESOLVED] transparent label
I have a picturebox with a picture in it. I have put a label over them and set its background color to transparent, and the font is red. when I run the program I see that the label is not transparent,...
View Article