Search Results

Showing results 1 to 40 of 77
Search took 0.01 seconds.
Search: Posts Made By: hollystyles ; Forum: VB.NET and child forums
Forum: VB.NET Jun 9th, 2008
Replies: 3
Views: 3,180
Posted By hollystyles
I can help by saying wishful thinking is unlikely to get you very far. And neither will posting on the end of two year old threads.

I recommend you re-post in the correct Community Introduction...
Forum: VB.NET May 22nd, 2008
Replies: 1
Views: 553
Posted By hollystyles
You could wrap the C++ app as a plug-in.

Other than that... no not really.

Are you talking server-side ?
Forum: VB.NET Feb 12th, 2008
Replies: 3
Views: 5,628
Posted By hollystyles
Ah hang on you've created a typed dataset ?
Sorry I thought we were just dealing with a bog standard SqlDataAdapter.


Double click your xsd file in your App_Code folder to open it in the...
Forum: VB.NET Feb 11th, 2008
Replies: 3
Views: 5,628
Posted By hollystyles
You need to add the parameter to the parameters collection of the selectcommand object of the adapter.

GroupTableTableAdapter.SelectCommand.Parameters.AddWithValue("@selectedGroup", selected...
Forum: VB.NET Jan 29th, 2008
Replies: 1
Views: 478
Posted By hollystyles
You would need to use reflection to get a PropertyInfo[] array of the class's properties, then loop through, testing for CanWrite = true then use SetValue depending on SystemType with a switch...
Forum: VB.NET Jan 21st, 2008
Replies: 6
Views: 1,456
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 Jan 21st, 2008
Replies: 4
Views: 764
Posted By hollystyles
http://www.google.co.uk/search?hl=en&q=An+attempt+to+attach+an+auto-named+database+for+file&btnG=Search&meta=
Forum: VB.NET Oct 31st, 2007
Replies: 1
Views: 750
Posted By hollystyles
Are you using Visual Studio ? if so what version. There could be many reasons you can't find it.

When creating ASP.NET pages it is allowed to have the code in the aspx page instead of a code...
Forum: VB.NET Oct 30th, 2007
Replies: 6
Views: 7,297
Posted By hollystyles
Cecilia,

In woodcraft they teach you to go with the grain, otherwise the planer or chisel makes a ragged mess. It's similar in programming. Currently you are fighting against the grain and having...
Forum: VB.NET Oct 29th, 2007
Replies: 6
Views: 7,297
Posted By hollystyles
I would use two images. One of a checked checkbox and one of an unchecked checkbox. Swap the images in your code according to your logic. Clicks will no longer be a problem and the user cannot...
Forum: VB.NET Oct 24th, 2007
Replies: 6
Views: 5,141
Posted By hollystyles
This is also interesting reading:

http://www.setfocus.com/technicalarticles/customizingclr.aspx
Forum: VB.NET Oct 24th, 2007
Replies: 6
Views: 5,141
Posted By hollystyles
Here's an excert from their site:
Forum: VB.NET Oct 24th, 2007
Replies: 6
Views: 5,141
Posted By hollystyles
Of course it occurred to me it must be possible to bundle the CLR into the exe somehow. It appears these guys have managed that:

http://www.xenocode.com/Products/Postbuild/#Details
Forum: VB.NET Oct 24th, 2007
Replies: 6
Views: 5,141
Posted By hollystyles
The whole point of dot net is the framework.

You cannot create dot net applications without it AND you cannot run dot net applications without it.

All windows since XP sp2 and Server 2003...
Forum: VB.NET Oct 24th, 2007
Replies: 6
Views: 5,141
Posted By hollystyles
In a word, No.

Like Java needs a JVM, .NET requires the CLR to run, the framework is easily redistributable with your application. There is a linux version of the framework called Mono, I'm not...
Forum: VB.NET Oct 9th, 2007
Replies: 2
Views: 963
Posted By hollystyles
You'll have to be more descriptive. I didn't think there could be anything outside of HTML tags other than a DOCTYPE declaration.

Same way you search any text data I guess, put it in a string and...
Forum: VB.NET Oct 9th, 2007
Replies: 3
Views: 2,032
Posted By hollystyles
What's a datasheet? do you mean a DataGrid or GridView control? just set the BackgroundColor property.
Forum: VB.NET Oct 9th, 2007
Replies: 2
Views: 7,794
Posted By hollystyles
the ExecuteScalar method returns an object (in VB.NET in VB6 I can't remember perhaps a variant) not a reader. The object is the value in the first column of the first row of the odbc result set.
...
Forum: VB.NET Oct 5th, 2007
Replies: 2
Views: 1,581
Posted By hollystyles
Dim MIN As Integer = 1378
Dim MAX As Integer = 2000

For i As Integer = MIN To Max
SomeSub(String.Format("http://www.cric8.com/livescorecard/od_minicard2_{0}.html", i.ToString()))

Next...
Forum: VB.NET Oct 4th, 2007
Replies: 8
Views: 2,023
Posted By hollystyles
Ok then you need to join *all* the fields.


Select
t1.*
from
Table1 t1
left join Table2 t2 on t1.[Date] = t2.[Date]
and t1.[Time] = t2.[Time]
and t1.[Duration] =...
Forum: VB.NET Oct 4th, 2007
Replies: 8
Views: 2,023
Posted By hollystyles
Sorry I don't get what you want. First you say:


Then you say:


To me these are mutualy exclusive.

Given the sample data you have posted, please post what you want to see in the result...
Forum: VB.NET Oct 3rd, 2007
Replies: 8
Views: 2,023
Posted By hollystyles
A better solution is to use a left join it is more efficient than using the IN clause


Select
t1.*
from
Table1 t1
left join Table2 t2 on t1.date_field = t2.date_field and...
Forum: VB.NET Sep 27th, 2007
Replies: 1
Views: 621
Posted By hollystyles
If you are familiar with C/C++ I would recommend C#. It's not important whether you chose VB or C# both are compiled to MSIL so the end result is the same. Therefore, I think you will pick up .NET...
Forum: VB.NET Sep 25th, 2007
Replies: 2
Views: 536
Posted By hollystyles
Need more information. I'm sorry but I can't make sense of what you want. You say subtract, but don't you mean add? Example get the date from the database for the order, order requires three days...
Forum: VB.NET Sep 21st, 2007
Replies: 2
Views: 1,425
Posted By hollystyles
i usually find MY.EYES are best for this, VB.NET sucks.
Forum: VB.NET Sep 20th, 2007
Replies: 14
Views: 2,359
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,359
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,359
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,359
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,359
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: 2
Asp
Views: 722
Posted By hollystyles
Microsoft do not support IIS or PWS on Xp Home. ASP is old now anyway do you need to run asp particularly?. Some people have managed to get IIS running on XP Home but it's not recommended unless you...
Forum: VB.NET Sep 14th, 2007
Replies: 4
Solved: Going Insane!!!
Views: 957
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 Sep 14th, 2007
Replies: 5
Views: 1,841
Posted By hollystyles
Do you have to use frames?

You could use System.Web.UI.WebControls.Panel instead?
Forum: VB.NET Sep 5th, 2007
Replies: 2
Views: 1,042
Posted By hollystyles
select
g.Custid,
g.Grno,
g.Name,
case when c.Chno = 123 then c.Chno else null end Chno,
case when c.Chno = 123 then c.Chdate else null end Chdate
from
GrfileB g ...
Forum: VB.NET Aug 31st, 2007
Replies: 5
Views: 803
Posted By hollystyles
Sorry but no that's wrong.

If you compile a .NET assembly to a dll or an exe the .NET framework *must* be present for that assembly to execute. Just having Internet Explorer is not sufficient.
...
Forum: VB.NET Aug 31st, 2007
Replies: 5
Views: 803
Posted By hollystyles
If you are ralking about distributing your application to other windows PC's. You need to create set-up project to create an installer for your app. There you can test that the PC has the necessary...
Forum: VB.NET Apr 27th, 2007
Replies: 2
Views: 5,026
Posted By hollystyles
is the XP machine with Sql server running windows firewall? or Norton or <fill in firewall here> ?

If so you need to allow TCP/IP connections on port 1433

Also althoiugh you're using Sql...
Forum: VB.NET Apr 27th, 2007
Replies: 2
Views: 2,947
Posted By hollystyles
Use an ArrayList, then iterate backwards


using System;
using System.Collections;
using System.IO;

namespace SortedList
{
class Program
Forum: VB.NET Apr 27th, 2007
Replies: 5
Views: 2,698
Posted By hollystyles
I don't think different sizes prevents join on varchar fields. The table columns have different collation settings. There is a way to specify collation in the sql statement, but first you need to...
Forum: VB.NET Apr 27th, 2007
Replies: 4
Views: 5,888
Posted By hollystyles
There should be a space between For and Each both VB and C# support for each. There is a space in my posted code did you not cut and paste ? and it must work because I ran it succesfully on my PC and...
Showing results 1 to 40 of 77

 


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

©2003 - 2009 DaniWeb® LLC