Array Lists
I'm a beginner into vb.net, im doing a small billing software for my company. I have list of product codes adjacent to which are the name of the product and its MRP in an excel file. when the form...
View Article[RESOLVED] How to get sum of a database solumn between two days?
Rather simple task which I can't solve... VB Code: Dim sum_fld As Long = 0 Dim fr_day As Date = DateTimePicker1.Text Dim to_day As Date= DateTimePicker2.Text Dim con As New...
View ArticleVS 2010 How hard would it be to make this?
I am making a new program called "Square Code". What you do in the program is when you start it up, you enter in a phrase like "Hi cool lol" in a textbox then you press generate and a box comes up like...
View ArticleVS 2012 Can't Open Batch File in VS 2012?
Hey guys. This is something so extremely simple but it's just not working for me. I'm just trying to have my program execute a batch file using process.start(path). However, I'm getting an error "The...
View ArticleHow to Sort DataGridView
Okay I've been searching a lot on this topic and I've found some conflicting information. First, is it possible or impossible to sort a datagridview by clicking on the header of the column in the...
View ArticleFindFirstFileEx and Unicode
Howdie. I am researching how to use the Unicode version of FindFirstFileEx() in vb.Net and am having a heck of a time getting this to work. I had downloaded an example and it used the standard version,...
View ArticleVS 2010 Hiding Console Application
Hi, I'm having a few issues trying to hide a console application, I've tried changing the Application Type to Windows Forms Application and telling it to run Sub Main but I get this error;...
View ArticleHelp needed in Sending mail with proper formatting
Hello Guys, I need to send mail with proper formatting in windows application. In asp.net it is possible by using table how would I achieve in windows application. Below is the example of my...
View ArticleMasked TextBox
Hello programmers, I have one problem. I have two Textboxes (GSM and Telefon) with Mask. So I whant, when is one empty (e.g. Telefon, it mean, that I don't put no numbers in this textbox) that is...
View ArticleVS 2010 Syntax Error in Insert INTO
Hi All This is my first post at this forum and hope I will get result in it. I wrote a code in vb.net 2010 Code: Con.Open() Dim cmd1 As New OleDbCommand cmd.Connection =...
View ArticleVS 2010 Accessing form after dublicating it in tabcontrol
Hello. I have form that gives me browser with awesomium SDK. Its name is "Webform". This form contains the awesomium object called mywebbrowser and it is a browser. I have added second form and called...
View ArticleVS 2010 Quick question
Hi, I wanted to know how to play a sound from the resources? Could someone guide me through a simple walk through; for example if I wanted the sound 'ding.wav' to play from my resources when I pressed...
View Article[RESOLVED] VS 2012 Express: x86 vs AnyCPU
I compliled a small project this morning which writes records to an MS Access database. I built the project on a 64 bit computer running Windows 7x64 and set the target framework to .NET Framework 4...
View ArticleFormat Text
Hi, I am working with asp.net and SQL Server.. Now, I have an email sent out with the code below; Code: Private Sub Authorsendemail() Using message As New MailMessage() 'Dim msgbody...
View ArticleVS 2012 Space between 2 texts with text inside
I'm trying to make an application and I am having issues. Lets say there are two sets of numbers. 12-----------------------------------12 35 characters (which will be blank space not dashes) between...
View ArticleListBox and ListView Problems - (With Imagelist)
Screenshot I am trying to add Country Flag for each user ONLINE in our forum. I am using a Listbox for ONLINE USERS. And a TextBox that Grabs the Country name from Users Profile-Page with button click!...
View ArticleVS 2010 [RESOLVED] Compile Source from .txt Resource
I am looking to make a program that can compile a vb.net source that is in a .txt file. Text Files Text: Code: Public Class Form1 YATAYATAYATA Sub New YATA If Blah = Blah then BLah End Sub End Class...
View ArticleUnable to Create Hook - SendKeys.Send Widnows 7
Hey, I have a Framework 1.1 Application that needs to be run in Windows 7. The application uses quiet a few SendKeys.Send, which causes the following error to occur ************** Exception Text...
View ArticleVS 2010 [RESOLVED] msgbox just keeps repeating
When I go to debug my ap the message box just keeps repeating itself. I have it when the progress bar is complete it has a pop up message box. Here is the code. Code: If ProgressBar1.Value = 100 Then...
View ArticleSize and Size on disk problems.
Hi guys, I need a bit of help on finding out how to calculate file/folder sizes :) Code: Dim fileSize As Long = 0 'Dim drInfo As New DirectoryInfo("C:\some\random\folder") Dim...
View Article