I have to inherit an ASP.NET 1.1 website of company. The website's still running smoothly. I get a copy of it and then convert it to ASP.NET 2.0, and ... Visual Studio 2008 shows errors:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific par...
I am trying to replace the following section to blank section ..
<secureWebPages mode="RemoteOnly" encryptedUri="abc.co.uk" unencryptedUri="www.abc.co.uk" maintainPath="True" warningBypassMode="AlwaysBypass" bypassQueryParamName="BypassSecurityWarning" ignoreHandlers="WithStandardExtensions">
<files>
<add path="abc.aspx"/>
</files>...
I'm running into an issue writting this Lamda expression in VB. a1 is what is giving me syntax errors and a2 seems to be ok.
In addition, I have a class called UserInfo, how can I pass values to the class so that I can use when building my datatable?
Code that I'm trying to add:
Dim a1 = From rows In db.tPDMLinkUsages _
Where (ro...
I have several different lists I want to call. They all have the same format for the class:
id, value, description, order. Instead of creating a bunch a classes to return the all of the many lists, I wanted to use generics and just TELL it what kind of list to return. However, I can not figure out how to populate the classes.
Here are 2...
I am using jQuery and jQuery.validate plugin to validate ASP.NET pages, since I found jQuery Validation plugin better than ASP.NET validation controls.
I have used This validation code for Login and simultaneously for other pages like register and many others.
//.NET code
Dim jsValidate As String = String.Format("Validators.validateLo...
Whenever I want to modify a winform from another thread, I need to use
->Invoke(delegate, params)
so that the modification occurs in the winform's own thread.
For every function that needs to modify the gui, I need another delegate function.
Is there some scheme which allows me to limit the number of delegate functions needed? I have...
I must admit it's been a few years since my RegEx class and since then, I have done little with them. So I turn to the brain power of SO. . .
I have an Excel spreadsheet (2007) with some data. I want to search one of the columns for a pattern (here's the RegEx part). When I find a match I want to copy a portion of the found match to an...
New
Why would a VB/ASPX page not return results for a query which runs fine with other Oracle clients? (Same username)
Old
The following code should first output the query and then execute it outputting a single exclamation point per record. However, it outputs the query (as it should), but does not return any rows (nor error). If I...
I'm using a WebBrowser control in VB.Net to load a website. At that point, the WebBrowser.Document.Images property returns a collection of HtmlElement that are considered images.
What I'm trying to do at this point, is take a particular HtmlElement that represents an image and turn it into a System.Drawing.Image so that I can manipulat...
The code:
strSql = "insert into table2 (transactiondate) values ('" & transactiondate & "')"
seems to be giving me the runtime error:
The conversion of a varchar data type to a smalldatetime data type resulted in an out-of-range value
In the code, strSql is a String object and transactiondate is a Date object.
In the SQL database h...
After installing SP1 of Visual Studio 2008, code completion shows all types when an object member shows the parameter list. Before SP1, parameter list would only show related types.
Take a look at this image for an example: http://img25.imageshack.us/img25/3484/vs2008sp1intellisense.png
Has any one else had this problem? Solutions?
Th...
I am using System.IO.FIle.ReadAllText() to get the contents of some template files that I created for email content. Then I want to do a Replace on certain tokens within the files so I can add dynamic content to the template.
Here is the code I have, it seems to me like it should work just fine...
Dim confirmUrl As String = Request.App...
Hi All,
I want design my startup screen with progress bar. But I don't how to process it with the CPU Process.
Could anybody help me to solve the code?
Thanks,
Sopolin
...
The string passed to my custom function is the following:
SELECT key FROM ubis WHERE MemberID = '144'
AND To >='11/7/2009 9:11:23 pm'
AND From <= '11/7/2009 9:11:23 pm'
Public Shared Function GetDataTable(ByVal CmdText As String) As DataTable
Dim myConn As New SqlConnection(ConfigurationManager.ConnectionStrings("Conn").Con...
Why won't XMLSerializer process my generic list?
Sub Main()
Serializing()
End Sub
<System.Serializable()> _
Public Class User
Public Sub New()
End Sub
Public Sub New(ByVal Username As String, ByVal UserId As Integer)
Name = Username
ID = UserId
End Sub
Public Name As String
Public ID As Int...
Hello everybody.
I am trying to learn some ASP.NET MVC.
Please bear with me but asp.net mvc is the first mvc framework i ever tried to learn. I do plan to learn more about mvc framework in different languages, but for now i got asp.net mvc.
I am fairly good with asp.net forms and love them, but would like to have another asp.net tool...
in vb.net i would like to change the hue and saturation and darkness of the screen without using a form.
for example these two colors change the color of the screen directly (however i doubt they were programmed in vb.net)
http://www.stereopsis.com/flux/
http://colororacle.cartography.ch/
...
i developed a very simple vb.net application and i need a way for every user to verify that they have paid for it. i would like the simplest method possible. it will be an off-line registration. I am actually looking for a way that I can program this easily myself, and am not interested in third part solutions.
...
I am building a series of web services in VB.Net
Each of the web services takes multiple string values, performs some validation/processing then calls a Stored Procedure using Linq to SQL. Some of the string contains user data that is stored in the database:
These string values passed from the web service are escaped to trap single quo...
i donno how to set focus point always to the new row in datagridview in the beginning??
...