Topics
-
- 0 replies
- 2.2k views
I am using the ajax control toolkit update panel for a site. I have noted that when users use my site with the Mozilla browser and click on one of the buttons in the update panel that a double postback occurs. I have been unable to trace the source of this problem and I have been unable to replicate it in IE 6.0. Has anyone come across this problem before? I have found the source of my problems, it is caused by the following vb.net/javascript code that I am using: 'Prevent the user from double clicking on the save button. Private Sub PreventDoubleClick() Dim sb As System.Text.StringBuilder = New System.Text.StringBuilder() sb.Append("if (typeof(P…
Last reply by mike55, -
-
- Administrators
- 2 replies
- 1.5k views
Anyone know how you get a detailed google listing for a website? For instance, if you type "Taco Bell" or some other popular place you'll notice their listing has little subcategories and stuff with it. But most places do not have that by default.
Last reply by NeuralJack, -
-
-
- Administrators
- 2 replies
- 703 views
I have a datetime column in a table, I am performing a select statement on the table and ordering by the datetime column. Previously the order of the data was correct as all the dates were in 2007. However the last few days have seen the introduction of 2008 dates. As a result, the order of the dates as slightly off in that 2008 dates appear at the bottom of the list while 2007 dates appear at the top. Here is the query that I am using: SELECT dbo.Timesheets.Id, CONVERT(varchar, dbo.Timesheets.[Date], 103) AS [Date], dbo.Timesheets.Hours, dbo.Timesheets.Comments, dbo.Timesheets.Offsite, dbo.ParentProjects.Name as Parent, dbo.ChildProject.Name as Child, …
Last reply by PlausiblyDamp, -
-
- 2 replies
- 2.7k views
Why does the SetValue method of GraphicsPath.PathPoints appear to have no effect? e.g.: Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim h As New Drawing.Drawing2D.GraphicsPath h.AddLine(New PointF(0, 0), New PointF(10, 10)) Debug.Print("Before" & vbTab & h.PathPoints(1).ToString) h.PathPoints.SetValue(New PointF(20, 20), 1) Debug.Print("After" & vbTab & h.PathPoints(1).ToString) 'remains 10,10 End Sub End Class And, in a similar vein, can I not just add a point to the end of a GraphicsPath without having to resort to a procedure …
Last reply by rbulph, -
-
- Administrators
- 2 replies
- 1.2k views
Will DOTNET 1.0 and 1.1 be obsolete in future? We have some applications that are stable but require some maintenance once in a while. Migrating the older applications to newer release has to go thru a lengthy process like why, when, etc... So, if there is a line somewhere that says Microsoft will not be supporting DOTNET 1.0 and 1.1. that would close many arguments. Can someone throw some light here?
Last reply by mskeel, -
-
-
- Administrators
- 1 reply
- 3.7k views
Hi, I want to extract all IP addresses using Regular Expressions: - Dim MC As MatchCollection = Regex.Matches(ReadText, "([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9])") - A valid IP address will be in format: xxx.xxx.xxx.xxx Each xxx can be from 0 to 255, so it can be from 1 to 3 characters. I think the above code should be OK. Just there is a problem that it will accept numbers like 6.2600.5.1 which is invalid. I know that to force it to accept only 1~3 char numbers I should use {1,3}, yes? But I don't know where to place the {1,3}? Please help me. Thank you.
Last reply by PlausiblyDamp, -
-
Hi, This is probably a very simple question (apologies). I have just put a simple ASP.NET in the http://www.root folder. Then I have set the default web page in IIS to this folder. In Directory Security I set Integrated Windows Authentication as checked. When I tried to browse to the site in IIS I get this message: The current identity (BR\ASPNET) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'. The site ran ok through Visual Studio. What have I missed out? Many thanks, Dave.
Last reply by davearia, -
-
- Administrators
- 2 replies
- 865 views
I have created a web service with a couple methods. It is working OK. I have two applications that consume the web service, this is also working OK. The trouble I am having is that if I update the web service. Say add a new method -- not even a new web method, just a method for use inside the web service. The applications that consume the web service need the "Update Web Reference" in Visual Studio ran, and then rebuilt and deployed. Is there a way that I can update my web service without being required to rebuild my consumeing applications? Happy New Year, Thanks in Advance -Nate
Last reply by Nate Bross, -
-
-
- Administrators
- 1 reply
- 1.3k views
I have an xml parser that parses the following file: <?xml version="1.0"?> <records><image signid="6DBAE77E-EA03-4549-9CBA-1BB811C8F10D"> <signtype>Banner</signtype> <signtypecustom></signtypecustom> <sizeheight>24</sizeheight> <SizeWidth>60</SizeWidth> </image> </records> I can grab everything in this xml file, except signid.... Ive looked everywhere to figure out how to do this. please help :confused: :confused:
Last reply by PlausiblyDamp, -
-
- 2 replies
- 2.6k views
I'm using a datagridview in my application that get's data from a MySql Server (not localhost) via the ODBC 3.51 driver. Now i'm trying to update the mysql server with the changed data in the datagridview using a dataset OpenConnection(); initInfo(); string _sql = "SELECT * FROM " +tabel; da = new OdbcDataAdapter(_sql, con); OdbcCommandBuilder _cb = new OdbcCommandBuilder(da); if (ds.HasChanges() == true) { da.Update(ds); ds.AcceptChanges(); } CloseConnection(); I get following error: The problem is that I have no idea what table …
Last reply by techmanbd, -
-
- Administrators
- 7 replies
- 2k views
Hi, I want to catch CantStartSingleInstanceException exception. But I don't know where should I do this? It's not in form load. Because no code will cause this exception to occur. Anyone able to help me please? Thanks.
Last reply by ADO DOT NET, -
-
- 0 replies
- 661 views
Sorry if this is the wrong forum for this question - I couldn't think of a better place. Anyway, I've finally finished something I think other people might like to have, but I've only been able to test it on a couple of systems. I'd like to post a free beta version somewhere, in hopes that people will make bug reports if they discover any problems. But I'm not sure where I could post such a thing. I was hoping I could get some advice on how to get beta testers, or where I could post a beta version, etc. Thanks! Mick
Last reply by mickn66, -
-
- Leaders
- 3 replies
- 9.2k views
I'm using a panel to draw my GDI+ graphics but sometimes the panel flickers to its predefined back color. How can I disable the a panel's painting / refresh function?
Last reply by snarfblam, -
-
- 1 reply
- 1.5k views
Hi, I have a little web that I have published to my web server upstairs. I would like to debug it from my machine down here. I have installed the emote debugger that is on the Visual Studio disc. I don't have the first idea how to use it. For instance how do you set break points in the code? Thanks, Dave. P.S. Good Xmas to you all.
Last reply by Nate Bross, -
ole errors
by et_-
- Administrators
- 1 reply
- 727 views
This happens anytime i use oledb rather than sqlclient. Can anyone give me info on this?
Last reply by PlausiblyDamp, -
-
help please
by et_-
- Administrators
- 2 replies
- 1.2k views
Ive visited connectionstrings.com and tried all the oledb options, but none have worked out. Either i get a named pipes error, or can not connect error. Im using sql server 2005 express. my code: 'Testing Class Public Class Form1 Public WithEvents test1 As GenSchema Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Dim dsPath As String = "C:\Documents and Settings\Administrator\Desktop\db\SignMaker_Data.MDF" 'Dim strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;" _ '& "Data Source= " & dsPath & ";" _ '& "Persist Security Info=False" Dim strC…
Last reply by et_, -
-
- 0 replies
- 588 views
I was wondering how to add to the start menu context menu. When you press the start button in windows xp and then all programs and then right click one of the folders or files. That is the context menu I was hoping to add to. The folder context menu contains the following open, open all users, explore, explore all users, delete, rename, sort by name, and properties. Any help would be greatly appreciated. Thank you.
Last reply by squash559, -
-
- Administrators
- 2 replies
- 751 views
Hi, I want to import a local resource (image file) to my project and use it via code. I know this way I can load image from file: System.Drawing.Image.FromFile("d:\Image2.png") but don't know how to obtain it from resource? thanks.
Last reply by PlausiblyDamp, -
-
-
- Administrators
- Leaders
- 5 replies
- 1.2k views
I have a context menu that has a few items added at design time and further ones that I add at run time. For the former ones the whole row is highlighted when the cursor passes over it, but for the latter, just the word that it contains is highlighted. This doesn't look very good. Any idea what's causing it? Also, I'd like to have two different levels of menu separators, one more pronounced than the other. Is there any easy way to achieve this? If one could just be twice as thick as the other that would do.
Last reply by Wile, -
-
- 2 replies
- 738 views
Hi. I am new to this website, however, I'm not as new to .net programming. What I am looking for is a few good reference web sites & or books to get me back on my feet to dot net programming. I know the basics, I just need good resources to "de-rust" my computing knowlege. This past weekend a buddy of mine and myself were programming and some of the stuff was just overwelming and mentally draining to take in so much at one time. Can anybody please point me into the right direction with any good resources to relearn the knowlege? Thanks
Last reply by et_,
-
Who's Online 0 Members, 0 Anonymous, 47 Guests (See full list)
- There are no registered users currently online