|
AFAIK that is exactly what Form.Owner does
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Whoa.
Thanks alot! Can't believe I didn't know that was there!
I guess I get to delete all those api declares now
www.wickedorange.com
www.andrewvos.com
|
|
|
|
|
Hi
I am having some issues with installation / deployment of a vb.net project, which are because of some OCM & Activex components
- I had originally made most of the application in vb6
- Then we converted the codes to vb.2005 express
- Then some more development was done
- Now the issue is that when we try to install the application on a client’s machine (which dose not have VB6 installed), the application dose not work
- After investing some time we found out that the issue is due to non availability of vb6 COM & Activex components
How do we add the reference of these COM component to the setup and export the DLL’s with it
Regards
Nishkarsh
-- modified at 6:10 Tuesday 13th November, 2007
|
|
|
|
|
Please don't put the phrase "need urgent help" in your message. It is rather rude.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
nishkarsh_k wrote: Hi
I am having some issues with installation / deployment of a vb.net project, which are because of some OCM & Activex components
- I had originally made most of the application in vb6
- Then we converted the codes to vb.2005 express
- Then some more development was done
- Now the issue is that when we try to install the application on a client’s machine (which dose not have VB6 installed), the application dose not work
- After investing some time we found out that the issue is due to non availability of vb6 COM & Activex components
How do we add the reference of these COM component to the setup and export the DLL’s with it
What you need to do is to either manually register the OCX / ActiveX components using regsvr32 command from the command line, OR an even easier solution would be to create an Installer in Visual Studio 2005 by creating a "Setup and Deployment Project", and adding the corresponding EXE and DLL to the install project. The Setup and Deployment essentially registers the ActiveX DLLs on the client machine, which is the same thing as registering them manually. Of course if you do register them manually you have to first copy the libraries onto the client machine manually and then try to register. Hope this helps.
Pete Soheil
DigiOz Multimedia
http://www.digioz.com
|
|
|
|
|
I am trying to use an impersonation to access a remote system network share using the credentials that are created on the remote system. The remote system is on the different domain.
I am able to use the following route to secure access through Windows -> Map Network Drive:
1) IPAddressOfTargetSystem\ShareName,
2) FullyQualifiedSystemName\ShareName
3) In the connect as I gave the IPAddressOfTargetSystem\Username or FullyQualifiedSystemName\Username and password. It worked.
Programmatically, when I tried using LogonUser, all of the combinations are failing:
1) If the domain name is empty or NULL or "", then the call does not seem to get processed at all.
2) I also tried to do a quick research with this article (http://www.codeproject.com/csharp/cpimpersonation1.asp?msg=2191661#xx2191661xx[^]) but in the specific post, (mirh) seems to be explain about something on 'Mirrored Accounts'. What is that? Would it solve the problem?
|
|
|
|
|
Hi I have developed a project in vb6 and converted it to vb.net 2005 Express edition, fixed the issues after conversion, also did some more development wok.
Now after completion of the when I built a release I am not able to install it on client’s place. Tried running application from the exe n debug folder by coping the entire folder on the clients machine but it refused to work..
What I am suspecting is that there is some dependencies from VB6 installation but I am not able to figure it out
I installed VB6 on clients machine.. Now the application works fine.. This proves that there is some dependencies from VB6
What should I do?
|
|
|
|
|
I think that your converted project has some COM references that are located under System32 or something.. When you are building the setup, ensure that all required dlls (from both BIN folder and other folder that you have referenced) are added in your setup file..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
ye i have some com objects in my project... and that is exactly what is causing the issue...
I checked for the .dll in bin and other places, i did not found any one except "My Project.Resources.Designer.vb.dll" not included...
One more thing i observed that all the dll are present in bin, debug and release folders, only the above mentioned one is not present in bin..
can u please help me out... with more info..
regards
Nishkarsh
|
|
|
|
|
Hi All,
I am getting this following error while using odb.net provider for .net while connecting tith oracle.
My application is a windows based application.. Can anyone tell me the exact reason for this error and give me a solution on how to rectify this error..
<b> Unable to load DLL 'OraOps9.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)</b>
Advance Thanks,
Umashanker.k
|
|
|
|
|
umashankergr8 wrote: Can anyone tell me the exact reason for this error and give me a solution on how to rectify this error
I'm going to go out on a limb here and suggest that the reason for this is because it can't find the DLL OraOps9.dll. Either you don't have it installed, or it's installed somewhere that your application can't see it (i.e. not in the PATH). Search for it on your machine to find out if it's installed, and if it isn't install it. If it is installed, check your PATH settings.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
|
Hello,
I works on SSIS integration services and i business Developpement Studio.
When i use a wizard i can check delete or append row for destination table.
My problem is: I don't find this both options when i open my dtsx package in Visual Studio.
thanks for your help.
|
|
|
|
|
Hi
I'm new to Visual C++ and .NET Framework; I'm trying to display a bitmap image on a Windows Form in Visual Studio 2005 but am experiencing problems with this.
I have examples for VS 2003 but these don’t seem to work in VS 2005.
Does anyone have any examples of displaying a bitmap in VS 2005?
Any help appreciated
|
|
|
|
|
Hi, if you are serious about this, then please get your act together:
1.
rover_boy wrote: these don’t seem to work
that's no information; are there compile errors? solve them. are there run-time errors,
exceptions? what are they, solve them. Do you need help, ask specific questions on
the appropriate forum (or at the bottom of the CodeProject article itself).
2.
rover_boy wrote: Does anyone have any examples
there are thousands of articles, a lot of them very good, here on Code Project.
Wouldn't a lot of them show images?
3.
The best way to learn a new technology is the systematic way: buy a book, work your
way through it, experiment, and look around. After a year, read the book again, and
buy another one.
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Hi,
i am new to .net 3.0. i have worked in .net 2.0. what needs to be installed for .net 3.0?
and give me software links.
|
|
|
|
|
sreenivasaraok wrote: i am new to .net 3.0. i have worked in .net 2.0. what needs to be installed for .net 3.0?
My first guess would be .Net 3.0...
sreenivasaraok wrote: and give me software links.
Here ya go. http://www.paddedwall.org/help[^]
-- modified at 7:36 Monday 12th November, 2007
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Why do you put this bad link http://www.paddedwall.org/help ??
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
It's a valid link.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: Here ya go. http://www.paddedwall.org/help
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
|
Well...that will install .NET 3.5 not 3.0, although that will get you all the bits in 3.0.
|
|
|
|
|
VS 2008 has .NET 2.0, .NET 3.0 and .NET 3.5
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Is it possible to convert a C++ application (written using VS2005) into C#?
|
|
|
|
|
Yes.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|