this is my code:
Form1.FSO.CopyFolder Replace(Form1.Folder, "\", "/"), "c:/backup/" %26amp; Date %26amp; " " %26amp; Time
when i try to do this i get the error message like: 'Runtime error 5 invalid procedure call or argument'
what im doing wrong? thanks.
[VB6] fso.copyfolder doesnt work for me?
As previous colons arent supported as folder names nor are the slashes that may occur within the DATE that you specify, which will cause the runtime error, I would suggest either removing the colons, or adopting a new method for example:
Form1.FSO.CopyFolder Replace(Form1.Folder, "\", "/"), "c:/backup/" %26amp; Format(Date,"ddmmyyyy") %26amp; " " %26amp; Format(Time,"hhmmss")
or if that doesnt work
Form1.FSO.CopyFolder Replace(Form1.Folder, "\", "/"), "c:/backup/" %26amp; Day(Now) %26amp; Month(Now) %26amp; Year(Now) %26amp; " " %26amp; Hour(Now) %26amp; Minute(Now) %26amp; Second(Now)
This will create a folder as such for example "C:\backup\31052007 94352" (as in 31/05/2007, 9:43:52AM)
Reply:Time function will return hh:mm:ss. Windows does not support ':' in folders names.
Nelson Bittencourt
See my web site:
http://www1.webng.com/nbittencourt/index...
Monday, May 24, 2010
Please help with this problem!!?
I am beginner with C .
somebody help me whith this question.
when i run this there is a runtime error.
#include%26lt;stdio.h%26gt;
void main(void)
{
char *p="ABCDE";
p[2]='z';
printf("%s\n",p);
}
Please help with this problem!!?
// Declare your storage like this instead
// While the pointer you declared is a variable,
// the constant string that you pointed it to can not be written to.
//
#include%26lt;stdio.h%26gt;
void main(void)
{
char p[]="ABCDE";
p[2]='z';
printf("%s\n",p);
}
somebody help me whith this question.
when i run this there is a runtime error.
#include%26lt;stdio.h%26gt;
void main(void)
{
char *p="ABCDE";
p[2]='z';
printf("%s\n",p);
}
Please help with this problem!!?
// Declare your storage like this instead
// While the pointer you declared is a variable,
// the constant string that you pointed it to can not be written to.
//
#include%26lt;stdio.h%26gt;
void main(void)
{
char p[]="ABCDE";
p[2]='z';
printf("%s\n",p);
}
I have a problem in my Yahoo mail?
I Have a problem with my yahoo mail . Theres an error says Runtime error and then displays a debugging tool .I dont know how to use DEBUGGING to fixed the runtime error . I have scanned many times my pc , and theres no malware infects. PLs. help me , I really i cant compose an email.
This is a portion in my problem : %26lt;script%26gt;
oKey.addKey(67,-1,"location='http://us.f... // Check Mail | CTRL-C
try
{
if( parent.showCompose )
oKey.addKey(80,-1,"try {parent.showCompose();} catch(e) {location='http://us.f355.mail.yahoo.com... // Compose | CTRL-P
else
oKey.addKey(80,-1,"location='http://us.f... // Compose | CTRL-P
}
catch(error)
{
oKey.addKey(80,-1,"location='http://us.f... // Compose | CTRL-P
}
oKey
I have a problem in my Yahoo mail?
Runtime Error : Do u wish to debug?
1st . Click Internet Options
2nd . Click Advance
3rd . Choose the Browsing Category
4th . Check Disable Script Debbuging
Reply:I'm not sure about the code, but if the compose box isn't showing up try this fix:
http://help.yahoo.com/help/us/mail/send/...
If that doesn't solve your problem, you should try clearing the cache on your browser, scanning for viruses/spyware and restarting your computer again. The final option would be to switch to a different browser. If you're using Internet Explorer, try Mozilla Firefox. Here are some links to help you with any of these options.
http://help.yahoo.com/help/us/mail/error...
http://answers.yahoo.com/question/?qid=1...
http://www.getfirefox.com/
Reply:go to "tools" in your web browser, select "reset web settings."
Reply:what browser are you using? did you try rebooting? clear history and delete cookies... this might help.
columbine
This is a portion in my problem : %26lt;script%26gt;
oKey.addKey(67,-1,"location='http://us.f... // Check Mail | CTRL-C
try
{
if( parent.showCompose )
oKey.addKey(80,-1,"try {parent.showCompose();} catch(e) {location='http://us.f355.mail.yahoo.com... // Compose | CTRL-P
else
oKey.addKey(80,-1,"location='http://us.f... // Compose | CTRL-P
}
catch(error)
{
oKey.addKey(80,-1,"location='http://us.f... // Compose | CTRL-P
}
oKey
I have a problem in my Yahoo mail?
Runtime Error : Do u wish to debug?
1st . Click Internet Options
2nd . Click Advance
3rd . Choose the Browsing Category
4th . Check Disable Script Debbuging
Reply:I'm not sure about the code, but if the compose box isn't showing up try this fix:
http://help.yahoo.com/help/us/mail/send/...
If that doesn't solve your problem, you should try clearing the cache on your browser, scanning for viruses/spyware and restarting your computer again. The final option would be to switch to a different browser. If you're using Internet Explorer, try Mozilla Firefox. Here are some links to help you with any of these options.
http://help.yahoo.com/help/us/mail/error...
http://answers.yahoo.com/question/?qid=1...
http://www.getfirefox.com/
Reply:go to "tools" in your web browser, select "reset web settings."
Reply:what browser are you using? did you try rebooting? clear history and delete cookies... this might help.
columbine
Can you allow allow methods with-in a java class to access a input stream?
I'm writing a java program and I've defined an input stream (using the Scanner class) before any methods are listed. All the methods except main seem to be able to use it, but hey are defined like:
public void name()
my main method looks like:
public static void main(String[] args)
as per usual. When I compile the program, I get errors saying that a non-static variable cannot be referenced from a static context. However, when I take "static" out of the main mehtod declaration, I get a weird runtime error. Does anyone know what's goin on here? I'm used to C++ where we have to deal with much less of this silliness.
Can you allow allow methods with-in a java class to access a input stream?
Yes, it is allowed.
public void name()
my main method looks like:
public static void main(String[] args)
as per usual. When I compile the program, I get errors saying that a non-static variable cannot be referenced from a static context. However, when I take "static" out of the main mehtod declaration, I get a weird runtime error. Does anyone know what's goin on here? I'm used to C++ where we have to deal with much less of this silliness.
Can you allow allow methods with-in a java class to access a input stream?
Yes, it is allowed.
Napster.....................?
Microsoft visual C++ runtime library
Program: C\Program file|Napster\Napster.exe
As anyone had this error message, how did you solve it ?
Napster.....................?
Use I-tunes sock clapper, where's my brithday kiss?!
Program: C\Program file|Napster\Napster.exe
As anyone had this error message, how did you solve it ?
Napster.....................?
Use I-tunes sock clapper, where's my brithday kiss?!
Windows Installer CleanUp Utility?
im having trouble with this for some of you smart people out there help me plz heres my problem i dowload it 2 my computer and this mssg occurs
Windows Script Host
big red x in this spot
Script: c:/windows/TEMP/IXP000.TMP/STARTmsi.vbs
line: 1
char: 1
error: ActiveX componet can't create object: 'Scripting.fileSystemobject'
code: 800AO1AD
source : microsoft VBSscript runtime error
thx alot
Windows Installer CleanUp Utility?
If you are using IE and in the administrator's account, follow these steps to enable Active X.
- Select Tools, then Internet Options from the menu at the top of the Internet Explorer window. The Internet Options window will appear.
- Select Security from the list of tabs at the top of the Internet Options window. The Security tab will appear.
- Select the Custom Level button. The Security Settings window will appear.
- Scroll down to the Download signed ActiveX controls entry and select the prompt radio button.
- Scroll down to the Run ActiveX controls and plugins entry and select the enabled radio button.
- Select the OK button to accept the changes
You may need to reboot for the settings to stick.
Windows Script Host
big red x in this spot
Script: c:/windows/TEMP/IXP000.TMP/STARTmsi.vbs
line: 1
char: 1
error: ActiveX componet can't create object: 'Scripting.fileSystemobject'
code: 800AO1AD
source : microsoft VBSscript runtime error
thx alot
Windows Installer CleanUp Utility?
If you are using IE and in the administrator's account, follow these steps to enable Active X.
- Select Tools, then Internet Options from the menu at the top of the Internet Explorer window. The Internet Options window will appear.
- Select Security from the list of tabs at the top of the Internet Options window. The Security tab will appear.
- Select the Custom Level button. The Security Settings window will appear.
- Scroll down to the Download signed ActiveX controls entry and select the prompt radio button.
- Scroll down to the Run ActiveX controls and plugins entry and select the enabled radio button.
- Select the OK button to accept the changes
You may need to reboot for the settings to stick.
Can anybody tell me how to get my PCMCIA laptop 3G card working again, after 6 months of working OK?
When I opened the 'communication centre' software, it produced the 2 following message boxes in succession....
1st.
"Wilog exception error" %26lt;newline%26gt;
' (X) An error occured and the application will be closed'%26lt;newline%26gt;
[OK] CLICKBOX
.....
2nd.
"Microsoft Visual C++ runtime library"%26lt;newline%26gt;
' (!) program C:\blah.. blah..\wilog.exe'%26lt;newline%26gt;
'This application has requested the runtime to terminate it in an unusual way' %26lt;newline%26gt;
'Please contact support team'%26lt;newline%26gt;
[OK] CLICKBOX
.....
The %26lt;newline%26gt;'s and the quotes are to give you an idea of the message box contents.
No, I have not installed anything new on my PC.
Yes I have tried an uninstall, then reinstall of the 3G card software.
I have tried a system restore.
I have also done a virus scan, and a spyware scan, to rule these factors out.
The card has been working for 6 months, flawlessly.
Before it's said, I am using someone else's internet to post this.
Thanks..
Can anybody tell me how to get my PCMCIA laptop 3G card working again, after 6 months of working OK?
Goto run and enter "regedit"
Hkey_current_user/software and then delete the register entrees for the software.
also do the same for.
Hkey_local_machine/software
you should uninstall the utility.
Then restart the machine then the regedit and then reinstall the program with the card installed verses not.
I believe your reg entries are causing the problem.
Jockee
carnation
1st.
"Wilog exception error" %26lt;newline%26gt;
' (X) An error occured and the application will be closed'%26lt;newline%26gt;
[OK] CLICKBOX
.....
2nd.
"Microsoft Visual C++ runtime library"%26lt;newline%26gt;
' (!) program C:\blah.. blah..\wilog.exe'%26lt;newline%26gt;
'This application has requested the runtime to terminate it in an unusual way' %26lt;newline%26gt;
'Please contact support team'%26lt;newline%26gt;
[OK] CLICKBOX
.....
The %26lt;newline%26gt;'s and the quotes are to give you an idea of the message box contents.
No, I have not installed anything new on my PC.
Yes I have tried an uninstall, then reinstall of the 3G card software.
I have tried a system restore.
I have also done a virus scan, and a spyware scan, to rule these factors out.
The card has been working for 6 months, flawlessly.
Before it's said, I am using someone else's internet to post this.
Thanks..
Can anybody tell me how to get my PCMCIA laptop 3G card working again, after 6 months of working OK?
Goto run and enter "regedit"
Hkey_current_user/software and then delete the register entrees for the software.
also do the same for.
Hkey_local_machine/software
you should uninstall the utility.
Then restart the machine then the regedit and then reinstall the program with the card installed verses not.
I believe your reg entries are causing the problem.
Jockee
carnation
Subscribe to:
Posts (Atom)