VS 2010 Read VBA binary file
Hi, I've been working with some ERP software that allows me to develop VBA to interact with it, although I'm not able to read/write the binary file that it uses. Did anyone ever try to read VBA...
View ArticleVS 2010 Multiple Style Changes On A Html Element
Hi. I have 1 webbrowser and 2 buttons on my form. After the site gets loaded, I press on a section of the site itself, click the first button to change the style of the html element (works well) and...
View ArticleMultiple TcpClient connection tips
Hi Folks Im working with my first VB.Net application (I've done some VB6 long time ago), and also my first to use TcpClient. I have the basics down OK so far, but now I need to scale up and have lots...
View ArticleContinue to a text file
Hi guys! Let's say I have a form with Textbox1 "Name", Textbox2 "Surname" and Textbox3 "Company". And I have this code for Button1: Code: Private Sub Button1_Click(sender As Object, e As EventArgs)...
View ArticleVS 2010 [RESOLVED] Make all forms the same.
Hi, I am making a program and have got to the stage where I want all the forms to have the same background, same fonts etc etc and I was just wondering whether anyone has a piece of code which can do...
View ArticleVB.net 2008 and excel pivot tables....
I am trying to add additional cols of data to a pivottable. If I record a macro, I get the following line of code. Code: .PivotTables("LYpd1").AddDataField(.PivotTables("LYpd1").PivotFields("Avg Last...
View ArticleAuto-complete information from text file
Hi guys! What I need is a very complex thing for me and I aö searching ideas about this. The thing is, I have a database (a simple text file) created by myself which is keeping a log as "Mark Twain,...
View ArticleVS 2010 Search for a string in a text file and perform an action
I have a txt file with the following contents: Code: [config1] name = test1 settings = settings1 host = sample.com [config2] name = test2 settings = settings2 host = sample2.com [config3] name = test3...
View ArticleWhat version of Visual basic to Learn first in dot net?
I have been in VB6 for the past 2 to 3 years. Now I would like to switch to .net part of it. Can any one suggest what to take first whether Visual basic 2008 or any higher version. I want to learn...
View ArticleAccessing and renaming a textBlock inside a Datagrid columnHeader
I was using the VisualTreeHelper trying to locate a textBlock inside the datagrid columnHeaders. I have just learnt that : "The Header object of the DataGridColumn is actually the visible header of...
View ArticleVS 2010 Help for Console App in VB 2010 (I have code)
I need help with creating multiple commands without it closing. Code: Code: Module Module1 Dim Com As String Sub Main() Console.WriteLine("Welcome to MiniDOS. A text-based operating...
View ArticleVS 2012 FTP: upload/download all .txt & .jpg
Hi, i can't figure out how to upload and download all the .txt and .jpg files I've tried this code: Code: Dim request As System.Net.FtpWebRequest = DirectCast(System.Net.WebRequest.Create(host...
View ArticleVS 2012 Copy Paste/change data issue
so this is a weird one.. I read data from one excel spreadsheeet and convert it into something different in another spread sheet. Here was "I thought" the easiest solution.....change the clipboard...
View Articletrimming a text file
I have text file which looks the following:- Code: 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 How can I get all the values into a string like this :- Code: 1 2 3 4 5 6 7 8 9 10 11
View Article[VB2010] FlashWindowEx don't works...
In the NativeMethods. vb class: Code: Friend Declare Function FlashWindowEx Lib "User32" (ByVal fwInfo As FLASHWINFO) As Boolean In a Module: Code: Public Structure FLASHWINFO Public...
View ArticleVS 2010 Date Saving Error
Hi there, I am saving a record using olddb in sql server, on saving it gives an error, actually its a date format error. Please have a look on images. This is my SQL Table This is my Vb.net maskedit...
View Articleout of Memory Error
I have a pretty single code and my if then function is causing an out of memory error Sub Macro16() ' ' Macro16 Macro ' Dim ProjName As String For x = 1 To 51 Sheets("sheet10").Activate If cells.Value...
View ArticleVS 2012 Version terminology
I have developed some software that I would like to release to the public. What is the official terminology of a first release? I am releasing this version for people to try the software and to ask for...
View ArticleHelp: Crystal Report Viewer and .net
Hello all, I started another thread in the reporting section regarding Crystal Reports and Blobs however I'm starting to think my issue is not with Crystal but more so with the report viewer because in...
View ArticleVS 2010 [RESOLVED] Webbrowser getting Script Error
How can I catch an error that my webbrowser keeps getting, and then force a click on the dialog that comes up? Attached Images
View Article