mfmh's Q&A profile
Visual Studio Express Editions Coin3d linker error
Hi, Thanks for your interest. I am trying to build Coin3d using VC++ 2005 Express ed and am getting a linker error: LINK : fatal error LNK1104: cannot open file 'ole.obj' I have been trying to specify the path of ole.obj in the Tools->Options->Project and Solutions->VC++ Directories but I can find ole.obj on my laptop. Thanks for any tips to resolve this. Thanks for your reply. I disagree that it's a third pty issue as others have successfully done this with .NET version of VC++. Thanks for your feedback though. I am going to use the .NET version instead. ...Show All
Microsoft ISV Community Center Forums Service won't use default printer
I am developing a program that is intended to run as a service on an XP Pro machine. It processes files and prints them to a printer automatically in the background without any user interaction. The printer that I use is configured to be the system's default printer. When the program runs it works fine when it is not running as a service. However, when it is running as a service, instead of printing to the default printer, it tries to print to the Microsoft Office Document Image Writer. I have not been able to find any information on configuring the system so that I can get my service to use the designated default printer. Any ideas would be appreciated. Thanks in advance. We made some progress on this is ...Show All
.NET Development .Net program execution is very slow
Hi, Suddenly in my system the .net program execution became very very slow . It is taking lot of time for step by step execution in the debug mode. Also the programs which used to execute in 30 sec earlier are taking about 20 minutes to execute. All other applications like MS-office and others are working fine. Please inform how to take corrective steps in this regard. Thanks SM What is the CPU utilization like I would suggest that you also monitor the GC gen-0, 1 and 2 performance counters for your offending applications. Also monitor bytes in all heaps. you may have a heap fragmentation problem. What version of the framework are you running Are you using any interop/win32 api etc Can ...Show All
Visual Studio 2008 (Pre-release) Cascading Deletes
Folks, I've read elsewhere in this forum that retrievals of associated objects must be done explicitly by invoking Load() on the association. Is the same true for deletes Are deletes cascaded If they're not, I would expect to be able to override the implementation of an Entity's Delete() method. I'm using the August CTP. Entity.Delete() is a concrete method. I would have to shadow the implementation of Delete() with a new implementation of Delete() in my entity classes in order to cascade the invocation of Delete() on an aggregate root to members of the aggregate. If cascading deletes is already there, how does it work If cascading deletes is going to be done explicitly as the retrieves are, will the Delete() method on Entity be made vi ...Show All
SharePoint Products and Technologies Recurring Sharepoint 2007 Errors.
hey guys, i have a schema of MOSS 2007, Project server 2007 running on Windows server 2003 and sql server 2005, i am getting these three errors in my log each minute !!! Event Type: Error Event Source: Windows SharePoint Services 3 Event Category: Timer Event ID: 6398 Date: 02/20/07 Time: 11:01:41 PM User: N/A Computer: SOURCESAFE Description: The Execute method of job definition Microsoft.Office.Server.Administration.ApplicationServerAdministrationServiceJob (ID de82c7d5-76d8-4c54-81bc-2dd35824b0b8) threw an exception. More information is included below. The path specified cannot be used at this time. (Exception from HRESULT: 0x80070094) For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.a ...Show All
Gadgets Version upgrade for gadgets
Hi! I am just about finished making a gadget - and I'm making the gadget detect if there is a newer version out there. So I compare the System.Gadget.Version and another version number coming via a XML, and if the xml file shows a newer version, the gadget notifies the user about the new version and gives her a link. Now, I have been testing this and there are some shortcomings. Let's say I'm currently running a gadget called mygadget.gadget, and its in my localapp/sidebar folder (since its installed) and it has version no. 0.9. Little later there is a newer gadget with 1.0 version and the xml notifies the 0.9 gadget about the new version. The user clicks the link (that just appeared) and I get the Install dialog... (i did set up the m ...Show All
SQL Server query result in a variable
Hello Again, did you miss me ok now i have this problem. I need to make a query that return one single data. I need to store this data in a variable. Something like that: DECLARE @A VARCHAR(50) @A=SELECT mycolumn FROM mytable WHERE mycolumn = 'Something' There is a form to do it Thanks Friends You were very close. All you need to do is switch the variable placement like such: SELECT @A = mycolumn FROM mytable WHERE mycolumn = 'Something'. Just make sure your filtering condition returns a single value or you can get differing values assigned to the variable. Happy querying... ...Show All
Visual Basic Where is the Fill() method?
I am trying to add new rows to MyDataBase.mdb with the below code. My problem is that it does not identify the columns. It fails with the error message “Name1 does not belong to Customers”. But it does so do Name2. I think it’s locating the database and table as I can retrieve data with the open code using SQL Select. Can anyone help Please hemo Dim connection As New OleDbConnection() Dim myadapter As OleDbDataAdapter Dim myDataSet As New DataSet Dim newrow As DataRow Dim MyTable As DataTable &nb ...Show All
Visual Studio amazing System.InvalidCastException!!!!!!!!!!!!!!!!!!
dears, I 've writen the code below.although it enters the If statement and finds the type of objIDesignerHost.RootComponent.Site.Container.Components ,, MiscellanistControls.Label.Label . it doesn't allow to cast it to this type and gets System.InvalidCastException!!!!!!!!!!!!!!!!!!!!! ----------------------------------------------------------------------------- if (objIDesignerHost.RootComponent.Site.Container.Components .GetType().ToString() == "MiscellanistControls.Label.Label" ) { try { object ttt = objIDesignerHost.RootComponent.Site.Container.Components ; MiscellanistControls.Label. Label b = (MiscellanistControls.Label. Label )ttt; MessageBox .Show(b. ...Show All
Visual Studio Express Editions Cannot imports Excel
When i paste this " Imports Excel = Microsoft.Office.Interop.Excel" to the class, that underline, how can i do it I had follow the step >> add references and use office 2003 PIA Imports Microsoft.Office.Interop.Excel 'this code is ok Dim oExcel As Object Dim oBook As Object Dim oSheet As Object 'Start a new workbook in Excel. oExcel = CreateObject("Excel.Application") oBook = oExcel.Workbooks.Add 'when run to here that prompt 'old format or invalid type library ...Show All
Visual Studio 2008 (Pre-release) Problem of creating xaml projects in .net framework 3.0
I m unable to create xaml new project in .net framework 3.0. there are 19 files in xaml brower application project in vs 2005. but in my system 18 files are created only in new project folder. in my system i m unable to create XAMLBrowserApplication1_TemporaryKey (*.pfx personal information Exchange) file.and bcoz of these i m not able to create the xaml browser application.can any one tell me the possible reason. error i got while creating the project is "System cannot find specified file". Can you try creating the certificate for that XBAP project using the UI provided in Visual Studio's project properties pane Alternately try using makecert.exe which ships with the SDK. If you have ...Show All
Visual Basic VB 2005 Express false compiler error
I have a VB 2005 WinForms Project which is giving what I think is a false error. On the Designer screen for the main form (which normally displays the form layout etc.) I get: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. '.ctor' is not a valid identifier. Hide at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomEventBindingService.ValidateMethodName(String methodName) at System.ComponentModel.Design.EventBindingService.EventPropertyDescriptor.SetValue(Object component, Object value) at System.ComponentModel.Design.Serialization.CodeDomSeriali ...Show All
Visual C# Is it hard to code in Csharp if I know VB.net and basics of Csharp
I coded few applications in VB.Net but I only coded basic stuff in Csharp. Therefore I have not needed the advanced features of Csharp yet. Would it be difficult for me to code advanced needs and features iof Csharp. p.s: It s just that I see there are more jobs in Csharp and I want to apply for them and I don t want to be in trouble once I get the job. I am a junior. Thanks for your advice. i do not think that it will be hard to code in c# as in the .Net the framework play a big role here more the language you use to program may be in the beginning have some trobule about learning new syntax but after some time it will not be an issue in conclusion move to csharp if you see that will be more suitable for you ...Show All
.NET Development Treenode
How do i find weather a treenode a is child or parent. C# win application Thanks Arun in studio 2005, you can simply use thr TreeNode property: TreeNode.Level = 0 means root, =1 means son, =2 means grandchildren and so on in studio 2003, TreeNode.Parent = null means root, TreeNode.Parent.Parent = null means child, and so on ...Show All
Visual Studio Tools for Office Modifying the Office 2007 Ribbon
I have created a new project and im trying to follow Ted Pattison's "Office Developer Screencast" for creating your own ribbon. Im upto the stage of running the setup program and checking to see if the new ribbon loads but it lists the COM add-in under the Inactive section and when you try to add the DLL manually it says "this is no a valid office addin". Any ideas I have a fresh install of XP with Visual Studio 2005, Office Beta 2 with Technical Refresh. I haven't installed the latest SDK or Office Beta Tools as i don't think at this stage i need them. namespace TestMacros { using System; using Extensibility; using System.Runtime.InteropServices; using Microsoft.Office.Core; using System ...Show All
