Hello,
I Have this code in my page, and I want that every NavigateUrl display another page like :
simple.aspx?id=1, simple.aspx?id=2, ...
Where id = c
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Dim c As Integer = 0
While c < 5
Dim Label1 As New Label()
Dim ltr As New Literal()
Dim lin...
Hey,
I have this url : http://localhost:49500/Learning/Chapitre.aspx?id=2
How can I get just the value of id in this url ?
...
Hi,
While searching in the net i got few lines of code in VB for extracting an image from EMF File.
I tried to convert that into Delphi but doesnt work.
Help me in converting this code to delphi.
Public Function CallBack_ENumMetafile(ByVal hdc As Long, _
ByVal lpHtable As Long, _
...
How do I exit from the recursive loop from the code below. I would like to notify the end-user to select a checkbox in a msgBox before I exit the loop. Thanks.
Private Sub PrintRecursive(ByVal n As TreeNode)
System.Diagnostics.Debug.WriteLine(n.Text)
If (n.Checked = True) Then
MessageBox.Show(n.Checked)
Else
...
Hello;
I'm trynig to connect to a database, but I get this error :
Failed IErrorInfo.GetDescription with
E_FAIL (0x80004005)
Dim ReqTest As String
Dim MR As OleDbDataReader
Dim cne, idc As Integer
ReqTest = "SELECT * FROM READ"
MR = Connexion.lecture(ReqTest)
MR.Read()
With :
Public Shared Function lecture(ByVal requete As St...
Hello,
I'm creating input radio dynamicly on a ASP.NET page using PlacHolders.
While reader.Read
Dim ltr As New Literal()
Dim ltr1 As New Literal()
Dim ltr2 As New Literal()
Dim ltr3 As New Literal()
Dim ltr4 As New Literal()
ltr.Text = reader.GetString(2) & "<br />"
PlaceHolder2.Controls.Add(ltr)
ltr1.Text = "<form> <input type = radi...
I'm putting together a graph with the MSChart control for VB6. Is there a way to adjust the location of the points on the X axis so that the first data point in the series sits against the Y axis? By default it floats in a space between the origin and the first gridline.
...
In the middle of attaching a Google Custom Search Engine onto my page,
I have a string which I would declare in C# as
String rxPattern = "<(?>\"[^\"]\"|'[^']'|[^'\">])*>";
How do I convert it to a string in VB?
I mean store the same value into the string variable rxPattern using VB/VB.NET?
...
Hey,
I have a TextBox, and I want to force the user to type an email format in this field like ([email protected]) ?
I don't want to use FilteredTextBoxExtender or the RegularExpressionValidator.
I want to do it manualy.
...
Hey,
I have a RadioButtonList wich contain 4 radio buttons A,B,C,D
RBQ.Items.Add("A")
RBQ.Items.Add("B")
RBQ.Items.Add("C")
RBQ.Items.Add("D")
How can set the selected value to the radio button who has the value "B" ????
Thanks.
...
Hey,
I have this problem when trying to read a session in another asp.net page.
Object reference not set to an instance of an object.
If Session("cne").Equals("") Then
Response.Redirect("Default.aspx")
End If
I'm setting the session in the Default page with this code :
Session("cne") = cne.Text
Thanks.
...
Hey. I urgently need some help on building up a complete table using VBA.
I have got data from two seperate sources of data and i need to put them into same table based on one of the category "Car". I've uploaded an example here .http://www.speedyshare.com/files/23058842/abc.xls
...
I would like to add a way to see if an entry is already in a connected database in the following code and if it is, not to add the entry and pop up a dialog saying something to the effect of "already been scanned" and if it is not to proceed as usual. a simple if statement should do.
Using connection As New SqlClient.SqlConn...
I have this line of code which I want to concatenate -or at least solve the loop problem...
test = 1 - ("0." & thisnumber(0) & thisnumber(1) & thisnumber(2))
I want this to have a loop in it...
-Increasing thisnumber()
Until it gets to about 500,
Can some implement a loop into this?
Or suggest a way...
Thanks a lot..
James :)
...
Hello,
I have data stored in the database with HTML format, and I want to get the value of this html content with MyReader.getString() after getting the html code I must do the conversion to PDF Format.
You have any idea on how can I do it ? !!
...
I have this line of code which I want to concatenate -or at least solve the loop problem...
test = 1 - ("0." & thisnumber(0) & thisnumber(1) & thisnumber(2) & thisnumber(3) ... thisnumber(500) )
I want this to have a loop in it...
I simply want to get all the array values into 1 variable sort of thing, -as it is too long for a decima...
Hi I'm currently working on some SSRS reports and the data I am getting comes in quite a range. I'm getting dates in forms of:
6/18/2010 6:00:00 AM,
6/18/2010,
2010/6/18
I was hoping to be able to come up with a formatting code to use for the row so that it would convert any of these into the MM/dd/yyyy format and anything else just lea...
Hey,
I have a page that add Items to RadioButtonList with this code :
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
RD.Read()
RBQ1.Items.Add(RD.GetString(3))
RBQ1.Items.Add(RD.GetString(4))
RBQ1.Items.Add(RD.GetString(5))
RBQ1.Items.Add(RD.GetString(6))
End Sub
When I click in any button...
In visual basic I have the following 2 strings:
"\\.\" & "\"
How do I represent them in C?
Also, & in VB is the concatenation operator?
...
Hello, i am working on a search feature for a program i am working on and i found a tutorial online that provides some insight but the actual code, after being modified to fit my aplication, does not work. i get two different errors as of right now, one that tells me "the value of type 'System.data.sqlclient.sqldatareader' cannot be conv...