<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. https://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="https://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:vbdev</id>
  <title>Visual Basic Developer</title>
  <subtitle>Visual Basic Developer</subtitle>
  <author>
    <name>Visual Basic Developer</name>
  </author>
  <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/"/>
  <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom"/>
  <updated>2008-02-09T17:50:00Z</updated>
  <lj:journal userid="1003868" username="vbdev" type="community"/>
  <link rel="service.feed" type="application/x.atom+xml" href="https://vbdev.livejournal.com/data/atom" title="Visual Basic Developer"/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:36531</id>
    <author>
      <name>nhcarver</name>
    </author>
    <lj:poster user="nhcarver" userid="3055666"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/36531.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=36531"/>
    <title>Running a Service</title>
    <published>2008-02-09T17:50:00Z</published>
    <updated>2008-02-09T17:50:00Z</updated>
    <content type="html">&lt;img src="https://imgprx.livejournal.net/46c1470e0dbe3d4d5b139dce074a8f8581573fb4260e447804cda72b0cd79651/P2WlxyVijxKvg29r88ZfWEMdsf-ah7h00UaBRqBFisKd-hvbm9LrBEAyD15kUEJjsQxAl3LTakxBEkZCmhE9vVs:o0G_1wZs-ZVqTGgv2E28bA" border="0" alt="" fetchpriority="high"&gt; &lt;br /&gt;&lt;br /&gt;I wrote a service in .NET for a friend of mine.  The service is designed to append to a log file when a person opens a program (World of War-craft) or closes it with a time stamp.  It will also close the program down automatically at a specific time if it is running, and not allow it to be opened between certain times of the day.&lt;br /&gt;&lt;br /&gt;The problem I've run into is that when I started the service it runs on one user's account but not on the account it should be running on (the one where the game is played on).  Does anyone know how to get a service to run for &lt;b&gt;all users&lt;/b&gt;?  I've looked into it and cannot find anything on this problem.  Is there a way for a user to not allow services to be running when they are logged on?&lt;br /&gt;&lt;br /&gt;Any help would be appreciated.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:36206</id>
    <author>
      <name>ars_himmel</name>
    </author>
    <lj:poster user="ars_himmel" userid="13574376"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/36206.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=36206"/>
    <title>VBA question</title>
    <published>2007-09-14T12:03:58Z</published>
    <updated>2007-09-14T12:03:58Z</updated>
    <content type="html">About excel. Is there any simple way to check out is the Cell in the named Range or not?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:35614</id>
    <author>
      <name>brvan41</name>
    </author>
    <lj:poster user="brvan41" userid="12983783"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/35614.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=35614"/>
    <title>I am New and Need Help</title>
    <published>2007-05-20T17:15:58Z</published>
    <updated>2007-05-20T17:15:58Z</updated>
    <content type="html">I originally had 2 Comboboxes one listed the MODEL the other listed the FINISH&amp;nbsp; I've got a list box that I am using&amp;nbsp;to display&amp;nbsp;selections. The trouble I was having, was I couldn't figure out how to get these two items appear on one line example:&amp;nbsp; 2304M&amp;nbsp;.It would display on seperate lines. If someone could tell me how to&amp;nbsp;connect them, I'll change it back. Right now I have the selections all in one combobox like 2304M&lt;br /&gt;Also, I'd like to display the Date and&amp;nbsp;Time that selections were made like 2304M&amp;nbsp; Monday May 21, 2007&amp;nbsp; 1:00PM&amp;nbsp;&amp;nbsp; all on one line.&amp;nbsp; I hope I haven't confused anyone, so please forgive me.&lt;br /&gt;&amp;nbsp;Again the names of the boxes are cboModel and cboFinish and ListBox1. I need to know how all the info is saved after selections are made.&amp;nbsp;There will be quite a few items in the ListBox at the end of the day.&lt;br /&gt;Thank You and&amp;nbsp;GodBless&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Brett&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:35371</id>
    <author>
      <name>Chixor</name>
    </author>
    <lj:poster user="chixor1" userid="1953277"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/35371.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=35371"/>
    <title>Thanks and a New Question "Autoincrements?"</title>
    <published>2007-03-31T02:52:41Z</published>
    <updated>2007-03-31T02:52:41Z</updated>
    <content type="html">I want to thank you for the suggestions on my previous issues regarding combo boxes.&lt;br /&gt;I decided to go with the visible/invisible option for 2 combo boxes, it was a lot easier to set up (for now).&lt;br /&gt;&lt;br /&gt;Now I have a new question.&lt;br /&gt;I have to add something to a database, which has an "orderNumber" which is a composite primary key.&lt;br /&gt;Im not sure how my database would create the new order number or how to get my application to add the order number.&lt;br /&gt;Here is the code I have so far-&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        'inserts the calculated order into tblPurchase&lt;br /&gt;        Me.TblPurchaseTableAdapter.Insert(txtProdID.Text, orderNum, prodQuantity, _&lt;br /&gt;        prodPrice, shipCost, salesTax,  totalCost, Today)&lt;br /&gt;    &lt;br /&gt;        'fills the dataset for the tblPurchase with data&lt;br /&gt;        Me.TblPurchaseTableAdapter.Fill(Me.DsLeopard.tblPurchase)&lt;br /&gt;&lt;br /&gt;Now someone suggeted I do this to fill in the order number:-&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        'retrieves the maximum current order number and increments it.&lt;br /&gt;        Dim orderNum As Int32 = Me.TblPurchaseTableAdapter.MaxOrderNum()&lt;br /&gt;        orderNum = orderNum + 1&lt;br /&gt;&lt;br /&gt;But with my lack of knowledge on some of this, im not sure how to make/code a scalar query to the table adapter for the tblPurchase table that retrieves the maximum order number.&lt;br /&gt;&lt;br /&gt;Any thoughts/suggestions on how I could do this?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:35094</id>
    <author>
      <name>Chixor</name>
    </author>
    <lj:poster user="chixor1" userid="1953277"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/35094.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=35094"/>
    <title>Changing the data bound to a combo box</title>
    <published>2007-03-28T02:13:48Z</published>
    <updated>2007-03-28T02:13:48Z</updated>
    <content type="html">Hi all, I was wondering if anyone had some advice for the brick wall im running into on a project.&lt;br /&gt;Ive tried different VB forums, and endless searches and I cant seem to find an answer.&lt;br /&gt;&lt;br /&gt;Im writing the application in VS2005. The application is a product inventory for foods.&lt;br /&gt;It is linking to an Access Database with 3 tables.&lt;br /&gt;&lt;br /&gt;My form has a combo box at the top which allows the user to select the product by description.&lt;br /&gt;It is linked to the description column of the products table.&lt;br /&gt;In my file menu I have options that specify "Select &amp;gt; By Product Description" and "Select &amp;gt; By Product ID"&lt;br /&gt;&lt;br /&gt;I cannot for the life of me find any examples of code for these select buttons, that will change the combo box to display either Product ID or Description based on choice?&lt;br /&gt;&lt;br /&gt;Any help would be greatly appreciated.&lt;br /&gt;Many thanks.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:34885</id>
    <author>
      <name>Yryna Romanov</name>
    </author>
    <lj:poster user="ladycastlemaine" userid="12279149"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/34885.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=34885"/>
    <title>this might seem like a silly question</title>
    <published>2007-03-10T17:04:56Z</published>
    <updated>2007-03-10T17:04:56Z</updated>
    <content type="html">Could someone please tell me in layman's terms what the Math.Abs function does? I need to use it in order to calculate the difference between 2 data members of a class. I've tried googling it but I get even more confused. &lt;br /&gt;&lt;br /&gt;Thank you for your help :)</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:34662</id>
    <author>
      <name>Yryna Romanov</name>
    </author>
    <lj:poster user="ladycastlemaine" userid="12279149"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/34662.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=34662"/>
    <title>classes and methods</title>
    <published>2007-02-21T05:01:41Z</published>
    <updated>2007-02-21T05:01:41Z</updated>
    <content type="html">Are there any good websites on this subject? My professor's an ass and doesn't know how to teach so I'm going to teach myself.&lt;br /&gt;&lt;br /&gt;Thank you in advance. :)</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:34483</id>
    <author>
      <name>babyfireflyx</name>
    </author>
    <lj:poster user="rhiahnnon" userid="8434724"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/34483.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=34483"/>
    <title>converting to an executable file</title>
    <published>2006-12-04T19:40:54Z</published>
    <updated>2006-12-04T19:40:54Z</updated>
    <content type="html">Hello! How would one convert their project into an application that can be used on any OS even if it does not have vb? Normally I'd check my textbook but I left it at home. I've never done this before. I'm using visual studio 2003.&lt;br /&gt;&lt;br /&gt;I thank you in advance for your help! :)</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:33762</id>
    <author>
      <name>babyfireflyx</name>
    </author>
    <lj:poster user="rhiahnnon" userid="8434724"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/33762.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=33762"/>
    <title>Dynamic Arrays (Please help yet again)</title>
    <published>2006-10-18T03:31:18Z</published>
    <updated>2006-10-18T03:31:18Z</updated>
    <content type="html">Could someone please help?&lt;br /&gt;&lt;br /&gt;Here's what I have to do:&lt;br /&gt;&lt;br /&gt;1. Code PrintGradesButton to display the grade list in MessageLabel.&lt;br /&gt;2. Code AddGradeButton to:&lt;br /&gt;a)pop up with an input box and allow the user to enter the new grade.&lt;br /&gt;intGrade = CInt(InputBox("Enter grade:"))&lt;br /&gt;b) increase the size of the array by 1.&lt;br /&gt;c) store the new grade in the array.&lt;br /&gt;&lt;br /&gt;This is what I did but I'm not sure if it's right.&lt;br /&gt;&lt;br /&gt;Private Grades() As Int16 'declare array on top of the form&lt;br /&gt;&lt;br /&gt;In the AddGradeButton I have this code:&lt;br /&gt;&lt;br /&gt;dim intGrade as int16&lt;br /&gt;dim intValue as int16&lt;br /&gt;intGrade = CInt(InputBox("Enter grade:"))&lt;br /&gt;intGrade = GetUpperBound(+1)&lt;br /&gt;ReDim Preserve Grade(intValue)&lt;br /&gt;Grade(intValue) = intGrade&lt;br /&gt;&lt;br /&gt;Does this look right to you?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:33342</id>
    <author>
      <name>babyfireflyx</name>
    </author>
    <lj:poster user="rhiahnnon" userid="8434724"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/33342.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=33342"/>
    <title>In serious need of help :(</title>
    <published>2006-09-29T04:06:16Z</published>
    <updated>2006-09-29T04:06:16Z</updated>
    <content type="html">Hello..I just need some assistance regarding something that I'm trying to do.&lt;br /&gt;&lt;br /&gt;I need to create a procedure called SetFont with 2 parameters: a label parameter and a string parameter. This procedure will recieve a label object and define the label's font settings. The string parameter will be 1 byte: H, N or R. Inside the procedure I need to use a Select Case statement that examines the string parameter and sets the fonts as shown below:&lt;br /&gt;&lt;br /&gt;Heading(H) - Font Name (comic Sans MS); font size 14 bold - true, italic - false, foreColor - any colour&lt;br /&gt;&lt;br /&gt;Normal (N) font name (comic sans MS), font size: 11, bold - false, italic - false, foreColor - any colour&lt;br /&gt;&lt;br /&gt;Refund (R) fontname (Arial), fontsize - 9, bold - true, italic- true, forecolor - any colour&lt;br /&gt;&lt;br /&gt;Inside the other procedure (DisplayTotal - don't worry about this) I need to call SetFont as appropriate...&lt;br /&gt;&lt;br /&gt;I've tried to figure this out but I can't make any sense of it for the life of me. I need to do it for one of my classes..I'm such a n00b at this&lt;br /&gt;&lt;br /&gt;Anyways, thank you for your time..</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:33126</id>
    <author>
      <name>namco_</name>
    </author>
    <lj:poster user="namco_" userid="2044627"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/33126.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=33126"/>
    <title>vbdev @ 2006-09-25T23:01:00</title>
    <published>2006-09-25T22:27:37Z</published>
    <updated>2006-09-25T22:27:37Z</updated>
    <content type="html">I'll try to go through this as simply as I can as I don't know how complex this sounds. I'm using VB 6.0 and I'm developing a helper program for an old wargame called BattleTech, currently I have a main screen that lets you open a selector page for selecting only 4 robots from a pool of about 15 robots. The way you select is to double click the picture and that tells another form, which is also on screen, to add an item to its list box with just text saying the robot you selected ie if you double click the Robot Alpha picture an item appears with the text "Robot Alpha". Once all 4 robots are selected, and the selection screen is closed, you then select all the items in the listbox and click a button on that form which sends each list to an option button, on the main screen. The option button's caption is updated with each robot's name respectively ie the first robot on the list will go onto the first option button. These option buttons are in a control array and there are 4 of them.&lt;br /&gt;&lt;br /&gt;This means that 1 robot could appear at least once at any of the 4 option buttons. What I would like the program to do is when the option button, for a robot, is clicked and a button is pressed it reads a file that contains information for walking, running and jumping and populates that into the text boxes i have on the main screen. I've already tried doing this numerous times only managing to get a little far with one robot. Here's the code I have so far&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dim tmpString As String&lt;br /&gt;Dim ReadFrom As String&lt;br /&gt;&lt;br /&gt;Private Sub cmdOpen_Click()&lt;br /&gt;Dim a&lt;br /&gt;Dim b&lt;br /&gt;Dim c&lt;br /&gt;Dim d&lt;br /&gt;&lt;br /&gt;     Close&lt;br /&gt;    Open "C:\Documents and Settings\J\My Documents\BattleTech pbem program\mech.dat" For Input As #1&lt;br /&gt;    For d = 0 To 3 Step 1&lt;br /&gt;        If frmBTechMain.optMech(d).Caption = "Commando COM-2D" Or (EOF(1) = True) Then&lt;br /&gt;        Close #1&lt;br /&gt;        Open "C:\Documents and Settings\J\My Documents\BattleTech pbem program\mech.dat" For Input As #1&lt;br /&gt;            ReadFrom = "&lt;commando com-2d="com-2d"&gt;"&lt;br /&gt;            Line Input #1, tmpString&lt;br /&gt;            If StrComp(ReadFrom, tmpString) = 0 Then&lt;br /&gt;                Do While tmpString &amp;lt;&amp;gt; "&lt;/commando&gt;"&lt;br /&gt;                    Line Input #1, tmpString&lt;br /&gt;                    If StrComp(tmpString, "&lt;walking&gt;") = 0 Then&lt;br /&gt;                        Line Input #1, tmpString&lt;br /&gt;                        frmBTechMain.txtWalking = tmpString&lt;br /&gt;                    End If&lt;br /&gt;                    If StrComp(tmpString, "&lt;running&gt;") = 0 Then&lt;br /&gt;                        Line Input #1, tmpString&lt;br /&gt;                        frmBTechMain.txtRunning = tmpString&lt;br /&gt;                    End If&lt;br /&gt;                    If StrComp(tmpString, "&lt;jumping&gt;") = 0 Then&lt;br /&gt;                        Line Input #1, tmpString&lt;br /&gt;                        If tmpString = "0" Then&lt;br /&gt;                            frmBTechMain.lblJumping.Enabled = False&lt;br /&gt;                            frmBTechMain.txtJumping.Enabled = False&lt;br /&gt;                            frmBTechMain.txtJumping = tmpString&lt;br /&gt;                        Else&lt;br /&gt;                            frmBTechMain.txtJumping = tmpString&lt;br /&gt;                        End If&lt;br /&gt;                    End If&lt;br /&gt;                Loop&lt;br /&gt;            Else&lt;br /&gt;                Line Input #1, tmpString&lt;br /&gt;            End If&lt;br /&gt;        ElseIf frmBTechMain.optMech(d).Caption = "Spider SDR-5V" Or (EOF(1) = True) Then&lt;br /&gt;        Close #1&lt;br /&gt;        Open "C:\Documents and Settings\J\My Documents\BattleTech pbem program\mech.dat" For Input As #1&lt;br /&gt;           ReadFrom = "&lt;spider sdr-5v="sdr-5v"&gt;"&lt;br /&gt;            Line Input #1, tmpString&lt;br /&gt;            If StrComp(ReadFrom, tmpString) = 0 Then&lt;br /&gt;                Do While tmpString &amp;lt;&amp;gt; "&lt;/spider&gt;"&lt;br /&gt;                    Line Input #1, tmpString&lt;br /&gt;                    If StrComp(tmpString, "&lt;walking&gt;") = 0 Then&lt;br /&gt;                        Line Input #1, tmpString&lt;br /&gt;                        frmBTechMain.txtWalking = tmpString&lt;br /&gt;                    End If&lt;br /&gt;                    If StrComp(tmpString, "&lt;running&gt;") = 0 Then&lt;br /&gt;                        Line Input #1, tmpString&lt;br /&gt;                        frmBTechMain.txtRunning = tmpString&lt;br /&gt;                    End If&lt;br /&gt;                    If StrComp(tmpString, "&lt;jumping&gt;") = 0 Then&lt;br /&gt;                        Line Input #1, tmpString&lt;br /&gt;                        If tmpString = "0" Then&lt;br /&gt;                            frmBTechMain.lblJumping.Enabled = False&lt;br /&gt;                            frmBTechMain.txtJumping.Enabled = False&lt;br /&gt;                            frmBTechMain.txtJumping = tmpString&lt;br /&gt;                        Else&lt;br /&gt;                            frmBTechMain.txtJumping = tmpString&lt;br /&gt;                        End If&lt;br /&gt;                    End If&lt;br /&gt;                Loop&lt;br /&gt;            Else&lt;br /&gt;                Line Input #1, tmpString&lt;br /&gt;            End If&lt;br /&gt;        ElseIf frmBTechMain.optMech(d).Caption = "Jenner JR7-D" Or (EOF(1) = True) Then&lt;br /&gt;        Close #1&lt;br /&gt;        Open "C:\Documents and Settings\J\My Documents\BattleTech pbem program\mech.dat" For Input As #1&lt;br /&gt;           ReadFrom = "&lt;jenner jr7-d="jr7-d"&gt;"&lt;br /&gt;            Line Input #1, tmpString&lt;br /&gt;            If StrComp(ReadFrom, tmpString) = 0 Then&lt;br /&gt;                Do While tmpString &amp;lt;&amp;gt; "&lt;/jenner&gt;"&lt;br /&gt;                    Line Input #1, tmpString&lt;br /&gt;                    If StrComp(tmpString, "&lt;walking&gt;") = 0 Then&lt;br /&gt;                        Line Input #1, tmpString&lt;br /&gt;                        frmBTechMain.txtWalking = tmpString&lt;br /&gt;                    End If&lt;br /&gt;                    If StrComp(tmpString, "&lt;running&gt;") = 0 Then&lt;br /&gt;                        Line Input #1, tmpString&lt;br /&gt;                        frmBTechMain.txtRunning = tmpString&lt;br /&gt;                    End If&lt;br /&gt;                    If StrComp(tmpString, "&lt;jumping&gt;") = 0 Then&lt;br /&gt;                        Line Input #1, tmpString&lt;br /&gt;                        If tmpString = "0" Then&lt;br /&gt;                            frmBTechMain.lblJumping.Enabled = False&lt;br /&gt;                            frmBTechMain.txtJumping.Enabled = False&lt;br /&gt;                            frmBTechMain.txtJumping = tmpString&lt;br /&gt;                        Else&lt;br /&gt;                            frmBTechMain.txtJumping = tmpString&lt;br /&gt;                        End If&lt;br /&gt;                    End If&lt;br /&gt;                Loop&lt;br /&gt;            Else&lt;br /&gt;                Line Input #1, tmpString&lt;br /&gt;            End If&lt;br /&gt;        ElseIf frmBTechMain.optMech(d).Caption = "Panther PNT-9R" Or (EOF(1) = True) Then&lt;br /&gt;        Close #1&lt;br /&gt;        Open "C:\Documents and Settings\J\My Documents\BattleTech pbem program\mech.dat" For Input As #1&lt;br /&gt;            ReadFrom = "&lt;panther pnt-9r="pnt-9r"&gt;"&lt;br /&gt;            Line Input #1, tmpString&lt;br /&gt;            If StrComp(ReadFrom, tmpString) = 0 Then&lt;br /&gt;                Do While tmpString &amp;lt;&amp;gt; "&lt;/panther&gt;"&lt;br /&gt;                    Line Input #1, tmpString&lt;br /&gt;                    If StrComp(tmpString, "&lt;walking&gt;") = 0 Then&lt;br /&gt;                        Line Input #1, tmpString&lt;br /&gt;                        frmBTechMain.txtWalking = tmpString&lt;br /&gt;                    End If&lt;br /&gt;                    If StrComp(tmpString, "&lt;running&gt;") = 0 Then&lt;br /&gt;                        Line Input #1, tmpString&lt;br /&gt;                        frmBTechMain.txtRunning = tmpString&lt;br /&gt;                    End If&lt;br /&gt;                    If StrComp(tmpString, "&lt;jumping&gt;") = 0 Then&lt;br /&gt;                        Line Input #1, tmpString&lt;br /&gt;                        If tmpString = "0" Then&lt;br /&gt;                            frmBTechMain.lblJumping.Enabled = False&lt;br /&gt;                            frmBTechMain.txtJumping.Enabled = False&lt;br /&gt;                            frmBTechMain.txtJumping = tmpString&lt;br /&gt;                        Else&lt;br /&gt;                            frmBTechMain.txtJumping = tmpString&lt;br /&gt;                        End If&lt;br /&gt;                    End If&lt;br /&gt;                Loop&lt;br /&gt;            Else&lt;br /&gt;                Line Input #1, tmpString&lt;br /&gt;            End If&lt;br /&gt;        End If&lt;br /&gt;    Next&lt;br /&gt;    Close #1&lt;br /&gt;End Sub&lt;br /&gt;&lt;a name='cutid1-end'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Those Dim a,b,c,d have been left there as I had been messing around with nesting extra For...Next loops.&lt;br /&gt;&lt;br /&gt;Sorry for the longness of this post and I hope I've given enough information. If not then please let me know.&lt;br /&gt;&lt;br /&gt;Thanks very much!</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:32941</id>
    <author>
      <name>Люба</name>
    </author>
    <lj:poster user="sladuska" userid="5579940"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/32941.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=32941"/>
    <title>GTMaskDate</title>
    <published>2006-09-17T18:48:15Z</published>
    <updated>2006-09-17T18:48:15Z</updated>
    <content type="html">Hi, guys.&lt;br /&gt;I'm using GTMaskDate control of GreenTree (3d party control). It opens a calendar when user clicks on it and user can choose the date. Inside the calendar there are days of the week, usually it's order is: Sun, Mon, Tue, Wed, Thu, Fri, Sat. I need to change the order of the days for the russian project to be Mon, Tue, Wed, Thu, Fri, Sat, Sun.&lt;br /&gt;Does anyone knows how can I define it in GTMaskDate? I read the GreenTree help, the explanations regarding the properties, method and events of this control but I didn't see anything concerning the order of the days in week.&lt;br /&gt;Please, help!</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:32350</id>
    <author>
      <name>nagoHaK</name>
    </author>
    <lj:poster user="geg_ma3au" userid="4158092"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/32350.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=32350"/>
    <title>Using SGrid2 FindSearchMatchRow() function</title>
    <published>2006-08-28T11:48:48Z</published>
    <updated>2006-08-28T11:53:04Z</updated>
    <content type="html">Hi 2 all!&lt;br /&gt;&lt;br /&gt;Dose&amp;nbsp; somebody use the SGrid2 control from &lt;a href="http://www.vbaccelerator.com" target="_blank" rel="nofollow"&gt;www.vbaccelerator.com&lt;/a&gt;?&lt;br /&gt;I have one problem with it, may be you can help me:&lt;br /&gt;How I can use &lt;font color="#0000ff"&gt;FindSearchMatchRow&lt;/font&gt;(sSearchString As String, [bLoop As Boolean = True], [bVisibleRowsOnly As Boolean = True]) function, cause it nothing search in columns with &lt;font color="#0000ff"&gt;ECGSortType &lt;/font&gt;other than &lt;font color="#0000ff"&gt;CCLSortNumeric ?&lt;br /&gt;&lt;br /&gt;&lt;font color="#000000"&gt;I'd like to use this usefull function cause it's not good idea to completely rebuild datagrid by changing query to database.&lt;br /&gt;&lt;br /&gt;Thank's to all.&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:32035</id>
    <author>
      <name>Melissa</name>
    </author>
    <lj:poster user="avalonmissy" userid="79053"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/32035.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=32035"/>
    <title>VBScript to VB</title>
    <published>2006-08-14T18:53:57Z</published>
    <updated>2006-08-14T18:53:57Z</updated>
    <content type="html">I currently have a VBScript that connects to a database, pulls out some information, does a compairson and then sends an email if conditions are met. It works online but I need to find a way to make this run on a schedule and I think the best way is probably to write it as a Visual Basic exe and set it up on the web server using the Windows scheduler.&lt;br /&gt;&lt;br /&gt;It's been about 5 years since I wrote a VB program so I was wondering if anyone out there could help me sort how to go about doing the same thing in VB as I did in VBScript? Or point me towards a tutorial that will let me connect to a database, run a query and send an email.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:31737</id>
    <author>
      <name>Eaho Laula</name>
    </author>
    <lj:poster user="xterminal" userid="3397938"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/31737.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=31737"/>
    <title>Read, ReadLine, and annoying text files.</title>
    <published>2006-06-13T16:03:49Z</published>
    <updated>2006-06-13T16:03:49Z</updated>
    <lj:music>Garmarna, "Hilla Lilla"</lj:music>
    <content type="html">So I have this file I'm trying to read into SQL Server with a DTS package that uses a VBScript component (which is why I'm posting here).&lt;br /&gt;&lt;br /&gt;Easy code:&lt;br /&gt;&lt;pre&gt;	do until x.AtEndOfStream
		name_of_junk_var = x.ReadLine
		msgbox name_of_junk_var&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now, here's the hard part. I won't be able to post an example of the file, because the reason I'm using ReadLine is that when I open the file in notepad, the characters I see between lines are unprintables (represented in notepad with those generic little rectangles that tell me nothing).&lt;br /&gt;&lt;br /&gt;So, questions.&lt;br /&gt;&lt;br /&gt;1. Is there any way to play with what ReadLine sees as a row delimiter?&lt;br /&gt;2. If not, is there any way for me to discover what these unprintables are without endless trial-and-error (since I assume I'll be using Read if ReadLine can't be modified)?&lt;br /&gt;&lt;br /&gt;Thanks.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:31064</id>
    <author>
      <name>rachaelkioot</name>
    </author>
    <lj:poster user="rachaelkioot" userid="8584468"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/31064.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=31064"/>
    <title>Adding a value to a table</title>
    <published>2006-05-28T00:15:12Z</published>
    <updated>2006-05-28T00:15:12Z</updated>
    <content type="html">Heeelp!!! I'm making a database in Access and I have this form that retrieves a Vendor's name from the Vendor table.&lt;br /&gt;&lt;br /&gt;The thing is, it needs to - ugh how can I 'splain this without a picture? hm...&lt;br /&gt;&lt;br /&gt;VENDOR TABLE FIELDS&lt;br /&gt;ven_id (PK)&lt;br /&gt;ven_name&lt;br /&gt;&lt;br /&gt;CHECK TABLE FIELDS&lt;br /&gt;check_ven_id (FK - looks up a value in the ven_id field in the vendor table)&lt;br /&gt;&lt;br /&gt;CHECK FORM&lt;br /&gt;combo box that looks up vendor.ven_name&lt;br /&gt;several text boxes that enter info into the check table (such as check amount and check number)&lt;br /&gt;&lt;br /&gt;The problem is, when I put the vendor name into the combo box, the form complains because it can't match vendor.ven_id with any values in check.check_ven_id&lt;br /&gt;&lt;br /&gt;I need it to automatically enter the appropriate vendor ID into the check.check_ven_id field as soon as the vendor name is selected in the combo box and I can't for the life of me figure out how to do this.&lt;br /&gt;&lt;br /&gt;Wow that was wordy. I hope you guys can decipher it. It would be much easier to explain it if you could see it.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:30858</id>
    <author>
      <name>Lisa</name>
    </author>
    <lj:poster user="julisana" userid="393507"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/30858.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=30858"/>
    <title>Question...</title>
    <published>2006-05-15T04:58:56Z</published>
    <updated>2006-05-15T05:13:57Z</updated>
    <content type="html">I don't know what this is called in VB.NET, so I'm not sure what to search for.  I'm looking for the VB equivilant to the JAVA Vector, which is like an array, except you don't have to set the number of elements in it.&lt;br /&gt;&lt;br /&gt;If you could point me in the right direction, I'd really appreciate it.&lt;br /&gt;&lt;br /&gt;Thanks so much!&lt;br /&gt;--Lisa&lt;br /&gt;&lt;br /&gt;(updated for my own brain-deadedness)</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:30490</id>
    <author>
      <name>karegon</name>
    </author>
    <lj:poster user="karegon" userid="5980150"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/30490.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=30490"/>
    <title>it never ends.....</title>
    <published>2006-05-10T13:24:45Z</published>
    <updated>2006-05-10T13:24:45Z</updated>
    <content type="html">i sometimes wish i had the time and money for a personal tuteor for this stuff.&lt;br /&gt;&lt;br /&gt;i hav a program with 2 forms. we shall call them form 1 and form 2.&lt;br /&gt;&lt;br /&gt;i would like to right some code in fomr 2 to add text to a list box in form 1.&lt;br /&gt;&lt;br /&gt;anyone want to talk me through this?&lt;br /&gt;&lt;br /&gt;thanks in advance....</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:30252</id>
    <author>
      <name>angel:: *princess.</name>
    </author>
    <lj:poster user="love_pearl" userid="6611674"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/30252.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=30252"/>
    <title>vbdev @ 2006-04-05T13:19:00</title>
    <published>2006-04-05T05:23:32Z</published>
    <updated>2006-04-05T05:23:32Z</updated>
    <content type="html">I realise I might come across as somewhat of a dimwit posting this, but please do bear with me.&lt;br /&gt;&lt;br /&gt;i am trying to create a survey using visual basic editor. i'm doing this via microsoft powerpoint. i'm cool with the userform and option buttons. now my questions are:&lt;br /&gt;&lt;br /&gt;1. how do i get the userform to run when the ppt file is opened? right now when i open the ppt i just get a blank presentation but when i go to tools-&amp;gt;visual basic editor my code is all there.&lt;br /&gt;&lt;br /&gt;2. since this is a survey, i need to get the answers to the survey questions saved. How can i insert an "ok" button that will save the selected responses to my ppt file?&lt;br /&gt;&lt;br /&gt;this is pretty urgent. i really appreciate any help i could get.&lt;br /&gt;thanks so very much!</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:29993</id>
    <author>
      <name>karegon</name>
    </author>
    <lj:poster user="karegon" userid="5980150"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/29993.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=29993"/>
    <title>vbdev @ 2006-03-19T00:13:00</title>
    <published>2006-03-19T00:13:11Z</published>
    <updated>2006-03-19T00:13:11Z</updated>
    <lj:music>james-bond-theme</lj:music>
    <content type="html">i was wondering if there is anyway to bundle image files into an exe file with VB6?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:29779</id>
    <author>
      <name>Bottlerocket</name>
    </author>
    <lj:poster user="allroy" userid="812267"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/29779.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=29779"/>
    <title>Multiselect on bound Datagridview's</title>
    <published>2006-03-17T16:35:18Z</published>
    <updated>2006-03-17T16:35:18Z</updated>
    <content type="html">Ok, I have 3 datagrids, and I have datasources bound to them.&lt;br /&gt;&lt;br /&gt;When you click an item on the master grid, the two grids under it filter using The row selected as the criteria of what to display.&lt;br /&gt;if you pick grid #2 grid #3 follows this behavior.&lt;br /&gt;&lt;br /&gt;The problem is the app isn't aware of selecting more than 1 row. I have multi-select turned on, so how would I make it use both rows selected?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:29588</id>
    <author>
      <name>parker835k</name>
    </author>
    <lj:poster user="parker835k" userid="7851254"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/29588.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=29588"/>
    <title>Conver VB to .exe</title>
    <published>2006-03-15T17:32:46Z</published>
    <updated>2006-03-15T17:32:46Z</updated>
    <content type="html">Hi,&lt;br /&gt;Can anyone tell me if it is easy enough to convert an Visual Basic 6.0 program into an .exe?  I have a program that I want to be able to run without anyone accessing the code.  Is this something I can do on my own?&lt;br /&gt;Thanks!!</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:29376</id>
    <author>
      <name>Bottlerocket</name>
    </author>
    <lj:poster user="allroy" userid="812267"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/29376.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=29376"/>
    <title>Event Handlers VB2005</title>
    <published>2006-03-13T21:14:17Z</published>
    <updated>2006-03-13T21:14:17Z</updated>
    <content type="html">Ok, I'm pretty new to this so bare with me.&lt;br /&gt;&lt;br /&gt;Basically I have a form that's populated dynamically.&lt;br /&gt;In the case I'm working with, when a button is pushed a new group box is created via a call to another class (call it filterclass) and placed on a flowlayoutpanel.  This group box contains text box's and buttons. The problem is there appear to be no eventhandlers for these text boxes or buttons and I need them to handle a click event. So My question is, how do I add a click event to the textboxes?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;User pushes button on main form.&lt;br /&gt;The button calls "filter.addgroupbox()" &lt;br /&gt;Groupbox control (with child controls) is added to a layoutpanel on the main form.&lt;br /&gt;&lt;br /&gt;The problem is the main form now has no way to access the events.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have access to the source so I can do whatever is needed.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:29085</id>
    <author>
      <name>babyfireflyx</name>
    </author>
    <lj:poster user="rhiahnnon" userid="8434724"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/29085.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=29085"/>
    <title>sequential file access - contents not displaying on form..So confused</title>
    <published>2006-03-06T20:06:52Z</published>
    <updated>2006-03-06T20:06:52Z</updated>
    <content type="html">I'm working with this file with the following contents:&lt;br /&gt;&lt;br /&gt;"90200067","Toothpaste", true&lt;br /&gt;"44301527","Chicken", false&lt;br /&gt;"88202599","Diapers", true&lt;br /&gt;"12300371","Milk", false&lt;br /&gt;"18323900","Lawn Furniture", true&lt;br /&gt;"42700329","Butter", false&lt;br /&gt;"93200232","Okra", false&lt;br /&gt;"93200264","Strawberries", false&lt;br /&gt;&lt;br /&gt;Basically I have to display all of the contents of this file either on the form itself or it's sent to file. My problem is that only the last line ("strawberries") is displaying..Whereas all of the words showing up..&lt;br /&gt;&lt;br /&gt;I have no idea how to fix this. I can't get help from my teacher.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is my code:&lt;br /&gt;&lt;br /&gt;Private Sub TillReceiptButton_Click(ByVal sender As System.Object, ByVal e As System.E....&lt;br /&gt;&lt;br /&gt; Dim StrLongString As String&lt;br /&gt;        Dim decTotal As Decimal&lt;br /&gt;        Dim decTax As Decimal&lt;br /&gt;        Dim strfilename As String&lt;br /&gt;        Dim strBarcode As String&lt;br /&gt;        Dim strTax As String&lt;br /&gt;        Dim strItem As String&lt;br /&gt;        Dim decSubTotal As Decimal&lt;br /&gt;        Dim decPrice As Decimal&lt;br /&gt;        Dim strfilename2 As String&lt;br /&gt;        Dim strPayment As String&lt;br /&gt;        Dim specificdate As Date&lt;br /&gt;        Dim specifictime As Date&lt;br /&gt;&lt;br /&gt;FileOpen(1, "store.dat", OpenMode.Input)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        Do While Not EOF(1)&lt;br /&gt;&lt;br /&gt;            Input(1, strBarcode)&lt;br /&gt;            Input(1, strItem)&lt;br /&gt;            Input(1, strTax)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            decPrice = CDec(strBarcode.Substring(4, 4)) / 100&lt;br /&gt;            WordsLabel.Text = strItem&lt;br /&gt;            NumbersLabel.Text = FormatCurrency(decPrice)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        Loop&lt;br /&gt;        &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        FileClose(1)&lt;br /&gt;&lt;br /&gt;        StrLongString = "Subtotal: " &amp; " " &amp; FormatCurrency(decSubTotal) &amp; ControlChars.NewLine &amp; "Tax Amount " &amp; _&lt;br /&gt;               FormatCurrency(decTax) &amp; ControlChars.NewLine &amp; FormatCurrency(decTotal) &amp; ControlChars.NewLine &amp; ControlChars.NewLine _&lt;br /&gt;               &amp; strPayment &amp; " " &amp; "Payment recieved on " &amp; specificdate.ToLongDateString &amp; " " &amp; specifictime.ToShortTimeString &amp; _&lt;br /&gt;               ControlChars.NewLine &amp; ControlChars.NewLine &amp; "Thank you for shopping with us."&lt;br /&gt;&lt;br /&gt;        TotalsLabel.Text = StrLongString&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        If writetofileCheckBox.Checked Then&lt;br /&gt;            FileOpen(1, "storereport.txt", OpenMode.Output)&lt;br /&gt;&lt;br /&gt;            PrintLine(1, StrLongString)&lt;br /&gt;            TotalsLabel.Text = String.Empty&lt;br /&gt;            WordsLabel.Text = String.Empty&lt;br /&gt;            NumbersLabel.Text = String.Empty&lt;br /&gt;            FileClose(1)&lt;br /&gt;&lt;br /&gt;        Else&lt;br /&gt;            WordsLabel.Text = strItem&lt;br /&gt;            NumbersLabel.Text = FormatCurrency(decPrice)&lt;br /&gt;            TotalsLabel.Text = StrLongString&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        End If&lt;br /&gt;&lt;br /&gt;        &lt;br /&gt;        &lt;br /&gt;&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I'd really appreciate some advice. Thank you kindly!!</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:vbdev:28746</id>
    <author>
      <name>amosch</name>
    </author>
    <lj:poster user="amosch" userid="9689437"/>
    <link rel="alternate" type="text/html" href="https://vbdev.livejournal.com/28746.html"/>
    <link rel="self" type="text/xml" href="https://vbdev.livejournal.com/data/atom/?itemid=28746"/>
    <title>code help</title>
    <published>2006-03-05T19:13:09Z</published>
    <updated>2006-03-05T19:13:09Z</updated>
    <content type="html">I am attempting to pass a start and end date range to a crystal report called from visual basic 6. I have seen some code snippets online as examples, however they are not doing the trick. I keep getting an "Error in Formula"&lt;br /&gt;&lt;br /&gt;I am gettingmy two date range variables from start and end date text boxes.&lt;br /&gt;&lt;br /&gt;If someone could help me out, I'll have to hug ya.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;strQryString = "{LndTowerData.[DATE]} &amp;gt;= #" &amp; Format(txtStartDate.Text, "mm-dd-yyyy") &amp; "# And {LndTowerData.[Date]} &amp;lt;= #" &amp; Format(txtEndDate.Text, "mm-dd-yyyy") &amp; "#"&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;rptLndBill.SelectionFormula = strQryString&lt;br /&gt;&lt;br /&gt;rptLndBill.Action = 1</content>
  </entry>
</feed>
