g_atreyu's Q&A profile
Visual C++ Old iostream linking problem in VS 2005
I am migrating a VS add-in written in C++ from 2003 to 2005. So I must get it building in '05. One lib in the solution uses the old style iostream.h. The VS 6.0 libcimtd.lib is specifically included and linked with that piece. That piece successfully builds the lib. When other piece (a dll) is linked with that first piece I get many LNK2005 errors unless I specifically ignore LIBCMTD also. (didn't have to i ...Show All
Windows Forms Position of context menu
Hi, How can I get the position of context menu Thank's Alexei Hi Alexei, If you want the top-left of the context menu,then Point p in my example above has that value.Do you want the top-left position of the contextmenu or the point where the contextmenu was clicked ...Show All
Visual Studio Express Editions API Declarations
How would I go about creating an API declaration I mean in Visual Basic the API declaration for timeGetTime is Private Declare Function timeGetTime Lib "winmm.dll" () As Long and in C# it's: [DllImport("winmm.dll")] private static extern long timeGetTime(); How would I perform the same task in C++ Thanks in advance The API was designed to be used in C/C++. It's the other languages where you have to hack ...Show All
Visual FoxPro End datasession users?
I sharing data in LAN network, what to end datasession users What do you mean Releasing all forms using a private datasession, all session objects and close databases all would do it. Do you mean to kick them off to do some maintanence If so then you should implement a notification system. As I remember there was an implementation on universalthread downloads. I don't know how that one performs but at least ...Show All
Visual C# VB6 to C# Conversion
I convert VB6 using VBUpgrade in VB2005 and paste all controls to C#. All properties are the same from VB2005 to C#. My problem is...my controls (e.g. labels) are not aligned in VB6 when I compare the VB6 form and C# form by setting the two form location to 0,0 then switch to one window to another ( Alt + Tab ). Please help me on how formulate that problem. -bachie bachelor_1919@yahoo.com ...Show All
Visual Studio ReportViewer LocalReport Export File type limitation(VS.NET 2005 beta 2)
I need export the report to Excel,PDF,CVS,TXT format,but the LocalReport Export File type only one: Excel . I know the RemoteReport (SQL Server Reporting Services) support many export file types, but the ReportViewer need License , so I didn't try the RemoteReport. The following material come from VS.NET 2005 Beta 2 MSDN: ReportViewer Controls in Visual Studio 2005 ... Remote processing mode requires a licensed copy of Microsoft SQL ...Show All
Visual C# HOWTO find a Word document.
Hello, I'm writing a program in c# to recover Word documents from a defective harddisk. I use CreateFile( "\\.\physicaldrive0"...) to read the good clusters from hdd into a byte array. To identify the Word document i use a header "DI a!± a" and a footer "MSWordDoc" byte sequence. Everything works fine until the program finds non-Word files with the same header byte sequence ( like *.xls, *.msi or any other OLE compou ...Show All
Microsoft ISV Community Center Forums SubForm - ActiveCell
Hi - I am using Office 2002 SP3. I have an Access database with a form and a subform - normal, standard stuff, nothing fancy. Is it possible, in code, to find out which cell on the subform is selected by row and column number I think I have the row bit sorted but the column (field) has me beat. Per our support engineer: Dear Richard Thanks for using Microsoft ISV forums, and we’ll work with you on your ...Show All
Visual C++ Use Native COM Servers with CRCWs ??
Hello Everyone, I'm trying to get this thing working for long time now.... I have read this article many hundred times now......without any use..... http://msdn2.microsoft.com/en-us/library/f31k2c87(VS.80).aspx ...... First Question : How to create a tlb file.......I add the COM component it adds as a Interop.something....Now when I try to say #import "something.tlb" no_namespace doesnt work.... Even I tried adding th ...Show All
Visual Studio Team System Fail Team Project creation
After installing TFS Beta 3, everything seems ok. Can connect to it, manage it, etc. However I cannot create projects sucessfully. When I try to I get this (excerpt from log): Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: Unable to connect to the Windows SharePoint Services at TEAMSYS1 Exception Details: The Project Creation Wizard w ...Show All
.NET Development CommonGenius.com - Please Email Me
Whoever CommonGenius.com is, could you please email me whenever you find time at joemorel @ microsoft . com. Thanks! ...Show All
Visual Studio 2008 (Pre-release) Can't clear Background color
Steps: Create a WinFx Window In the properties window of VS, set Grid Background to gray. Value is converted to #rgb value Attempt to remove the value just added. Results: A message box pops up saying "Property Value is not valid" Details area says empty string not allowed. Hit ok, the properties window has focus and the Background value has been restored. Expect : To be able to set the Window prop ...Show All
.NET Development Typed DataSet and changed underlying database tables
Hi, I have a typed DataSet that is generated by VS2005 IDE based on Oracle Tables. We had to change underlaying tables after Typed DataSet creation. Is there any way to update the DataSet structure based on changed database tables Thank you, Alan Are suggesting that there is no way to update a Typed DataSet It doesn't seem to be a practical approach. Database table structure can change. I hope that w ...Show All
Visual Basic How to pass data to MS Chart?
Hi, I'm trying to plot data stored in Access database. I need a very special kind of chart (nuclei levels with gamma transitions - that's horizontal lines at different energy levels and vertical arrows connecting some of them), so I'm doing it through VBA. I pasted a Microsoft Graph Chart object on a form and on a button click event I get some data from a database. For the levels the query retrieves a number of columns - one column with value ...Show All
Visual Studio Express Editions CD Deployment
I am developing an application using Visual Basic 2005 Express Edition. I need to deploy it via CD. I want it to: install an icon on the user's desktop autorun install on computers without internet access Can ClickOnce be made to do the above Will Visual Basic 2005 Pro Edition do the above How much is it What other options do I have Yes, Visual Sudio.Net 2005 can do it... For the autorun, you mu ...Show All
