| |
thread by: Stuart Grant |
last post Jul 17 '05 by: Stuart Grant
I am trying to print out a report in a VB6 program but can't get the figures
in a column lined up. In QB it was simple. Format all the numbers with
"###,###.##" or equivalent and print at a tab. All the decimal points lined
up. But it doesn't work in VB. Thought I might need a fixed pitch font but
when I do Printer.FontName = "Courier". ...
|
thread by: Christian |
last post Jul 17 '05 by: Christian
I have a problem with a small program. In this program I have two forms
(FrmMain and FrmFind).
On my computer with Windows in French there is no problem but with other
windows versions (Win XP Pro Spanish) the main form doesn't receive the
datas from FrmFind.
I've tried several systems:
----------------
|
thread by: JerryB |
last post Jul 17 '05 by: JerryB
i am looking for a way to capture some data from a web DB that is set up to
only allow a user to view one page of a query at a time or to print the
entire query. i don't want to print and retype for obvious reasons.
so i would like to "capture" the text of report that goes to the printer and
put it into a DB in my app.
so does anyone know...
|
thread by: Dirkpitt84 |
last post Jul 17 '05 by: Dirkpitt84
If Index = 0 Then
Dim ac As Access.Application
Set ac = CreateObject("Access.Application")
ac.Visible = True ' se non lo metto, non fa l'anteprima
ac.DoCmd.RunCommand acCmdAppMaximize ' espande Access
ac.OpenCurrentDatabase (nome_db), False
ac.DoCmd.OpenReport "scheda_report", acViewPreview, , "=" &
Chr(34) & id & Chr(34)
ac.DoCmd.Maximize...
|
thread by: Stephen Lannard |
last post Jul 17 '05 by: Stephen Lannard
Hi,
The example code seems to write the characters as unicode.
How do i get it to write plain ascii?
Stephen
Dim fs as new filestream("c:\test.txt", filemode.create, fileaccess.write)
Dim s as new streamwriter(fs)
|
thread by: Mark Güthling |
last post Jul 17 '05 by: Mark Güthling
Hello,
I want to fill a textfield placed in a sstab. Therfore I press a button. I
have a Class thet opens a form where the entry is selected. How can I fill a
field in the class with the selection of the form?
Thanks,
Mark
|
thread by: Mark Güthling |
last post Jul 17 '05 by: Mark Güthling
Hello, I want to write an App that works with new mails incoming in Outlook.
Therfore Outlook must run all the time for monitoring the incoming mail
folder.
Is there a way I can watch the folder without Outlook running? Or can I use
MAPI to check directly the mailbox on an Exchange Server.
If there is a new mail, how can I receive the...
|
| |
thread by: Derk |
last post Jul 17 '05 by: Derk
I have an VB App that reads an Excel Sspreadsheet and it seems to having
problems determining the data type of a column. The column in question has
alpha numeric content eg S001, B123 or 1234. I am aware that when reading
Excel Spreadsheets it will determine the datatype of a column, by looking at
the content of the first few rows. If it...
|
thread by: Basil Fenix |
last post Jul 17 '05 by: Basil Fenix
I use a commondialog control to open a file.It was working perfectly that is
showing it in the center of the screen. I then added a toolbar and a
imagelist. Now it shows it bottom left of screen.Is there a way of forcing
it to show in the center of the screen.
Thanks
Basil
|
thread by: Roger |
last post Jul 17 '05 by: Roger
Hi all
I have finally got this working using vb6 and mscomm but i now have a new
problem.
USBMOD2 suposed to be a parallel port but the 8 data i/o pins i cant keep
live to emulate thow a parallel port would behave.
So end result i cant use it to switch relays in the same way
Any ideas please.
|
thread by: Steve Z |
last post Jul 17 '05 by: Steve Z
Some guidance por favor
I started this program with the Data Form Wizard (never again). I'm pretty
deep into it now, this piece of code keeps overwriting the first record in
the DB:
Private Sub cmdAdd_Click()
On Error GoTo AddErr
DatPrimaryRS.Recordset.MoveLast
DatPrimaryRS.Recordset.AddNew
DatPrimaryRS.Recordset.Fields("Caller").Value =...
|
thread by: Otie |
last post Jul 17 '05 by: Otie
Can anyone recommend a good VB5 cross-reference program that makes
reports? I have seen VB Project Eye, but it does not make reports.
Thank you.
---
Allen
|
thread by: M.D. |
last post Jul 17 '05 by: M.D.
Any suggestions for the encryption of a commercial VB app would be greatly
appreciated. I am currently using a third party software called Softwrap,
and I am sorely disappointed with them. Has anyone used Digital River? Any
recommendations?
Thanks,
Rocky
www.dzynsource.com
|
thread by: M.D. |
last post Jul 17 '05 by: M.D.
Any suggestions for the encryption of a commercial VB app would be greatly
appreciated. I am currently using a third party software called Softwrap,
and I am sorely disappointed with them. Has anyone used Digital River? Any
recommendations?
Thanks,
Rocky
www.dzynsource.com
|
thread by: Lans Redmond |
last post Jul 17 '05 by: Lans Redmond
I have a word doument on Tomcat. I need to print the file passing the url
of the filename and get the users default printer or selected pinter so that
it can print
i want to call it like this
printFile http://localhost/myapp/docs/mydoc.doc defaultprinter
can someone give me a function that can do this?
|
| |
thread by: Amarios |
last post Jul 17 '05 by: Amarios
Hello all.
This is the n th post of my problem. Sorry from the ones who observe all
ngs.
I have an ADO connection with an Access 2000 .mdb file (One Index column and
20 columns conatining Text data) I need to present a find method similar to
Find command of Access (scroll through each record of the recordset and
highlight the findings)....
|
thread by: Lance |
last post Jul 17 '05 by: Lance
Hi All,
Suppose I have a dynamic string array
Dim sa(,) as string
I want to populate the first two columns of a datagrid control with the two
columns of sa. I want the third column of the datagrid control to be check
boxes, indicating whether the value should be considered as a string or a
double. Any suggestions will be appreciated.
|
thread by: Otie |
last post Jul 17 '05 by: Otie
I have a circle that displays information in 1-degree increments -
there are 90 such increments that comprise the circle. I need a
pointer within the circle that rotates. The pointer must include areas
to the left and right of the center line so that a person is better
able to see when something is within 2 or 3 or 4 or 5 marks (degrees)
of...
|
thread by: HarvestWind |
last post Jul 17 '05 by: HarvestWind
Hi:
I have a procedure written in Visual Basic 4.0 that causes the window to
reduce in size and width until it is totally gone. It sort of "melts" to
the lower right and then is gone. The code is:
Sub ExitByClick
Dim I As Integer
Dim I As Long
|
thread by: David C. Barber |
last post Jul 17 '05 by: David C. Barber
SQL Server 'bigint' values are 8-bytes, or 64-bits. While VB.NET has a
specific SQL variable types to mirror each SQL Server data type, I'm working
in VB6. So what is the best way to manipulate, or at least retrieve and
store 64-bit values in SQL Server?
Considerations are:
1: Variant
2: Type value using a pair of 32-bit long integers....
|
thread by: Ike |
last post Jul 17 '05 by: Ike
I have a combobox on an activex ctl file, (TobulControl.ctl). I have a
button on the ctl file too, and when the button is pressed, a dialog box
opens. Within the code of this dialog box, I refer to this combobox with:
If TobulControl.Combo1.ListIndex <> 8 Then
whereupon at this line I get a "Runtime Error 424 : Object Required"
How can...
|
thread by: Lance |
last post Jul 17 '05 by: Lance
Hi All,
I created a user control and put it on a form with a data repeater and ado
control. My understanding is that this configuration requires a connection
string. However, my database is in memory in a string array (e.g. redim
sa(x,y) as string). How would I write a connection string for an array in
memory?
Thanks,
Lance
|
thread by: L Mehl |
last post Jul 17 '05 by: L Mehl
Hello --
A textbox, txtSubsRate, on a form has its DataFormat property set to
Percentage. The result is that a user entering a decimal value of ".nn"
sees "nn%" in the text box.
In an expression in code, txtSubsRate.Text is read as "nn%". My workaround
is to use the Replace function to replace "%" with "" and divide by 100.
Is that...
|
| |
thread by: L Mehl |
last post Jul 17 '05 by: L Mehl
Hello --
Our user wants a column in the DataGrid formatted as "%", so that he sees
"nn.n%" instead of ".nnn".
I have seen mention of StdDataFormat, as in
Dim fmtPct1 As New StdDataFormat
but I don't know to create the text for fmtPct1, nor do I know how to use it
|
thread by: Joe-Paul |
last post Jul 17 '05 by: Joe-Paul
Hello:
I just upgraded to VB 6.0 (late bloomer)..anyway, I am using the datagrid
control and when the user does not fill in a specific cell, I don't want the
changes saved. So, I put a procedure in the "BeforeUpdate" event and allow
the user to choose to fill in the cell or not save the newly inserted (or
changed) information. However,...
|