Well i started by creating a new asp.net webapplication in VS2010
It created a solution that included jquery 1.4.1
After that i created an file named ajax.aspx and added the following in the code behind file:
<WebMethod()> _
<ScriptMethod(ResponseFormat:=ResponseFormat.Json)> _
Public Shared Function GetDate() As String
Return Date...
Hi
I have a base class with the the following enum and property:
Public Enum InitType
Focus = 0
Help = 1
ErrorToolTip = 2
End Enum
Property ToolTipInitType() As InitType
Get
Return m_initType
End Get
Set(ByVal value As InitType)
m_initType = value
...
I have this code
Public Sub FillCategoryCombobox(ByVal categoryList As List(Of tblCategory), ByVal LvName As ComboBox)
LvName.Items.Clear()
Dim itemValue = New Dictionary(Of Integer, String)()
For Each category As tblCategory In categoryList
itemValue.Add(category.CategoryID, category.CategoryName)
Next category
...
I have a winforms app with a series of textboxes and one rich textbox. Upon a button click I would like to set all the fields to being readonly. The only issue with this is that the background color of a readonly richtextbox is white as opposed to the grey used by the textboxes.
I have tried setting the backcolor property of the richte...
I'm trying to make sure that I don't leave any loose ends open in my application and am concerned about a few but might get my answer from this one. I've "overriden" some functions so that way I can try and keep all the resources as clean and free as possible. So in this instance, I have a function called ExecuteReader which returns a ...
I'm developing a scraper that scrapes one web page for links, then creates threads which execute
scraping of subpages.
This is what a thread does:
Dim client As New WebClient()
Dim stream As Stream = client.OpenRead(_Address)
Dim streamReader As New StreamReader(stream, True)
_Content = streamReader.ReadToEnd()
streamReader.Close()
st...
I'm developing a web application that displays items from a work queue to a user. When an item is selected I have the app lock that item out so no other user can select it. By hitting the back button in the app it unlocks the item.
I want to be able to unlock the item if the user hits the backspace key. I know what code I need to unloc...
I've got the unenviable task of cleaning up a rather messy VB.Net client. The general plan is to move all calculations to WebServices, and I can see exactly how to do this, but it involves passing a large number of different variables to the WebServices.
I chose to use an ArrayList as I've worked with them heavily in Java, and have had ...
Hey all,
I am an experienced vb.net programmer and have completed many projects, however I want to be able to view the desktop in almost-realtime from a computer on my lan (its part of my business)
As this is a business situation teamviewer is not free, but id rather like to make my own server and client anyway - will be fun! :)
I nee...
All
I am looking for a bit of inspiration here, a client has requested me to build a simple remote process monitoring application with capability for smtp notification, when monitored processes go down or come back on-line. Can anyone point me in the direction of some sample code to get me started. I have briefly looked at .net remot...
Heres an interesting issue, I'm trying to check if a LINQ Entity exists in its table, but at design time I dont know what type that entity is. So I figure I'll just get the table, and try the Contains method on it. But I cant get the table in such a way that I can query it at design time.
I've tried the GetTable method on the datacontex...
I have a GrideView bound with table, I added one hyperlinkfield as you can see the code below:
<asp:HyperLinkField NavigateUrl="~/Logout.aspx?category=Mobile&&ID=" Text ="logout"/>
As you can see that I am sending 2 QueryString with URL. I am getting both correctly as long as I am sending static data. The problem is that I want to sen...
So I have a very weird problem.
I am writing some code in VB.Net under .NET 2.0 which interfaces with MS Exchange 2003. Because of the Exchange 2003 "requirement" I am forced to write this code using WEBDAV.
The code itself is replicating, to some degree, a schedule management process. It's creating Appointments on the Exchange Server...
Hello,
I start making program that will burn CD/DVDs, and everything is okay.
I found way to burn with IMAPI2 API, but now I have problem:
I can't get progress bar of that burning.
Here is code:
Dim CDD1 As New IMAPI2.MsftDiscMaster2
Dim CDD2 As New IMAPI2.MsftDiscRecorder2
Dim FSI As New IMAPI2FS.MsftFileSystemImage
Dim CDD3 As New I...
I'm trying to use the code here
http://www.bobpowell.net/zoompicbox.htm
To create a zoomable pic box but I can't figure out if I could create a 'control' from it that I would then be able to drop onto the windows form.
Any help? Or thoughts
...
Is there a control in vb.net that is specifically designed for displaying content larger than the control itself?
I know it's possible to code your own using a panel and two scrollbars, but is there an already existing method for this?
Thanks for your help
...
Hi Experts,
I have to maximiize my screen for mutiple tabs. window.moveto is not working.
I am using this code:
if(document.all)
{
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById)
{
if(top.window.outerHeight < screen.availHeight ||
top.window.outerWidth < sc...
Difference between Java & .Net Framework Regular Expressions Pattern
I am trying to convert My .Net Framework but patterns are not valid
Can any one point out the major differences in regex patterns
e.g. How would we name the grouping constructs in java, etc.
...
I am working on VB.net multiuser application and when ever my any form open up memory rise and after some time out of memory exception is come.
I am working on VB.net 2008 and sqlserver 2005.
I have use very much of shared object so second time it memory allocation is less,
but how i can reduce it when form is close or not in use.
can i...