- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
PReS Programmer (Direct Mail Specific Language)
I am writing an application which will process data over night. When it's finished a report is printed out. I am wanting the report to be printed to 3 different printers on the same network. Is it possible to do this? All three printers are installed on the pc. Thanks … | |
Re: Hi, Here is an example of what you are looking for. This can be easily changed so other controls can be used. pG | |
Re: Hi Ann, To create an install program for your project, run the [B]Package & Deployment Wizard[/B]. This can be found in the tools folder. (Start bar... All Programs... Microsoft Visual Studio... Tools...) This is quite easy to use. pG | |
Re: [QUOTE=abhinav_blue87;450682]hi...i got reply from your side ... i urgently want a book library management project in visual basic 4/5/6.. please do the needful done... thanking you...[/QUOTE] I'm sure someone will do your project for you. Do they get your grade as well? I think not. Have a go yourself. If … | |
Re: List the files in a ListFileBox Loop through the list checking FileDateTime() [CODE]Dim i as Integer For i = 0 to File1.ListCount If FileDateTime(File1.List(i)) = "11/05/2010" Then ' Do something here End If Next i [/CODE] | |
| |
Hi, When using the following SQL query I get back just over 12,000 records. SELECT JobNumber FROM myTABLE; There are alot of duplicates within the records. I am wanting to only get back one of each JobNumber. If I use SELECT JobNumber FROM myTABLE GROUP BY JobNumber the number of … | |
Re: Hi, The problem is the [B]End If[/B] you have added. see below: [CODE] Private Sub RandomNumbers() Dim intTemp As Integer Randomize 'generate random numbers intNum1 = Int((54 - 1 + 1) * Rnd + 1) intNum2 = Int((54 - 1 + 1) * Rnd + 1) intNum3 = Int((54 - … | |
Re: Hi, You could use the DateDiff command. Syntax: DateDiff(interval,date1,date2) e.g. DaysLeft = DateDiff("d",Now,"25/12/2005") MonthsLeft = DateDiff("m",Now,"25/12/2005") pG | |
Hi, I am wanting to get some data from an Excel spreadsheet. My problem is the data in the cell has been formatted. i.e. This is [B]sample[/B] text. I want to be able to know which bits are made bold and create a string similar to: This is <b>sample<\b> text. … | |
Hi, I have an array that contains 5 elements: i.e. a(0) = "A" a(1) = "B" a(2) = "C" a(3) = "D" a(4) = "E" What I want to be able to do is remove the first element then add information to the end. e.g. a(0) = "B" a(1) = … | |
Hi, Probably a noob question but How would I find out the length of a file in bytes. within VB there is a LOF() command I can use once the file is opened. Is there an equivilant in C. Thanks for any help. pG | |
Re: Examples - MDI - Excel SDI - Notepad | |
Hi, I have the following code: [CODE]<% Dim myMail Set myMail=CreateObject("CDO.Message") myMail.Subject="Information from website" myMail.From="mymail@hotmail.com" myMail.To="someone@hotmail.com" myMail.TextBody="This is the information I want to email" myMail.Send set myMail=nothing %>[/CODE] When I use the above code I do not get an email sent to me. Any ideas? pG | |
Hi, I have a class that runs an external ap using shell then waits till the app is quit before carrying on. Does anybody know if it is possible to start an app say by clicking a button then be told when the app has closed. The app can be … | |
Re: This is a bit basic but might help. pG | |
Re: The EndIf it the wrong side of the close statement. | |
Hi, I have used the following code to add a new field to a database. Is there a way to stop this field having a Null value but still keep it empty? [CODE] strSQL = "SELECT * FROM cells ORDER BY cell, Proof;" Set db = OpenDatabase(lblDatabase.Caption, False, False) Set … | |
Re: Hi, You could also check to see if the file exists: [code]isFile = Dir(FILENAME) [/code] isFile will be blank if the file is missing or contain the filename if it is there. pG | |
Re: Hi, Heres a small example for you pG | |
Re: How does MzTools know which order you want the tabs to be in? | |
Re: Not sure if this is what you are looking for: [URL="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shbrowseforfolder.asp"]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shbrowseforfolder.asp[/URL] | |
Hi, I have written an application using a MDI. This is working well. Within the toolbar it has over 10 buttons each opening a different window within the MDI. In the future I will be adding more to the application. My question is, is it possible to create an application … | |
Re: Hi, As for VB6 I use: Visual basic 6 - Programmer Reference by Dan Rahmel Osborne Books - ISBN 0-07-882576-8 Pg | |
I am using the following code to load a string of text from a file. [CODE] cCnt = 0 fFree = FreeFile Open txtDatafile.Text For Input As #fFree Do cCnt = cCnt + 1 fndRecord = (cCnt * RecLen) - RecLen If cCnt >= 2 Then fndRecord = fndRecord + … | |
Re: I have started to use this instead of the Package & Deployment wizard supplied with VB6. Here is a link to the Visual Studio Installer: [URL="http://msdn.microsoft.com/vstudio/downloads/tools/vsi11/default.aspx"]http://msdn.microsoft.com/vstudio/downloads/tools/vsi11/default.aspx[/URL] I have found it really easy to use, plus the install program it creates is nicer. Hope this helps pG | |
Re: Hi, Have a look at this tutorial. [URL="http://www.timesheetsmts.com/adotutorial.htm"] http://www.timesheetsmts.com/adotutorial.htm[/URL] Hope it helps pG | |
Re: Hi, You havent done a check to see if BigString contains anything in it. [CODE]lenBigString = len(BigString) if lenBigString <=1 then msgbox "Invalid String" end if[/CODE] pG | |
Re: Hi, A couple of ways you could dop this: 1. From Form2, you could [code]label1.caption = Form1.Text1.Text[/code] Thisill copy the text from Text1 on Form 1 to the Label on Form2 2. Add a Module to your script Within the module define the variables to be used across the two … | |
Hi, A program I am writing has the user entering values into textboxes then clicking an 'Add' button. Once clicked one of the textbox values appears in a list box. e.g Job Number, Data Filename, Unique Code The Unique code is displayed in a listbox. All three values are stored … |