Search Results

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: hollystyles ; Forum: VB.NET and child forums
Forum: VB.NET Jan 21st, 2008
Replies: 6
Views: 1,462
Posted By hollystyles
How about this?

http://www.developerfusion.co.uk/show/2084/

Do I get a dollar for my research fee please ?
Forum: VB.NET Sep 20th, 2007
Replies: 14
Views: 2,369
Posted By hollystyles
Right. Replace *returns* a string with the "s replaced, it doesn't change the string in match.Value (strings are immutable)

So:
match.Value.Replace("""","")
MessageBox(match.Value)

Won't...
Forum: VB.NET Sep 19th, 2007
Replies: 14
Views: 2,369
Posted By hollystyles
That's in the code already. match.Value.Replace("""","")

the Value property returns a string, all strings inherit the Replace method. The above code returns the string in Value with any "'s...
Forum: VB.NET Sep 19th, 2007
Replies: 14
Views: 2,369
Posted By hollystyles
????

You lost me why do you need to add "'s in ?

In programming languages it is common to declare strings in double quotes. But, what if you actually need a double quote in the string? you have...
Forum: VB.NET Sep 19th, 2007
Replies: 14
Views: 2,369
Posted By hollystyles
Hey even I have to look them up! powerful things tend to be 'arcane'. All you need is a good reference or site to refer too when you know you need a regex. I like this site best:
...
Forum: VB.NET Sep 19th, 2007
Replies: 14
Views: 2,369
Posted By hollystyles
Sorry couldn't resist. I still don't like VB syntax yetch!


'Import the namespace required
Imports System.Text.RegularExpressions

Module Module1

Sub Main()
'The string data I...
Forum: VB.NET Sep 14th, 2007
Replies: 4
Solved: Going Insane!!!
Views: 965
Posted By hollystyles
Have you not been given any training at all?

Do you know how to use Visual Studio to start a project?

Your first task before you code anything is to identify the objects. They become your...
Forum: VB.NET Apr 25th, 2007
Replies: 5
Views: 2,714
Posted By hollystyles
Try this :


Select
t1.StockCode,
t1.QtyNeeded,
t2.QtyProduced,
t2.ProdDate
from
(
Forum: VB.NET Apr 25th, 2007
Replies: 5
Views: 2,714
Posted By hollystyles
Select
t1.StockCode,
sum(t1.QtyNeeded) QtyNeeded,
sum(t2.QtyProduced) QtyProduced,
max(t2.Date) [Date]
from
Table1 t1
join Table2 t2 on t1.StockCode = t2.StockCode...
Forum: VB.NET Apr 20th, 2007
Replies: 6
Views: 1,506
Posted By hollystyles
try String.Format.


Label.Text = String.Format({0:0.00},CSng(Val(txtbox.Text) + Val(txtbox2.Text))


see here:

http://idunno.org/archive/2004/14/01/122.aspx
Forum: VB.NET Apr 20th, 2007
Replies: 6
Views: 1,506
Posted By hollystyles
You are right integer variables don't have decimal places, they are for whole numbers only. Use float double or decimal variables.
Forum: VB.NET Apr 11th, 2007
Replies: 9
Solved: Unzip Function
Views: 7,587
Posted By hollystyles
wonder_gal,

as you're new just to let you know, we like to explain solutions as much as possible so that other visitors with similar problems can learn from existing threads instead of starting...
Forum: VB.NET Apr 11th, 2007
Replies: 9
Solved: Unzip Function
Views: 7,587
Posted By hollystyles
This pathList(s) is evaluated before the ExtractZip method, pathList is an array and requires an integer argument in the parenthesis representing the index number, but string s is being passed...
Forum: VB.NET Mar 28th, 2007
Replies: 3
Views: 879
Posted By hollystyles
earningsResultLabel.Text holds an empty string which Val cannot convert into an integer ?
Forum: VB.NET Jul 31st, 2006
Replies: 2
Views: 4,043
Posted By hollystyles
Asp.Net AutoGenerateColumns attribute in datagrids is on by default, set the attribute to false in the aspx page.

<asp:DataGrid AutoGenerateColumns="False" ...
Forum: VB.NET Jul 21st, 2006
Replies: 2
Views: 3,980
Posted By hollystyles
In the file menu select New... and then Web site ...

Why they dd it that way I dunno it got me first time too and I'm a pro.

Somebody somewhere thought it would be funny I guess.
Showing results 1 to 16 of 16

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC