Community Server Library - Deleting A User?

Oct 9, 2009

I have been asked to fix a Community Server forum where thousands of users were created via a script. All of their profile pages are SEOspam for prescription drugs, etc. The forum was not using email verification or admin approval for newly registered users. I turned on the latter for now, but captcha would be nice.

My problem is that it is very cumbersome to mass delete these accounts. I set up a .net grid (Telerik Radgrid actually) so that I could mass select users and click delete. However the following code does not seem to be working (mind the VB nubbery):

Protected Sub rgUsers_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles rgUsers.NeedDataSource
rgUsers.DataSource = Users.GetUsers().Users()
End Sub

[code]....

The UserDeleteStatus result returns 'Success', however the user is not actually deleted. Am i using the correct delete function?

View 1 Replies


ADVERTISEMENT

Deleting A Record Using Sql Server?

Jun 6, 2011

i'm having a problem regarding sql deleteCommand..

here's my code
Private Sub btnDeleteBC_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDeleteBC.Click
If MessageBox.Show("Do you really want to Delete this Record?", _

[Code].....

View 8 Replies

DataGridView User Deleting Row

May 29, 2011

I have a DataGridView in my Form. I am adding a handler as follows:

Private Sub DataGridView1_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGridView1.SelectionChanged
If Me.DataGridView1.SelectedRows.Count > 0 Then

[Code]...

View 5 Replies

Self Deleting User Control

Feb 18, 2010

how can i have a user control delete itself? I have a user control i add at runtime to my form, i have a button on my control that when the user clicks it i need it to remove the control from the form.

View 2 Replies

Deleting Row In Table From Sql Server 2005?

Jun 7, 2012

I try to delete the row of the table from sql server 2005 via vb.net 2005 using textbox to refer the serial no value of the column which is set as primary key, when i click the button to delete it give me this error.

Quote: Conversion from string "error" to type 'Integer' is not valid.Here is the code Private Sub deletebtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles deletebtn.Click

[Code]...

View 7 Replies

Use Dataset For Sql Server For Adding/modifying/deleting Data?

May 11, 2009

I want to use dataset for sql server for adding/modifying/deleting data from sql server.

View 8 Replies

Deleting Windows Temp Files When User Press Button

Aug 20, 2011

How To Make It So When You Press A Button, It Deletes Windows Temp Files.

View 1 Replies

C# - Saving Class Library User Settings In Winforms .Net 3.5 SP1?

Jul 8, 2010

A while back, I wrote my own settings provider because I was having problems persisting settings in a class library. (Note - I had no problems persisting settings from an application).Today, I just did a test of persisting class library settings and it worked, without my custom provider.The test is:

(1) Create a class library

(2) Add a setting - 'Name'

(3) Add a class with a public shared property 'Name' that reads and writes to the setting 'Name'.

(4) Create an application that references the class library, and use the shared property to read and write the 'Name' setting.

I'm sure that before the 'Name' setting would persist while the application was open but after I closed it and re-opened it, the setting would revert to the default.This is not happening now and I'd like to be sure that I was being an idiot before and not an idiot now.

ETA: I've noticed that the first time I create a test app, change the setting, close, and reopen, the setting is not persisted. Subsequently it is. May be I gave up after one try before. Any ideas why it's not persisted the first time?

ETA2: As an example, I have a class library called 'MyLibrary' and a test application called 'MyApp'. I do the steps 1-4 above, and below are the contents of the user.config file found at C:Documents and SettingsUser NameLocal SettingsApplication DataMyAppMyApp.vshost.exe_Url_vi5gjcooahbdm2ma3dcay0mkexu2suul1.0.0.0. Note: I did not touch the settings in MyApp;-

<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral >
<section name="MyLibrary.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, allowExeDefinition="MachineToLocalUser" requirePermission="false" />

[code].....

View 1 Replies

Creating Report For User To Print - Library Not Registered

Oct 26, 2009

I am using vb 2005 and word 2000. I use word to create a report that the user can print. When I click on the print button, I get the error "Library not registered." I am using clickonce to publish the app. This error only happens on 2 vista machines and xp works fine.

vb.net
Public oWord As New Word.Application
Public oDoc As Word.Document
Public oTable1 As Word.Table
Public oTable2 As Word.Table
Public oTable3 As Word.Table
[Code] .....

View 7 Replies

Community Forums NNTP Bridge?

Jun 9, 2010

I decided that before I can fully and effectively criticize this monstrosity , I needed to take in the full view of it. So I went and installed the Community Forums NNTP bridge,availableSeems to be working.

View 9 Replies

How Useful Is Dotfuscator Free Community Edition

Jan 14, 2010

how useful is dotfuscator free community edition? I applied it on my application and then checked the assembly using the Red Gate's .net reflector. It seems dotfuscator just changed the names of modules,classes and functions. once you know where to look( module or the class) , code was pretty much visible.Basically I want to secure my .net applications and to prevent them from being disassembled in to meaning-full code.

View 5 Replies

Server Path - Added New Project Class Library To Make Dll File

Jun 14, 2009

I am just added new project class library to make dll file. when i write the first line i got this problem

Dim objStreamReader
As
New
StreamReader(Server.MapPath("TextFile.txt"))

name 'server' is not declared

View 11 Replies

Protect My Assemblies With Dotfuscator Community Edition?

Nov 12, 2010

I would like to protect my assemblies with Dotfuscator Community Edition I have a setup project that builds an MSI installer. I was wondering if theres any way to include this into my project so that when I build my solution Dotfuscator Community Edition automatically protects the assemblies

View 4 Replies

Why Can't A Government Employee Be A Microsoft Community Contributor

Jul 14, 2011

On Tuesday, 28th June 2011, I received an email from Nestor Portillo, Director Community and Online Support, Microsoft informing me that I have been awarded the Microsoft Community Contributor (MCC) Award for 2011. It was a cheering news for me in more ways than one. I am a Chartered Accountant (or CPA) with no formal training in IT. I am a government employee in Nigeria where most people are barely IT literate. I am into programming out of personnal interest and because I see a great potential for future benefits in that field.

But my joy was cut short because as I followed the steps towards printing my Certificate and redeeming my token, I was informed that government employees are not eligible for MCC award! For once, I regretted the honesty of admitting that I'm a government employee in the radiobutton provided for that. I find it too hard to understand why I am being denied this award just because I'm a government employee. If being a government employee does not disqualify one from participating in this forum, why should it disqualify one from benefitting from the token recognition of being here and sharing ideas and knowledge with others? Shouldn't Microsoft be encouraging government employees to take part in this forum knowing that public servants are the least interested in IT? For those of us in Africa, shouldn't my recognition serve as an incentive for others in government to show interest in IT? Or is Microsoft not interested in IT education and development of government employees especially in Africa?

I forwarded a protest letter to Portillo on the 30th of June 2011 but have not received any reply two weeks later. I am using this medium to appeal to Microsoft to kindly reconsider the exclussion of government employees from its awards. I am not in any way involed with any activity that may create conflict of interest if that is the issue. I am also appealling to other forum members to join this debate with a view to reversing this patently discriminatory and obnoxious rule.

Sylva Okolieaboh
Abuja, NIGERIA
14th July, 2011.

View 1 Replies

Open Challenge To Vb Community Reading Grib Files

Nov 25, 2009

I have looked everywhere on this but do not know anyone who have accomplished it so far that is how to read values from a grib (gridded binary) file. Below is a link for Environment Canada where they store the forecast values in grib format. These file can be opened using tools like wget but is nowhere close in reading the data values from the file itself.url...

View 2 Replies

Open Challenge To Vb Community: Reading Grib Files?

Mar 17, 2010

I currently have a program that I made which opens other apps packaged with an installer. I have set the installer to install everything to the Program Files folder. However, not all computers have a C: hard drive. I have a way in which they can enter their drive letter in one form then in the next form it remembers the drive and will take them to the program. The problem is my program stores the drive letter in an xml file. On the startup of the program it looks in the xml file to find the drive letter, if there is no drive letter the form opens then lets the user set his drive letter. The xml file is stored in the folder "Math Wizard" in the Program Files folder. But if not all

View 3 Replies

VS 2010 Making A Online Community Program Thigie

Mar 2, 2010

I started working on a big project for like 5 mins ago. Then suddenly I figgerd out that I don't know (AT ALL) how to make a program that can:

- Connect up to a server (which will be my secound computer)
- Chat
- Make groups
- Etc

the login system is simple but the client server thing is another story.So basicly what im asking about is: How can I make a program that connects to a server (this should not be local).

View 4 Replies

VS 2008 Multi-User Chat Program (Server & Client) With Main Server?

Aug 10, 2009

Multi-User Chat Program (Server & Client) with Main Server?

View 1 Replies

Error Login Failed For User ''. The User Is Not Associated With A Trusted Sql Server Connection

Oct 2, 2008

Dim sqlConn As New SqlConnection("Server=.\SQLEXPRESS;uid=;pwd=;database=ContactManager")
sqlConn.Open()

Above is my connection string, The programs runs up until sqlConn.Open() and then i get the same error, using no UID and Pass, or using a uid and pass.

Login Failed For User ''. The user is not associated with a trusted sql server connection

I have the SQL Servers authentication se to Windows Authentication and SQL Authentication. I'm using Visual Studio 2005 and SQL Server 2005.

View 10 Replies

IDE :: Creating Data Entry System For Local Community Group?

May 14, 2011

I am trying to create a data entry system for a local community group. I am working with VB.NET 2010 and MSAcess 2000. I am completely new to using a DB in VB.Net. I have created a form with the membership table bound as details on the form and the classes they are attending as a DataGridView. I used all the Visual Studio GUI tools for this. It was reasonably straightforward once I got the hang of things. My problems arise when I try to ensure that a user cannot move to a new record or create a new member without first saving any changes they have made.

I am using ColumnChanging events in the ...DataSet.vb class to set flags to indicate whether any data values have been changed on the form. My problem is that the ColumnChanging events for the classes DGV fire immediately on changing the data whereas the ones for the member details don't fire until I start to move to a new record. I don't know if it is important but my member navigation is achieved by means of a combobox on the form that lists the member names from the table. I have absolutely no idea why this works - it just did; the form updates as soon as the user selects a new member in the combo box.

View 1 Replies

Login Failed For User ' '. The User Is Not Associated With A Trusted SQL Server Connection

Jul 29, 2011

i am having a console application. I am trying to connect to a sql server.

my connection string: Data Source=<Some server>;Initial Catalog=<some database>;Trusted_Connection=True.

when i am executing on my local machine it runs successfully. But when i am trying to run it on a server it is giving me the following error:

Login failed for user ' '. The user is not associated with a trusted SQL Server connection.

do i have to change my connection string? if so what it should be?

View 2 Replies

C# - Server To Server File Transfer Without Any User Interaction?

Feb 16, 2011

In my scenario, users are able to upload zip files to a.[url]....I would love to create a "daemon" which in specified time intervals will move-transfer any zip files uploaded by the users from a[url].....From the info i gathered so far,

The daemon will be an .ashx generic handler.

The daemon will be triggered at the specified time intervals via a plesk cron job

The daemon (thanks to SLaks) will consist of two FtpWebRequest's (One for reading and one for writing).

how could i implement step 3?

Do i have to read into to a memory() array the whole file and try to write that in b.example.com ?

How could i write the info i read to b[url].....?

Could i perform reading and writing of the file at the same time? No i am not asking for the full code, i just can figure out, how could i perform reading and writing on the fly, without user interaction.I mean i could download the file locally from a.example.com and upload it at b.example.com but that is not the point.

View 8 Replies

C# - Library Or Code Snippet For AutoComplete In Text Control Based On The Previous User Entered Values?

Sep 19, 2010

I'm looking for a library for Autocomplete support in text controls which remembers all previous entries of the user and provide auto-complete support for it.For example for "recent files" I use [URL] and it works great. Do you know something like that for this purpose?

UPDATE : This is a .NET Winforms application and I'm using normal Text Control.

View 6 Replies

VB2010 Class Library: Create A Static Library Instead Of DLL?

Jun 21, 2011

I have a Visual Basic Class Library project. It generates a DLL. Is there a method to generate a static .LIB to which I can do a static link?Alternatively, can I do a static link against a DLL?

View 6 Replies

VS 2008 TCP Server / Client - Client To Send The Server 4 Numbers - Depending On The User's Choice

May 9, 2009

how to create a client/server... But I couldn't... I don't want anything fancy. Just want the client to send the server 4 numbers, depending on the user's choice; after that, the server would turn off the pc, restart it, etc. It all depends on the number received. Is there a rather "simple" way to do it? If it's not to much trouble you could use Atheist's example. (Btw I don't understand the code and, yes, I've checked on [URL])

View 9 Replies

User Control Which Works As A Login Control Using Windows Class Library

Feb 12, 2009

I Need Build a user control which works as a Login control using Windows Class Library or Component Template:The user control returns the user name and the password It means that the control has minimum two ReadOnly Property procedures. You let the user of your control (he/she which uses your control in his/her software) to set the background colour of the two labels. Create a Windows application to test your control.

View 10 Replies

Using The Microsoft.Office.Interop.Excel.dll Library; Does Excel Need To Be On The End User's Machine

Nov 22, 2011

I have been doing a lot of reading on this topic and most folks seem to agree that having Excel is required to use the COM Interop libraries. However they are never specific as to where that should be installed. Does it need to be installed on the machine I am developing on or does it need to be on every machine that I deploy to?

Edit: I should mention that this is desktop development/deployment targeted for all Windows machines.

View 3 Replies

User Control - Get An Error Message:"A Project With An Output Type Of Class Library Cannot Be Started Directly."?

Jun 16, 2010

I created a simple user control and everything went fine.Then I created another of the same control (as a different project) from scratch (creating the controls in a different configuration; but pasting code from the previous one from a text file).As far as I know I did everything the same for creating a user controlCreate a Class Library project Then Project>Add New Item> User Control Then delete the initial class that was added automatically (usually named Class1.vb) Put all of my code and components into the user control class.However, when I wanted to run it in the debugger as I did in the previous project, I now get an error message:"A project with an Output Type of Class Library cannot be started directly."

View 6 Replies

C# - What Is The "official" Place For Community Support For The Mere Mortals .NET Framework

Jun 14, 2010

My team is using the Mere Mortals .NET framework from Oak Leaf. Being used to working with primarily open source software, I found it excruciatingly painful to find ANY community support for MM.NET. When I asked if there was any, the only place I was given to look for support was Universal Thread, which is a site which requires a membership for search on archived questions. It seems like a third party, pay-for site should not be the primary source of support for anything like this, especially MM.NET which costs $700 per developer. It doesn't seem to me like an entire community around MM.NET would choose to all pay on top of the license just to use a forum. If not Universal Thread, then what is the "official" place to find support for the Mere Mortals .NET framework?

View 2 Replies

Create Sql Server User?

Jun 17, 2009

Create Sql Server User

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved