VS 2008 Extract values from a string
Hi to all: I have a string Like this: Msg = "ffff error msg 0081456378390 00827894546738" I would Like to extract from this string all the values that start by 0081 and 0082. With way i can do this?...
View Article[RESOLVED] selecting a menu item with 1 click rather than 2
I have two forms form1 and form 2. form2 has a menu strip with an item -- tools and a subitem item1 form1 is loaded first and in form1.load form2 is shown now select form 1 by clicking on it. now form1...
View ArticleVS 2010 [RESOLVED] How to get the BindingSource.Current of a different form?
Hi - Is it possible for form B to read form A's BindingSource current position? For example, if "x" is an integer variable on Form B: Quote: Dim frm as Form frm = FormA x =...
View Articlestring printing, should be easy but cant figure it out!
Hi All, I have had code that prints text all lined up line by line with a equal width font, this is fine, until we upgraded and allowed more space for a description. now the description can be 30 chars...
View ArticleVS 2008 [RESOLVED] Read an excel file thats open
Hi Guys, I have an excel file (xls) (Excel 2003) which is open in microsoft excel. This file gets updated via a feed every few seconds. I need to write a vb.net program that will read data from that...
View ArticleVS 2010 [RESOLVED] Keep a random number between two forms from a module
So, I'd like to take a randomly generated number, and use it in Form1 and Form2 from Module1. Any idea's how to do this without completely randomizing the number each time it is used? Code: Module...
View ArticleVS 2010 Visual Basic 2010: System.OutOfMemory error? How do I resolve this?
I get this error System.OutOfMemory What's the solution? I have about 10 forms in one project, And I just attached one song using the resource method, then memories done? Should I add more memory? How...
View ArticleVS 2010 Routing, how do I resolve this?
I am using a datalist and a literal and the URL appears and I try make the url's "prettier" ,example, http://localhost:1573/Example/Test/3 but not working what I've done Global.asax Code: Public Sub...
View ArticleVS 2008 Access Word property WdLineStyle.wdLineStyleSingle on late binding
Hi! I am trying to switch my application to late binding. I don't understand how I can access Word Document properties (like Word.WdLineStyle.wdLineStyleSingle). I tried this: Code: oWord =...
View ArticleVS 2010 Adding sum Result beneath the column(SQL)
Hi I want the sum of the column(Esicemployeeshare) exactly beneath the column(Esicemployeeshare)How can I do that here is my code Code: Private Sub Button6_Click(ByVal sender As System.Object, ByVal e...
View ArticleVS 2008 Thread issue? DataGridView does not update immediately
Hi! I have a form with a DGV bound to a DataTable throught a bindingsource. The dataTable gets filled by a DataAdapter. Now the form loads, everything is fine. Then the user presses a button, to create...
View ArticleVS 2010 Windows Media Player - Reading Media List/Songs
Good Afternoon, I wonder if anyone has had experience with using Windows Media Player? I'm trying to put together a simple 'Jukebox' using VB.Net & Windows Media Player. What I'd like to do is...
View ArticleLinq to Xml sorting
Hey, I am attempting to sort an xml file by 2 variables the Signal name and the Size, here is what I have tried so far vb.net Code: Dim wiredatas = From n In...
View Article*** Solved - SMTP with multiple recipients - not working
Hello all, I'm trying to send an Error log to multiple recipients (Group Admin, Manager and Project Lead) and I get various errors when I run the code. I can send the email with attachment to a single...
View ArticleDatagridview column datatypes
I'm having a slight issue displaying images in my DataGridView... I am importing a CSV file to a datatable No problem. I am then naming the column names like so dt.columns(0) = "Name" etc.. no problem...
View ArticleAdd-Ons
This question might be one of those which can't be easily answered but I feel it's worth asking to see what replies I get. I want to build my application and I want to be able to allow for "add-ons" to...
View Article"Cheating" Program
Ok i think this is a cool little idea. I was wondering if its possible in VB to have a program of whatever. and make a new different program that could like change the code of the original program to...
View ArticleVS 2010 Printing Formatted Documents VB.net
I need to find a simple way to create, view, and print formatted documents through my windows forms vb.net program. Right now I'm using Crystal Reports to format the documents, but Crystal Reports is...
View ArticleVS 2010 [RESOLVED] variable used before it has been assigned a value
Hi folks. I have a button, textbox, and some radio buttons inside a groupbox. I enter text into the textbox, and select a radio button, and then click the button. The program stores the text that was...
View ArticleBest way to edit .zpl files? help!
Hello! I have a Windows phone, and the playlist extension is .zpl, what I want to do is to make a new playlist and add my own files to it. This is what it looks like: <?zpl version="2.0"?>...
View Article