|
Two things:
1. Are you closing the file after you are done with each one?
2. Have you checked the file permissions to see that you have access to it?
Nick Parker
|
|
|
|
|
Cuold you be more specific , exactly what is the scenario ?;P
|
|
|
|
|
Dose anyone know how to use the SVGControl.dll in VB6 to view .pdf files. Where can I find any code examples
Thanks
|
|
|
|
|
I found the answer to this one on my own thanks. The SVGControl is for viewing SGV files only. When you try to view a .pdf file no error message is given, only nothing shows on the screen.
|
|
|
|
|
Does VBScript support COMs with events?
rechi
|
|
|
|
|
yes, with a qualifier
vbscript depends on the script host to handle the events.
each script host may expose it differently.
examples of a script host are IE, Windows Scripting Host, and ASP 3.0.
|
|
|
|
|
|
You cannot put an actual radio button on the menu, but you can add the functionality so that the choice between 3 or 4 items will only allow you to select one of them like a radio button.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
|
Hi!
I would like to know if there is a way to
1) center your message in a message box
2) move down a line in the box
(have part of the message on the first line, and a second part on the next)
Thanks, any help would be breatly appreciated!
Erin
|
|
|
|
|
In your string add CHR$(13) where you want the line to break.
"line 1"+CHR$(13)+"line 2"
There may be a newer syntax these days.
As for centering, do you want each line centered or the overall
message. If it is just the message, I believe centering is
automatic. Don't know how to center each line.
|
|
|
|
|
Anonymous wrote:
There may be a newer syntax these days.
"Line 1" & vbCrLf & "line 2"
|
|
|
|
|
1) I do not believe that there are any settings to center the text in your message box.
2) You can add a newline character to your message to make the message skip to the next line. The newline is the chr(10) command. You can also add chr(9) in order to do a tab sequence.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
kilowatt wrote:
The newline is the chr(10) command
10 is line feed. I'd suggest a combination of 13 [carriage return] and 10 [line feed]
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
you've all been a great help! (i'm programming monopoly - insane amounts of code! :P) (for school)
|
|
|
|
|
Just for your information, the message box and other window controls that display text ignore the carraige return, and since you need to type this in VB to get a carraige return:
& chr(13) &
I suggest to not use it at all.
You do need a carraige return when you are dealing with files though.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
In the properties window under justification click center
|
|
|
|
|
Anonymous wrote:
In the properties window under justification click center
The MsgBox doesn't contain properties like you are talking about.
Nick Parker
|
|
|
|
|
Can you pass an integer higher than 127 to the Chr( ) function and returns the correct hex value? I'm doing Chr(192) and gets hex 00 in return. Does someone have a suggestion on how to convert decimal 192 into the correct representation in hex? Thanks a lot in advance!
|
|
|
|
|
Hex(192)
Try that.
Jeremy L. Falcon<nobr>
Homepage : Sonork = 100.16311
xenophobic Xanthippe – xerophthalmic Xanadu
Perseverance pushes past painful promenades - providing precious peace.
Surely some striving souls survive symptomatic stress?
Maybe my mangling might misguide malicious miscreants?
|
|
|
|
|
I want my Program to be able to email. Can anyone help
Daniel Burnham
|
|
|
|
|
If you are on NT, 2K or XP you can use the CDONTS library. Somebody has an article here that shows how you can do that from ASP. It should be same in VB
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
I'm new to VB.Net, but in previous versions of VB I used MSComm to send commands to various ports on my computer. I have been unable to find the equivalent on VB.Net. Is there something new that must be used? I only have VB.Net Standard. Is it possible that I am missing the necassary components?
Thanks to anyone who can help,
|
|
|
|
|
I have one a Lan (Client - Server), and I want update file everyday, but I don't know how to copy one file thought Lan
please help me, thanks!!!
|
|
|
|
|
Depends on the network. Is there a Windows network running with at least one mount point on each machine? If so, you could just do a normal copy with a UNC path (e.g.; \\mymachine\mymountpoint\somefolder).
If not, you could always FTP it either interfacing with ftp.exe or writing something yourself.
Jeremy L. Falcon<nobr>
Homepage : Sonork = 100.16311
xenophobic Xanthippe – xerophthalmic Xanadu
Perseverance pushes past painful promenades - providing precious peace.
Surely some striving souls survive symptomatic stress?
Maybe my mangling might misguide malicious miscreants?
|
|
|
|