VS 2010 C: Mover
How would I make a button send a filename that I selected using an openfiledialog into the c:? For example. If I had a file path of a song in textbox1 and I pressed SEND it would kind of copy the file...
View ArticleWriting 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 ArticleVB.net and Ecxel column format
I pull data from an Oracle table and loop through to fill an array. I then transfer the array into an excel sheet. 2 columns are supposed to be numbers, but are "saved" on the excel sheet as text....
View ArticleGetting webpage content of a website
Hi, I have created a vb.net app to get source code of given url, it works really fine for 100s of webpages but i came across this particular website: http://www.sbuniv.edu/ it gives as http status...
View ArticleVS 2010 Text on form!
Hello,I want to know if I have an application on visual basic 2010 and The text which is in the upper of the application I want to code it how? I mean like in facebook when it comes a notification it...
View ArticleCallback from C++ DLL using fixed length array
I have an C++ DLL into which I need to register a Callback. My problem is that the C++ DLL expects fixed length arrays. How do I need to delcare the arrays in the CallBack and the Function. The C++...
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 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 ArticleRegistry - Simple Question That I Can't Find An Answer To Anywhere
All I am trying to do is make a backup of the entire registry, and save it to a *.reg file - I have searched everywhere, but can't find a specific reference to this for .NET - Does anyone know a...
View ArticleVS 2010 Links interact with forms?
Im working on a project, added alot but i have one thing not figured out. Im trying to do a simpe stickman flash show , and i added a webbrowser to the project that shows my index.html page, now on...
View ArticleHow to convert VBScript to VB.Net
I am trying to convert a vbscript to VB.net. This is where I am currently, can someone help me convert this to vb.net? Code: Private Sub Button1_Click(sender As System.Object, e As...
View ArticleVS 2010 [RESOLVED] ContextMenu and multiple DataGridViews
I have several DataGridViews on a form. Each grid has the same ContextMenu. Is there a simple way to tell which grid the right click came from? Thanks.
View Article