Click here to Skip to main content
15,888,527 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Problem setting a value in a textbox from another form Pin
kasbaba2-Aug-14 19:57
kasbaba2-Aug-14 19:57 
Questionsherdian controls : license not found Pin
zuber ahmed2-Aug-14 1:39
zuber ahmed2-Aug-14 1:39 
AnswerRe: sherdian controls : license not found Pin
Eddy Vluggen2-Aug-14 12:23
professionalEddy Vluggen2-Aug-14 12:23 
QuestionSherdian controls Pin
zuber ahmed1-Aug-14 10:00
zuber ahmed1-Aug-14 10:00 
AnswerRe: Sherdian controls Pin
Mycroft Holmes1-Aug-14 13:43
professionalMycroft Holmes1-Aug-14 13:43 
AnswerRe: Sherdian controls Pin
ZurdoDev15-Aug-14 8:19
professionalZurdoDev15-Aug-14 8:19 
GeneralRe: Sherdian controls Pin
zuber ahmed16-Aug-14 2:11
zuber ahmed16-Aug-14 2:11 
QuestionVBScript Error Code 800A0046 Pin
ChriDo6130-Jul-14 20:57
ChriDo6130-Jul-14 20:57 
Hello Guys.

I have a VBScript and want to copy a file. I want to make sure it finishes successfully.

If the destination-file is set to "read-only" there occures a Runtime Error '800A0046 - Permition denied'.

What I want: I dont want to get the Script-Host error message but instead my own. Therefore I need the error number ( the error code 800A0046 does not work ) so that I can use
VB
On Error Resume Next
VB
IF (Err.Number > 0) THEN
    IF (Err.Number = 32755) THEN

...............
as I did it here to check if the user pressed cancel in a open-dialog box.

Since I'm very new to VBScript programming , I don't have any idea where I can look for a solution to problems like this one. So I hope to find help here. I googled a while and also searched in the MSDN but found nothing.


Thank you very much.

modified 31-Jul-14 4:18am.

AnswerRe: VBScript Error Code 800A0046 Pin
thatraja30-Jul-14 21:37
professionalthatraja30-Jul-14 21:37 
GeneralRe: VBScript Error Code 800A0046 Pin
ChriDo6130-Jul-14 22:16
ChriDo6130-Jul-14 22:16 
QuestionHow to pass selected row from datagrid view into microsoft reports Pin
chronos1329-Jul-14 1:20
chronos1329-Jul-14 1:20 
QuestionGuidance... Pin
Member 1072866725-Jul-14 20:21
Member 1072866725-Jul-14 20:21 
AnswerRe: Guidance... Pin
Member 1072866725-Jul-14 22:11
Member 1072866725-Jul-14 22:11 
GeneralRe: Guidance... Pin
Eddy Vluggen26-Jul-14 10:28
professionalEddy Vluggen26-Jul-14 10:28 
GeneralRe: Guidance... Pin
Mycroft Holmes30-Jul-14 22:56
professionalMycroft Holmes30-Jul-14 22:56 
Questionvb filter Pin
Member 1097008124-Jul-14 19:08
Member 1097008124-Jul-14 19:08 
AnswerRe: vb filter Pin
Karen Mitchelle24-Jul-14 20:05
professionalKaren Mitchelle24-Jul-14 20:05 
JokeRe: vb filter Pin
Richard Deeming25-Jul-14 1:41
mveRichard Deeming25-Jul-14 1:41 
GeneralRe: vb filter Pin
Karen Mitchelle27-Jul-14 14:45
professionalKaren Mitchelle27-Jul-14 14:45 
AnswerRe: vb filter Pin
Eddy Vluggen24-Jul-14 22:25
professionalEddy Vluggen24-Jul-14 22:25 
QuestionCompile Excel File to Exe and Hide Excel Formula but Exe file work as actual File Pin
DEWESH23-Jul-14 19:38
DEWESH23-Jul-14 19:38 
AnswerRe: Compile Excel File to Exe and Hide Excel Formula but Exe file work as actual File Pin
Richard MacCutchan23-Jul-14 20:39
mveRichard MacCutchan23-Jul-14 20:39 
QuestionUnable to emit referenced assembly "AxInterop.mswinsocklib" doesn't have a strong name Pin
vamsee0323-Jul-14 0:10
vamsee0323-Jul-14 0:10 
AnswerRe: Unable to emit referenced assembly "AxInterop.mswinsocklib" doesn't have a strong name Pin
thatraja23-Jul-14 1:01
professionalthatraja23-Jul-14 1:01 
Questionvisual basic script for subversion server side precommit hook script Pin
Member 1096343422-Jul-14 3:46
Member 1096343422-Jul-14 3:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.