Social Networking Website :: Way To Implement A 'user Search' In Memory (no SQL)?

Jul 26, 2011

I'm writing a social networking application in VB.NET, with a target userbase of 1-2 million users. All user data will be in memory in a dictionary of 'User' objects with properties such as Country, Region, Age etc exposed. I need to perform search against multiple user properties in memory - I'm not using SQL.What's the most performant way to implement a 'user search' against multiple properties?

View 1 Replies


ADVERTISEMENT

Create Social Networking Site Using 2008?

Jan 2, 2009

A peaceful 2009 to everyone! How could i create a social networking site using visual asic.net 2009, i will need reports as administrator, kindly email your answer to {REMOVED}

View 5 Replies

Implement Networking Through .net 2008?

Mar 23, 2009

how should i implement networking through vb.net 2008?

View 6 Replies

Implement A VIN Decoder Functionality In Website?

Jun 29, 2010

I want to implement a VIN decoder functionality in my website, where user will input the VIN number to get Vehicle information like, YEAR, MAKE, MODEL, BODY STYLE and etc.

But I don't want to subscribe to a service.

View 4 Replies

Proper Way To Implement Global Constants Plus Memory Considerations

May 3, 2012

I am new to Visual Studio and Visual Basic, but I am a revived dBase, FoxPro, Visual FoxPro, ColdFusion programmer..I'm as good once as I ever was.So I am looking for how to implement some constants for the three main reasons anyone would want to use global constants:Readability, Maintenance,Memory Usage.For example in a list of error return codes, I may assign "File Not Found" an error code of 1010.To create a constant that exists only within a procedure, declare it within that procedure.To create a constant available to all procedures within a class, but not to any code outside that module, declare it in the declarations section of the class.To create a constant that is available to all members of an assembly, but not to outside clients of the assembly, declare it using the..Friend keyword in the declarations section of the class.To create a constant available throughout the application, declare it using the Public keyword in the declarations section [of] the class. global it is visible to all procedures and modules that comprise the application. Global variables and constants, as with Module level variables, must be declared outside of any procedures in the Declarations section and must use the Public keyword.The language above stating "Global variables and constants, as with Module level variables..." insinuates to me that Global Constants and Module Level constants are different, thus having different scopes.

And I have yet to see ANYWHERE that tells me to put stuff in the Declarations Section of a class or program or application, tell me just WHERE the declarations section actually IS! They always give the code of how to declare (I can do this...) but they don't say where the code GOES.I know I am overlooking the simplest of things, but just trying to be very sure of what I am doing.[code]

View 15 Replies

Implement Unit Testing On A Legacy Website?

Jun 24, 2009

I downloaded nUnit and TestDriven.net. I have a legacy Web Site application and I would like to implement some unit testing. I created a class in the app_code folder and added Imports NUnit.Framework etc... After writing a basic test, I get the "Can't execute tests in 'Web Site' application." error. I guess the Web Site project is not supported. Converting to a Web Application is not an option at this time. I have Visual Studio Test Edition, so I tried that route. I created a test project, wrote a couple tests in my test class etc... only to find out I cannot reference the classes in the app_code folder of the Web Site project.

View 2 Replies

Implement A Search On A Richtextbox?

Dec 16, 2009

I'm trying to implement a search on a richtextbox. i want the scroll to move to the found area only if that area is out of the visible part of the text.

View 2 Replies

Implement Search Functionality For Many Properties?

May 28, 2010

I was asked to develop a simple application to handle car inventory. Each car has a LOT of properties (about 130, like license plate number, type, was it serviced, etc.). Some of these properties are represented by bit data type in a database some are varchar.

The problem is that I need to provide search functionality for any of all these properties and any combination of them. This results in a search form with about 130 controls. I certainly do not want to put the SQL query together manually by checking the state of each and every control. To propagate the problem further I need to be able to search for partial strings as well (i.e. if the user enters "porsc" into the car brand field then all Porsches should be found).

View 2 Replies

Memory Leak Caused By Event Handler On A Website?

May 7, 2012

it is clear that an Object handling an event has to unregister himself of that event before it ends, to avoid not been cleared from the memory by the CG - especially when it lives longer than the "Event Raiser" object. But, on the other hand, I wonder if it is possible to encounter this problem on the web server... Is it possible that the server will keep this object alive, even if the execution context (i.e. the web session) has died? Are'nt all the objects related to a session cleared with the session itself?

View 1 Replies

Build A Search The User Selects The Column Title And In Puts The Criteria Then Clicks The Search Button?

May 26, 2009

