BigOldSofty's Q&A profile
Smart Device Development Debugging C++ Unmanaged code
Hi, I have a problem while trying to debug my unmanaged C++ application using Visual Studio 2005 and with Windows Mobile 5. Basically, I am able to run the application in the debugger, and even step into methods etc. But, all of this requires the use of a breakpoint. Right at the moment I have a deadlock which I would like to debug. I can reproduce the deadlock "at will", and want to use the debugger to "Break All"/"Pause" the session and to see the Call Stack of each thread. I can indeed pause the debugging session but none of the call stacks are available for the threads. As near as I ...Show All
Windows Forms How do I get a comma seperated string of values from a listbox?
Hi Without looping thru each item in a listbox, is there a .Net method or property which will return a listbox's item names in a comma seperated string or array I know you can assign a listbox's contents *from* an array but I want to get the listbox's contents back into an array or even better, a comma seperated string. I tried various meth ...Show All
Windows Forms user32.dll Threads Issue from Upgrading from Vb6 to vb.net
Hi I have a module that handles threading with user32.dll Api. The problem comes when each window calls this pSetForegroundWindow subrrutine to set the Foreground thread. The windows is displayed active but is not refreshed or painted, stays unresponsive. Why is that Can someone help Would I have to declare a system.threading instance to substitute this module functionality And not use user32.dll in vb.net How can I do that I have an idea how threading works but this is the first time working with it See Code Below ************************************* module******************************************** Option Strict Off Option ...Show All
Game Technologies: DirectX, XNA, XACT, etc. issues installing DXSDK_Dec2005.EXE
Hi, I downloaded the SDK (december 2005) and I cannot install it. A window comes up saying: "Extracting file failed. It is most likely caused by low memory (low disk space for swapping file) or corrupted Cabinet file." Well, my machine has 2Gb of ram and my swap is the same size so I think the file is corrupted. Can anyone send me a link to a zip file that has the SDK extracted or a link to an EXE that has been tested to work I have downloaded the same file many times and have run into the same problem. thanks Hi t7200, I'm facing just the same problem with the April2006 SDK, but only differen ...Show All
Software Development for Windows Vista Read and WritePrivateProfile
Now that writing to HKLM is being restricted will the PrivateProfile APIs be modified and/or extended Writing to a file (ini or xml or ...) is now a more preferred way to operate rather than using the registry. Using these APIs is much more efficient than having to load an XML parser or write file management code into a app for a few limited shared values. Also it would be useful to be able to store/read binary data with the PrivateProfile APIs. These calls just read and write files on disk. If you give a full path to the .ini file instead of having it assume the Windows directory, they ...Show All
Visual Studio Tools for Office Please, once for all: what are ALL of the system requirements?
Hi, I'm quite annoyed, as I've discovered that VSTO doesn't work for ALL of Outlook 2003 versions (I'll try to be polite, but I feel disappointed, as I'm using VSTO in order to make it available to more users in an easier way...not to a minor audience!) From what I can read here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=389435&SiteID=1 Only Professonial and Standard are supported FROM here: http://groups.google.com/group/microsoft.public.vsnet.vstools.office/browse_thread/thread/8f61a5c725b7d7f2/48db92194734d1b7 Outlook standalone is not mentioned. I'm tired to keep trying to guess from my users configuration why it doesn't w ...Show All
Visual C++ warning C4441: calling convention of '__stdcall ' ignored; '__clrcall ' used instead
I have a .NET Class Library that is linking in a static library which has code callbacks defined with __stdcall. On compile I get the warning: warning C4441: calling convention of '__stdcall ' ignored; '__clrcall ' used instead How can I correct this is does it not matter Managed types need to use __clrcall. The only way to avoid the warning is to change the code or to put those functions in a non-CLI type. ...Show All
Smart Device Development Discover cradled PocketPC
Hi! I'm looking for a way to programmatically (preferably through .NET, but native code will do as well) discover a PocketPC in its cradle so that I can access its registry and retrieve some files from it. I'd be grateful for any help in this matter. Do you want to detect on the Pocket PC if it's cradled, or on the PC to which the cradle is connected ...Show All
Visual Studio Visual Studio 2005 Remote Debugger (Windows Service)
Greetings, I have now worked for several hours in order to resolve a problem we are having in our development team. We have a Windows 2003 server (all patches applied) and multiple XP clients (all patches applied). We are running a mixture of VS 2005 Team System and Professional, and we can all debug, if we are using the method, where we log on the server w. TS and start the Remote Debugger "host" application. However, this solution is not good, as we do not attend to run Termin Server, which means, that only two persons can be on the server simoultaonisly. I then set the Remote Debugger up as a Windows Service, with ...Show All
Windows Forms Launch Application immediately after installation
Can any one guide me how to launch the installed application immediatley after the Finished screen button clicked. Once the user clicks the finished screen "Close" button, i need to launch the installed application. I tried with installer class. Sample code is given below.I have created a class library and within that an installer class. I tried with the afterInstall event, but its not working. namespace ClassLibrary1 { [RunInstaller(true)] public partial class Installer1 : Installer { public event InstallEventHandler AfterInstall; public Installer1() { InitializeComponent(); AfterInstall += new InstallEventHandler(AfterInstallEven ...Show All
Visual Studio Team System Iteration and Area Dimensions
I have a question on Iteration and Area Dimensions. I understand these are "Parent Child" type of dimensions. But I don't understand why a Parent get listed in it's child. For example: I have the following Iterations in a Team System project named MSFAgile_001: Iteration 0 Iteration 1 Iteration 2 When I expand the Iteration parameter in any report, I see the following tree: MSFAgile_001 Iteration 0 Iteration 1 Iteration 2 (MSFAgile_001) My question is, why the project name is listed along with it's children Thanks, Syed O. Raihan. Good ...Show All
Windows Forms Setting format of text in textbox
Hi, I have a textbox and I am passing it a double value TextBox1.Text = (Cstr)dDoubleValue I want the Textbox to always display double value with 4 digits on right side of the decimal 2.1000 even if dDoubleValue = 2.1 only How can I do this any sample Thanks, this should help Dim nOutput As Double = 1.2 txtBox.Text = nOutput.ToString("0.0000") Put that into the Validating event of the text box. ...Show All
Windows Forms Editing table adapter select command
hello vb experts i have a problem i have a table fruit pickup where i have an idbasket, and have a grid associated.. then i edit the grid colums and make that idbasket column into a combobox column and make a relation to a databinding source that generast a tableadapter where is the respective select command. i want to edit that command, so i go to the dataset designer and configure it and change the select command and when i enter the combo its working fine, my problem its that i want to add a parameter to that select command and dont know how to say the value of the paramter on runtime. this is my original command that ...Show All
Smart Device Development Developing for Mobile 5 in VS 2003
I'm currently developing an application for both 2003 and now it appears Mobile 5 using VS2003. I'm told that 2003 shouldn't be use to develop a Mobile 5 application. It seems to work, I'm curious as to the reasoning here. Is it an MS push to sell VS2005, or is there a more fundamental underlying reason. The plan is to move to VS 2005 but not during mid development. Thanks! Well, the SDK for Windows Mobile 5.0 needs Visual Studio 2005. That said, there is no problem developing a Compact Framework 1.0 application with Visual Studio 2003 and have it run on a WM 5.0 device. WM 5.0 also has the extra Windows.Mobile libraries. If you ...Show All
Visual Studio Team System How do file attachments get saved?
Through the API, If I look at the collection of Attachments associated with a work item and look at an indivdual attachment I see the following: AttachedBy: "" AttachedTime: {5/18/2005 12:15:39 PM} AttachedTimeUtc: {5/18/2005 5:15:39 PM} Comment: "" CreationTime: {5/18/2005 7:10:56 AM} CreationTimeUtc: {5/18/2005 12:10:56 PM} Extension: ".doc" IsSaved: true LastWriteTime: {5/18/2005 12:10:57 PM} LastWriteTimeUtc: {5/18/2005 5:10:57 PM} Length: 245248 Name: "Fax International Dashes.doc" Uri: {http://ewing:8080/Currituck/AttachFileHandler.ashx FileID=256&FileName=Fax International Dashes.doc} I don't see anywhere where it references what ...Show All
