Hello Hari,
Why do u need SDK? do u use some specific executables from SDK in your app?
generally only .NET Redistributive is required to run you app and SDK to
develop environment
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
H> Hi,
H>
H> I am facing problem now on my application, the problem is that i
H> needed to install .net framework SDK 2.0 in order for my application
H> to work on another computer. Did I miss some files during my
H> compilation?
H>
H> For more details, i first installed .net framework 2.0 in that
H> computer but the application didnt work so i tried installing SDK
H> instead and it work.. X(
H>
H> Thanks for any comments
H>
H> Regards,
H> Hari
Hari - 09 Oct 2007 11:01 GMT
Hi Micheal,
Thanks for the reply..
Actually i tried installing .net framework Redistributable 2.0 first but my
application cannot load the mainForm.. Thinking that it might need some other
files coz it work fine in my development PC, so i installed SDK and it works
fine again..
But the problem is i have no idea which file does my application need...
Thank you for any advice..
Regards,
Hari
"Michael Nemtsev" <Michael Nemtsev>, "MVP" wrote:
> Hello Hari,
>
[quoted text clipped - 24 lines]
> H> Regards,
> H> Hari
<snip/>
> i first installed .net framework 2.0 in that computer but the
> application didnt work
<snip/>
We need more information that "it didn't work"
We don't even know what it was *supposed* to do.
--
Rory
Hari - 09 Oct 2007 11:09 GMT
Hi Rory,
Thank for the reply..
Please download this sample project to see the problem:
here's the link: http://www.pop-right.com/WindowsApplication1.rar, I
reproduced the problem in that project..
To explain more details.. When you open that project and try to build it, no
problem will occur and everything work fine BUT when you copied the
application files to another computer the application will not load the Form..
thanks for the help
Regards,
Hari
> <snip/>
>
[quoted text clipped - 8 lines]
> --
> Rory
Rory Becker - 09 Oct 2007 11:28 GMT
> To explain more details.. When you open that project and try to build
> it, no problem will occur and everything work fine BUT when you copied
> the application files to another computer the application will not
> load the Form..
Well really it would be more useful to see the error message you are getting
on this 2nd computer, since this appears to be a computer specific problem
and I am unlikely tho be able to reproduce the issues here.
However.. you seem to be using "HtmlEditorControl.dll" and interoping with
"SHDocVw.dll"
I would guess that either "SHDocVw.dll" is not present on the destination
computer or alternatively "SHDocVw.dll" or "HtmlEditorControl.dll" have some
dependancy which is not preset.
Without a specific error mesage it's hard to guess.
--
Rory
Hari - 09 Oct 2007 11:43 GMT
Actually it doesnt display any error message.. the application will just keep
on running at the computer processes in the task manager and doesnt load the
MainForm..
the problem occur in all PC which do not have Visual Studio installed.. you
just have to copy the files there and try to execute the EXE file, and you
will observe the problem already..
I do agree that it might have some file dependecies missing, is there any
way i can detect which file it is? because seems .Net compiler cant detect
it for me..
Thanks
Regards,
Hari
> > To explain more details.. When you open that project and try to build
> > it, no problem will occur and everything work fine BUT when you copied
[quoted text clipped - 16 lines]
> --
> Rory
Rory Becker - 09 Oct 2007 18:14 GMT
> Actually it doesnt display any error message.. the application will
> just keep on running at the computer processes in the task manager and
[quoted text clipped - 7 lines]
> any way i can detect which file it is? because seems .Net compiler
> cant detect it for me..
It's been a while since I had to use it but you might try depends.exe from
http://www.dependencywalker.com/
You'll need to run it on the machine where the error happens and it should
help you find out what dlls are missing.
--
Rory