Designing A Better Tag System

Dec 31, 2009

I´m having a problem designing a recipes program with tag(url...) support/I dont know exactly hows the best way to build the tag system, the idea I had is this, Ill try to explain it though english its not my first language, sorry about that.[code]The idea is that since I cant save memory references, at the start of the program I rebuild the references of refRecipe iterating through stTag, searching for recipes which contains its tag name. Also, when creating a new recipe, I must search if the tags exist in stTag to just set refRecipe or create a new tag.I think this systems have a lot of disadvantages because of tag name duplicity. Though its fast to show tags and related recipes, its not when creating and editing recipe tags because of all the iterations, but its the better way I found to do it.

View 5 Replies


ADVERTISEMENT

Designing An Auto-login System

May 26, 2009

I have this code to log me into dreamincode.net:

[Code]...

How can I adapt this code so the user can input the password, and the username and the site for which it is entered. so the user can do this with any numer of websites, and any number of different usernames/passwords)

View 5 Replies

Designing Information Retrieval System For Estate Agents

Dec 30, 2008

I have an assignment where I have to design an information retrevial system for estate agents. I have to be able to view the houses for sale, and delete them when there sold. I am new to vb script: Opens the Policy Details file and reads in the
'== records into the arrays (parameters) which are
'== passed back to the calling routine for
'== processing.
'== N.B. Use Sub SavePolicyDetails(...) to write
'==the data back to the file.
[Code] .....

View 2 Replies

Designing A System That Enables The User To Input A Customer Record?

Nov 27, 2010

im currently designing a system that enables the user to input a customer record. the customer record is broken down into 11 fields: customer id, title, forename, surname, house no, town, city, county, postal code, contact number, date of registration. Problems - i need to be able to insert the new record into a file and for them to be organized into surname order (for a binary search to work) at this moment it will only sort by first field (which is unnecessary as the customer id number is generated automatically and is all ready created in order). Also, im having trouble with sorting the array that contains all the variables from the text file.

[Code]...

View 3 Replies

Designing A Recursive Function?

Jan 17, 2011

I have the following data in this a table

ID ParentID Active Node
1 0 1 <RCExtRequest>?</RCExtRequest>

[Code]....

If changing the table layout would make this any easier then I could so that.

View 2 Replies

Designing An Aspx / Vb Page?

Jan 2, 2012

I need help in designing an aspx / vb page (.NET 1.1):The result is a table with 3 rows A,B and C it should look like this:

A
B
C

A, B and C have fixed height of 5 lines / 20 lines / 5 lines B content are gathered from dataset and can be more than 20 lines and then it should be splat and hole new table is created under the the first one like this:

A
B part 1
C
A
B part 2

[code]....

View 1 Replies

Designing VB Database Application?

Sep 8, 2009

I have VB 2008 and SQL 2008. I need tutorials to teach me how to create and connect, update, delete alter etc a Front End VB app to a SQL2008 DB.

View 6 Replies

Mobile Designing For VB 2010?

Sep 10, 2010

im a newbie to visual basic 2010 but i plan on learning everything in a 2 week period(i have a book on learning and im a very good at being self taught) i was just wondering if visuabasic 2010 would be a good language for building a mobile device from scratch and or developing for a mobile device(homebrew mobile device),

View 5 Replies

Designing A Program Which Enables Us To Write?

Dec 1, 2009

