Click here to Skip to main content
16,012,468 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRe: How to pass values between 2 mdi childs?(without new form) Pin
DeDelva5-Sep-11 6:27
DeDelva5-Sep-11 6:27 
AnswerRe: How to pass values between 2 mdi childs?(without new form) Pin
DaveAuld5-Sep-11 7:20
professionalDaveAuld5-Sep-11 7:20 
JokeRe: How to pass values between 2 mdi childs?(without new form) Pin
DeDelva5-Sep-11 9:31
DeDelva5-Sep-11 9:31 
QuestionRe: How to pass values between 2 mdi childs?(without new form) Pin
DeDelva26-Sep-11 5:03
DeDelva26-Sep-11 5:03 
AnswerRe: How to pass values between 2 mdi childs?(without new form) Pin
DaveAuld26-Sep-11 5:33
professionalDaveAuld26-Sep-11 5:33 
QuestionRe: How to pass values between 2 mdi childs?(without new form) Pin
DeDelva26-Sep-11 7:01
DeDelva26-Sep-11 7:01 
AnswerRe: How to pass values between 2 mdi childs?(without new form) Pin
DaveyM697-Sep-11 1:31
professionalDaveyM697-Sep-11 1:31 
QuestionShell Function Gives Error 53 File Not Found in Windows 7 Pin
emrtnz2-Sep-11 17:50
emrtnz2-Sep-11 17:50 
Hello All,

I am stuck with this problem and could sure use a hand. I am trying to open MS Project 2007 and connect to MS Project Server 2007 based on windows authentication all from either Excel 2007 or 2010.

Everything works fine on both versions of Excel if its running on a Windows XP machine. The problem occurs when I attempt to run the code in a Windows 7 machine with Excel 2010.

When the code gets to the Shell function, where it attempts to open MS Project 2007 and connect to MS Project Server 2007, the Error 53 message appears, file not found and that only on one machine, my bosses. Laugh | :laugh:

I've tried it on other similar machines and it runs well.(Win7 / Excel 2010)

On my bosses machine, I take the value that passes through the Shell function and paste it in the run command and it does what it should, opens and connects to MS Project Server.

Can anyone shed some light on this?

VB
'---connect to Project Server---
sServer = "http://xxx-xxx/XXX"
sServerString = "winproj.exe /s """ & sServer 
Shell sServerString


I've already set the object before this, if it matters...

Set oP = GetObject(, "msproject.application")



Thanks in advance.
AnswerRe: Shell Function Gives Error 53 File Not Found in Windows 7 Pin
DaveAuld2-Sep-11 23:52
professionalDaveAuld2-Sep-11 23:52 
AnswerRe: Shell Function Gives Error 53 File Not Found in Windows 7 Pin
emrtnz9-Sep-11 7:10
emrtnz9-Sep-11 7:10 
GeneralRe: Shell Function Gives Error 53 File Not Found in Windows 7 Pin
DaveAuld9-Sep-11 7:13
professionalDaveAuld9-Sep-11 7:13 
Questionhow to coonect mysql database with my vb6.0 project Pin
UD(IA)1-Sep-11 23:24
UD(IA)1-Sep-11 23:24 
AnswerRe: how to coonect mysql database with my vb6.0 project Pin
Wayne Gaylard2-Sep-11 1:15
professionalWayne Gaylard2-Sep-11 1:15 
GeneralRe: how to coonect mysql database with my vb6.0 project Pin
Nagy Vilmos2-Sep-11 2:45
professionalNagy Vilmos2-Sep-11 2:45 
AnswerRe: how to coonect mysql database with my vb6.0 project Pin
Nagy Vilmos2-Sep-11 2:50
professionalNagy Vilmos2-Sep-11 2:50 
AnswerRe: how to coonect mysql database with my vb6.0 project Pin
Bert Mitton2-Sep-11 7:50
professionalBert Mitton2-Sep-11 7:50 
Questiondispose on entity framework Pin
dcode251-Sep-11 5:27
dcode251-Sep-11 5:27 
AnswerRe: dispose on entity framework Pin
Dave Kreskowiak1-Sep-11 7:45
mveDave Kreskowiak1-Sep-11 7:45 
GeneralRe: dispose on entity framework Pin
dcode251-Sep-11 13:17
dcode251-Sep-11 13:17 
GeneralRe: dispose on entity framework Pin
Dave Kreskowiak1-Sep-11 16:48
mveDave Kreskowiak1-Sep-11 16:48 
GeneralRe: dispose on entity framework Pin
dcode252-Sep-11 7:30
dcode252-Sep-11 7:30 
GeneralRe: dispose on entity framework Pin
Dave Kreskowiak2-Sep-11 11:18
mveDave Kreskowiak2-Sep-11 11:18 
GeneralRe: dispose on entity framework Pin
dcode252-Sep-11 11:55
dcode252-Sep-11 11:55 
GeneralRe: dispose on entity framework Pin
Dave Kreskowiak2-Sep-11 15:45
mveDave Kreskowiak2-Sep-11 15:45 
GeneralRe: dispose on entity framework Pin
dcode253-Sep-11 7:09
dcode253-Sep-11 7:09 

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.