cool, glad you got it sorted.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
Rick Cook, The Wizardry Compiled
Hi,
have a look here this should help:
http://dev.live.com/virtualearth/sdk/
also there are live maps asp.net controls available now.
http://dev.live.com/blogs/devlive/archive/2008/07/27/386.aspx
Have Fun.
"Programming today is a race between software engineers striving to build bigger and...
before you bind to the datagrid iterate through the dataset and alter the values of the column would be a quick fix.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So...
Hi,
As far as i am aware the idea is in your business logic layer your objects are mapped specifically to business entities and the functions associated with them.
Your data access layer has objects mapped to your database entities. The two are not the same.
Also if business logic changes...
you could use reflection to see what the object is the do what you need based on that.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."...
Another option is to create a base class which all of your other objects are derived from, create a System.Collections.Generic.List<object> this will then hold any object derived from it.
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{...
Hi,
I put this together really quickly so there is propbably a better way of doing this but it may help.
basically fill your dataset. create a dataview based on the table required. filter your dataview. create a new dataset and table. pass the dataview to the table. add the table to the...
Using the publish uitility this is not possible.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
Rick Cook, The Wizardry Compiled
apologies this is not written for project wide only form wide but could definitely be tweaked to do so.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the...
Hi there,
First of all put an ErrorProvider control onto your form then create this sub:
Private Sub Textboxes_Validating(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles textbox1.Validating, textbox2.validating
If CType(sender, TextBox).Text =...
try setting your parameters up as follows specifying datatypes.
Dim conn As New SqlConnection("Data Source= Drew\sqlexp;Initial Catalog=Status;Integrated Security=True")
Dim cmd As New SqlCommand
cmd.CommandType = CommandType.StoredProcedure
cmd.CommandText...
Hi tmar,
Based on your report being part of your project the way i did was:
Dim _report As New report
_report.SetParameterValue("nameofvariable",me.txtworkorder.text)
_report.PrintToPrinter(1, True, 1, 1000)
Thats how to setup up the report and send straight to the printer but you will just...
Have a look here to get you going on this one.
http://msdn2.microsoft.com/en-gb/vbasic/bb643821.aspx
Have fun.
A.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So...
branchid = CType(FormView1.Row.FindControl("BranchID"), Label)
on this line, it seems the second time round the branchid is nothing?
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and...
Hi all,
I am creating a page with a multiview which has 2 views. in one view there is a dropdownlist and in the other a formview. i want to be able to apply the selecteditem text to a label in the insert template of my formview. I understand that i have to use findcontrol() which i have done...
Hi there,
You could use an AJAX update panel and timer which will only cause whatever is in the panel to postback. this may help you.
Regards
Alex
www.live2surf.com
Hi there CorfuVBProgrammer,
Have you checked you encoding within vb.net? have a look at this link to see if it sheds any light on your situation.
http://msdn2.microsoft.com/en-us/library/system.text.encoding.aspx
regards
Alex
Hi Kevin,
Thanks for that! that worked great and picked up the network i have setup up on my computer. is there a way of getting all printers on the network? by searching in a range of ip's or along those lines?
Thank you so much for your help.
Alex
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.