Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score SMTP Mail Problem
Joe - 1 May 2010 8:53 PM - 5 messages
I am attempting to send an SMTP mail from my VB.NET program using the code below.   The code compiles and runs fine executes with no errors, but I am sending to one of my alternate addresses and the e- ...
Score Select manually a row of dataGridView.
Mr. X. - 1 May 2010 9:51 AM - 4 messages
Hello. How can I manually select a row of a dataGridView. The dataGridView is connected to a bindingSource, and the row is added by :         Dim dr As DataRow         dr = MyDataTable.NewRow() ...
Score VB.net
Mark - 30 Apr 2010 8:23 PM - 13 messages
Hello: I work in Finance and have heard that VB.net is a very useful tool for building financial models. Would anyone have an opinion? I am looking for information related to the value of VB.net in Finance. Thanks ...
Score installing SQL 2008 express and database with my vb app
- 30 Apr 2010 1:04 PM - 3 messages
Hi I have built a application in vb.net pro 2008 that uses a SQL express database I have been able to create an installation application project that installs the application perfect, but I am having to manually setup SQL ...
Score Re-using a filestream in a loop
simonc - 30 Apr 2010 11:53 AM - 3 messages
I want to make a loop to read data from a succession of binary files (filepaths of the files are in a string array). If I create a new filestream and from that a new binary reader before the start of the loop how can I redefine the filestream to look at a different ...
Score Lots of ActiveX COM Controls are missing in "Choose Items" ?
ralpugan - 30 Apr 2010 9:36 AM - 8 messages
Hi, I currently have VB 2005 Express on my old Vista PC installed. The problem is, though i have lots of ActiveX controls registered on the system, i can only see "Microsoft Office Outlook" controls in Toolbox- missing. (such as Windows Media Player Control, Shockwave Flash ...
Score ProcessStart(textfile) focus issue
mp - 30 Apr 2010 1:02 AM - 5 messages
just learning dotnet so i write a lot of debug lines to text file so i can track where errors occur Private Sub Logentry(ByVal strMsg As String)    File.AppendAllText("Path to debug file\Debug.txt", strMsg + Environment.NewLine) ...
Score Need help printing multiple pages in VB.Net 2008
Ralph Malph - 29 Apr 2010 9:31 PM - 3 messages
I am having a problem printing multiple pages with a common header/footer etc in VB 2008. I have the following code which will print a single page exactly as I need it. '***************** Print button click event ************ Private Sub cmdPrint_Click(ByVal sender As System.Object, ByVal e As ...
Score Adding time to date
Saga - 29 Apr 2010 8:44 PM - 9 messages
I need to add the time a a date, specifically, the current date. This seemed easy enough, but I found that thi wasn't so. As in input I get 3 or 4 digits representing the date. Valid input string are: ...
Score OLEDB v's Access's FE BE Connection
johnb - 29 Apr 2010 8:06 AM - 3 messages
Good morning all I have a 2007 db split in to FE and BE. The BE is on a server with the FE's on local pc's. When I open the first Form to pull records from the BE ...
Score VB.NET Books and Training Material
PSULionRP - 28 Apr 2010 8:14 PM - 5 messages
Boy oh Boy...I thought they said the Recession was ending. We just had some cut-backs and a couple of us have got to learn some VB.Net quickly! These forums have ALWAYS been soooooo good to me. Please don't fail me now. ...
Score ByVal copy a variable
Miro - 28 Apr 2010 4:08 PM - 8 messages
Hi, (vb.net vs2008) I understand the significance between memory pointers with a function using byVal and byRef. However I have code that I want to do something like this: Dim UsMailmsg As MailMessage = EmailOrderClass.createEmailOrder(False, cartOrderID)         For nI As Integer = 0 To SendToEmailAddresses.Count - 1 ...
Score design pattern examples
Andy B. - 28 Apr 2010 3:41 PM - 3 messages
Does anybody have any simple stubs that can be used as small examples for the following design patterns? 1. repository 2. dependancy injection 3. decorator If you have any more to add, that would be good too. ...
Score string split by first occurens number
John Devlon - 28 Apr 2010 1:07 PM - 6 messages
Hi, Does anyone have a solution for the following problem: I would like to split a string into 2 strings by the first occurense of a number. Example: "Londen street 52" into "Londen street" and "52" "New york harbor 52 dock 2" into "New york harbor" and "dock 2" ...
Score Is it possible with Linq to update a dataset?
BlackSun - 28 Apr 2010 7:44 AM - 3 messages
Hi, I have this working code which update a column: For Each rigaFF As DataRow In Me.dtSizeA.Rows     For Each rigaTemp As DataRow In Me.dtSizeB.Select(String.Concat("Name = ", CStr(rigaFF(0))))         rigaTemp(18) = rigaFF(3) ...
Score Math drawing question
Peter Proost - 28 Apr 2010 7:14 AM - 6 messages
Hi group, I have got a math/drawing question and as the question will show my math knowledge is of toddler level... I've got a line going from x1,y1 to x2,y2 then the user inputs an angle ...
Score Determine depend on services
Ron Hinds - 27 Apr 2010 10:58 PM - 3 messages
I've created a service in VB.Net. It seems to work just fine if I start the service manually while I'm logged in. But if I reboot the machine, the service fails with a socket error. I think that there may be other services ...
Score Can't evaluate expressionin IDE debug mode
Saga - 27 Apr 2010 7:16 PM - 6 messages
So I am stepping through my program and I either hover or select an expression and hit F9 and its value is displayed, but then in some cases I get this message: "Cannot evaluate expression because we are stopped in a ...
Score Upload/Download files in Chunks on FTP
Hemant - 27 Apr 2010 1:53 PM - 3 messages
Hi, I want to upload and download files to FTP in chunks as my file size is large . please help me . Thanks, Hemant ...
Score The string font is ugly on chart
yxq - 27 Apr 2010 10:54 AM - 8 messages
I found a good article about the disk explorer [link] And it ran well on Windows XP, but the text font on the chart was ugly when ran on Windows 7, look scratchy. ...
Score a few basic question about resource files
AussieRules - 27 Apr 2010 6:09 AM - 3 messages
Hi, I have an application that uses resource files to contain the string values for each language. I have created the required resource files in my project, but I don't speak the languages I wish to have resources for. ...
Score Is This Method Of Creating a String Possible?
Space Invader - 26 Apr 2010 8:55 PM - 5 messages
Hi all.  I've looked on Google for this but it's one of those that I just don't know what keywords to put in the search terms!! So, in a nutshell... I know when you do this with a=10 and b=5 ...
Score How to send email with no outlook and SMTP server ?
fniles - 26 Apr 2010 6:21 PM - 23 messages
Is there any way to send an email (either from a VB program or ASP or HTML) if the machine has no Outlook and/or SMTP server ? Thank you ...
Score System.net Utilities.FTP or ProcessStart?
Bill N - 26 Apr 2010 4:53 PM - 6 messages
I have the need to access an ftp server within a VB.NET app to issue GET command to download files. The ftp command lines are below (with actual loin info withhold): It's the GET command that caused problem for me. This GET command will ...
Score Resize an image: bug?
zzz - 26 Apr 2010 9:20 AM - 15 messages
Hi to all, inside a subroutine i have this code: Me.PictureBox1.Size = New Size(Me.dimensioni.Width * Me.zoom_factor, Me.dimensioni.Height * Me.zoom_factor) When the program goes out of sub I get the error: System.ComponentModel.Win32Exception non è stata gestita ...
Score form inheritence
Mr. X. - 25 Apr 2010 10:48 PM - 10 messages
Hello. I have an inherited windows-form class : MyForm. When I put component on it - I see many code behind (and when I do on a original windows form, I don't get an automatic code behind). Form is declared : ...
Score Option strict
mp - 25 Apr 2010 6:23 PM - 5 messages
Should that be on or off? (i know, dumb question) I'd assume on, but then so many things break looks like it will take long time to rewrite existing prog. example: Option Strict On disallows implicit conversions from 'Object' to ...
Score return value, exit function
mp - 25 Apr 2010 12:03 AM - 5 messages
If one has a class. To use it some condition should be true. So i give it an Init method of type boolean being new to dotnet not sure how to code it?   Function Init() As Boolean     If ConditionNotMet Then ...
Next » 2 3 4 5 6 7 8 9 10