ProcessStart(textfile) focus issue 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) End Sub the app is a vbnet app running inside autoCad, so it acts like i'm enteri... 12 May 2010 09:09
Reading emails from distribution group and extract attachment Hi We are using Exchange 2003 as part of sbs 2003 premium. We have a distribution group abc which receives emails abc(a)mydomian.com. How can I retrieve emails from this distribution group and extract any PDF attachments that may be present using vb.net or another .net language? Many Thanks Regards ... 30 Apr 2010 15:10
Need help printing multiple pages in VB.Net 2008 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 System.Eve... 30 Apr 2010 10:36
Adding time to date 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: "0344", "1102", "456" The minutes are always 2 digits, but the hour can be either 1 or 2 digits. What I ... 30 Apr 2010 12:51
OLEDB v's Access's FE BE Connection 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 response time increases, like to around a minute to open. Not good! The network is known to be slow, 2 meg bandwith and I'm not helping by having a ... 29 Apr 2010 11:15
ByVal copy a variable 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 SendToEmailAdd... 28 Apr 2010 20:53
design pattern examples 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. ... 29 Apr 2010 15:49
string split by first occurens number 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" Does anyone have a solution? Thanx ... 28 Apr 2010 11:44
Is it possible with Linq to update a dataset? 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) Next Next Is it possible to do the same with Linq? Thanks in advance for ... 28 Apr 2010 15:11
Math drawing question 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 and a length for a second line starting from x2,y2 going to x3,y3 But how do I calculate the value for x3,y3? I think I n... 28 Apr 2010 09:29 |