We have Access 2003, and we secured a database using "User Level Security Wizard". Now we have 2 ".mdw" files, the original one which we used to secure the database, and another one that is created when we open the database. Through connection string we open the database using the original one. My question is.. is there a way to open the database using the other ".mdw" (the one that is created by access when the databse opens) as this is the one that really enforce the security on the file. Bare in mind that this is a windows application class so everyone will have a copy of the original ".mdw" to be able to connect to the database...
caheo
Posts
-
Access Security for window based -
datagrid with large recordHi all I have a datagrid tied up to sql server. Also I have a very large record need to page during runtime. I have looked up solutions to find out how to increase the performance of my application when paging. However I'm not satisfied with those solutions. I would like to ask if there is an optimmize solution out there so that I can do the following: paging, sorting, update, insert and delete. Thanks for any instructions
-
Login again Window accountI'm new to dotnet security I'm trying to develop a login form agains Window Integration. I don't want to have a pop up window; therefore I create my own login form and redirect users to that page before they can go anywhere else. After user enters username and password, I want to check these username and password to see if they are valid. If yes, they can proceed, otherwise they have to reenter Thanks for help.
-
HyperlinksHi all I'm trying to create a simple web application with hyperlink. Please take a look at this sample. http://msdn.microsoft.com/msdnmag/issues/03/09/net/default.aspx What I'm trying to do is to copy the way Microsoft represents their hyperlinks (look at ones with figures). I know how to create those hyperlinks with Javascript but I don't know with asp.net I would like to know if there are any sample codes can help me to do that Thanks
-
Weird Session variable.Hi all I encounter a problem but don't know how to solve it. Here is my situtation: I have a web page, 2 user controls: A and B. A and B are dynamically loaded into the main page. In B there are 4 buttons, TextBox, object and classes,...There is one object I want to save all of its values and I decided to use Session["utility"] = myobject. For the first 3 button, I always remember to assign that object back to the Session for the next use, and it works fine for the first 3 buttons. The last button is a "Save All" button and I also want to retrive that object by: myojbect = (myclasstypehere)Session["utility"]. It breaks my code. Running debug I receive this: myobjec is null and there is a message like this:" Session["utility"] function 'Session.get_Item' evaluated and returned null ". I don't know why it gave me that error. I works with 3 other buttons but not with this. Thanks for any help
-
User ControlsHi all I created a user control called temp1.ascx which contains several textboxes and a button. I also have a webform name Web1.aspx. In the web form Web1.ascx, I have this code if(!this.IsPostBack) { PlaceHolder1.Controls.Add(this.LoadControl("temp1.ascx")); } else { } In the web form temp1.ascx, I have this code private void Page_Load(object sender, System.EventArgs e) { if(!Page.IsPostBack) { } else { } } private void Button2_Click(object sender, System.EventArgs e) { Session[0] = txtKeyWord.Text; Session[0] = txtURL.Text; } Here are my questions: 1/ Why does my usercontrol disappear after I hit the submit button? Do I have to Load the control during the postback? 2/ How should I pesist my value entered on both the webform and usercontrol Please provide me any examples with UserControls, article Thanks
-
PlaceHolder, TreeView, UserControlHi all I'm trying ing to create usercontrols dynamically and add them into a placeholder. During a postback i got the following error " Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request. " Is there any way I can solve this problem?
-
Looping through all controls on a webformIt does not give any error. The reason I ask is there are quite a few TextBoxes on the GUI, after doing comparision at the if statement it skips and do the next iteration. Seems to me the if statement never reaches. foreach(Control ctr in Page.Controls) { if(ctr is TextBox) <- it does comparision but never gets inside the if-statement { TextBox t = (TextBox)ctr; t.BackColor = Color.AliceBlue; t.ReadOnly = false; } } Regards
-
Looping through all controls on a webformI have another question. I'm trying to loop through all the textboxes on a web application. The snippet is below //foreach(WebControl ctr in Page.Controls) foreach(Control ctr in Page.Controls) { if(ctr is TextBox) { TextBox t = (TextBox)ctr; t.BackColor = Color.AliceBlue; t.ReadOnly = false; } } Would you please tell me why it does not work?
-
ASP.Net debugging error !!!Hello Everyone !!! I got the following error message when trying to create a very simple web application such as printing a hello on the screen. When I hit F10 to run debug the following error was thrown: "Error while trying to run project: Unable to start debugging on the web server. you do not have permission to debug the application. The URL for this porject is in the Internet zone" I could not find any much information to solve this problem. Thanks for any helps
-
Treeview ControlHello everyone I need a treeview control for my application. I don't know if any cool and free :-) treeview control that I can use out there. Also I tried to use the treeview offered by Microsoft. However when I followed the instruction to install that package on my comp, I was missing a .dll file (the control file), it was weird. Thanks for help
-
CSS vs Web Control ButtonsThank you for all the responds. I know how to do CSS for a HTML button. Do you have any tutorials or samples with web control. I'm focusing on effects genereated by the mouseover, mouseclick
-
CSS vs Web Control ButtonsI would like to know if there is a way to apply CSS on a web control button. I've been lookin up for some examples but seems HTML controls are more favored. Anybody here can tutor me quickly for mouse over, mouse click on a web control buton, also feel free to give me opinions for why web control are not using much CSS
-
Tab Navigation HelpHi everyone I've been developing a tab navigation lately using XML. Now I'm trying to put all things together. I have 2 nested tabs.I would like to know what is the best way to assembly when I click on a button on the tab the content will appear below. There are mutiple ways out there, I would like to know the most efficient way of your solution Thanks
-
Masking a textbox and validationHello everyone I'm looking for a tool or software that can assist me to minimize my work. I want to buil a lot of textboxes and want to mask all of those in a format I want. Also I want to validate this textbox immdediately on client side. I don't know if somebody here know where I can purchase or download this tool Thanks
-
HTTP vs HTTPSHi everyone !! I have a web application deloped on a web server. I have site A and site B both have link to this application. I want to check the URL from A and B. If it's correct with my allowed URL then I will let them advance. There is a sittuation occurs. Application A use HTTP and application B use HTTPS. I use Uri RemoteURL = Request.UrlReferrer to check if the URL is really from site A and site B and then match with my allowed string. Site A can pass the check point but B. I was wondering since B use HTTPS therefore it could not go through I may ask unclear. Help me if you can Thanks
-
Popup window??I woul like to know how to make a pop up window in asp.net? Thanks
-
Update a null value into databaseI have this piece of code, I want to set this parameter could be a null value: OleDbParameter myParam = new OleDbParameter ( "Description", OleDbType.BigInt, 100 ); myParam.IsNullable = true; myParam.Direction = ParameterDirection.Input; } It did not work on my Visual Studio .Net 2003 even though I already using System.Data.OleDb; I saw there was something like set_IsNullable. I tried use myParam.set_IsNullable(true). It throws me this error:"cannot explicitly call operator or accessor". Is there an alternative way ? Also, if there is a solution how I can I set the value is null
-
Insert large text into a textbox??Thanks guy I figured out by using StreamReader.
-
Insert large text into a textbox??I have a large amount of text want to insert into a textbox. I would like to know how I can do that? Thanks Both by design time and running time