Read first 3 vales
Hi, I have the following field, txtfirstname.Text which has firstname e.g., John, Michael, Ali I want to to READ only the first 3 letters ; Therefore, John - JOH Michael - MIC Ali - ALI Note: They are...
View ArticleReposition a form in the middle of a screen.
Hi there everyone. I am working on a program that when starts up, will open in the middle of the screen. When the user clicks on a button the width of the form changes and I would like the form to...
View ArticleHow to set date in textbox?
Hello, I have a StartDate and EndDate in an ASP.NET using VB.NET When the user fills in the StartDate and leaves that field I want to call a script to look at the EndDate and if it is earlier than the...
View ArticleLoop for years and calculations
Here some code from my program that calculates depreciation. All the calculations work except my the TOTAL calculation and my loop to go up a year with each year that is selected. So what I need help...
View ArticleCombo SelectedIndex
Hi, I have few comboboxes on my form which has data bounded from a table from my SQL database. Code: Try Dim sql As String = "INSERT INTO dbo.TblOrderPayment (RefNo, Paystatus,...
View ArticleVS 2010 Passing parameter to another form...almost there
Many thanks to everyone who has helped in the last few days on this issue... I have decided to take a different route. Instead of building a datatable in memory and trying to pass that from Form1 to...
View ArticleHelp Converting vb script to VB .Net
Hi, I am very much new to VB .net and I am under a bit of a deadline to complete. Basically I just want an alpha sequence for every time this script runs. It works in vbsript, but I am having no luck...
View Article[RESOLVED] Custom message box with custom options buttons
Hi I am sorry but I am rather new to vbs scripting however I have some experience in bat and cmd files> Here is my question. I would like to make a vbs file that starts on start up giving me a...
View ArticleBMP TO JPEG Convert Automatic
Hi All I would like to convert BMP files to JPEG files in with no user active automatic so it scans the a folder for bmp files and convert them to jpg and then delete the bmp files deleting is the easy...
View ArticleProblem with picturebox in vb.net
I have a picturebox and a transparent panel on my main form. panel is under the picturebox and has brought to the front. so that I can select it on the picturebox. Program draws a rectangle on the...
View ArticleHow to Share a Boatload of Variables with the Whole Project
I'm working on a VB.NET project which will assign about 50 variables from reading data out of a text file. I will need to share all of the variables with several different modules and/or classes. To be...
View ArticleSelect Case to determine a specific number 1-100
A simple form with one text box allows the user to enter a number between 1-100. I want to output the number in roman numeral form. Would I need a Case statement for each number? so 100 or so Case...
View ArticleGet data from specific row in Database
Hey gang, I'm new to the world of PHP, but learning a lot as I go. I'm trying to get data from a specific row in a database. i tried something like this: PHP Code: echo $row[20]['busname']; ...but...
View ArticleListview vba excel and vertical scrollbar
Is possible via vba for excel to click on the little arrow up and down in a listview vertical scrollbar ?????:confused::confused::confused:
View ArticleVS 2010 [RESOLVED] Add Dash After Every 4 Characters
I have a textbox, and when I type in it, I would like it to add a dash after every 4 characters. Like, 3818-2320-1232. I tried some code that someone posted on another thread, but it adds a dash,...
View ArticleVS 2005 items in Dictionary(Of TKey, TValue) or List, To Sql Server table in...
I'm using VS 2005, i'll be moving info from a Dictionay to Sql Server table, i can do it row by row (1 insert command by item), but i have almost 1000 files loaded with 300.000+ records and i'm...
View ArticleConvert a binary string to decimal
How do you convert a string of binary digits (never larger than an Integer) to a decimal value? For example: If my input is "1101001011100" then my output should be 6748 in decimal
View ArticleVb6 run-time error 3421
I have 4 text boxes on a form they are used to enter dates. The dates are saved to MS acces. The table field is set to date. When I leave a text box empty it gives. run-time error 3421 data-type...
View ArticleVS 2010 Is Possible Unhook SSDT In VB.NET ?
Wanted to Know If You Can Restore The SSDT Hook Of A Process There are Programs That Make It As Gmer... You Can Do It In VB.NET?
View ArticleIs there a program out there that will hide my codes?
HI,everyone, I was Wondering If there is a program that will hide my code like decramber it to something else , but the program will still work. I hope you understand what Im saying. That way hackers...
View Article