Writing to files, adding to collections
Hi, I have been having issues with my application. Basically, I am reading a file, saving it into a collection. Then, modifying the collection, and having the option to save the changes back into the...
View ArticleVS 2008 Hide next new row in DGV, while editing a new row.
My problem: the user clicks add-new-row-button, and an empty new row is shown by setting the DGV.AllowUserAddRows to true and selecting the first cell to enter. As Soon as the user types the first...
View Articleque actions for background worker
i have a a list of files that i get from a drop panel i.e Code: theFiles = CType(e.Data.GetData("FileDrop", True), String()) later on i need to run throught each of these files and perform a copy of...
View ArticleVS 2010 DataGridView AutoSizeColumnsMode Fill Problem
Hi I'm having a problem when trying to add a column to a datagridview in autosizecolumnsmode set to fill. After some tests i realize that i can't insert a column to the datagridview. The...
View ArticleTimeout error while executing delete query in SqlCommand
Hi, We have a Vb.net program and we are using SqlCommand to execute some queries.This is the code block Code: If Trim(Slno) <> "" Then           oCmd_Local = New SqlCommand("select *...
View ArticleManipulating MS word. Can this be imporved?
Hi basically i have a ms word document that uses bookmarks. Can this be improved? vb Code: Option Strict On Imports Word = Microsoft.Office.Interop.WordImports System.Runtime.InteropServices Public...
View ArticleVS 2012 VB.NET Webbrowser automated clicking problem
I want to be able to login to paypal for a user so their balance shows up in a box. I want to do this through a webbrowser though. The only problem is that it won't let me. For sites like gmail, yahoo,...
View Article(Value Null, Paramter Name: Source) error. HELP?!
I'm working on a project for my Visual Basic class, and I keep getting this error.(Value Null, Paramter Name: Source). It highlights the whole query so I can't figure out specifically where the problem...
View ArticleVS 2010 Save Problem
I've created this save function but it doesn't work the way that it's supposed to. First of all, whenever I bring in an image, save it and open the saved image, nothing happens, this confuses me simply...
View ArticleVS 2012 Lining up text in a listbox
Hi, I am entering items in to a listbox, it goes like this: Name: Qty: Location: Description: Order Code: Resistor 100 Drawer 4 0603 Resistor 10% 123456 I have text boxes and dropdowns for each field...
View ArticleEvent Handlers for a Usercontrol
Hi I have usercontrol that im instantiating in another project(same assembly), im displaying it into a panel control at the moment. im trying to add a handler on the parent form to listen for the...
View ArticleHelp condensing repetative code
I had 2 questions, I need to Gray out 48 text boxes on Run of the program. And keep them grayed unless the user makes a selection to enter their own criteria via a selection within a ComboBox. My first...
View Article[RESOLVED] fill list box with data from DGV
I have a DGV which has a few columns in it and 1 is File_Path How would i get the data from the File_Path column of every row in the DGV and place the data in a list box i tried this but i get an error...
View ArticleVS 2010 No add new Web Site option in my VS 21010 Ultimate
My Visual Studio 2010 Ultimate doesn't have the Add new Web Site option. Went to Tools > Import and Export Settings... dialog, choose Reset All Settings..., and then looked for the "Web Development"...
View ArticleVS 2008 Filesystemwatcher and MS Outlook Question
Where does MS Outlook store attachments it receives? I am trying to write an app where I e mail users a text file these users have an application of mine on their computer that will use this text file...
View ArticleUsing the calendar to SaveToDate & RecallFromDate
This is my first time working with the MonthCalendar, and was wondering if it is possible to: 1. Select a date (or leave the calendar as is to select "today's" date by default), save information stored...
View ArticleVS 2012 MDI forms behaviour
If I run my application and open a child form, that form opens and anchors to the top left corner, underneath the application's menu bar, as it should do. Why then, if I close and then reopen it, does...
View ArticleVS 2010 chilkatdotnet4.dll crypt2.decryptbytes method return 0 bytes in vb.net
Hi We have been using ChilkatDotNet.dll Version 8.2.0 with .Net Framework. We use Chilkat.MIME and Chilkat.Crypt2 classes. The Framework version of ChilKatDotNet.dll is working But the...
View ArticleVS 2010 Replacing a String in Multiple Text Files
Hi VBForums, I have the following code which finds and replaces a string in a specified text file. Code: Dim FSO, InputFile, OutputFile Dim s As String FSO = CreateObject("Scripting.FileSystemObject")...
View ArticleHow to get a progress bar like in this picture in vb.net? Please help
Hello, I need a progress bar, like this: But by as you know, by default we get a progress bar like this: Please help me to code/get the progress bar like in the first picture, I do NOT need the...
View Article