Antony1's Q&A profile
SQL Server connect dbase II in ssis
I am having trouble connecting dbf of version dbase II. I can connect dbase III and dbase IV in ssis package,but can't connect dbase II.hope your help! liguancong wrote: I am having trouble connecting dbf of version dbase II. I can connect dbase III and dbase IV in ssis package,but can't connect dbase II.hope your help! have you tried saving the dbf as a version III or IV file ...Show All
.NET Development Datetime backcolor
I was just responding to a thread in the VBE forum about customizing the DTP control. now, I could not find the backcolor property of the DTP but it mentions it in the SDK, stating that it is available in .NET 1.0, 1.1 and 2.0 but I cannot seem to get the property to appear at all. http://msdn2.microsoft.com/en-us/library/system.windows.forms.datetimepicker.backcolor.aspx any ideas why this maybe Looks like it's there, just hidden: [ Browsable ( false )] [ EditorBrowsable (1)] public override Color BackColor { get ; set ; } Inheriting the control and exposing BackColor property: public class MyDateTimePicker : DateTimePicker { [ Browsable ( true )] &nb ...Show All
Visual Studio Team System Usernames in TFS
Hi! I have a question about the usernames (fullnames) in TFS. As TFS displays now, it displays the fullname of the user loginname in userrelated fields (like Assigned To). So if you have a user DOMAIN\User1 (With the full name FirstName LastName), it will display FirstName LastName in these fields. The problem is that if DOMAIN\User1 changes name to FirstName emaNtsaL on the domain, the userrelated fields still displays FirstName LastName! After some digging I found out that the fullname for the user account is stored in the table Constant, but it's not updated whenever the domain is.. Why's this The reason why I discovered this problem was that I am developing a lightweight webpart that should handle some WorkItemTracking, and ...Show All
SQL Server xp_delete_file
I created a maintenance plan to remove files older than 2 weeks. The plan executes successfully, but does not work. I notice in the log that the single quotes are doubled. I ran one command which worked, but others did not. Is there a problem with the command Here is a copy of the log: Microsoft(R) Server Maintenance Utility (Unicode) Version 9.0.1399 Report was generated on "SQL". Maintenance Plan: Clean Up Backup Files Duration: 00:00:12 Status: Succeeded. Details: Cleanup Master (SQL) Maintenance Cleanup on Local server connection Cleanup Database Backup files Age: Older than 2 Weeks Task start: 9/12/2006 7:34 AM. Task end: 9/12/2006 7:34 AM. Success Command:EXECUTE master.dbo.xp_delete_file 0,N''F:\SQLBackup\master'',N''ba ...Show All
Visual Studio Team System Remove branch
Is there any way to remove branch I know that it is just a folder and I can delete it. I even agree that it is not a problem that the folder will be always here in "show deleted items" mode. I get rid of unneeded branches in BRANCHES PROPERY WINDOW. Even if i rename a branch to something like "ZZZ.deleted....", that list is not sorted. And that ZZZ will be in middle of list. How to hide deleted/uneeded braches from BRAHCNES list Is there UNBRANCH command or workaround Do we really live in XXI century Unbelievable! Fantasic! Amazing! It almost works! The branch is no more visible in MERGE dialog. It is still visible in BRANCHES PROPERTIES, with title " [no permis ...Show All
SQL Server Changing a cubes DSV ?
Is it possible to change the DSV used by an existing cube in the designer Alternativeliy I thought about scipting a new cube and change the: < DataSourceViewID > dsvname </ DataSourceViewID > The only way I found for changing the cube’s DSV in the UI was through recreating the cube. But you can certainly run a cube alter script that changes all instances of the < DataSourceViewID > to the DSV ID of your choice. Tried it using Adventure Works sample project and worked fine. Hope this helps, Artur ...Show All
Visual Studio Has anyone got the "TypeBrowser" working?
I've written a guidance automation package based on the WCF service package provided for download but I've got a real problem with the type browser picker gadget :( This being the "..." that you should be able to click on when setting up a data contract or fault contract in order to select a data type for you member rather than having to type in the full name. It doesn't matter what I do I just cannot get it to work. It throws an exception from the ReferencedAssemblies method as it is hard coded to do: /// <summary> /// Gets a collection of all assemblies referenced by the <see cref="T:System.Type"></see> . /// </summary> /// <value></value> /// <r ...Show All
Visual Studio Sandcastle - how to insert 'line break' within <summary> tag
Hello, I tried to insert some line break using <br/>. However, this has no effect. They are reflected in the xml file generated at VS compilation time but ignored by SandCastle when generationg the chm file. This was supported by NDOC under vs2003. Does anyone know how to insert such line break Thanks, Jose The <br/> tags appear to be getting stripped out. I'd say it's a bug as they should come through just like any other HTML tag does. In the meantime, you can work around it by using the <p/> tag if you need to. Not quite the same but it should have a similar effect. Eric ...Show All
.NET Development IO.Stream direct to byte array
I have set up a client / server windows application in VB.NET 2005. The code uses HTTP requests and an HTTP listener to communicate over the network. I send a byte array via the request. GetRequestStream Class. When the listener tries to extract the byte stream I end up with an error because it can't seek; the size of the content varies greatly so I can't guess byte array size. I need to know some way to read the stream into a byte array. Probably a really easy answer, but I can't figure it out. Here is the gist of the code I am using now: Dim inboundBuffer As Byte () inboundBuffer = New Byte ( CInt (ReceiveStream)) {} ReceiveStream.Read(inboundBuffer, 0, [max length]) Greg Beech wrot ...Show All
Windows Live Developer Forums How to get latitude and longitude from a postal address
hey, Can you tell me how do we convert an postal address into latitude and longitude Thanks Cheers, What I have in place at the moment is a ws which returns all the points, for each of the point it works it out in code (based on hardcoded lat long). Then I add all the push pins to the map, then I add the ID to a array, then I have a onclick event of the checkbox control to delete all the map points in that array, resulting in a layer effect. Seems to be working ok with the amount of data I have at the moment. ...Show All
Gadgets XMLHttpRequest behaving strangely
Hi everyone - this is my first post, please be kind :) I've been looking through all the threads and have also come around some XMLHttpRequest issues, but not the one I am currently looking for :) I have written a javascript page, which gets data from a webpage asynchronously (not important in this case). This works as expected. I do now need to pass some parameters in the Cookie Field of the request header to the server. Now my problem is: I can set every possible header field (User-Agent, ..) but not Cookie. It will be empty, no matter what I set. I used the same code and tried it in Firefox - worked perfectly. I tried the same code in IE6, didn't work, just as in IE7. Does anyone know a workaround for this Here the code I'v ...Show All
Visual C# new Modifier behaviour in interfaces
Example: public interface B { string Name { get ; } } internal interface AB : B { // new - hides a member inherited from a base class (!) new string Name { get ; set ; } } internal class MyClass : AB { public string _name; // implementation of the AB.Name property public string Name { get { return _name; } set { _name = value ; } } } then: AB ab = new MyClass (); ab.Name = "!" ; ... B b = (B) ab; Debug.Assert (b.Name == "!" ); //true! Why when I call method get_Name () form interface B - the AB.get_Name () is called I don't get it because in AB interface Name property is declared with ...Show All
Visual Basic How do I save an Image.jpg after I have changed the valeue of a property id - Comments, Author, Keywords, etc.
I have changed a property in a jpeg file. Now I want to save it. But all I can do is save it to another file name. It wont let me save it to the file from which I loaded it. Any and all help would be greatly appeaciated. FRED. 1. I've changed the pixel on my picturebox, now I want to save it. How can I do it Dim NewPB As New PictureBox Dim tmpbitmap As Bitmap Dim x, y As Integer For x = 0 To (PictureBox.Width / 2) - 1 For y = 0 To (PictureBox.Height / 2) - 1 Dim pixelColor As Color = tmpbitmap.GetPixel(x, y) tmpbitmap.SetPi ...Show All
Smart Device Development Error on app install: Unable to retrieve handheld serial number. ROM Version: unknown
I am trying to test an application using the Windows Mobile Emulator. When I try to install the application I get the error message "Error on app install: Unable to retrieve handheld serial number. ROM Version: unknown". Anyone have any ideas how to set the serial number on the virtual device The application in question is the Good Technology's email/calendar sync tool. The goal is to have it running on the virtual device for training. You can't run device images in emulator. Emulator can only run special image created especially for it. If technical impossibility is not enough, it would most likely constitute a copyright violation, which also might result from forcing installation of 3rd party ...Show All
Visual Studio Team System Customising Work Item Web Page?
We would like to customise the look of the work-item web page and I am wondering if there are any reasons we shouldn't edit the WorkItem.xsl to do so According to our dev team this should be fine. Just make sure to save a copy of the original just in case you mess up Thanks, ...Show All
