I have an asp.net application that we are in the process of "globalizing", I have the currentculture and currentUICultre being set to the appropriate values and currencies are displaying as expected using the format currency ie.
FormatCurrency(_nPrice)
produces
$xxx.xx for en-AU and £xxx.xx for the en-GB, however we need to distingu...
How do you disable additional checkbox selections/deselections without sacrificing the functionality of the ListView? I know you can call: ListView.Enabled = False, but that also disables any scrolling within it.
For example: I have a timer that starts a backup based on the Listview items that are checked. After a certain time, I don...
I have to submit a HTML form to a 3rd party website and one of the hidden fields is an XML string. The XML needs escaping before it is sent to the 3rd party.
However when I add the plain XML to the form field it semi-escapes it for me. So then when I use HTMLEncode myself part of the XML is double-escaped. How do I prevent the automatic...
I have a table for users (username, password .. etc) and another one for products (product name, price, quantity, username .. etc)
I want the username from the first table to be inserted (with the rest of the product info) into the product table when the user put it for sale.
How can I do this?
I'm using visual web developer 2008 expr...
I have a table and I want to select a field in it and then display it in a text box
something like:
SELECT userName
FROM userTable
WHERE (userLogged = 'ON')
how can I display the selected username in a textbox?
BTW the userLogged indicates wether the user is logged in or not
if the user is logged in then the userLogged will be chan...
Hi,
Is there a statment like Exit For, except instead of exiting the loop it just moves to the next item.
For example:
For Each I As Item In Items
If I = x Then
'Move to next item
End If
' Do something
Next
I know could simply add an Else to the If statment so it would read as follows:
For Each I As Item In Items
If I = x T...
I've been receiving pdf files that I have been processing with the PDFsharp libraries. These files where 128-bit RC4 encrypted. Now I getting files that are 128-bit AES encyption.
I'm getting this exception "The PDF document is protected with an encryption not supported by PDFsharp."
Is AES just not supported, or do I need to change t...
Duplicate
Any good references or tools available for converting from ASP to ASP.NET?
How i can convert an ASP Classic web page into an ASP.NET web page?
...
I am trying to get subsonic to run work in a webservice
I am not sure how to return the data. I only get the word Object in my results when It return anything instead of values. What am I missing?
<WebMethod(Description:="Method to retrieveCptCode subsonic List")> _
Public Function GetSubCptCodes() As CPTCodeCollection
Dim coll A...
Hey All,
I'm trying to reproduce a production system locally but I having issues using the services. I have set up the local instance of the server as close as I can to the production server but my local client will not work with it. However the same client on my local machine works fine with the production instance.
In order to use ...
Here is the situation dealing with a vb.net website, I have students who will be enrolled into a course. The student grid view has many columns like client_no, student_name, date_of_birth, address, etc.
There are over 100000 students so I will need to filter the student grid view to find the correct student to enroll in the course. Onc...
Guys,
I wrote a VB.NET Windows Service, which works fine. I have only one issue with it. I want the service to execute on the half hour and top of the hour marks (e.g. 9:00, 9:30, 10:00, 10:30, 11:00, etc etc etc). I am using the following code:
Protected Overrides Sub OnStart(ByVal args() As String)
' Add code here to start your s...
I have a utility class that takes a generic list as a parameter.
Code looks like:
Function DoStuff(collection as Object, elt as Object)
...
collection.Add(elt)
...
End Function
This is called with:
DoStuff( List(Of Foo), new Foo() )
DoStuff( List(Of Bar), new Bar() )
There are about a dozen different types.
Currently, pa...
Hello,
Say I have a project that I am deploying at
www.foo.com/path1/default.aspx
and
www.foo.com/path2/default.aspx
What would be the most reliable way to know if I was in the folder "path1", or "path2"? Can I grab that directly, or do I need to split() somehow on the Request.Url.AbsolutePath, or... ?
I just want to change co...
I used developerfusion.com to convert a snippet of my C# code to VB .NET and I noticed the String type translated into [String].
I tried Google and Searching SO to no avail so I will ask the community is there a difference between [String] and String? And if so what is/are the difference(s)?
...
I am trying to set up an "AT" job to export some registry keys on a remote computer, the problem is that DOS command requires a time to run. I want to get the system time of the remote computer so i can schedule it to run 1 minute from the time i send the command.
Is there any way to get the system time of a remote computer with VB.Net ...
I'm programming in VB using Visual Studio 2005 Professional.
I have a code munger perl script that generates some of the *.vb files that I want to compile. The script and the associated files are in my project directory, and when I run the script from the OS command prompt, it writes the files in the same directory, which is what I wan...
I would like to use MS Office automation and have event handlers that fire for user-triggered events. For example, if the user clicks the save button in Word, I want to intercept that event and execute code in my program.
I don't want to be bound to a specific version of Word because I don't know what version my user will be running, so...
Sorry, that's the best subject I can come up with, if I understood the solution better, I could probably phrase a better subject line.
I am using a great grid control, Super List,l located here:
http://www.codeproject.com/KB/list/outlooklistcontrol.aspx?fid=449232&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr...
I'm writing a C# application that reads data from an SQL database generated by VB6 code. The data is an array of Singles. I'm trying to convert them to a float[]
Below is the VB6 code that wrote the data in the database (cannot change this code):
Set fso = New FileSystemObject
strFilePath = "c:\temp\temp.tmp"
' Output the data t...