i'm logged with windows authentification and create an entry/user in the login table...
the new testuser has a sql-server authentification, but if a try to login local or remote, only fault 18456...
is there any trick... this should be so simple as explained... but should work?!
ideas?!
...
I have made a winforms application and in it i've implemented a custom richtextbox control. Now i'm refering it as a windows control (a dll file)in my project. In my program for the richtextbox i've written functionality inside it's textchanged event. Now i want to do some additional work which can happen only after the textchanged event...
I am considering allowing users to post to my site without having them register or provide any identifying information. If each post is sent to a db queue and I then manually screen these posts, what sort of issues might I run into? How might I handle those issues? tia
...
For a user control with internal data structures that must be disposed, is the correct place to add that code to the Dispose method in the .designer.cs file, or is there an event or something we're meant to use instead?
Edit: This is a winforms user control.
...
So I am trying to get CLientID inside the .ascx (user control mark-up) file.
While this
My id is: <%=this.ClientID%>
renders as
My id is: fracTemplateCtrl
This:
<asp:Button ID="btnSave" runat="server" Text="Save Template" onclick="btnSave_Click" OnClientClick="return confirmSave('<%=this.ClientID%>');" />
renders as (i...
So recently I learned how to properly add a username and password to a database.
My database is usersys, and the table storing user information is called userdb. The table has two columns - username (primary), password.
The registration form works great, enters the users input into the database correctly and also checks to see whether t...
I've got a user control that has an event that I can subscribe to. This works (ignore syntax):
protected void Page_Load(object sender, EventArgs e)
{
ucControl.Event += new Event(ucControl_Event);
}
but if I removed this line and put the event wire up in my aspx page, it doesn't work. Ex:
<uc1:ucControl id="uc_Control1" runat="ser...
This might be trivial for some of you, but I have two screenshots from the Lose It! app in which I'm curious how two different screens were put together.
The first: http://dl-client.getdropbox.com/u/57676/screenshots/loseit1.jpg
That middle graph which shows the statistics chart. Is that a custom image being drawn on top of with Core G...
I am starting an application (EXE) through Installer( MSI). While installing the MSI in Vista, it automatically run with Administrator rights (after thorough UAC). Hence the application started also runs under system user. I want this application to run Under Current User instead.
In order to run application in current user I need to ex...
Hi,
Is it possible & if so, how can I allow users to only create a certain number of pages. ie. When they sign up, only allow them to create one page? Does anyone know of any extensions that would allow that?
Thank you for any help, much appreciated!
...
I am trying to figure out whether the current windows user either is local administrator or can use UAC to "attain" that group membership.
What I've come up so far looks like this:
var adminIdentifier = new SecurityIdentifier("S-1-5-32-544");
var current = WindowsIdentity.GetCurrent();
bool isAdmin = current.Groups.Contains(adminIdent...
Users sometimes come up with the most amusing, weird and wonderful requirements for programmers to design and implement.
Today I read a memo from my boss that we need the "ability to import any excel or access data, irrespective of size, easily and quickly."
From the same memo, we have a requirement to "know if anyone unauthorized acce...
Quite hard to describe, but if a user on my site said they were the Wikipedia user "example" what would be the best way of confirming they are indeed that Wikipedia user & not an imposter?
Hope that makes sense?!
...
What is the preferred way to store user-level information for .NET application.
I could have used registry or config files - but some users don't have enough
permissions to save/load from these.
I have heard something about assembly private storage or smth like that,
is it a way to go?
My main concern is to make sure that even users w...
Hi everyone
I am wondering how guys out there work on limiting number of users to a web application. Sometimes you may say you want to limit the web app to only handle say 20 users at a time. Our company sells their applications based on a number of licenses, but we are not sure what the behaviour could be in a web app.
I've seen the s...
Does anyone have a list of the common user agent strings that email clients use when opening HTML emails? I'm looking to do some pixel web bug detection using PHP on an email campaign.
...
In an InstallShield basic MSI project: how can I check whether a user name is in the administrator group?
(Not the current user with which I know it's possible to do so.)
...
Hello,
I am trying to find out how I can programmatically create a logon account in Windows Vista with UAC enabled?
I have an OCX that creates a user account and it has worked for years on NT and XP, but now our application fails with Access Denied when creating the account on Vista. If our customers turn off UAC then setup that app i...
I have a site which has a page that shows the user a set of workout sessions in each table. The exercises in the sessions are href links and cannot be sent to the database as variables.
The links are displayed in tables on the page which is another reason why I can't send them to the database.
How can I save the state of the web page, (...
Hello :)
I'm working on the signup process and want to check if the two passwords (password + re-entered password) are equal. These are my validation rules in the User Model:
var $validate = array(
'username' => array(
'notEmpty' => array(
'rule' => array('minLength', 5),
'required' => true,
...