I am designing a program which enables us to write our language in any computer program My language is basically written completely opposit from english ( bilingual the program has to press the left arrow key everytime a letter/number/symbol is entered! i am having success with this code

For i = 32 To 32
result = 0
result = GetAsyncKeyState(i)
If result = -32767 Then
SendKeys.Send("{left}")
Timer1.Enabled = True

[Code]...

View 5 Replies

Designing A Vacation Tracking Form For Job?

Apr 27, 2010

I am working on designing a vacation tracking form for my job. I have written the code but I have two runtime errors. I am not quite sure why since I have taken examples out of my old visual Basic 2008 book to help write this code. I am using a database to keep all of the information on file.

[Code]...

View 3 Replies

Designing Form And Trying To Get Different Values For Different Controls

Feb 15, 2012

I'm designing a form and trying to get different opacity values for different controls. How should i do it??eg. clear visible text floating over 50% opaque form.

View 6 Replies

IDE :: Designing XSDs With XML Schema Designer?

Jun 3, 2010

I see that the old xsd editor has been removed from VS 2010 (the yellow one), however I am having some serious problems with using the new Xml Schema Designer that make me reevaluate my sanity. Namely I cannt find any command or any shortcut to create xs: nodes in xsd via designer.

I am an experienced architect and am well versed in writing xsd's "by hand" but I would like to use the designer to do it since. The weirdest thing is that even when I create schema elements by hand in xml editor it does not show up in designer but rather shows up only in Xml Schema explorer, which too does not have any "add" commands. Not to mention that all entries in properties are read-only, preventing any modification?!?

When I drag and drop a manually created element to designer surface I can then see it but still cannot modify it (plus I dont understand what moving it to designer surface does at all, the element should already be in the schema?). This is by far the weridest designer I've ever seen, unless I am missing something glaringly obvious which unlocks editing?

View 5 Replies

Avoid Repeating Actions When Designing WinForms?

Apr 24, 2011

For every form I create, I do the following [code]...

What are my options for avoiding such repetitive actions?

Is there a "best-practice" for such a scenario?

Note: the reason I'm doing changes 1-3 is that the application's GUI is in Hebrew, and the application isn't required to support further localization or internationalization.

View 2 Replies

C# - Start Designing For Task Parallel Library?

Jan 28, 2010

I have been following the development of the .NET Task Parallel Library (TPL) with great interest since Microsoft first announced it. There is no doubt in my mind that we will eventually take advantage of TPL. What I am questioning is whether it makes sense to start taking advantage of TPL when Visual Studio 2010 and .NET 4.0 are released, or whether it makes sense to wait a while longer. Why Start Now?


[Code]....

View 5 Replies

Designing A Database Connection Class In VS 2005?

Oct 27, 2010

I am working on designing a SQL Server database connection class in VB.net 2005. The idea behind doing this will be so a developer can can call the class, pass it a stored procedure name along with the parameters, and get return values back (if any).

View 1 Replies

Designing A Permissions Based Security Model?

Jul 11, 2011

I work on a vb.net winforms app where we currently are using simple roles for security. We enable/disable specific controls based on if the current user has the required role. We are to the point where this is no longer granular enough.Our application is based on different physical locations we call sites. A user might have permission to do something (for example, edit a site's configuration) at one site but not another. Therefore, we now need to lookup permissions based on current user AND current site. Also, a certain user's permissions may be very specific to themselves ie. no other user's permissions are exactly the same as another user's. Therefore we need a security model that's more permissions based rather than role based.

What's the best way to design a new permissions model that can meet these requirements? I want to make sure that it's easy to implement the checking in the code (I don't want a million if statements sprinkled in our SetUIPermissions methods) and we don't want to have to update every user (400+ and counting) each time we add a new permission. Because of this last requirement I think we need to keep the idea of roles but possibly add/remove exceptions for particular permissions for specific users

View 1 Replies

Designing And Coding A Program To Calculate Commission And Pay?

Jan 29, 2010

I am designing and coding a program to calculate commission and pay and I have chosen to use menu items to do the calculations. I have written most of the code but I am seeing a few syntax errors that I do not understand.here is the code...

[Code]...

View 5 Replies

Designing And Creating A Basic Language Parser?

Jun 2, 2010

how I would go about designing and making a parser for a basic-like language:

var my_string = "Hello World"
var my_number = 10
Print my_string
Print my_number + 10

Quite simple (although not very simple when it comes to programming it ). Does anyone have any ideas on where I can get started/how I would go about parsing it? I know it would involve a parser tree, but how would each node be structured?

View 3 Replies

Designing Application To Open Files For Certain Extensions

Aug 15, 2011

I want to design an application that can open file of certain extensions. For ex. There is a software called ARJ32 which can open file with extensions
.a00 ,.a01...................,.a19.
Also there is application called apk emulator which can open .apk files. So eve I want to design an application that an open certain file extensions. Is it possible? How do I start? I am well versed with c, c++, Java, VB.NET

View 8 Replies

VS 2008 Move Controls Within TabPages When Designing?

Mar 23, 2009

How can I drag controls within tabControls/Pages without losing handlers for buttons etc.?Cut and Paste looses all handlers?

View 1 Replies

Designing A Student Application Form In VS2008 Project?

Mar 20, 2012

im currently designing a student application form in my VS2008 Project.Theres a lot of information that the end user needs to insert for eg, Applicants Info, Parenta Info, Medical history etc What i want is some advice on how i can design this? At the moment i have too many textboxes and comboboxes for the information that needs to be provided and im losing space on the application form. Do i split the form into different parts using tabs, ie tab for student, tab for parent etc or is there a better way?

View 1 Replies

Designing Database Front End - Access Information Using VB 2010

Jul 26, 2011

I am creating a medical record system using MS Access 2007. the finish product will be used for a small healthcare which has only one available pc for now i ve done all required tables and some queries. What I really want to do is to design the forms where user can access information using VB 2010. I ve read tutorials online about how to connect dataabase to vb and successfully did that.

[Code]...

View 3 Replies

Designing Home Health Care Business Application?

Dec 31, 2011

I want to be able to drag data from one DGV to another. When the drag is completed, I want the backcolor of the cell that the data was taken from to change to red. I will add a "trash" icon that will accept a drag and drop from the 2nd DGV to remove the data from its respective cell. Finally, when the cell is trashed, the corresponding cell from the first DGV will return to it's normal backcolor. My application is going to be used to schedule clients with employees for a home health care business. The reason I want all of this is so the user has a visual aid to show them that times have been used already to avoid double staffing. i also have to figure out how make all of this unique to each client when flipping through the DGV/binding source.

View 11 Replies

Designing Magic Square - Scanning Array With Function

Mar 18, 2011

I'm designing a 3 x 3 Magic Square, where the 3 x 3 tables are made of up three adjacent list boxes. Upon starting the program, the 3 x 3 square consists only of the character "?" to represent a variable that has yet to be defined. The user will input through text boxes and button presses the characters 1 to 9, replacing the highlighted undefined "?' with the desired number. I'm required to include a Function procedure that can, at any time scan the 3x3 table and return an integer value of -1 if an undefined character "?" is present, a value of 0 if the rows, columns and diagonals do not sum to the same value, or the sum common to all rows columns and diagonals.

To start with I defined a 2D array and undefined.
Dim mSquare(2,2) As String
Dim undefined As String = "?"

Then I used a Sub to set the 3x3 table as undefined which I did not show to save space. Next I used a Sub to update the highlighted characters, allowing only one list box to be selected at a time and which I hope also assigns the the values to the array as they are updated. I removed parts of the code so this post isn't too big.

If lstCol2.SelectedIndex = -1 And lstCol3.SelectedIndex = -1 Then
lstCol1.Items(lstCol1.SelectedIndex) = input
txtInput.Text = ""
End If
For i As Integer = 0 To 2
[Code] .....

What I'm stuck on is the Function design. I'm trying to design something to scan the array, and give back an integer depending on the results, which are to return an integer value of -1 if an undefined character "?" is present, a value of 0 if the rows, columns and diagonals do not sum to the same value, or the sum common to all rows columns and diagonals.

I'm currently trying
Function checkSquare(ByRef mSquare As String) As String
For i As Integer = 0 To 2
[Code] .....

At the moment I keep getting the error "Public Readonly Default Property Chars(index As Integer) As Char". I keep getting an error like this even using a single variable and defining each j individually, and I'm wondering if its possible to pass arrays to functions or do I need to do something else. Is what I'm trying to do even possible? I did a longer method in which I just check all the entries individually but I'm hoping there is a more efficient way. Its my plan B for now.

View 6 Replies

Designing The Flow Of Code When Reading / Writing From Database

Aug 8, 2009

So I'm trying out a concept tool of mine where I need to be able to read and write data from a database real easy. I've set up the form as I like and spread around different text boxes and dropdownboxes to read the data from the database. And I've got it all to work and all, but there's a small bug I don't fully understand why's there. Some textboxes don't update the text from the database.

But it seems as it only occurs if the data in the database is nothing. So the value from the last row is still hanging in the textbox and thus, clicking "Update" actually updates the value from the field from the last row, into the new row. Messing everything up.

[Code]...

View 2 Replies

Hide A Control From The Form While Designing In Visual Studio?

Apr 6, 2012

I am designing a settings form for my application as shown below: A tree view with multiple nodes at the left and I want to have one GroupBox for each node to be displayed at the right whenever a node is selected. I have designed my group box with necessary controls for the first node. The question is, how do I design an another group box in the same place when another item is already there. Is there a way to hide a control from a form during design time?

View 2 Replies

Links For Designing VB Form And Good Color Schemes?

Jun 11, 2009

Anyone have good links for designing a vb form and good colour schemes?

View 3 Replies

What Better Place To Start Than Designing An FTP Client Code Library

Jun 22, 2012

I'm trying to familiarize myself with network programming, and what better place to start than designing an FTP client code library?So far I'm not doing very good. I'm trying to create a method which downloads a file from a remote server to a local file path. To do so, all the examples that I could find declare a byte array that serves as a data buffer. I completely understand the point of doing that, rather than reading and writing byte per byte, but I just can't get it to work. Whenever I set a buffer greater than 1 byte, the output is somehow corrupted (different checksums, media files won't play etc).[code]Because this code does work when I set the buffer size to 1, I feel like there's something going wrong with the byte order. But all of this code is synchronous, so how is that even possible.[code]

View 1 Replies

Designing A Windows Based Computer Program That Will Allow A User To Enter Some Number (n)?

Dec 10, 2010

I need designing a Windows based computer program that will allow a user to enter some number (n) and a choice of a count up or count down for that many numbers. So for example, the user enters 5 as their number and selects the count down option, the message box displayed would contain the message: "Here are your numbers: 5,4,3,2,1,0"

View 7 Replies

Designing A Program - Click On Something In The List It Will Automatically Open A .dat File Pull The Information

Jan 28, 2011

Im using visual basic 2010 and im building a program that will basically, you click on something in the list it will automatically open a .dat file pull the information that it needs, and then proceed to enter it into a box on the right. Well heres my issue i know how to do everything else but i cant seem to imitate this image, i need to know how i can make a list like this where the whole row is selectable, and the items/subitems are divided.

View 9 Replies







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