Planning A Complex Project?
Jul 29, 2009
I suppose this is more of an opinion question, but, when you start a big project, what do you think about before you even start Visual Studio? Do you setup structure and files before actually coding them, or do you code them one-by-one?
View 2 Replies
ADVERTISEMENT
Jan 1, 2009
my new game im planning for is a hangman game. I was thinking along the lines of : having a keybaord on the bottom of the form. Then having parts of the "MAN" be invisible and when a wrong letter is incorrectly pressed a peice becaomes visible! Im having trouble with how to set words. (i want more than 1 word so that it can be played multiple times).
View 1 Replies
May 12, 2011
I'm trying to create a planning program by using my own controls.I first make a control to create the entire field with a flow panel at the top for the header.Then below that flow panel I put a flowpanel for each row.Each flow panel in a row has four labels and one regular panel.The second control I make is one that creates a bar created from 2 pictureboxes and a panel. The panel is then variable based on the number of days it covers.
This control is then positioned in the regular panel of each row flow panel. (still with me??)I have not counted the amount of bar-controls that are put on the form, but there are a lot.and then I get the error: Error creating window handle.So I must be doing something wrong, but then how can one create a planning like panel with horizontal bars in different sizes depending of the amount of days.
View 3 Replies
Nov 12, 2010
I am at the moment a novice in using the VS, just started with step by step Visual Basic.I have from earlier a broad backgound in systemdevelopment, and I need some planning tools before i do the "math", taht is the code-creation with the VS tool.What is common to use to sketch and plan the work ahead in your Vs-environment. I need this because of the size of the tasks ahead, thse are on a meduimsize functional range of the applications I suppose I will delop in the future. Is it something of the UML-way, or any case like tools, or how do you take your ideas to the paper and make the design fundament before yoiu do your coding efforts?
View 3 Replies
Sep 7, 2011
The question: better a deep folder structure or less subfolder with thousands files?
The problem: I have a VB.NET program that generates around 2500 XML files per year (circa 100 KB per file).I have to store the files on a file server (Windows 7 or NAS).On the network there are around 30 PCs using that program.I am looking for the best way to plan the structure of the folders on the file server with the goal to have a good human-readable folders structure and at the same time a fast access to the file.In the past I made a similar program with the following structure:
fileserverPC1yearmonthsfile00001.xml
in other words a folder for each PC on the LAN
then a subfolder for the years
then a subfolder for the months[code].....
this solution would produce a clearer folder tree, but more files per folder.I do not know if this could be an issue in term of speed by file accessing with vb.net programs or other third hand application.
View 2 Replies
May 15, 2011
I am new to Visual Basic. I have Visual Basic 2010 Express. I am planning to make a program that can download files from a website to put on an SD Card to Soft Mod, or hack it. I want it so that the user clicks on a radio button based on what System Menu their Wii is running on. There is currently, System Menu 4.0 or less, System Menu 4.2, and System Menu 4.3.
They also have to choose a region from a List Box. The current options are:
Region U (Americas)
Region K (Korean)
Region J (Japanesse)
Region E (European)
I also want it so that the user can choose where to download the installation files for the Wii soft Mod.
I want to have a button that when the user clicks on it, a pop up asks them where they want to download the files to appear, once they choose a location, i want it to download a file based on what they chose and i also want it so that it tells them what to do with the files and where to put them.
View 3 Replies
Jan 20, 2012
I'm getting an intellisenxe error saying that the statement below is expecting a ')' and is positioning the correction ater the parenthesis following "Approved". I'm not familiar with this IF syntax and I can't seem to make the correction; trial and error isn't working ;o)) If (reader.Item("Approved"), True, False) = 0), (reader.Item("DoNotDisplay"), False, False) = 0)) Then
View 2 Replies
Jun 10, 2010
I am having a problem setting up my combo box to pull its menu from a SQL Server table and store to the main data table.Currently my drop down list displays correctly but saves 'System.Data.DataRowView' to the data table. My main data table is called 'Survey' with staffname as a column, then I have another menu table of staff member names which populates the drop down menu.I found that when I remove the DataSource and populate the Items collection instead the combo box saves the correct value as expected but when I use the datasource it saves the words ''System.Data.DataRowView',[code]
View 2 Replies
Sep 9, 2010
I have combox1 and i want to dispaly Foure Columns in combox1 and I make this
Dim dr As SqlDataReader = SqlHelper.ExecuteReader(conn, CommandType.Text, "select FirstName,FatherName,GrandFatherName,FamilyName from dbo.PersonalData")
Dim dr As SqlDataReader = SqlHelper.ExecuteReader(conn, CommandType.StoredProcedure, "GetSpecialFieldOFPersonalData")
Do While dr.Read
Me.ComboBox1.Items.Add(dr(0) & " - " & dr(1) & " - " & dr(2) & " - " & dr(3))
Loop
View 5 Replies
Apr 18, 2011
How do I use complex numbers in Visual Studio 2008 and in Visual Basic, dont tell me I spent all this money on VS2008 Pro only to find out that it cant handle complex number arithmetic!
View 1 Replies
May 17, 2012
In my spare time i give myself programming stuff to do. Today i want to write a function that goes through a string, if the string contains any numeric value the function must return false, if the string has any special characters it must also return false else return true. For example the following strings would return as follows:
String Return Value
Travis True
78* False
[code].....
View 4 Replies
Sep 15, 2009
I am currently working on a project, which purpose is to call a webservice through a VB script. VB is by far not my first language and I simply reach the point where I do not know how to go on from here.
I have a Webservice descriped in a WSDL document that defines a service that takes a complex type as parameter and returns such one as answer.
The complex type is basically just a string that is wrapped inside a class object. So what i did was to create a new class module and added a public variable to it. I created a new instance of this class, gave it for the purpose of testing a value and tried to call the webservice. Everything goes well untill i reach the call to the webservice, where the program throws an exception that says:
"Class does not support automation or does not support expected interface"
My first thought was that the initialization of the object might have gone wrong but i am quite able to set and get the values on it. So i have to assume that the object is okay. I know that the url to the WSDL document is correct, due to the fact that I can call the document via the browser and it will throw an exception of "wrong type" when i feed the soap method with a primitive.
With out luck I browsed several pages on the net to find a clue what this could. So now i wanted to give this forum a shot.
You should know that i am not able to alter the WSDL file. I have to go with the way it is. In addition am supposed to stick to VB 6.0.
I used a Form in VB to make the call to the webservice.
Here is the call procedure:
Private Sub Command1_Click()
On Error GoTo ErrorHandler
Dim tS
[Code]....
View 4 Replies
Feb 8, 2011
I have a custom modelbinder built to handle my accountRequest class.This class consists of some boolean values and a UserViewModel.The UserView Model is made up of strings such as Firstname, Last Name, Address.Originally I was just passing the UserViewModel as the action parameter but I now I need to package UserViewModel inside of accountRequest.however, now my modelbinder will not map the strings in the httpContext.Request to my UserViewModel inside of AccountRequest. All of the booleans map just fine.Is there an easy way to get his data to map to the UserViewModel properties other than hardcoding it? [code]
View 1 Replies
Mar 26, 2010
I'm trying to save some settings in a complex object. If I make a dll of the class I can then add it in the projects properties settings list as that type.When the program runs though it won't show up as anything other than nothing. I read you have to have a sub new empty constructor which I have but don't know why else this would fail.First question is how to you do this. Second is there anyway to use a class inside the project as the target of the settings type or do you have to bring a in an external dll to do this every time? [code]
View 4 Replies
Nov 16, 2010
I have a product table which has around 90 columns in. Must of the columns are integers. When I search for an existing product and insert it into a row its fine but when I alter one of the columns and do an update using the command builder I get 'Expression Too Complex'. Does anyone know why this is happening and how to fix it?
View 4 Replies
Oct 3, 2011
Im making a herbal database program and I am having troubles setting up HierarchicalDataTemplates for my main data class.
[Code]...
View 1 Replies
Feb 9, 2012
I would like to know if there is any simple/fast way to create a complex XML file, when I say complex, I mean more than 20 elements encapsulated. Although this is VB.net,unfortunately literals will not work in this case
View 2 Replies
Apr 1, 2009
I have an XML File that I am processing using LINQ. I want to basically serialize the XML data into custom objects but don't know how.
[Code]...
How can I finish the above LINQ query to populate the Children property of the Group object?
View 2 Replies
Feb 26, 2012
Imagine you want to draw a regular shape such as a triangle, rectangle ... all the way up to say a 10 sided figure ( a decagon ) or more. I know that when we try lots of sides it looks closer and closer to a circle or an ellipse. The problem I am thinking of is placing smaller circles ( or ellipses ) at the correct positions near the points of that shape as shown for a triangle below.Here comes the question(s) How could we: a) Correctly place the circles ( or ellipses ) at the points so that the sides are at a tangent to them andb) Can we combine the REGIONs of these to produce a figure with rounded points so the light blue bits get excluded? I guess that to produce a method to deal with all the mathematics involved would be quite a complex task.Has anyway previously tackled doing this or know of any .Net tools I could use for this problem?
View 11 Replies
Jun 16, 2010
I am currently trying to find a way to accurately print a complex form that I created in VB6.
I stumbled upon a company that has a very impressive package called Winform Reports.
[URL]
Currently it is only supported in .NET.
Does anything like this exist for VB6?
View 2 Replies
Aug 15, 2011
I wanna search items like MS windows search for example if i wanna search mp4 files i should write "*.mp4" its enough my searching but if i ll use filter function i cant do this on datagridview couse when i want to search something i need to know full name of this record... its to bad for me... is there any way? can i do it?
View 2 Replies
Mar 17, 2011
I have a control that looks similar to the following:
I need to add slightly round ends where all that extra end space is. I'm not sure how to add these. It should look similar to the round ends on this page.
View 1 Replies
Jul 28, 2011
Want to dump a fetched table to a excel sheet. [code] I am new to data fetching and ADO.Net concepts and just got it working.But. This seems to be very inefficient and lame to me. So, can you help reducing the complexity and may be improve performance ? A totally different (Better) implementation is most welcome !
View 2 Replies
Nov 2, 2011
I have been reading the various blog posts on how to deal with a Complex Type. However I don't really get it. I am using EF code first development, MVC and VB. From what I have read so far to render a editor field for a complex types requires a custom object, right? However I don't really understand what code I need to put into the custom template. What code needs to go into custom template so I can render a textbox for the PostTags icollection?
My classes:
Public Class Post
Inherits EntityBase
<Key()> Property PostId As Integer
<DisplayName("Title")> <Required()> Property PostTitle As String
<UIHint("MultilineText")> <DisplayName("Text")> Property PostText As String
Code] .....
View 1 Replies
Jan 25, 2012
Is there a VB equivalent to PHP's print_r available? I have a very large and complex hashtable that I would like printed out.
View 3 Replies
Mar 11, 2010
My problem is I want to be able to read through this xml document and populate a winform before validating it and then storing it into a table.[code]...
View 2 Replies
Feb 27, 2009
So i run a loop that is an iteration for array variables. for i = 1 to 1000summation = summation + array(i)next iyet for every iteration, array(i) contains a different set elements, and I need to know the sum of these elements for every iteration step.For some reason VB saves the values from previous iteration(s) and adds them to the new.The question is: how do I sum a new set of array elements for every iteration without using the older values.? Can I: dim array(number of elements as a function of something) ?
View 3 Replies
Sep 7, 2011
I took over an ASP.NET application and have found this throughout several classes in the application. The programmers before defined several shared/static variables that act as "complex enums" throughout the application. As a fairly new programmer, it doesn't look like best practice.
Here is an example:
Public Shared SecureCommentsWrite As New Task("Secure Comments Write")
Public Shared SecureCommentsRead As New Task("Secure Comments Read")
Public Shared EditEmergencyContact As New Task("Edit Emergency Contact")
Public Shared DisplayPersonalReferences As New Task("Display Personal References")
Public Shared EditPersonalReferences As New Task("Edit Personal References")
The constructor takes the description, then loads the ID key from the database using a stored procedure (the database is SQL Server.) This seems like a good idea since we deploy this application to multiple databases and want to ensure that we load the ID key that's in that database in case it changes. However, since there are literally hundreds of these in the application, the first load takes a while.
View 4 Replies
Feb 23, 2011
is there a common way to test complex functions with several parameters with NUnit? I think it is very hard or impossible to test every condition.
I'm afraid the combination of parameters that isn't expected in the function is also not expected in the test.
So the expected condition will not fail but the unexpected.
View 5 Replies
Oct 1, 2011
I have a string which is like this - MVAL("A","01-01-1900")+MVAL(B,"01-01-1900")+MVAL("C")+MVAL(D). Now I want to extract B AND D out of this using regex because it is the first parameter and it has no quotes around it in both the overloaded version of the functions. Secondly because MVAL function is an overloaded function with two versions like MVAL("A") and MVAL(B,"01-01-1900") how will I find which version of the function is being used.
I'm using System.Text.RegularExpressions.Regex method.
View 2 Replies