So this is the first time using a Spring Layout and I gotta say, it honestly seems like a very nice Layout to use, but I can't quite seem to get it working the way I want it to. Let me explain: I have a JList which should be inset 5px on each side. I have a Button which should be inset 5px below the JList, and 5px from the right side. I have another Button which should be inset 5px below the list, and 5px to the left of the previous Button. Each Button should be inset 5px from …

Member Avatar
Member Avatar
+0 forum 6

I have an idea for a website which I have started here - [www.letsgetlunch.co.uk](http://www.letsgetlunch.co.uk). The front end if based on Google Maps with the usual suspects of HTML and jQuery, with PHP / MySQL as the backend. I am not sure if this is the best way for the site moving forward. The site is just a list of food places within close proximity of your location (currently this is hard coded as St Pauls London, but will use GeoLocation). You will be able to filter the locations by what they sell. In the future I may add reviews to …

Member Avatar
Member Avatar
+0 forum 6

Hello, I have been reading some posts about you to repair a file and it says to use the text converter. I dont see how to use it though. The attached file is corrupt and I think it is because my HD crashed a few days ago. I want to repair this file. Can someone try to repair it? When it opens it says it is corrupt and the text converter might be able to repair. Maybe an expert has some other advice. thank you

Member Avatar
Member Avatar
+0 forum 2

Hello Is it possible to use SQL queries in a JS file? Example I have the following code, and would like for each input[type='text'] encountered, to save its value to a sql table in a column: jQuery("input[type='text']").blur(function(){ var id = jQuery(this).attr('id'); var inputVal = jQuery(this).val(); });

Member Avatar
Member Avatar
+0 forum 5

How to use two models in a view using Tuple and view model and what is there diffences?

Member Avatar
Member Avatar
+0 forum 3

hello friends i want to use result of textbox1 of the form1 into my form2 , how to do this

Member Avatar
Member Avatar
+0 forum 2

Hello all! When would it be advisable to use string iterators vs the "for char c in string" loop that is a feature in C++-11 or vs the for (int i.....) loop? And why? The only two situations I see myself using string iterators is for the STL algorithms and for traversing a string in reverse (crbegin/crend/rbegin/rend) instead of going forward as it is harder to implement going backwards using a for-loop without using iterators. Thanks for looking here and thanks in advance!

Member Avatar
Member Avatar
+0 forum 1

Hi, I am studying Computer Engineering (2nd year). I would like to buy a laptop but dont really know anything about the laptop market. I was wondering if a Mac would be recommended for me to use for my programming work? Any avice would be appreciated. Thank You.

Member Avatar
Member Avatar
+0 forum 11

HI again, I would like to know how i would use a loop for the following code, thanks for read this. LV1.Columns.Add(ds.Tables(0).Columns(0).ColumnName, 25) LV1.Columns.Add(ds.Tables(0).Columns(1).ColumnName, 75) LV1.Columns.Add(ds.Tables(0).Columns(2).ColumnName, 75) LV1.Columns.Add(ds.Tables(0).Columns(3).ColumnName) LV1.Columns.Add(ds.Tables(0).Columns(4).ColumnName) LV1.Columns.Add(ds.Tables(0).Columns(5).ColumnName, 75) LV1.Columns.Add(ds.Tables(0).Columns(6).ColumnName, 75) LV1.Columns.Add(ds.Tables(0).Columns(7).ColumnName, 75) LV1.Columns.Add(ds.Tables(0).Columns(8).ColumnName, 75) LVitem.Text = dt.Rows(0).Item(0).ToString LVitem.SubItems.Add(dt.Rows(0).Item(1).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(2).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(3).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(4).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(5).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(6).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(7).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(8).ToString) i was thinking along the lines of something like this For i As Integer = 0 To dt.Rows.Count - 1 next not sure what to put in the middle.

Member Avatar
Member Avatar
+0 forum 9

I have written a Makefile which compiles my mini-os with another application. I have to use -nostdioc and -nostdlib to compile them, but the problem is, that application is using stdio/stdlib functions and when I run my Makefile I get the error message that the functions used by my application cannot be found. I tried to remove the -nostdlib -nostdioc but that did not work. [Here is the Makefile if anyone would like to take a look.](http://www.mediafire.com/download/eq412o571l94hq2/Makefile)

Member Avatar
Member Avatar
+0 forum 5

I am new in programming languages.I was trying to learn web socket with javascript to this [site](http://socket.io/get-started/chat/), but i am not understanding something that why i need to use **Package.json**. I tried to google a lot, but can not find something useful. One more thing if i create Package.json then why i need to write **dependencies** ? and why need it ? Please explain in poor man language.

Member Avatar
Member Avatar
+0 forum 1

I am trying to get the text (not value) of a selected item in a select box <option> and display it elsewhere on the page. I have to admit im totally new to this so im going to need an explanation on plugging in a JQuery file... Thanks!

Member Avatar
Member Avatar
+0 forum 8

hello i want to get tweets from twitter in asp.net. how can i use streaming API in asp.net. please send me source code of sample streaming API of twitter with asp.net using c#. i am using asp.net webform microsoft visual studio 2008. Thanks in advance.

Member Avatar
+0 forum 0

Any body help me how to use stored procedure and sample code for how to use. I dont know usage of stored procedure. Currently i am facing interview questions on stored procedure

Member Avatar
Member Avatar
+0 forum 3

ok, so this is a bit complex, I'm writing a bit-field function using a template, which can consist of: field( Template, Value ) field( [1,7,15] ,255 ) #int representation... field( ['1','3','4'] ,255 ) #bit representation... #>>> [1,7,15] field( [1,7,15] ,[1,7,15] ) field( ['1','3','4'] ,[1,7,15] ) #>>> 255 so what I'm looking for is a way to R-shift `Value` by the binary size of the data field during enumeration in a generator... here's the unfinished int >>> list method for example: return [(Value>> ? )&(~(~0<<int(t)) if t.__class__==str else t) for t in Template] what would I have to do to the …

Member Avatar
Member Avatar
+0 forum 11

Everytime I link a `webview` into my OS X project, it always brings up `Use of undeclared type 'WebView'`. How am I supposed to fix this? I've tried linking the WebKit framework and things like that, but they never worked.

Member Avatar
Member Avatar
+0 forum 2

I'm running a google search for "Virtual Machine PCI Pass-through" (making minimal progress) but I thought I'd ask your advice too. I have an older (~2005) PCI WiFi card from Generic Off-brand Chinese Corporation X. I'm running Windows 7x64. The company that made the card has since gone out of business before a Vista driver was put out and there's little information on the card itself. So... now what? I'm considering running a Win2K VM to connect to the device, have it use its NT5 drivers, then have it ICS (Internet Connection Sharing) back to the host. Or something. You …

Member Avatar
Member Avatar
+0 forum 4

please How can i write a program that user will input the number of question he want and the question will be displayed at random from a group of question using c#.

Member Avatar
Member Avatar
+0 forum 2

please How can i write a program that user will input the number of question he want and the question will be displayed at random from a group of question using c#.

Member Avatar
+0 forum 0

I am using xampp and windows.... I need to call java classes from php. How to use php java bridge... I am using php 5.2.6

Member Avatar
Member Avatar
+0 forum 2

Hello everyone, was looking to see what was availble in listview1.columns.add.... and found this ListView1.Columns.Add("ID", FontDialog, HorizontalAlignment.Center) how would i use this to change the font in listview columns.? the rest of the code... ListView1.Columns.Add("Weekday", 100, HorizontalAlignment.Left) ListView1.Columns.Add("Fuel Date", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Fuel Time", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Location", 60, HorizontalAlignment.Left) ListView1.Columns.Add("Pump", 50, HorizontalAlignment.Center) ListView1.Columns.Add("Total Liters", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Total Dollars", 80, HorizontalAlignment.Left) Thanks for reading. :-)

Member Avatar
Member Avatar
+0 forum 1

OK, here it is. It looks to me as if the variable I'm trying to return is assigned in the switch, but I'm getting the error from VS13 that "classChosen" is unassigned. Thank you for taking a look. private static string ChooseClass() { string choice, classChosen; int classChoice; Console.WriteLine("Please choose a class:"); Console.Write("(1) Fighter\n(2) Priest\n(3) Wizard"); choice = Console.ReadLine(); classChoice = Convert.ToInt32(choice); switch (classChoice) { case 1: classChosen = "Fighter"; break; case 2: classChosen = "Priest"; break; case 3: classChosen = "Wizard"; break; } return classChosen; }

Member Avatar
Member Avatar
+0 forum 6

Hi. I have created two tables :Artist and Song .Artist table has fields Artistid and ArtistName and Song table has SongID, Lyrics,Description and Artistid as the secondary key.I have a web form wherein i m using a label with the name "lyrics" . I want to enter lyrics in html text editor so that later i can change fonts and styles . I wanted to know the html code for the text editor . Someone please help . I need it urgently .

Member Avatar
Member Avatar
+0 forum 3

Actually i need to use the Developer command prompt for my project. Iam doing project in java. Without entire visual studio shall i use only dumpbin.exe file to execute commands.

Member Avatar
Member Avatar
+0 forum 1

hi there , i would like to use the select statement in this event and not sure how to proceed... Private Sub TreeView1_AfterSelect(sender As Object, e As TreeViewEventArgs) Handles TreeView1.AfterSelect Dim NS As String = "" Select Case NS Case "Monday" If NS And e.Node.Text = "Monday" Then MessageBox.Show("The user clicked on the Child Node " & e.Node.Text, " Which Node Selected", MessageBoxButtons.OK, MessageBoxIcon.Information) End If Case "Tuesday" If e.Node.Text = "Tuesday" Then MessageBox.Show("The user clicked on the Child Node " & e.Node.Text, " Which Node Selected", MessageBoxButtons.OK, MessageBoxIcon.Information) End If Case "Wednesday" If e.Node.Text = "Wednesday" Then MessageBox.Show("The user …

Member Avatar
Member Avatar
+0 forum 2

I am trying to solve a simple problem. But I am stuck by a simple problem I am confused by "context" in c#. So for this simple problem I am solving Euler problem 1. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using System.Timers; namespace Euler { //Problem 1 //If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. //Find the sum of all the multiples of 3 or 5 below 1000. class Problem1 { public …

Member Avatar
Member Avatar
+0 forum 9

Hello All, I have searched every forum and google etc but nothing directed me in right path. Requirement: I am using a COM object which can be initialized only once. But, when I try with webapi the first run goes fine and the rest fails as the COM object does not allow initialization for second time. With the below code, I notice that the new COMClass(); is being triggered everytime there is a GET request. Is there a way I can define the COMClass object to be executed only once and can be re-used by all the GET requests? namespace …

Member Avatar
Member Avatar
+0 forum 6

The End.