335 Posted Topics

Member Avatar for DaveAmour

I tried to put my CV (Resume) on here. The Import from LinkedIn crashed with the following message: invalid redirect_uri. This value must match a URL registered with the API Key. Also when I tried to copy and paste mine instead it wouldn't let me as there is a limit …

Member Avatar for diafol
0
1K
Member Avatar for altjen

I would like to help you with this but you need to be a bit more specific and also record the question - it is not very clear exactly what you need. For example you say you want to save the text. Save it where though? In a text file, …

Member Avatar for DaveAmour
0
114
Member Avatar for JFallz

Why are there periods in there? People don't put a period between two words when they swear. Also why have two arrays? Why not just one array - you don't need to check for combinations of swear words - just if at least one is in there right?

Member Avatar for DaveAmour
0
109
Member Avatar for Andrew de Beer
Member Avatar for DaveAmour
0
175
Member Avatar for DaveAmour

Is it just me or is it just frustrating and annoying when people want our help but can't be bothered to even type a full, clear sentence or two to explain their problem in a clear unambigious way?

Member Avatar for ddanbe
0
127
Member Avatar for muhamadtaufiq.zaki
Member Avatar for UK-1991
Member Avatar for UK-1991
0
222
Member Avatar for tqmd1
Member Avatar for Misgana_2
Member Avatar for DaveAmour
0
90
Member Avatar for edbr

Change }).appendTo('form'); to instead of 'form' to be something more specific Eg #formid if the other form has an id. Does the other form already exist or are you creating it on the fly?

Member Avatar for DaveAmour
0
151
Member Avatar for ramsiva

If you reword your qestion you may get more help. It is a real chore to read and doesn't explain things very well. Try and be very specific, unambiguous and use full, clear sentences.

Member Avatar for DaveAmour
0
181
Member Avatar for nimz143

How do you want to display this? Also you say 1 person has potentially more than 1 hobby. How are you dealing with this in your database design? Showing us the Sql statement you use would be helpful.

Member Avatar for DaveAmour
0
122
Member Avatar for DaveAmour
Member Avatar for DaveAmour
0
448
Member Avatar for tucker001

To add only non negative values do this: Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click Dim Total As Integer For Each Str As String In ListBox1.Items If CInt(Str) >= 0 Then Total = Total + CInt(Str) End If Next TextBox1.Text = Total End Sub As your code …

Member Avatar for Reverend Jim
0
144
Member Avatar for mnewsome
Member Avatar for Kevin_14
0
224
Member Avatar for J.C. SolvoTerra

With this `public List<TyrePressure> Wheels { get; private set; }` I think you can still change Items in the list. Often you see this kind of thing if you don't want things to be changed: `public IEnumerable<TyrePressure> Wheels { get; private set; }`

Member Avatar for DaveAmour
0
273
Member Avatar for James_43

"I was thinking I could create a database and the news feeds just draw on that?" - That's typically how this kind of thing works. You can write this yourself or use an off the shelf package. These are called CMS systems which stands for Content Management System

Member Avatar for mlesniak
0
199
Member Avatar for rohitha01

I'm not sure I understand your question as I think it could be worded slighly better but possibly you need loopback enabled. Check out http://opensimulator.org/wiki/NAT_Loopback_Routers

Member Avatar for DaveAmour
0
351
Member Avatar for Wuhoo

Why would you want to do that? What gives you the right to take over someone's pc!?

Member Avatar for cgeier
0
311
Member Avatar for Suzie999

Hi Suzie Does this help? using System; namespace DaniWebDates { class Program { static void Main(string[] args) { string d1 = "2015-04-04 00:06"; Console.WriteLine(ConvertDate(d1)); Console.ReadKey(); } static DateTime ConvertDate(string s) { return Convert.ToInt32(s.Substring(11, 2)) < 5 ? DateTime.Parse(s).AddDays(-1) : DateTime.Parse(s); } } }

Member Avatar for DaveAmour
0
247
Member Avatar for matjojo
Member Avatar for Mica_1
Member Avatar for ramsiva
Member Avatar for DaveAmour
0
156
Member Avatar for tqmd1

Yep I agree tables are supposed to be used for tabular data but not for page layout/templates etc.

