VS 2008 General Security - Implementing A Piece Of Software I've Created Into A New Environment
Mar 26, 2011
I'm looking at implementing a piece of software I've created into a new environment. It is currently accessed via network share by users who have full administrative permissions on their user accounts. These same users will have their accounts locked down excessively. I am wanting to consider now before any changes have been made, any code changes I will need to make as my application makes use of a lot of features that admin users take for granted such as registry editing. My program is running through the .net 3.5 framework and is being accessed on XP machines.
View 5 Replies
ADVERTISEMENT
Aug 18, 2009
I wish to implement some role based security in my application. Has anyone got any links with some usefull info on this subject.
View 2 Replies
Jun 29, 2010
I WANT TO impliment security on visual basics 2005 HOW DO I GO ABOUT DOING THAT
View 4 Replies
Aug 10, 2010
Is it possible to automatically insert a Code Snippet when an interface is implemented? If so, how do you do it? I am looking for something similar to when you implement IDispoable in VB.[code]This will be used by web forms when transfering parameters from one page to the next using Server.Transfer
View 1 Replies
Jan 20, 2010
I am often asked to create a very simple database front-end for friends or family, and the structure of the database (and application) is usually very similar.Right now I am always creating a class that handles all database interactions with some shared functions. For example, there's a function to run a general query and return a table, a function to save/load various items (depending on the application of course). The point is: the code is nearly always the same except for some slight variations.
View 5 Replies
Feb 13, 2011
i am getting a piece of text from a webpage, but i would like to only let the text after a $ to show up?
View 1 Replies
Apr 21, 2011
I have a (pretty large, 1000 lines or so) class with a lot of properties, both regular,overridden and overloadd properties. I currently add this in front of the property to hide it from the designer:<Browsable(False), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)>This is all great, but it adds quite some lines to my project. How can I specify, for my class or project, that it should add the above settings to all?Or even better: set the above settings for a block of code instead of a single property.
View 17 Replies
May 27, 2009
I am trying to successfully multithread a piece of software I have been working on. I have an array of threads 'gen' already working, calling to a method taking a single integer as a parameter (done via typecasting).Now in this thread, when the function gets processed (for each thread a roughly 500 iteration while loop) the index seems to be getting mixed up. As far as I can tell, my threads are messing with eachother and warping values. Now this is happening in locally declared variables inside this function, not global variables.It may be useful to know that I am using a WebRequest via a call to another method. Don't know if that makes a difference or not.
View 7 Replies
Nov 25, 2009
This is a very simple piece of code involving threading and events. I am just refreshing the old grey matter as I find myself off work sick for a period of time.
Code:
Imports System.Threading
Imports System.Threading.Thread
Module Module1
[CODE]...
View 5 Replies
Apr 15, 2010
I have a database called "IMYS" and a "Customers" table in it. What I want to do is: Define a variable like "Last_Name" and retrieve last names of customers one by one. I've tried this before (and, it doesn't work for me):
===
Dim Last_Name as String
Dim I, K as Integer
Dim CustomersTable = New IMYSDataSetTableAdapters.CustomersTableAdapter
[Code]....
View 2 Replies
Jan 7, 2010
How can I execute a piece of code at set intervals without using functions or timers?
View 3 Replies
Feb 28, 2009
I use a simple for each loop toi grab a piece of data from a regex like:
[Code]...
View 7 Replies
Dec 15, 2009
I have VB6 Dll which I am referencing in vb.net ,I am calling the following function in it. It working fine in developemnt environment but not in deployement environment.
Error Method not found: 'Boolean MyUtils._MyUtils.LoadMyObjectRecords(ADODB.Stream ByRef, System.Array ByRef)'.
View 4 Replies
Nov 21, 2011
I have a question thats been bugging me for quite some time now.Recently, I've created a ButtonRow control which is meant to host several buttons on its surface. These buttons are added through a collection property using the property grid of the VS IDE. The property is tagged with the DesignerSerializationVisibility(DesignerSerializationVisibility.Content attribute.The objects in this collection are serialized to the designer code of the form or usercontrol on which the ButtonRow is placed. Now it all works fine and everything except that I cannot implement a Name property. I'll explain what I mean by this.
If you've ever used the DataGridView control, you'd notice that the columns work in the same way that buttons work for my control ie a serialized collection. However, the DataGridViewColumn has a Name property which can is used as the variable name when the column is serialized into designer code.
Example: If you place a DataGridView on a form and add a column and change its Name to lets say "AGreatColumn" then the designer would serialize the column as such:-
[Code]...
I went as far as using .Net reflector to decompile MS source code to see how they may have achieved this but I could not find the secret. Also notice that the designer serializes my objects using a Dim statement but the DataGridViewColumn uses a Friend Withevents declaration at the bottom of the designer code file(I didnt it included above)
View 1 Replies
Mar 27, 2009
I have been trying to implement proxies in a webbrowser control...
View 1 Replies
Oct 26, 2010
I've googled a bit and saw someone said they had success in simply dragging the .dll files over to their application's path. I have tried this as well, and unfortunately it doesn't work. It stops the errors, but my chart is entirely blank. Some of the features of the chart work. ie: the legend shows up. But I have hidden some items from the legend and they still appear in the legend while running on a 2.0 system. For example, on my development machine, it shows 4 items in the legend, but on the 2.0 machine, there are all 7 - including the 3 that I have hidden.
[Code]...
View 8 Replies
Jul 8, 2009
I am trying to create a plugin system. I have the actual plugins working fine but now I want to implement a system that knows whether the plugin is installed or not. I can get the plugin name when the form is loaded (ex. "Plugin1"). I then want to check this against something to see if that specific plugin is already there (if not add it) and if it is there is it enabled. I was thinking of doing this with an xml file but thought that might be a lot of work reading and writing each value. I then thought of the My.Settings and was wondering if this is possible. I would want to create an "element" for the name and give it a value of either true or false.
View 10 Replies
Apr 22, 2011
I'm trying to, from a client-side piece, call off to a server-side piece. I need to do this synchronously. On my server-side code, though, I'm calling off to another piece of code, which I want to have a maximum of, say, 10 seconds to return a value. If I don't have a response within 10 seconds, I want to force my own server piece to set my result equal to 0, and return to the client.
Here's what I have on my server-side code so far:
Public Function GetWebResult(ByVal inputParameter As Object) As WebReturnObject Implements IWebInterface.GetWebResult
Dim result As New WebReturnObject
Dim webItem As WebItem = Nothing
[CODE]...
I realize this code is not functional. The problem is that I'm unsure how I would go about getting back into GetWebResult to set the appropriate return values before it is sent back to the client.
View 1 Replies
May 19, 2012
I am getting a registry key by using the method:
[Code]...
View 3 Replies
Mar 24, 2011
I'm converting all of my Windows XP production applications to Windows 7 and I am having a couple of problems.
1: Whenever I get an error, on the XP machines, it breaks execution and stops on the line of code with the problem. In Windows 7, it just throws a generic exception and I have no idea where the line of code with the error took place. Very frustrating.
2: In XP, I can edit changes on the fly while I am running code if I place breakpoints or follow along the code. If I try that in Windows 7, it says that's not allowed with 64 bit applications.
View 2 Replies
Nov 22, 2011
The error is raised after a normal user changed his password on - Windows Server 2008 Standard server joined to a workgroup
View 4 Replies
Mar 27, 2009
i need to change the "PATH" environment variable in a VB program (Visual Studio 2008). Here is the code i use to add the "C:TEST" folder at the end of the existing one.
test
Dim PathVal As String
PathVal = Environment.GetEnvironmentVariable("Path", EnvironmentVariableTarget.User)
[Code].....
View 5 Replies
Mar 3, 2011
I am building this tool for my 2 home computers. Its a client/server program, which is pretty easy to program. However, as with almost all program, you encounter an error now and then. However with this error I am completely clueless to what the problem is. Basically, when I connect from my client to the server, it connects and all. I can send command lines which the server then adds to the log. I have also made a command called /screenshot which basically just takes a screenshot and send it over the connection (so I wont have to run to my 2 computers constantly xD). Anyways, the thing is, that is working fine but This other code I'm making to make it list all the Drives and the first sub-folders inside the drives, disconnects me >_> I can send the screenshot line, that works fine, but when I send the 'listfolders' command, it just disconnects me. When I go back to my other computer it just says disconnected. And it doesn't even execute the given strings. I tested it to make it send a msg box when DCing, that worked fine, but listing those drives and stuff inside a TXT or List box didn't seem to work :<Also. this code works when I make it execute it on startup, but it wont execute it when its sent by my client. So my only guess is that Microsoft has made some sort of security precaution that made you unable to make programs that could have anything to do with the folders, over a TCP connection or something :s Thats my only guess, but perhaps you see whats wrong?
[Code]...
View 7 Replies
Feb 8, 2012
im finish my application and im finish ex�cutable the my application. and my question he's, if posible somebady want open my executable the my application with vb.2008.is that posible
View 1 Replies
Oct 18, 2011
i need advise regarding user security on the network i am unable explain my need , because it won't visualize much hence i attached the graphical representation here kindly find it
View 2 Replies
Aug 30, 2010
How to use this code on security installation?
Public Function GetHDSerial() As String
Dim disk As New ManagementObject(_
"Win32_LogicalDisk.DeviceID=""C:""")
[CODE]...
View 4 Replies
Nov 14, 2010
This was my code .
Private
Declare
Function addelements
Lib
[Code].....
meeting the requirement i.e procedure to set environment variable and use/get that in my code. make necessary changes in my code accordingly.
View 5 Replies
Nov 24, 2009
I get the following error when I run my program on Windows 7 (x64) : The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security This is thrown on the following line:
[Code]...
View 9 Replies
Feb 27, 2009
how do I clear the permission for a certain user and also add a new user with some security permission?
View 2 Replies
Jul 27, 2010
I am getting the following error message when I try to call this program from a shared drive on our network;
System.Security.SecurityException: System.Security.Permissions.SecurityPermission
at EMAILVB.EmialVB.EmailVB_Load(Object sender, EventArgs e)
[code]....
View 5 Replies