DotNet 1.1 (VB.NET) and Windows Vista

G

Guest

Hi,

I'm not 100% sure this is the right forum, but I'll try anyway...

I have made an application with visual Studio 2003 (VB). It also uses MSDE
as it's database. The installation routine installs both MSDE and the
application. This is a production application, meaning it has been on the
market for a while now.

I now installed it on Windows Vista Beta 2, and although I first thought
everything went OK, it later turned out to be false.

So far I've encountered two weird things:

Weird thing #1:
Although MSDE installs and and works fine, it does not do backups as it does
on XP. No idea why, although I suspect it has something to do with the Vista
"security" features.

Weird thing #2 (more DotNet related):
I get an error complaining about insufficient Framework security settings
(unable to set up Hook) on a feature where the program calls SendKeys
function. I increased the trust level of the assembly to full trust, but I
still get the same error. This is really weird because it doesn't happen in
XP, and all I'm really doing is setting a focus on a textbox and selecting
the text already in it.

Can someone point me to the right direction.

Thanks,

Petri
 
R

Reg Edit

Petri said:
Weird thing #2 (more DotNet related):
I get an error complaining about insufficient Framework security settings
(unable to set up Hook) on a feature where the program calls SendKeys
function. I increased the trust level of the assembly to full trust, but I
still get the same error. This is really weird because it doesn't happen in
XP, and all I'm really doing is setting a focus on a textbox and selecting
the text already in it.

Can someone point me to the right direction.

For #2 the right direction is possibly sideways, to avoid using
SendKeys:

TextBox1.Focus()
TextBox1.SelectAll()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top