My 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 ArticleReading .txt file into text boxes?
I'm new to the forum and VB. I have a text file with 10 fields per line formatted like: name, address, city, state, zip, blah, blah, blah, blah, blah I have 6 lines total. I have created a form with...
View ArticleVS 2008 printing
I am converting some VB 6 code to vb2008 code, and I am trying to print a table of data to a page (see the attached pdf). I have never coded printing code before. One line of the old vb6 code is...
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 ArticleAdd list to Word template with table :)
Hey Guys, My current goal is to take a list that I have and simply populate a table I have in a word template. The only question I have is how do I take a hold of the table? Once I declare Code: Dim...
View ArticleHow to show the drawing in the image??
Now I am doing paint application but the problem that i had is when i open an image to my picture box and i choose to draw on it or use other tools in my paint its didn't show but the strange thing is...
View ArticleVS 2008 [RESOLVED] VB dynamic array from objects
Hi, I'm working on some automation for MS Reporting services and I have following problem, I need to convert array of objects into array of object with dynamic size. Original working code is: Dim...
View ArticleCrazy conversion of unique integer to alphabetical string
Hey guys, got another crazy idea to throw at you :) I have a string that is comprised from two separate unique numbers (Only Numbers, that are random lengths) Code: Dim PrePhrase As String =...
View ArticleVS 2010 Problems with Case Statement
I am very new to visual basic and I am having problems with my code. I think it is my case statement. Everything else is working fine. But when I try to calculate the commission it returns a $0.00...
View ArticleEditing text file issues
Using MVSE 2012 when use this code it says the file is still inuse after it loads not exactly sure how to fix this Code: Dim line1, line2, line3, line4 As String Dim path As String =...
View Article