|
I am trying to install the .net ODBC data driver.
I have downloaded the ODBC_Net.msi and tried to run it but I keep getting the message:
"The system administrator has set policies to prevent this installation"
Trouble is I am logged in as administrator.
What am I doing wrong? What policies should I change?
I am using VS2005 and have Win XP SP2 with MDAC 2.8
Roy Thompson
|
|
|
|
|
IIRC, that download was for the .NET Framework 1.0 and Visual Studio .NET 2002. 2005 already has ODBC providers built into the BCL under the System.Data.Odbc namespace.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dave
Many thanks - obvious really!
Regards
Roy
|
|
|
|
|
I have written a simple process killer, however it uses toolhelp so will not run on NT4.0. I have read a few articles on NT4.0 process killers but all seem to be too in depth. I would just like a simple way to pass a string (name of the executable) and then to cycle each process until i find the one that is associated, and then terminate it using the .NET framework. I wont have created this process so wont have the handle so i will need to enumerate the processes (this is where i need help).
If any one can point me in the right direction I would be very grateful.
Cheers
Dan
|
|
|
|
|
This is easily done using the Process[^] class. You can use it's GetProcessesByName static method to get the list of Process objects you want, then just call either the Close , CloseMainWindow , or Kill method on each of those objects.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
cheers that is most helpful
Dan
|
|
|
|
|
How can I get content (text) from “RichEdit20W” class. I want to use text from “RichEdit20W” class control of office word in my application in VC++.NET. Waiting for reply. Thanks
Priyank
|
|
|
|
|
Hi,
What required to run an application, which is coded in Microsoft Visual Studio 2005 VC++, on other system without Microsoft Visual Studio 2005 installed?
Regards,
Aniket
|
|
|
|
|
The .NET Framework version the application targets, as well as any library dependencies the application may have.
|
|
|
|
|
You need a .NET Framework Redistributable Package installed on target machines.
Best,
Jun
|
|
|
|
|
Hi,
- Can I see the COFF Format physically ?
- If It is 'YES', How Can I ?
Thankx in advance
|
|
|
|
|
What do you mean by seeing the format physically?
Is it a file in the format that you want to view?
As the file contains executable code, it really doesn't have any visual representation. How would you wish to view it?
---
b { font-weight: normal; }
|
|
|
|
|
The best tool for viewing COFF format data is dumpbin . Run it from the Visual Studio command prompt - newer versions will give more information.
|
|
|
|
|
Dear Friends
I migrated my project to .net 2005 which was in .net 2003(windows application using C# language)
When I run the solution the forms and the controls are as if it is still in .net2003
then I opened the files(all) and changed the versions from 1.0,1.3,etc to 2.0
till then I did not got the .net 2005 control appearance.
What should I do.
Please reply soon...
My mail Id is rabindrapatra@gmail.com
Thanks
Rabindra Patra
|
|
|
|
|
I beleive that is pretty much what you can get by migration.
Migration only makes your VS2003 project work on VS2005 compiler. It does not modify your source code, which means it doesn't remove obsolete calls or add new calls. It does not automatically upgrade to new GUI features that do not exist in the old IDE. You have to redesign the GUI to get the new features. Approximately, you could consider that the migration only happens at the level of project settings.
Best,
Jun
|
|
|
|
|
Project Properties - Build - Advanced
in this dialogbox you can change the dll base address, but that ain't working for me, i always get the error DISP_E_BADVARTYPE. How come?
Am i entering an invalid number? Can someone help me out here?
thx
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
Hi All,
I'm accessing a COM object from my .NET application, but I keep on getting the following exception:
"COM object that has been separated from its underlying RCW can not be used"
Does anyone know how this exception can come about?
I'd appreciate any thoughts, thanks.
Shehzad
|
|
|
|
|
Hi,
- Normally, 'Unmanaged COM' can be called in .NET through RCW(Runtime Callable Wrapper), So the COM which U have used is not supported by the .NET RCW.
- May I now the COM Name, Is It Created By U / Not, In which application the COM Created.
With Regards,
Pandian S
|
|
|
|
|
The only links I can find are referring to ASP.NET, and basically I think it's that the original thread on which an STA object was created has exited, thereby effectively killing the object. When you try to use it the wrapper cannot marshal the object call and generates the exception.
|
|
|
|
|
Thanks for your help guys,
Sorry S Pandian, I should've been clearer - I am actually able to use the COM object fine, only when I tried accessing it in another thread did I have this problem.
Mike, I think you hit the nail on the head! I was creating the object in another thread, and then trying to access it later on, once that thread had exited. But without using another thread, everything works fine.
Cheers guys,
Shehzad
|
|
|
|
|
HI ,,,I ahve some div tags wiht content editable=false in a page...when i delete a div by keeping a cursor in front of div tag i want to know which div tag si going to be deleted...i can use any events inside div tag b'cos all div tags are going to be in a IFrame....
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
Why don't you change visibility of scrollbar ?
My english is not so good. Please, correct my errors.
Best regards, Alexey.
|
|
|
|
|
That was my testing code.
Actually I want to have bigger scrollbar.
VerticalScrollBar->Width=34; //17 was default so I want twice bigger.
thanks.
|
|
|
|