Zulbaric's Q&A profile
Visual Studio Team System Team Foundation Server MSSCCI with Powerbuilder 9
We are currently trying to push for the adoption TFS in my company. There are several hurdles to overcome but a huge win would be the support of Powerbuilder 9. I read that 10.5 is supported by MSSCCI but there is no interest in upgrading that produce at this time. What if any methods could be used to support is Platform. The more coverage we get the better the change of getting the adoption. We are already looking at VB6 and VS 2003 integraion as well as VS 2005. Hello, the correct statement is that we have tested TFS Msscci Provider 1.1 with PB 10.5 and we have not seen any problems. However the only support we can provide for the PowerBuilde ...Show All
Software Development for Windows Vista Utter lack of Icon documentation
I'm trying to update an application to be nice and Vista-y; the current problem is with icons. What icon sizes should my application have to be Vista+XP compatible. How can I tell In particular, why doesn't Microsoft actually documentation the icon file format As near as I can tell, there are single-byte 'height' and 'width' values in the list-of-icons in the icon header. This means that icons can only be 0 to 255 pixels. However, it seems that icons in Vista can in fact be 256 pixels, so clearly there isn't a simple mathematical relationship between the value in the file and the value used. My question is: what is the mathematical relationship between the height and width fields and the actual icon height Are they just set to zero, bu ...Show All
Software Development for Windows Vista Remote Desktop still an issue
According to some MS documents (e.g. http://www.microsoft.com/whdc/system/vista/services.mspx), it should be possible to use CreateProcessAsUser() API in a Vista service to create a process in user session. I am trying to achive this, but the function returns error code 1307 (ERROR_INVALID_OWNER) = "This security ID may not be assigned as the owner of this object." Does it work for somebody Many thanks in advance. WTSQueryUserToken with 0 as the session id will always fail on Vista, because no user ever logs on in that session anymore. WTSGetActiveConsoleSessionId() returning 0 may happen under some rare circumstances. Is there anything special about the moment when you call that API ...Show All
Visual Studio Express Editions Line numbers
Hey, Is there a way to make it show the line numbers in Visual C# Becuase unlike Visual Basic express it is not there... Thanks :) ...Show All
Visual Basic How can I check a value in Registry?
Hello I use this code to get values from Registry: Dim MyKey As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey( "Software\A\B" , True ) Msgbox MyKey.GetValue( "Key" ) But if subkey Software\A\B doesn't exist, I get error. How can I check whether if subkey Software\A\B exists or not Thanks If I wrote: Dim MyKey As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey( "Software\A\B" , True ) If MyKey = Nothing Then I get error message. And If wrote: Dim MyKey As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey( &quo ...Show All
SQL Server Missing ODBC drivers - please help!!
Hi all For some reason, my Excel / Access drivers have disappeared from the list of available data sources when running the Import wizard or when trying to create a dts package. They are installed on the machine as I can see them through the ODBC Administrator. I have googled extensively, found some posts relating to TimeSlips (not relevant as not installed), re-installing MDAC. Having done all the relevant stuff (updating to latest MDAC), still not coming up. Installed SQL 2005 Management Studio thinking that may help. Still nothing.Can someone please give me some advice, APART FROM RE-INSTALLING OS. How does Import wizard pickup the available drivers, any registry settings... Currently running XP SP2 with all the latest updat ...Show All
Windows Forms Stupid problem with a Label in a statusStrip
Hi, i have a label and a progress bar in a statuStrip in my RSS Reader application. I want that a message like "Update in progress" is displayed in the label during the update of the RSS feeds. So, before i start the update, i simply set: statusLabel.Text="Update in progres..." and, when the update is complete, i do: statusLabel.Text="Done". The problem is the message don't appear! I've tried to change the label text in other parts of the application, and it works. I've tried also to change the message "Done" with something else, and it displays it. But there is nothing to do, when i press the refresh button of my application, the label text still remains "Done". What can i do The progress bar near the label works perfectly too! The crazy ...Show All
Windows Forms Filling a drop down combo box on the toolstrip
I see how to add a data source to a combo box on a windows form but when you add a combo box via the tool bar it doesn't seem to be able to bound to a data source! Is this correct If so how would i display a tableadapter in this combo box Regards Darren. try: toolStripComboBox1.ComboBox.DataSource = new DataTable(); or whatever the datasource is. The ComboBox is a property of the ToolStrip Container... If that is worded correctly... Hope that works for ya. ...Show All
SQL Server Dynamic Column Delimiter in Text files
Hi, is there any way to change the delimiter in a FlatFile Source Adapter dynamically You can do that with the row delimiter but there is no expression for the column delimiter... Is there any other way besides changing the XML code Thanks, That has to be a no, since the column level information is not exposed. Time to roll your own I think if you really need this. It should not be that hard, I have done something similar recently. Provided your buffer structure does not need to change, then it is possible. ...Show All
Visual Studio 2008 (Pre-release) ListViewItem w/Context Menu
I hope this isnt a dumb question, but I'm hoping someone can help me understand the expected behavior of right-click in a ListView. Here is the problem: If you have a context menu on a ListView in Multiple or Extended selection mode a right click to bring up the context menu will toggle the selection. I have mocked up a small repro using the ListViewCheckBox example in the SDK. I've inlcuded the modified XAML and the unchanged codebehind. All I did was add a contextmenu to the listviewitem. How to repro: 1. Select Multiple items 2. Right click on a selected item to bring up the context menu. This action will toggle the selection to unselected. The item is no longer viewable in your collection. Based on my observations the WP ...Show All
Visual C# Sorting 'complex' objects...
Hello all, Just say I have an arraylist of objects (all of the same type) and say these objects are 'Person' objects. So each person has instance variables. such as firstname, surname, etc. I wish to sort this arraylist of person object references by surname. What is the easiest way to do this Thank you Chris Hi, You need something like this: SomeFunc () { m_data . Clients . Sort ( CompareClientsByName ); m_data . Clients . Sort ( CompareClientsByAge ); } int CompareClientsByAge ( Client c1 , Client c2 ) { return c1 . Age - c2 . Age ; } int CompareClientsByName ( Client c1 , Client c2 ) { return c1 . Name . CompareTo ( c2 . Name ); } Charles ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rendering in a window
Hello I would like to have on the same window some buttons and other controls and rendering. One idea i have come up is rendering on texture and then copying this texture to the window. But it would seem not too good. Is there a way to limit rendering to a specified rectangle, so it does not take all window AN i tried to create a device to a panel, but I have not been able to make it. does somebody have a tutorial to make that in c++ i'm using directX 9 and c++. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Are you making a game for the 360 using XNA?
if so I would like to have you on our next show. I co-host a Xbox Gaming Podcast called XBL Radio and every other show we have a gaming roundtable. Well this next roundtable we are going to be discussing what XNA is, whats its like using it, why your using it and where you see it going. So if you would like to be on it and have this Thursday, January 4 at 630pst available , I would like to get you in our chat. Now we do it over Xbox live in a Texas Hold'em Lobby. So if you would like to be on it and if the time works for you, get with me at Steve at xblradio dot com now I only have 5 slots open so it would kind of be on a first come first serve basis unless you have some weight to pull around. So again if you wanna join our show ...Show All
Visual Studio vs2003 Load report failed !
Hi, I made a new asp.net solution in vs 2003. i dropped a CrystalReportViewer (9.1.5000.0) from the toolbox. I then made a simple rpt file in Crystal 9, with one text box, and put it in the website directory. In Data bindings/Reportsource, i linked to " C:\Inetpub\wwwroot\crtest3". the report loads fine in the designer. in Page_load(), i put just one line : this is the code : Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load DataBind() End Sub WebForm1 <%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, Public ...Show All
Visual Studio 2008 (Pre-release) Print the contents of a Canvas
I'm investigating what it would take to convert a diagramming application to WPF (previously used GDI+). I have a requirement to be able to print a diagram which may be larger than the display area - so it should be split onto multiple pages. If the entire diagram was contained in a Canvas, what would be the best way to print it Thanks in advance! Hi, Budy I am aslo getting same problem ( VisualsToXpsDocument only prints what I can see in the display. It doesn't print the whole canvas.) Did u got any solution to print whole canvas,please send me code if u got , Thaks Vishwanath.B ...Show All
