chinaboy's Q&A profile
Visual C# Monitoring my IP
Hi, have anyone ever need to monitor the Internet IP and when it's change insert in a MySQL Database.....I have an application that everytime that the computer turns on it store, but how can I monitor the IP change without consume so much of the system Thanks You can use the System.Net.NetworkInformation.NetworkChange class. It has a NetworkAddressChanged Event: http://msdn2.microsoft.com/en-us/library/system.net.networkinform ...Show All
Software Development for Windows Vista Workflow Persistence & Event Arguments
I'm developing a State Machine workflow that passes parameters through events. The Workflow will have to persist its state in a SQL database. My understanding is that the persistence services will persist the current state of the Workflow (e.g. which state the Workflow is in). The workflow is rather useless without also persisting the parameters passed in the event arguments. Will the Workflow Persistence Services automatically persist the value ...Show All
Windows Search Technologies WDS 2.6.5? problem
Since being forced to upgrade to what i believe to be 2.6.5 by outlook 07', my search results are no longer tabbed under 'programs' 'documents' etc. Instead it now seems to just list the results under 'everything'. This problem extends to it listing erroneous results, typing in 'paint' will no longer bring up paint.exe as a result, instead it only shows 2 word documents that have not to do with the word 'paint'. Any advise would ...Show All
Visual FoxPro VFP9 Multiple Detail Bands and Page Overflow
I have a complex report that has one parent table and 5 child tables. All children have multiple records for each parent. In testing I found two problems for which I have found no reported bugs/work arounds: 1) If a detail band (say band 4) is at the end of the page, and there is not enough room for band 5, it will push band 5 to the next page, but only one record will print. Just one record. Records 2- never print. I ca ...Show All
Visual C# FileStream and writing out in chunks
hi all, i have a byteArray i read into from a httpposted file, i would like to write it to a new filestream in chunks of a size i specify. I can write the file out no problem at once, using myFileStream.Write(byteArray,0,postedFile.Length) but i want to break it up into chunks so that it stores smaller amounts at a time and doesn't kill the aspnet_wp. i have tried FileStream newFile = new FileStream(fullSavePath + sFilename, FileMode.Creat ...Show All
Visual Studio Team System Can we customize Add Link form of Work Item Form?
Hi there, In the Link Tab of Bug form, when you click 'Add' button another window titled 'Add Link' pops up with 'Link Type' Drop down List. Is there a way I can Customize that Like removing any list item and adding another list item as 'Dependent Work Item' Thanks, Anu Anu, We considered that feature but we had to cut it for this release. It is not possible to add new types in the dialog in this release. Than ...Show All
Visual Basic Controlling input to an input box
Im a beginner to VB and I would like to know how or if I can allow the user to only enter the numbers 0 to 10 in an input box. This is for VB.Net btw. I've attached the code if that helps Thanks alot Private Sub uiCalcButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles uiCalcButton.Click 'calculates and keeps track of average score and number of scores entered &nb ...Show All
Visual Studio Team System Proxy only connection
Is it possible to connect Visual Studio to a Team Foundation Server Proxy only We are planning a setup where the TFS will not be accessible by Team Explorer but only from the proxy. Thanks You can not connect Visual Studio to a Team Foundation Server proxy directly. Proxies are public so it can be accessed by any application. I don't think there is a way you can prevent people to connect to a Team Foundation Se ...Show All
Visual Studio Team System New report
I created a new work item called "Issue" and customized some of the fields. What I want to be able to do is create a report that will give me information on the new work item. I can run the "work item list" report, but I would like for it to give me information on some of the new fields I added. My question is how can I edit the report or create a custom report I've opened the report site and opened the 'work item list' report ...Show All
Visual Studio Team System Web Bug Tracking for TFS
I’m looking for a web based app that will allow remote users (i.e. customers) to enter bugs into TFS. Are there any 3 rd party tools that can do this Daniel, Check out TeamPlain at http://www.devbiz.com/teamplain/default.aspx --- Jeff ...Show All
SQL Server .NET Framework 2.0 question
This question also posted to microsoft.public.sqlserver.notificationsvcs. Notification Services on SQL 2005 utilizes .NET Framework version 2.0. (correct ) If so, will there be a version of microsoft.sqlserver.notificationservices.dll for SQL 2005 NS that will allow me to create subscription management applications using VS 2003 and .NET Framework 1.1 Or must I use VS 2005 and .NET Framework 2.0 Thanks, Peter ...Show All
Visual C# AM and PM with "Convert.ToDateTime(string)"
Hi there, I have a string which holds a date and a time: string s = 18.11.2005 11:23:03 PM When converting it to a DateTime by: Convert.ToDateTime(s); I get: 18.11.2005 11:23:03 But now, I'm not able to tell the difference between day an night. I need the AM and PM. How can I keep/get it Thank you, Finch. If you want to sort dates represented as strings, you may choose appropriate string format like that: DateT ...Show All
Visual C# Windowsform : hideframe with transparency
Hi, I've made a form with a label which is transparent. I've also got a contextmenustrip with an item that makes it possible to hide the formframe : this .FormBorderStyle = System.Windows.Forms. FormBorderStyle .None; When I execute this code, the frame hides, but the complete forms moves up the height of the frame (I can live with this), but also the background (which is transparent) moves up (without repainting). I don' ...Show All
Visual Basic Issues with Express Registration and Activation
Now that Visual Basic 2005 and Visual Studio 2005 has shipped the final release, we have a new home for setup and registration issues for VB Express. Please direct all setup, install/uninstall, and registration issues to this forum: Installing and Registering Visual Studio Express Editions Thanks, Paul I am still having the issue I described on 5/29. I have 12 day ...Show All
.NET Development Can not pass the data back from C (unmanaged) to C# (managed) using custom marshaling
I declare a function in C# as follows: [DllImport("D:\tt.dll", EntryPoint = "ModifyPoint")] private static extern int ChangePoint( [In, Out, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeofPoint3DMarshaler))] Point3D pt,int x, int y, int z); [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public class Point3D { public int x; public int y; public int z; } in main() Point3D pt = new P ...Show All
