markello's Q&A profile
Visual C++ yet another c2248 error
I'm another user (paid ) getting this compile error message now that the project was converted from .net 2003 to .net 2005 this is a show stopper and I need a resolution of some kind so any ideas /help would be appreciated . C:\Program Files (x86)\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h(879) : error C2248: 'CObject::CObject' : cannot access private member declared in class 'CObject' C:\Program Files (x86)\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h(539) : see declaration of 'CObject::CObject' C:\Program Files (x86)\Microsoft Visual Studio 8 ...Show All
Visual Studio Crystal Report Printing Problem
I'm using vs2005 beta version and i using the crystal report component to create my report and preview the report using crystal report viewer. When i run the application, i can preview the report well in the form, all the data can be preview in the from. But when i want print out the report, all the data was gone included the label in the report, means i only can print out a blank report which did not have any data and also label,it only show the line and box but no word was print out. But if i select pdf writer as my printer, i can print the report well in pdf format, everthing is correct and all the data can be show. I also can conver ...Show All
Visual Studio Tools for Office Package Wizard Startup Error
I think I have installed the components required but when I attempt to run the Package Wizard I get this error: "An unexpected error has been encountered in procedure PrepWizard of module modWIZ_ExpressionEntryPoints" Run-time error '-2147319765': Automation error Element not found. Package Wizard will close now. Do you want to ope the error log file Does anyone know what I may have done incorrectly or what component I may have failed to install Thanks, David Lafferty This thread should help you http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=240548&SiteID=1 ...Show All
SQL Server Column-order an access speed?
Is there any truth to this: the placement of fields in a table relates to field access speed. So, frequently accessed fields should be placed in the beginning of the table while fields infrequently used can be placed toward the end. TIA, Barkingdog Doubt if placing frequently accessed fields first have any sense. Maybe there are something when you are accessing fields by names in client application, but overhead (if any) is hardly noticeable. ...Show All
Visual C++ Debugger refuses to do anything useful ("No symbols are loaded for any call stack frame. The source code cannot be displayed.")
This is native DLL project, with an external managed test driver. However, I don't care about the test driver and have set the debugger type to native only. Everything seem to work just fine until I debug into advapi32. Once I hit the breakpoint just after EH setup in CryptAcquireContextA, the debugger effectively dies with the error message above. The UI still works, but I don't have a call stack and can't even show the registers (Register window reads "No data available" and the expression evaluator refuses any input with "Unable to evaluate the expression." The only action I can do is "Debug.Continue" ...Show All
SQL Server Cannot connect to named analysis service
I am trying to use SQL Server Management Studio to connect to a named analysis service running on a local machine (XP Pro). The studio can see the analysis service because the dialogbox of "Browse for Servers" shows the correct analysis service name, but it just cannot connect to it. I stopped and restarted the service, rebooted the machine, uninstalled and reinstalled the analysis service. Nothing works so far. I can connect the database engine server or reporting service on the same machine without any problem. Could anyone offer any type of hint for me to address this problem Thanks in advance! H ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Might it be a BUG within DXUT?
The CGrowableArray template(dxutmisc.h, line 24) may exist with a slight BUG. This copy constructor not initialize three data members, so if you use this copy constructor, your program will crash! Solve it very simple! Modify it as follow: CGrowableArray( const CGrowableArray<TYPE>& a ) : m_pData (0), m_nSize(0), m_nMaxSize(0) { for( int i=0; i < a.m_nSize; i++ ) Add( a.m_pData ); } I wish next edition of DirectX SDK has solved it. My home language is chinese, my Englist is not too very ...Show All
Visual Basic WSE, Datasets, help needed asap!
Ok here is my problem, I've been working with the WSE Quickstart examples, I was able to write my own code to do what I need.. however I need a dataset to be returned.. I've tried a couple methods here and can't figure it out, can someone help me with whats wrong 1. Obtained dataset from SQL server, converted dataset into xml, returned the class object which contained a 'xmlstring' and 'checksum'. This resulted in a 'Server unavailable' 2. Return the dataset directly instead of a class object. This resulted in a 'Server Unavailable' 3. I've tried the following "fix" to get a dataset, still no luck. Please help me.. <SoapMethod("http:// ...Show All
Visual Studio Team System Error 32000 The Commandline "F:\TFS\Tools\Createds.exe"/Setup/install ...
While installing Team Foundation Server Beta 3 Refresh (Single-Server installation)an error {Error 32000 The Commandline "F:\TFS\Tools\Createds.exe"/Setup/install " http://kaushal-2k3/ReportServer/ReportService.asmx " tfsREportDS "Data Source = KAUSHAL-2k3;intial catalog=TFSWarehouse" "KAUSHAL-2k3\TFSREPORTS"} is displayed. INstalled Prerequistes: OS Windows 2003 Server. Windows Share point Services. IIS 6.0 SQL 2005(RTM) (Installed Analyisis and Reports services) Error is as displayed: Help me out in finding solution to overcome this error. Thanks in ...Show All
Visual Basic click once application install
is it possible to have a click once app install for all users at the moment my click once app is only installed for the logged on user and is not available to the other users of the workstation. thanks in advance GS ClickOnce only supports installs for a single, current, user. Supporting per-machine installs is being considered for a future version. ...Show All
Visual Studio Team System which database and tables store the test results
Hi all, From VSTS Aministrator's Guide, I know that a SQL server database TfsBuild that " The build database contains build data (Team Foundation Build) and published test results .". But when I login, I only see views under the database, and no tables available. Could anyone tell me how&where does VSTS store those test result data I want to manipulate those test result data directly with SQL or ODBC, because I find that current test result statistics feature in VSTS is not enough in my project. Thanks a lot! Leon Please read the following article in Bill's blog: http://blogs.msdn.com/billbar/articles/ ...Show All
Windows Forms How to build a backwards compatible assembly for .NET 1.1 or .NET 1.0 ?
Does anyone know, if it is possible to build a backwards compatible assembly for .NET 1.1 or .NET 1.0 with VS 2005 Or is the only way to do this using the corresponding VS 2003 or VS 2002 ...Show All
Visual Studio Express Editions Help with control binding
Hi All I'm a bit of a newbie at vb.net and was hoping someone can help me with a problem that has me stumped. I'm sure the solution is quite simple but I can't see it. I have simple sql express database that has two small tables. Table 1 contains a foreign key from table 2. I have a form where the controls on it are bound to table 1. For the control that displays the field that contains the foreign key from table 2 I want to use a combo box that displays the corresponding value from table 2 instead of the value of the foreign key and allows the user to select one of the other values from table 2. When a new record is saved or a ch ...Show All
Visual Studio 2008 (Pre-release) InfoCard UI fails to start
This is in my event log. you should reference System.ServiceModel and System.IdentityModel.Selectors. You don't need a reference to Microsoft.InfoCard assembly. Cheers, DonRajah ...Show All
Windows Forms Why would my Form a = new Form() be *CLONEING* itself? ie the new form != a
Does anyone know under what circumstances could cause a new form to *CLONE* itself when Shown I have a MDI app, and am creating new MDI forms. The forms have the InitializeComponent(); code moved from from the create method to the ShowThisForm() method due to the fact the user could create the form and not actually want it displayed Apart from that one oddity the Parent/MDI stuff is basically normal. It all works (to a point) except the clone issue which affects the program as follows (example code): public void CreateNewForm() { Form a = new Form(); // ID is internal Public Property. Form ...Show All
