Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #2K
~14.9K People Reached
About Me

PReS Programmer (Direct Mail Specific Language)

Favorite Tags
Member Avatar for purplegerbil

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 …

Member Avatar for TwoFeetDown
0
3K
Member Avatar for NewVBguy

Hi, Here is an example of what you are looking for. This can be easily changed so other controls can be used. pG

Member Avatar for arimegram
0
103
Member Avatar for princess_ann

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

Member Avatar for azizmuda
0
246
Member Avatar for abhinav_blue87

[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 …

Member Avatar for AndreRet
0
167
Member Avatar for luai25

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]

Member Avatar for vb5prgrmr
0
91
Member Avatar for lomyuk
Member Avatar for purplegerbil

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 …

Member Avatar for supriya_priti
0
94
Member Avatar for 1pal4u

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 - …

Member Avatar for AndreRet
-1
164
Member Avatar for robertlees

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

Member Avatar for vb5prgrmr
0
213
Member Avatar for purplegerbil

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. …

Member Avatar for Comatose
0
121
Member Avatar for purplegerbil

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) = …

Member Avatar for Jishnu
0
114
Member Avatar for purplegerbil

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

Member Avatar for Salem
0
100
Member Avatar for sham
Member Avatar for purplegerbil

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

Member Avatar for purplegerbil
0
62
Member Avatar for purplegerbil

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 …

Member Avatar for purplegerbil
0
117
Member Avatar for propricer
Member Avatar for ReeciePoo
Member Avatar for purplegerbil

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 …

Member Avatar for choudhuryshouvi
0
138
Member Avatar for t3hfr3ak

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

Member Avatar for ~Paul~
0
139
Member Avatar for ivy
Member Avatar for ReeciePoo
Member Avatar for jbennet
0
102
Member Avatar for JohnKelly

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]

Member Avatar for davidcairns
0
118
Member Avatar for purplegerbil

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 …

Member Avatar for PVBert
0
96
Member Avatar for Fungus1487

Hi, As for VB6 I use: Visual basic 6 - Programmer Reference by Dan Rahmel Osborne Books - ISBN 0-07-882576-8 Pg

Member Avatar for jbennet
0
108
Member Avatar for purplegerbil

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 + …

Member Avatar for WaltP
0
132
Member Avatar for lover99509

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

Member Avatar for purplegerbil
0
120
Member Avatar for eyad212

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

Member Avatar for purplegerbil
0
76
Member Avatar for jsavoor

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

Member Avatar for Comatose
0
174
Member Avatar for lover99509

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 …

Member Avatar for Comatose
0
165
Member Avatar for purplegerbil

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 …

Member Avatar for Comatose
0
135