Member Avatar for Wuhoo
0
890
Member Avatar for aakashchopra121

You really need to be a bit more specific with your question. It is far too general and doesn't make much sense or read well.

Member Avatar for DaveAmour
-3
75
Member Avatar for ddanbe

Hi Ok I'm really not clear on what you are asking here. So I took your code and got it to compile - a few typos etc but got something working. I then renamed things and played around with it to give it more context - I find things easier …

Member Avatar for DaveAmour
0
304
Member Avatar for Violet_82

Do you have a Git account? If not create one and sign in. Go to the link you gave and click on Fork (top right) Then click on Download Zip. Save and unzip open the parent folder then open the next folde then open the MVCMusicStoreFolder and double click on …

Member Avatar for DaveAmour
0
300
Member Avatar for jd3189

Are you able to post all of the form code so I can copy and paste it and it will work? This includes auto generated code for the controls etc.

Member Avatar for deceptikon
0
3K
Member Avatar for mbarandao

Change to this and then run it #faq EM { /*display: none;*/ } You can see what it is doing then - I'm just not clear on its intended behaviour.

Member Avatar for mbarandao
0
389
Member Avatar for altjen

What data type is ID in your database? Can you debug your code, copy and paste the SQL statement and execute it directly against the database - in SQL Management Studio for example - and see what happens. This will give you a much clearer idea of what may be …

Member Avatar for altjen
0
309
Member Avatar for rjgapz
Member Avatar for naz1234

Can you not just hard code this: Dim x As Decimal = 0 x += Convert.ToDecimal(Table1DataGridView.Rows(0).Cells(1).Value) x += Convert.ToDecimal(Table1DataGridView.Rows(1).Cells(1).Value) x += Convert.ToDecimal(Table1DataGridView.Rows(3).Cells(1).Value) Where Cells(1) is the appropriate column?

Member Avatar for DaveAmour
0
2K
Member Avatar for Suzie999

Looks good. I have some suggestions which are sincerely intended as to be encouraging. Firstly I would always use the using statement rather than manually calling Dispose eg: using (SqlDataReader reader = cmd.ExecuteReader()) { //Somde code here } For a few reasons - firstly you won't forget to call Dispose. …

Member Avatar for Suzie999
1
2K
Member Avatar for waddlydoodoo
Member Avatar for rubberman
0
261
Member Avatar for SimonIoa
Member Avatar for SimonIoa
-1
278
Member Avatar for coder91
Member Avatar for RyanKempe
Member Avatar for Courtney_1

Gribouillis is spot on but I would also move text = text.upper() into your acronym method too - its cleaner that way and more reusable.

Member Avatar for TrustyTony
0
6K
Member Avatar for harishprakash
Member Avatar for ramsiva

Use a loop and just add the digit on each time. This is pretty basic stuff, may I ask if you are able to program at all in php?

Member Avatar for ramsiva
0
142
Member Avatar for aakashchopra121

Typically MySQL goes hand in hand with php but you can use any you like.

Member Avatar for diafol
0
230
Member Avatar for Shaziahussain

Try changing #menu ul li a:hover + ul { display: block; } To #menu ul li:hover > ul { display: block; } Also remove horiztinal spacing with something like margin: 0; padding: 0; on #menu ul li ul li

Member Avatar for UK-1991
0
214
Member Avatar for vishal_isharani

This is called screenscraping but you must get the permission of the website owners before you use this.

Member Avatar for vishal_isharani
0
110
Member Avatar for ramsiva
Member Avatar for Bruk2013
Member Avatar for Meftah
Member Avatar for Emma Etigu

Where are your customer records - are they in a database? Also this is WinForms right?

Member Avatar for Emma Etigu
0
339
Member Avatar for AntonyRayan
Member Avatar for Trevor_5

You need something like below on or around line 57 p[0] = new pottertr_Point(); p[1] = new pottertr_Point(); p[2] = new pottertr_Point();

Member Avatar for stultuske
0
144
Member Avatar for Blueie

I think you will need QueryString not Form Dim yourname As String = Request.QueryString("your_name") You can then either make the input a proper asp textbox and set it's value in code behind, or you can just inject it into the page into the value attribute. Hoep that makes sense.

Member Avatar for Blueie
0
158

The End.