Edit a String
In Excel to edit a string by: out=Left(str,3), out=Right(str,2) or out=Left(Right(str,5),2). How do you do it in Visual Basic?
View ArticleSave and Save As Buttons
Hello Guys! I'm a new member here, and i would like your help. So I'm trying to develop an advanced text editor using vb.net and currently in the saving process... So I created this button for the Save...
View ArticleVS 2008 regex for numbers
I'm trying to scrape the number 38,111 from the below string. What is the regex? I tried using [0-9].*[0-9] but it didn't work because 100 is in the string. #38,111 in Health & Personal Care (See...
View ArticleVS 2010 Textbox
Hello everyone, Just a quick question, how do I get it so the textbox has dots at the bottom and each time I press a key, the key that I pressed adds the letter on top of the dot, very hard to explain,...
View ArticleTableLayoutPanel - detecting if label inside table is "too long" to fit
Hi all, new to using TableLayoutPanel ... I am inserting labels into cells programatically, but have run into cases where the label is too long to fit... so it is truncated. With variable width fonts,...
View ArticleSend keys to game using visual basic application
Hi I'm sorry to ask this but I like cheating in games Ive completed and creating trainers for the games so here is what I'm trying to do. I have started a project in visual basic 2008. It has two...
View ArticleMy friend got this error: Error 1 Unable to copy file obj\x86\Debug\blala
Hi! Can some1 help my friend? He gets the error "My friend got this error: Error 1 Unable to copy file obj\x86\Debug\blala" Thx.
View ArticleVS 2010 [RESOLVED] Saving an Array to a file
I have a 2d array of boolean data that I want to save to a a file and then later read it back, when I re-start my program. Is there a really easy way to do this? I have tried the following, but have...
View ArticleVisual Basic 2010 listbox question
ok so i am using vb2010 and I have created two listboxes and a textbox and a button. the first list box has a my list in it like seen below: U-Ad ($350) Striker ($190) New Ad ($250) Samson ($530) as...
View ArticleVS 2010 Serialization path question
I've never had to do serialization before, I've messed around with it and can do it, but I've been serializing to a hard-coded location like "c:/serialize.xml". Now that I'm wanting to publish the...
View ArticleMerging two txt files into new file
Hi there! I'm working on an app that merges two txt files ( Input1.txt , Input2.txt ) and create a new file (Collection.txt). What I did so far is this : Code: Public Class Form1 Â Â Private Sub...
View Article[RESOLVED] Conversion Problem???
Hi guys.. i am having problems with this code: Code: dsNewRow.Item(4) = 6.41 * CDec(DateDiff(DateInterval.Hour, TxtTimein.Text, TxtTimeOut.Text)) It just doesn't allow it. i have option strict on. it...
View ArticleConcurrency violation
Got this error: Concurrency violation: the Delete Command affected 0 of the expected 1 records. on a database update line. Only happens every so often. Please explain this error
View ArticleMdiParent with changing MdiChildren Titles
Basically, I have 2 or 3 MdiChildren forms that have the ability for their title to change at any given time. I have the window list auto-built via .NET's lovely MenuStrip-MdiClient help, but, the...
View ArticleVS 2008 COMBOBOX get item on MySqlbase
Good Day, Im new on VB? Can anyone teahcme how to call Item on Database adn put it on Combobox list item. Your Reponse is Highly Appreciated
View ArticleSending mass amount of mail limit? + mail provider.
Hi. We are going to do a job for the public sector and since there is, well you know how things are in Greece, i really cannot afford to mess this up.So since i have no knowledge of email sending stuff...
View ArticlePopulate Cells in Excel Using Loop
I'm going to start tomorrow on a project which will populate two cells in an Excel spreadsheet. Based on the entry of these two cells some calculations are made on another sheet and then the results of...
View ArticleVS 2010 Question about Config files for DLLs
I am writing a dll to handle error reporting and some other functionality. This dll is indended to be shared across several different web sites and some non web stuff like console apps. This dll will...
View ArticleVS 2008 How to catch exception in this code?
What is the best way to catch the exception from this code? I have put the Try Catch in there but it is still crashing after a few attempts. It works fine on an asp.net website for the first few times...
View ArticleVS 2010 MessageBox.show does not get focus
Hi, I will explain my situation, sorry for my english. I got a MDIPARENT form with some childForm. When i press close in the MDIPAREND, i will close all the childform. Code: Private Sub...
View Article