Sam Hobbs's Q&A profile
Software Development for Windows Vista Vista Compatibility Check
Where can I find a utility to see if my VB6 apps will run on Vista I've been to this site, http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/AppComp.asp and I downloaded one tool, but that was to see if apps ran on XP. I need to see if my apps run on Vista without having Vista installed and running about a dozen apps or so. I don't have Vista installed and the Application Compatibiltiy Toolkit, isn't really helpful. I'm looking for something that I can test an existing VB6 app and see if it will run on Vista. Is that what the toolkit does and I'm not seeing it or ...Show All
Windows Forms Combobox items Adding!!
Hii, I am using c# windows application: I have two arrays of strings one named textArray and the other is valueArray. I want at runtime to display the elements of the textArray in the combobox while the items value is added from valueArray: e.g say one item is US Dollar and its value is USD. Thanks hmm so what about DataTable object i can make a datatable with two coumns one for country and the other for currency code. so i thin it would be like this theComboBox.DataSource = table; theComboBox.DisplayMember = countryColumn; theComboBox.ValueMember = currencyColumn; ...Show All
Visual Studio Project checkout on solution build
Running VS 2005 and VSS 6.0. I have a solution set up with a Class library and web proj and another project for unit testing. Every time I try to build the solution, the project files get checked out, and if I view the diff in VSS it changes my project path from ../<project path> to ../../../<project path> even though I haven't changed anything. Has anyone run into this before, and if so, what did you do to fix Hi RXC, I think that for someone in scci to help you further you should provide more details about your solution configuration (e.g. where is the solution and the project in scc database and on local disk), what are the binding strings in the solution and what is the exact st ...Show All
Smart Device Development How to prevent a program from being killed?
Hi, I have a Windows 2003 Mobile program that I'd like to keep resident in memory unless the user explicitly terminates it. I find that the program somehow will get terminated if I keep open other programs so that the system runs out of memory. It seems to me that Windows mobile somehow will try to kill the oldest program to make space for the current one. My question is: What can I do to tell Windows Mobile not to kill the program that I'd like to keep resident in memory even if the user try to open a new program and the system is running out of memory ...Show All
Visual Studio Code references on the scrollbar?
Hello, I'm used to using Eclipse IDE and one of the features I like is that when you left click any variable, all occurences of that variable in the code are highlighted on the scroll bar with little markers. You can click any of these markers to jump to that part of the code. It seems like the scrollbar doesn't have anything like this in VS as it is a standard scroll bar. There is a coloured line on the left with green and yellow but I don't know what that means. Is there any functionality to provide quick linkages between variable references in VS Do I have to right click and ask for the list That isn't very quick at all and is rather clumsy. Is there any extension that can add this functionality Thanks, Christopher ...Show All
Visual Studio 2008 (Pre-release) How to Download xbap files Manualy?
hi, Is there any way to manually download xbap application files If so where should i download those files to Can i directly download it to the Online Application Cache Can you provide details on what you are trying to achieve Also clarify if by "manual", you meant you want programmatic control over when certain application files are downloaded. Because if so, you can use the on-demand download mechanism offered by ClickOnce . You will need to refactor your app into a small shim exe that gets downloaded first and has code to download the rest of the app according to your business needs. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game Component Serialization
Hi I have been working on a Level Editor and have run into some problems with serializing my scene graph. Sticking with the game component idea for the moment, all the objects in my scenegraph are currently DrawableGameComponents. Using the nifty XmlSerializer class I can easily store my scene graph with all its children and load it at a later time. However, this requires every class being serialized to have an parameterless contructor and all GameComponents requires the Game as a parameter. The Game Property of GameComponent is unfortunately a readonly property and cannot be set after serialization. This causes problems since my game objects relies on services provided by the game. Any ideas will be appreciated. Thanks Johan ...Show All
Software Development for Windows Vista winforms...
hi I working on following project: scenario: workers fill a form for an approval of the manager. the form is similar to.. datebeginning: ......... dateend... name....... <submit> After submitting, the manager receive the request But think more than one request and manager has the following interface name date_end date_beg aaaa xxxxx xxxxxxxx <approve> <reject> bbbbb yyyyy yyyyyyy <approve> <reject> how to link this interface and the corresponding event for handleexternalevent activity's event When the approve is clicked for "aaaa", the workflow instance conti ...Show All
SQL Server Download DTS for SQL 2005 Express
I'm trying to export a SQL 2005 express database to SQL 2000 without success, really a pain in the ass :-( But I found that it may be a hope but I can't find the page to download the in this page mentioned additional download for SQL 2005 express that will add DTS functionality to it. http://www.microsoft.com/technet/prodtechnol/sql/2005/msde2sqlexpress.mspx " DTS runtime Yes Yes (Web download) " Where can I find the additional package to add DTS to SQL2005 express Best Regards Thanks for posting this. Helped with tedious task. To share my install experience with others, also could not find the DTS Wizard after installing the MSI. Did remember from previous use that it could start with a run dt ...Show All
Visual Studio Team System Query Date-Time granularity
Hi, if you need a Query that gives you all the changed workItems since yesterday, it's pretty straightforward: AND Changed Date > @Today - 1 But what if I want finer grain, like all the changes the last 6 hours Beats me. Any suggestions thanks, /Tomas The query builder in UI actually works with dayprecision set, which means it takes time based on operator and this is how mostly users expect to work. So time cannot be specified in UI, but if you use object model you can override this by specifying dayprecision parameter in Query object constructor. ...Show All
Visual C# Windows Service with Timer ?
Hi I tried to use timer with windows service but it seems that Timer is disposed after some time. So another achiving the same would be using while(true) thread. sleep(x) but where to put Thread.Sleep If I will put in the OnStart and Sleep is like one hour it will never start actually. So what's the best choice Jarod Hi Jarod, what do you mean by disposed, the event is not firing It could be that if your class does not have a reference to the Timer instance you create then it does get garbage collected, you need to make sure that you have a class level field that refers to the timer so that it will not be garbage collected. Mark. ...Show All
SQL Server Need help with SQL statement
I have the following SQL statement that pulls in the correct data, however I need one of the columns from one of the tables to pull in ALL records even if there are not any. Okay, so I am still running into some problems. Here is my select statement (this is using ODBC for an AS400 DB2 mainframe): SELECT DISTINCT QS36F.UEVTREG.ARM, QS36F.UEVTREG.REG, QS36F.UEVTREG.SHOWDT, QS36F.UEVTREG.TRIAL, QS36F.UEVTREG.BRDCOD, QS36F.UEVTREG.BRVAR, QS36F.UEVTREG.CLASS, QS36F.UEVTREG.DIV, QS36F.GRPMST.GROUPCODE, QS36F.GRPMST.BREEDCODE, QS36F.BRDMST.BRDESC, QS36F.UEVTJUDGE.JUDGENAME, QS36F.UEVTJUDGE.JUDGE, QS36F.UEVTREG.EVENTCODE FROM QS36F.UEVTJUDGE, QS36F.UEVTREG, QS36F.GRPMST, QS36F.BRDMST WHERE QS36F.UEVTJUDGE.EVENTCODE = QS36 ...Show All
Software Development for Windows Vista Vista C:\Documents and Settings\All Users\Application Data installs
I have an app that installs in C:\Documents and Settings\All Users\Application Data + Program files dir/. what would be a good solution for me not to have 2 different program installs for 2 different OS.. XP & Vista.. You shouldn't hard-code paths like that. Not only will your code fail on different versions of the OS, you'll also fail on different language versions of the same OS (e.g., French Windows XP does not have a "Documents and Settings" folder), and on systems where the users' folders are not on C: (roaming profiles, profiles on a different local hard drive, etc.). Search MSDN for the term "CSIDL_COMMON_APPDATA" for references on how to install to that location in a portable manner. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. RenderState.ColorWriteChannels
Hi all. First of all - many many thanks to the XNA team for really delivering the goods! Hope you're having a bit of a chillout following today's release : ) Just got my Windows game running on 360 with almost no issues, which is fantastic. Here's a gotcha though. On windows : RenderState.ColorWriteChannels = ColorWriteChannels.All; RenderState.ColorWriteChannels = ColorWriteChannels.None; ...writes to all channels, and no channels, respectively. On 360, I have to swap these around to get the same effect. Is this a bug Or am I missing something Many thanks guys... ...Show All
Visual Studio Symbols for release version?
I have a release version which fails if started by opening the .exe, but works if started with the debugger (F5 in VS2005). I have the map and .pdb files from the release build. Since I have JIT debugging enabled, the access violation which causes the crash opens a dialog which asks me to select a debugger. Is there any way I can tell this debugger to use the map and/or program db to get a symbolic display of the call stack, etc Try leaving the name of the pdb the same. This name is burnt into the image and debugger will look for it among other things for a match. So in your case leave the pdb name as MyApp.pdb. Azeem Khan Visual Studio Debugger. ...Show All
