Search:
Type: Posts; User: Philosophaie
Search:
Search took 0.02 seconds.
-
Textboxes are strings. time.Month is integer. ToString() converts Integer to a string. Why does this not work?
If (TextBox10.Text = time.Month.ToString() & TextBox7.Text = time.Day.ToString()...
-
Need to write a CDate that is correct.
CDate(mm/dd/yyyy hh:mm:ss)
alarm = CDate(TextBox10.Text & "/" & TextBox7.Text & "/" & TextBox23.Text & " " & TextBox2.Text & ":" & TextBox3.Text & ":" &...
-
Default.aspx
<asp:Button ID="Button2" runat="server" Text="Beach City" width="110%" />
Default.aspx.vb
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs)...
-
Does VN2017 Support Paint or something different.
In VB2017 this just graphs a blank screen and it works in VB2013:
Public Class Form1
Dim gphFormGraphics As Graphics = Me.CreateGraphics
...
-
I am trying to graph a Coordinate System. The graph is not showing just a blank screen no matter where I place the Rectangle or the points in Windows Form.
Public Class Form1
Dim...
-
No authorization tag. Where is it located in Web.Config?
-
Ajax and WebMethod Function are not in sync.
Ignoring the json input and testing if the string gets past gives this error:
Here is my Webmethod and we are ignoring mo, dy and yr as a json...
-
I keep getting the same error no matter what string as output: "Error Code: Status: [ object Object] Ex: error". This exact code worked in c# except the <WebMethod>.
Default.aspx.vb
...
-
Here is my code. alert("Error Code: Status: ") is [ object Object ]
<script type="text/javascript" src="~/jquery=1.10.2.js"></script>
<script type="text/javascript">
...
-
Does there have to be some sort of declaration at the beginning of an Ajax WebMethod if you are using a Json object string as a return from the WebMethod.
I am extremely having no luck with a...
-
I want a List<jPlace> count in jCount:
Public Class jCount
Public Property count() As jPlace()
Get
Return m_count
End Get
Set
m_count =...
-
How do you use a Newtonsoft Json.net Serializer?
-
I keep getting "[object Object]" in my alert error code status from my ajax. I believe I am returning an invalid json code from my webmethod function:
<System.Web.Services.WebMethod> Public...
-
How do I change the first line.
Site.Master exists with no errors.
Default.aspx also has no errors and _Default works.
It is just the first line. At first there is no errors then when you...
-
Here are two separate instances both do not work correctly:
Dim json1, dataa(99,9) as String
json1 = "[{" & Chr(34) & "id" & Chr(34) & ":" & Chr(34) & dataa(i,...
-
How do you show a double quote in Visual Basic?
In C# it is "\"".
-
I am working in VB Forms.
I am trying to input data from a xml file preloaded into the Solution Explorer menu.
I have tried:
xmldoc = XDocument.Load("~/xml/xmlfile.xml")
xmldoc =...
-
In Windows Forms Applications, I am trying to use a connectionstring to connect with my SQLdb
I created.
I get this error:
Here is my code:
Private Sub Button1_Click(sender As...
-
I am working with ".mdf" files in VWD 2010.
Is there any way of using them in Visual Basic 2010 or VS 2013?
-
How do you send back an array from a function?
In VBA you just assign an array:
Function arr...
a=1
b=2
c=3
arr=Array(a,b,c)
-
How do you enact a carriage return on a RichTextBox?
RichTextBox1.Text = 123 & <br/> & 456 & <br/> & 789 does not work.
Any suggestions?
-
In Excel Worksheets("Sheet1").Cells(Rows.count, 1).end(xlup).row will give me the last row in column "A".
What is it in VB.net?
Sub LastRow()
Dim xlApp As...
-
I have tried:
col1(k) = .Range("A" & k + 4).Value.ToString
col1(k) = .Range("A" & k + 4).Value2.ToString
Both gave the above error.
-
What I am trying to do is enter an Excel Spreadsheet into arrays for each Column.
I am getting an error with my try..catch:
Visual Basic does not equate a string and an Excel cell with just...
-
Still getting this error:
"Overload resolution failed because no Public '<>' can be called with these arguments:
'Public Shared Operator <>(a As String, b As String) As Boolean':
...
-
Dim a as String
a=xlSheet.cells(1,1).ToString
has xlSheet.cells(1,1) as a _ComObject and ToString or Cstr(xlSheet.cells(1,1)) do not convert it.
-
How do you convert an "a"_ComObject to a b "String"
Dim b as String
a=xlSheet.cells(1,1)
b=a
-
I have a Form which calls to an Excel document. This is the output to a try...catch that spans the Excel App which feeds a SQL Statement. Error code:
"Overload resolution failed because no...
-
I want to use DataGridView like GridView in ASP.net.
I draged the toolbox DataGridview to the Form.
I linked it with my database.
How do I get a printout of table1 on the Form1?
My...
-
I want to update a computer on my network with any new programs and new folders recently added.
Here is my sketches:
'Transfer if the file does not exist
For Each file1 In _____________...
-
I would like the Imports ? of the Outlook MailItem, Attachments, MAPI.Session,Message,Attachments,Fields.
Also help with any mistakes you can find with this program in Visual Basic.
I have...
-
In Excel to edit a string by:
out=Left(str,3),
out=Right(str,2) or
out=Left(Right(str,5),2).
How do you do it in Visual Basic?
-
I want to this programmatically or within the code.
I do not want to create the table in Management Studio.
I want to be able to generate a table in ASP.net without the aid of Visual Studio's...
-
I am working in .net 4.0 and Visual Basic 2010 Express.
I have tried this for the old AUTO_INCREMENT:
ALTER TABLE table1 ALTER COLUMN col1 int identity(1,1) NOT NULL;
CREATE TABLE table2...
-
Gets a Error:
I currently have 3 rows of data with 14 columns.
It should produce a n=42.
-
How do I put the output to an array?
With this it only prints out "True" and "False".
Try
Using conn As New SqlConnection(connectionstring)
Using cmd As New...
-
error code ex.Message: ExecuteNonQuery: Connection property has not been initiated.
My connectionstring came right from the "Properties" when the Database is clicked on in the "Database Explorer"....
-
An Exception error from the try...catch that surrounds it.
I took out the "Using cmd ...End Using" and the conn works.
The Exception error must be coming within the cmd part.
-
Try
Using conn As New SqlConnection(connectionstring)
Using cmd As New SqlCommand("INSERT INTO table1 (col1, col2, col3) VALUES (@col1,@col2,@col3);")
...
-
Dim cmd As SqlCommand
cmd.CommandText = "INSERT INTO table1 (col1, col2, col3) VALUES (@col1, @col2, @col3);"
cmd.Parameters.AddWithValue("@col1, 9)
cmd.Parameters.AddWithValue("@col2", 8)...
|
Click Here to Expand Forum to Full Width
|