|
Are you trying to run executable from network location like shared partition?
Life is a stage and we are all actors!
|
|
|
|
|
To do something like this, you REALLY need to understand Code Access Security. I suggest Googling that and reading everything you can.
In the .NET world, every piece of code that is executing from a source that is not local to the machine (i.e.: any network share) is NOT trusted. In your case, all of your code is executing in a heavily restricted sandbox where it has no permissions to do anything, including talk to databases. You need to tell each machine on the network that will run your code to either trust the network location the code came from or to trust only assemblies signed with a certain key. You'd normally do this through a Group Policy in Active Directory.
|
|
|
|
|
how can i give permission to database
|
|
|
|
|
The problem has nothing to do with the database. Your code is not being allow to connect to the database because your running the code from a network share. If you read up on Code Access Security and you'd know that.
|
|
|
|
|
my application work on network computer which have installed visual studio. n the other computer which has not installed visual studio, the application not work on that computer.
i have installed .net framework in all computers. but .net frameworks is not display in "administrative tools"
so i think the problem in .NET Framework 2.0 Configuration
plz send me link for download that
|
|
|
|
|
You'll find the .msc file that it launches "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\mscorcfg.msc". That's the .NET 2.0 Configuration tool.
|
|
|
|
|
i try it
but when i try to open it, its gives error
|
|
|
|
|
Hi all,
Have small doubt in keydown event:
in Vb6.0 i have worked with key down Event code but it is not working in vb.net; can any one guide me reg this please
Private Sub Txtpack_KeyDown(KeyCode AS Integer, Shift As Integer)
If KeyCode = 13 Then
cmdverify_Click
End If
End Sub
|
|
|
|
|
Is this the code you're using in VB.NET or VB6? To use it in .NET the first thing you need to do is to add an Handles clause to the method's signature (unless you've added an event handler somewhere else in your code, of course).
|
|
|
|
|
hi,
have used this code in Vb 6.0 Only, Can you help me to provide some basic vb.net programming links.
|
|
|
|
|
|
Pick up a book on beginning VB.NET. You're not going to find a single web page that describes all of the concepts you need in a step-by-step organized manner. You'll find all kinds of pages that describe single concepts and constructs, but inconsistently and without anything tying those concepts together.
|
|
|
|
|
Instead of this
rrrriiizz wrote: cmdverify_Click
User
cmdverify.PerformClick();
Be an Eagle, Sky is Yours.
|
|
|
|
|
|
What on earth does this have to do with VB ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi
i want use in form a digital time counter that it count time from 00:00
such as when I click Button the Timer start
thanks
|
|
|
|
|
|
Good idea. I would also allow the user to decide on the colour. Perhaps you could post the code when you have done it so we can all use it.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
What these guys are trying to tell you is, you didn't ask a question, or show any signs of having done any work yourself. Why is it that you can't work out how to use a timer, or a button ? Have you read any books on VB.NET ? Have you read any articles ? Do you know anything at all, to give you a basis to understand the answer if someone decided to do all this for you ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Permission granted!
Or did you have a question about a problem you were having??
|
|
|
|
|
hi mates,
i have a little problem on log4net, why is it that the logfile i created
will not load in windows vista. my project is written in visual basic using
visual studio 2005. the problem is not happen in windows xp. it works well.
i put my log file in C:\mylog.txt.
could somebody help me why it does not work in vista or maybe i just dont know the vista well. =)
thanks in advance.
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
Hi,
there are a number of locations where a regular user cannot create or write files on recent Windows versions. In the system partition (often C: ) these include the root directory, the Program Files directory, and a few more. Choose a more appropriate folder and your code will run on all Windows versions.
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData or CommonApplicationData) may be appropriate.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
modified on Tuesday, August 18, 2009 10:49 PM
|
|
|
|
|
yeah, i've read that one also. now i know. thanks Luc
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
i solve my own problem
: i found out that vista doest not write anywhere in C:\ or Program Files.
so what i did i allow to all user, now it works.
<!--<file value="C:\mylog.txt"/>-->
<file value="${ALLUSERSPROFILE}\mylog.txt"/>
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|