How Are Crossword Puzzle Grids Made
Aug 17, 2010
How are crossword puzzle grids made? I have written a program to generate a puzzle, my problem is the GUI part.I ended up using Visual Basic (VB) because I'm more familiar with that language.However, eventually I have to write this in Java. So far the only way I am displaying the results in a grid-like format is using two controls Groupbox with a Label inside it.This way I can put the number to the word's clue in the title line of the Groupbox, and the individual letter in the Label. To make the cell in the grid editable (my goal for a different version of the puzzle), I guess a Textbox would have to replace the Label.The GUI for real online (professional) crossword puzzle grids is much nicer than this.I know there is a way to combine controls to make a customized one. Even if this works in VB, I'm not certain if it can be done in Java, therefore, I really don't want to go that route (unless someone knows how make customized controls in Java). I have searched the net and looked in books on games, VB and Java with no luck.I need something that I can grow dynamically depending on the grid size needed to hold the content.
View 1 Replies
ADVERTISEMENT
Jul 24, 2011
I have created an algorythm for creating a crossword puzzle, but I am not pleased yet.
View 1 Replies
Apr 16, 2010
Or richtextbox? lets say i have 10 words. how do i place it in textbox or richbox? with different direction and location?
View 3 Replies
May 4, 2010
can you make the words appear in the puzzle? and then i will figure out how to highlight the correct words or something. [URL]
for example is to have the word forget in listbox2 which is the first word in the puzzle.
Option Strict On
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code]......
View 1 Replies
Feb 16, 2011
I puzzle with (setting uptime-real time clock) calculation.ex. if I want my stopwatch countdown fromtart: 18.20.30 - stop: 18.50.50 = difference time is 00.30.20 that is easy butstart: 18.20.30- stop: 18.50.40 = difference time is 00.30.40
View 10 Replies
May 5, 2009
Let's say I have an object that contains a Word property and a Sentence property. The sentence must use the word, and I want to replace the word in that sentence with a link using a public function (say, GetLinkedSentence). The catch is maybe the sentence uses a plural form of the word and maybe the "word" itself is actually a phrase, or is even hyphenated. There's no length limit to the word either. How do I find and replace this word (in ASP.NET, preferably VB) with a link [word])?
View 2 Replies
Sep 9, 2009
I have to design, write and test a vb program to help the user slove the numbrix puzzle
so far I had this
[code]
View 3 Replies
Feb 21, 2012
I am creating a puzzle game and would like to calculate the width and height of the puzzle taking into account the original image size and the screen resolution. My screen height is 768 and width is 1366. An example image is 1200 x 1600 and the jigsaw size that works well with this image is 480 (height) x 640 (width). I would like to create an algorithm that calculates the jigsaw size for any image bearing in mind that the screen resolution will change as will the size of the image.
View 2 Replies
Jan 26, 2010
the rules are that same coloured blocks of two or more can be removed by clicking on them. blocks then slide down from above. if a column is empty columns other columns move in from the sides.when someone clicks on the green blocks in the bottom row the columns should slide in from the sides. columns to the left of the black line slide right and on the right of the black line slide left. so in this case only the two rightmost columns should slide from the right to the black line after removing the green blocks.The problem i am having is in designing a suitable algorihm to do the collapsing after the removal. my current approach is to test each column from left to right to see if it is empty. if it is empty then i slide whatever column is to the left (if left of the black line) or to the right (if to the right of the black line) over the blank column and repeat this in the direct i am sliding from
View 1 Replies
Feb 2, 2010
i'm using vb 2008 and i'm wondering if theres any way to get the gui grids back (like in vb 6) and to turn off/make snap less sensitive..
View 2 Replies
Dec 15, 2011
Im using a datagrid for user to enter input. However,im restricting the grids to some value.My grid is actually not bounded to any database. so,here is my requirement: whn the form is getting displayed,all grids are getting displayed.,which dont want.,only row2 shld get displayed to user after he'l finish entering values in row1.. im using vb.net as front end and access as backend..
View 8 Replies
Dec 9, 2010
I have a question, I have a combo box, which when changed fills the data grid. Now Wen I change the Tab and come back to same tab again(one containing the combo box)..the value of combo box remains there, however the grid gets empty. I need this data to be maintained till the user selects another value from drop down.
View 1 Replies
Nov 23, 2010
Try something along these lines:
TextBox1.Text=(dt1.rows(DataGrid1.CurrentRowIndex).item(0).tostring)
where dt1 is the datatable you're using as the data source and you want the data from the first column of the grid to be shown in the text box.
dp.SyntaxHighlighter.ClipboardSwf = '/dp.SyntaxHighlighter/Scripts/clipboard.swf'
dp.SyntaxHighlighter.HighlightAll('381571b4631840c6b8a8abfe5b54ed97')
View 2 Replies
Sep 22, 2011
I have two grids inside a TabItem and in the code-behind I want to be able to add controls to both grids and have all the controls visible at run-time. Currently at run-time the controls added to "Grid3" are not visible while he controls added to "Grid4" are visible.The overlapping grids have the same rows but a different set of columns.I'm trying to do this with two grids so that I can vary the number of controls I can add per row in the code-behind by adding the controls to one of the two grids.Here's the XML:
<Grid Name="TabControlGrid" Margin="20,171,0,70">
<TabControl >
<TabItem Header="Tab1" >[code].....
The controls in the XML are just place holders for the controls I am adding to the grids in the code-behind.
View 2 Replies
Jun 29, 2010
i have a data grid in my form.It has 3 colums.On clicking the second col I want to put a value of 1 in there.I tried using datagrid click event but nothing happens in fact the the program wont even go there.[code]
View 2 Replies
Mar 23, 2010
I am trying to use a grid to display datasets. The database that I am using is not on my local machine. I have to dial in and log in to the database. We are using an image database. I was shown by my boss that he uses MSFlexGrid, but it appears that is no longer available on the newer versions of Visual Studio (he is using VB6). I was wondering if there was a way to display these grids without going through the Data Sources?
View 4 Replies
Aug 9, 2009
I'm curious what we all are using to display grids of data.I keep falling back to LISTVIEW's in DETAIL mode - they visually look nice to me. But I'm always writing code to load them from datatables and such - lots of work.DATAGRIDVIEW's - not so nice looking. Of course we can edit them easily - and they bind really easily
View 2 Replies
Nov 20, 2009
Starting to design an application and wondering if its ok to have only one form as the application which could hold up to 15 gridviews separated in tabs etc. with a navbar as navigation on the left. Is this too much or ok? Is it better to have one gridview per form? What is the norm?
View 6 Replies
Jul 15, 2010
I'm reading in an XML file, to a DataSet. This contains two tables and the relationship is automatically created. I'm using two DataGridViews in an attempt to display the master and detail data.
If I set the datasource of the grids as follows, then the detail view updates correctly:
[Code]...
View 3 Replies
Jan 20, 2012
I am new to WPF but what i am trying to to do is i have a parentGrid with 3 rows, the first two are a menu strip and a toolbar, the third row is a child grid that is populated with the choices that are selected from the tool bar. the problem is that i want the forms that load in the child grid to not have their height surpass what i have set that row equal to in the parentGrid.[code]
View 6 Replies
Jan 20, 2012
I dont know if this has been answered but what i am trying to to do is i have a parentGrid with 3 rows, the first two are a menu strip and a toolbar, the third row is a child grid that is populated with the choices that are selected from the tool bar. the problem is that i want the forms that load in the child grid to not have their height surpass what i have set that row equal to in the parentGrid.is there an effective way to do this?
here is basically what i have for code
<Grid x:Name="ParentGrid" Margin="0" >
<Grid.RowDefinitions>
[code]....
View 2 Replies
Feb 8, 2010
I have two grids displaying records of employees like name, job no, and position . Now I have to swap their jobs from Emp A to Emp B which is from one grid to other.
View 1 Replies
Jul 12, 2011
I have a bit of a weird issue. We use DevExpress controls to do all our Windows Form development. Anyway, I found a perfect use for the DataRow.SetParentRow/GetParentRow methods in my grid. So I created a DataRelation, added it to the DataSet and bound it as the data source for my grid. The issue is I now find this:On my grid. It seems to be the DataRelation (when I mouse over it the tooltip is the DataRelation name).
View 1 Replies
Feb 13, 2011
I have looked at the answers in the forum and some seem dated. I an an old vb2 person and need to move up. I understand sql very well and use complex queries. First test project and trying to add multiple tables to a data grid (Only Form in project).I used the Data wizard to add the Access data base and worked by way through to near the end. The query works in the wizard and returns the correct rows. The error message is "The solution returned by the new query differs from the base query."
During the creation process I selected all the tables. Reading some of the old anwsers I get the inpression that VB 2010 does not handle multiple tables in a datagrid (forum items go back to version 2008).
View 11 Replies
Nov 11, 2009
I am using Visual Basic.Net 2003 with an Access 2000 database.
An integral part of the program that i'm working on is a DataGrid which I am filling from three different queries, based on the user's input. The Grid properties are coded with specific requirements for each of the queries. I have two simple (hopefully) problems.
1) There is no scroll bar on the grid and I can't find a property or event that will allow me to add the Vertical Scroll Bar. How do I do that.
2) The grids contain only four columns each. I want the user to be able to click on a cell and populate four string variables.
View 3 Replies
May 25, 2012
I have been trying to find and/or think up a way for data to automatically update a data table.I have a log that shows all the customers that came in today with various information. There could be twenty or thirty employees adding to this log or updating or doing things with that customer. This information is in a Data Table on a ASPX page in Visual Studio 2010 that the code is binded in the aspx.vb page that is calling a page in my APP_CODE database file that calls a query in my Database to get the information.My question is could someones actions on a different computer make my computer refresh or to re-bind that data.I have thought of some kind of timer/counter maybe that looks to see if the count of the log is different.
View 2 Replies
Mar 7, 2012
i'm trying to pass a variable between two datagrids. The first is on an main form, and the second is in a dialog form.
I tried using functions and also through public variables like this:
Invoice_new (Parent FORM):
Controls:
DatagridView: invoice_items
Public WriteOnly Property ValueFromChild() As String
Set(ByVal Value As String)
[Code]....
View 1 Replies
Oct 31, 2011
I finished my first FPS demo level that I created with Visual Basic .net. The source for this game is open source. I went as far as to make a 12 step tutorial on how I did it.
[Code]...
View 1 Replies
Aug 27, 2009
i am creating a web browser to make something i do at work a bit easyier to manageits a form with a few tabsi need each tab on form1 load, to start individual .exe's that i have already created.these .exe's are simple web browsers that are automatically navigated to a website with a asp query for loginthe website for each tab is identical only the login asp querychanges.the reason for this is i cant use a single .exe otherwise it retains the login and i get identical logins on each.
View 9 Replies
Aug 5, 2009
How to run the application that is made by VB 6 to be run in VB 8?
View 2 Replies