I'm in a bit of a quandry. I am trying to build a simple search form where the user selects the column title and in puts the criteria then clicks the search button. This is the code I am using

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
details = ComboBox2.Text
'column name selected by user
specifics = TextBox1.Text
'criteria input by user

[Code]...

View 9 Replies

[VB 2010] Search Memory Address With The Value?

Nov 5, 2011

I want to know on how to scan for the memory address by using its value.I am developing a small app that acts like a advance process viewer that shows all the address with the same values in a program.....

View 5 Replies

Search Field, User Able To Press Enter To Search?

Oct 21, 2009

I have a search function in my app which is a groupbox with a textbox that contains the search keyword and a couple of radiobuttons. Do I have to create a keydown event for every single radiobutton and textbox? Or is there a better way? I tried making a keydown event for the groupbox but that didn't work.

If your interested, this is my

Private Sub Search()
Dim textBoxContents As String = txtBoxKeyword.Text
Dim keyword As String = Nothing

[code]....

View 2 Replies

VS 2010 Function To Search On A Process Memory

Aug 4, 2010

Read (search a value) in a non specific process memory. Write a value in the address found in the last function requested.

View 2 Replies

Get Related Search From Website?

Mar 3, 2012

Im using wikipedia and want related searches to pop in a listbox that the user can look at as well. If anyone has some insight of where to start that would be awesome. I tried getting the heading of the main searched topic by referencing the titles of the website but that ended quickly with many boundaries.

View 1 Replies

Search Particular Data From Website?

Jan 19, 2012

i want to search some data from some sites . if the dta is found it should be shown in a gridview with the urlfrom which it is found.

View 1 Replies

Display Search Result On TextBox/ComboBox And Implement Edit/Next/Previous/Delete?

Jun 24, 2011

In my form, I have textbox + combobox to enter datas which are saved to ms access. I have search option too. Also i have DataGrid to show the result of the search. What I want now is, 1. To show the search result in the textbox/combox as well (I already am able to make the result show on datagrid)2. When there are multiple result showing on DataGrid, if i click on a particular result on DataGrid, let the textbox/combobox automatically loads the details of the one i clicked.

View 6 Replies

Asp.net - Search Website Page Content?

Jun 18, 2009

I am hoping to implement search in my asp.net website. I have been searching the web, but I am not sure which way to go. Here is what I am looking for:

ability to search the text in static pages on my site exclude pages or folders that I don't want to search code must be in vb.net or c# must be something I can quickly implement .net 2.0 or later preferred

The best example that I have found so far is [URL]

I like it. I am just hoping to find a more modern one. This one is written in .NET 1.0

View 1 Replies

Pointers On Doing A Multi-website Search From Within App?

May 19, 2011

have an app where the user can select to search websites I have "Hard-Coded" into the app and select categories and sub-categories to search within those websites.What i need is to figure out how to take a user defined search query (Example: The Holy Bible King James Version), then search the relevant websites (behind the scenes) then output the results something like a google or bing search, then allowing the user to download directly their search query

View 3 Replies

Using Search Specific Information On A Website?

Apr 11, 2009

Not sure if this is possible at all. I was hoping somebody could help point me in the right direction. Right now im not quite sure what to search for or what this would be called. Basicly I was wondering if it is possible to design a application in vb.net 2008 that could search a website for specific information.

View 1 Replies

VS 2008 Website Search Function

Jun 28, 2011

I've just started developing web applications for the first time. Im developing an ASP.Net Website. Ive started transferring code over from my windows application and found a few errors. In my windows application I had a search function in a form where on click the text in a text box would search the first list box and print any matches in the second list box. [code] In my website an error pops up highlighting the line "words = lstSearch1.Items.Item(a)" and says that the value of the list item cannot be converted to string. How do I go about fixing this or is there a different way of implementing a search function in an Asp.Net website?

View 2 Replies

.net - Making A Search For Website Without Having To Nestle Multiple IFS?

Jan 4, 2011

I would like to search my database for products from a table(products)The problem is i do not want 600 rows of code with multiple if's.The code looks as following atm(do not want it like this)

Public Function GetSearchResults(ByVal County As Integer, Optional ByVal Searchtext As String = "", Optional ByVal Category As Integer = 0, Optional ByVal SubCategory As Integer = 0) As List(Of Product)
Dim dc As New DataClassesDataContext

[code]....

AND alot of elseifs and so on... The problem is that if the value is 0 at any of the above the search will be for all countys/categorys/headlines.... is there a better way to do this? i mean linq is great there have to be a way to make it more dynamic so i dont need the IFS.

View 4 Replies

Automatically Login To A Website And Then Do A Search On The Site?

Jul 21, 2009

I'm making a winform program to automatically login to a website and then do a search on the site. Problem is, it works for one site but not for another.

