El Cangry's Q&A profile
.NET Development Where do I get development tools for x64
I want to port a Win32 application to XP-64 in 64-bit mode. Where do I get tools The blurb on Visual Studio 2005 is a little vague. It says Visual Studio 2005 Professional edition has 64-bit compiler support, but it doesn't specify whether its Itanium 64 or x64. MSDN lists a 64-bit compiler in the DDK section but doesn't provide much information on run time libraries etc. I assume the 64-bit compiler listed in the MSDN DDK section is bare bones and primarily for driver development. Assuming the response is use Visual Studio 2005 Professional, does it support a visual debugger for X64 Opposite question, if I run Visual Studio 2005 Prof ...Show All
.NET Development ? How to share strong name key files ?
With Visual Studio 2003, we could share a single key file among all our assemblies, simply by referencing it in AssemblyInfo.cs. Now we have to reference it from the project settings "Signing" page, and when you select an existing ".snk" file, it always makes a copy of it to the project folder, and uses that copy instead. Is there any way to make it use the shared ".snk" file Hmm... Adding a link to an "external" key file (snk or pfx) to the project seems to enable its use as the signing key just fine for me (selectable via properties UI and all). Is this not a supported scenario ...Show All
Windows Forms Using SplitContainer in MDI parent
I have an MDI parent winform. I instanate my MDI children when user press a button. I would like to use the new .NET 2.0 SplitContainer to divide screen area. However, after adding the SplitContainer, my MDI children always stay behide the SplitContainer, how can I solve this problem Actually, a normal panel control will cause the same problem in MDI form. Thanks. Kennon2005 wrote: Hi, Mike Berro, if the MDI Child will still stay behind the MDIParent panel, what would your control help in my case To split the area Actually, what I want is to put background image/controls ...Show All
Windows Forms How to disable "Ctrl-Tab" navigating between MDIChildren
Hi. I've tried to find an answer for this, but i think the terms are too general. I'm developing a windows app that uses MDI. We've created our own (simple) framework wherein the forms are navigated through a tabcontrol, i.e. tabbed forms. An unexpected bonus of the MDI was that the user can switch between the open forms with "Ctrl-Tab" and "Ctrl-Shift-Tab", and i respond the the "Deactivate" and "Activate" events to manage which Tab on the control is displayed. There are a few forms that I wish to be "Modal", but still within the tab framework. I've achieved this by merely di ...Show All
Microsoft ISV Community Center Forums Reading text file and accessing specific columns in VBA
I am new to VBA and I have some code that I put together that reads a text file. Now, I am trying to access the columns in the line I just read. I have scoured the web and cannot find column manipulation with the way I have set up the I/O. Should I be using another way to read the file I would rather use this code but if there is a better way I would love to know. Any help is greatly appreciated. here is the code Sub balance() Const FILE_PATH As String = "P:\Clients\Vanguard\Finance\20060117_ftp.DNO_Report_Summary.txt" Dim ts As TextStream Dim docname As String Dim Fso As FileSystemObject Dim txt$ Set Fso = New ...Show All
Windows Forms picturebox
hi, There is a pictureBox on a windows form. In design mode, the image is set to pick up a .bmp file from the local machine. I would like to click on this image and another image to appear instead in the same location. in other words, the image of the same PictureBox changes. What should i put in the click event to pick up another .bmp for the image Thanks I have not tired it but something like this would do _picturebox.Image = Image.FromFile("someimage.bmp") If the bmp is in the resources _picturebox.Image = Image.FromStream([GetType].Assembly.GetManifestResourceStream(GetType(Me), "image.bmp")) ...Show All
Visual Studio Custom task: assembly could not be found
Hi, I am using the final version of Framework 2.0. I have created a custom task called SimpleTask (modelled after the Hands-On-Lab document). When I try to use it in a project file, I get the following error message: C:\tmp\I2DL\i2dl.proj(11,5): error MSB4062: The "SimpleTask" task could not be l oaded from the assembly c:\tmp\vs6build\vs6build\bin\Debug\v6build.dll. Could no t load file or assembly 'file:///c:\tmp\vs6build\vs6build\bin\Debug\v6build.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its d ependencies are ...Show All
Visual Studio Express Editions the code has some problem
Hi, I am using VB express 2005 to create an interface to retrieve data from Excel spreadsheet then store it into my Access database. I am able to retrieve data and store it in a dataset then display it in a dataGridView. But I am not sure how can i store the data into an Access database. I tried to connect VB to Access by opening a connection and then create a table in Access. I created a DataGridView and bind it to this table. I can do normal insertion, deletion to the table. But when i change the content of the dataGridView to my spreadsheet by writing some code then do the normal save as usual, the content in the ...Show All
.NET Development unknown exception - HELP!
I've been sitting at the computer for the past 9 hours straight (of course with breaks in between) I CANNOT get this error resolved!!!!! It's developing on .NET CF but I thnk it maybe more appropriate posting it here. sometimes it produces this error, sometimes not. The way my app works is that it connects to a server on your PC. You can disconnect from the client application (works fine no problem... i'll check again) or you hit a "stop" button on the Server app, which disconnects the client by sending a message to it before cutting the connection. The client acts upon this successfully and performs the actions required to reset the form/pr ...Show All
Visual C++ editing, Compiling, & Running C code in Visual C++ Express
I was told that it is possible to edit, compile, and run C code in Visual C++ express. When I tried to do this I was only able to able to edit it, and nothing else. If it is possible could someone let me know how, or at lest send me to a link that will explain it all to me. Your Friendly Neighborhood Programmer You need to first create a project and go to the build tab and choose to build you project. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Team System TFS IIS AppPool getting stuck
We currently are using a TFS Beta 3 server (we hope to move to B3Refresh in one or two weeks), and it is working very nicely so far, except for one problem we've noticed a couple of times: Ocassionaly, over night, the IIS AppPool configured to run the TFS webservices in the AppTier (though this is a single box deployment) gets "stuck". There are no relevant error messages from IIS logged into the machine event log, but all calls to the TFS WebServices (even the local ones from the TFS Scheduler service) always cause an HTTP 503: Service Unavailable error. The way to get it back up is to go to the server and manually recycle the TFS AppPool ...Show All
Visual C++ a vector of pointers in a for loop
I'm currently getting a illegal direction error when using the following code. The error is coming up when I set up the for loop Code: int saveBook(vector<Address*> a, ofstream& out) { //For loop that writes to the temporary file in the correct //format in order for it to be read in to the progam again //cout << (*a).size(); for(int i = 0; i < (*a).size(); i++) { out << "/" << a ->getFirstName() << "/" << a ->getLastName() << "/" << a ->getHouseNumber() << "/" << a ->getStreet( ...Show All
Windows Forms Problem with Mdi forms and Show method
Hi guys, I have a Mdi Container that can be minimized to tray. So when when I click minimized button I Hide the form and I show the notify icon. The problem is that during the mdi parent is not visible, maybe I have to create new mdi child form. To create it: Form f = new Form(); f.MdiParent = this; f.Show(); but if the mdi parent is not  ...Show All
Software Development for Windows Vista Solution: SqlStatePersistenceService troubles
Hi, Adding a SqlPersistanceService to my workflow host causes the workfow to abort when it tries to persist. Unfortunatly the WorkflowAbort events arguments don't realy tell me anything usefull. The database is SQl Server 2000 sp3a and the persistance setup scripts have been executed creating the required tables and sp's. Initialising the SqlPersistanceService instance with a valid connections string causes no errors (indicating the the connection is fine) . Remove the persistance service and everything works as expected. Any ideas as to how I might resolve this problem would be appreciated. Thanks in ad ...Show All
Visual Studio 2008 (Pre-release) Error getting activation key from MSDN Subscriber downloads for beta 2
When I request an activation key for any of the Windows Vista beta 2 versions on the MSDN Subscriber Downloads site, I get an Application Error: Error while requesting Product Keys. Please try again later or contact customer support. Did anybody succeed in getting an activation key from MSDN Subscriber downloads Nico Vuyge wrote: When I request an activation key for any of the Windows Vista beta 2 versions on the MSDN Subscriber Downloads site, I get an Application Error: Error while requesting Product Keys. Please try again later or contact customer support. Did anybody succeed in getting an activation key from MSDN S ...Show All