Here's the code:

Code:
Dim cookies As CookieContainer = New CookieContainer
Try

[Code]......

View 9 Replies

Search Website And Return Text Of Another Webpage

Oct 24, 2009

I am making an application that will save all the names of the movies in my "movies" folder on my computer. I am able to make a list of all the names quite easily, but how would it be possible for me to search The Internet Movie Database (IMDb) for the title of the movie, click on the link of the name of the movie and grab information of the movie off the imdb database (Run time, rating, and plot?)

View 14 Replies

Asp.net - Implement Security Trimming With A Website With Multiple Folders And Multiple Web.config Files?

Jun 18, 2012

I have a website that has highly granulised access and hence requires many web.config files. The problem is I would like to trim the menu so that only certain users will have access to certain folders. I have enabled trimming and setup roles in the sitemap, however when I access the page the menu is not show, as I am authorized to view the default page which is not in a subfolder. When I type the url of a page in sub folder's I have access.

How should I handle this:

A site map for each web.config file - don't know how this will work Removing the sub web.config file to only use a single one

View 3 Replies

Search A Multi-line Textbox That Contains The Source Of A Particular Website?

Nov 26, 2009

What I am trying to do here is search a multi-line textbox that contains the source of a particular website.what I would like is something like this but i do not know how to right it like i need

Dim MyString, FirstWord, LastWord, MidWords As String MyString = "Mid Function Demo" ' would be the textbox FirstWord = Mid(MyString, 1, 3) ' Returns "Mid". LastWord = Mid(MyString, 14, 4) ' Returns "Demo". MidWords = Mid(MyString, 5) ' Returns "Function Demo".

this function works fine only when you define len.what I need is a function that will do something like this, "note obviously interpreted code"

Dim text, A,B,C as string text = textbox1 A = "<body>" B = "information between A and C being of variable len" C = "</body>" textbox2 = B

I do not want anything like,

remove "<>?|?()}{][" etc.

View 1 Replies

Asp.net - Implement The Facebook "Like" Button For Website

May 18, 2010

I am trying to implement facebook like button on my website. The first four lines in the code is already there on my site after the end of the "" tag.

To implement the "Like button" i have added the second script (Line five to the end)and ran the application. Its giving me an error as

"Microsoft Jscript runtime error:'_onLoad' is null or not an object"

<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"></script>
<script type="text/javascript">

[Code].....

View 2 Replies

Getting The Last 4 Of A Social SSN From A Full SSN In A Masked Text Box?

Jul 28, 2009

Basically I am doing a weekly assignment for unit 7 where I have to use Data bases.... I have everything going fine I used VB studio to set up most of my relationships between the Data base and VB.I have a text box called txtLast4OfSSN.Text that I need to get the last 4 of a social security number.

Now this should be simple I have another box ( a Masked Box for SSN) that has the SSN in it... This box is called m_SSN.Text....... Now I figured it would be easy, and that I could just use the Substring(7, 10) to get those numbers :*( However its not working and I am getting an error as follows:"Index and length must refer to a location within the string. Parameter name: length".Here is my complete code with my two buttons its mostly in the second event procedure that I have the code specifically for getting the last 4 of the SSN:

Public Class frmInstructorTable

Private Sub StudentsBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StudentsBindingNavigatorSaveItem.Click[code]....

View 12 Replies

How To Implement Encrypt / Decrypt Of User Password

Jun 22, 2010

I have designing a desktop application using VB.NET 2008 & SQL Server 2005.In my Application i have a frmUserRegistration to add a user & frmLogin to login to my application.i can add the user details in the database but my password seems to be in characters.Login form also works using my method. BUT MY PROBLEM IS THAT I DONT KNOW HOW TO STORE THE USER PASSWORD IN ENCRYPTED MANNER TO THE SQL DATABASE AND DECRYPT THE PASSWORD WHEN USER LOGIN TO MY APPLICATION.

View 14 Replies

Implement A Multi User Login On One Of Forms?

May 24, 2012

I am currently working on a project for school in which I am trying to implement a multi user login on one of my forms. I have an internal database connected in which one of my tables contains the user-names and passwords. I have a For/each loop to search the table for a matching username/password before allowing access to next form. The problem is even if the username/password is correct, my message box still appears to notify of invalid credentials, but still allows access to other form. The problem only occurs when I implement two For/each loops. With one, code works fine. Can any one see what might be wrong?

[Code]...

View 5 Replies

Masked Text Box For Social Security Number?

Apr 10, 2009

(Goal)How do I display the number like below on MaskedtextboxSocial Security Number : 333-33-3333

View 5 Replies







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