Chris Boorman's Q&A profile
.NET Development MDX + .NET Framework 2.0 + VCS Express Edition + Win XP x64
Hi, For any CS code that uses managed D3D : everytime I try to compile an app. w/VCS Express Edition under the 64-bit edition of Win XP, the app. compiles ok but as soon as it is executed an exception message appears telling that the app. is not a real 32-bit native one. As far as I'm concerned, after installing .NET Framework 2.0 under a x64 OS, both versions -32 bits and 64 bits- are installed on the machine. So, it seems that, by d ...Show All
Visual Studio Tools for Office Problems with deployment at end user
Why doesnt this code work when the msi.file is installed on the enduser machine. Nothing happens, while when run as 'Debug' in VS development environment everything works. All this code does is displaying a messagebox when Outlook is started. The project is made with VSTO and nothing in the setup project is tampered with, ie keys and such are intact. Help please! in ThisApplication.cs: private void ThisApplication_Startup(object s ...Show All
.NET Development .NET Framework 2.0 and MSN MEssenger
Does anybody know if there is a problem with .NET Framework 2.0 and MSN Messenger 7.5 Since after installing .NET Framework 2.0 I have not been able to connect with my MSN Messenger 7.5 80048820 - is the error code. May be coincidental.. but this has started happening after i installed Framework 2.0 ...Show All
Windows Forms AAAARGH!!!!! visual studio just erased all my controls permanently
visual studio just erased all my controls. some bug crept in to my code so the designer couldnt design the form. normally this results in the designer giving an error - but not this time. it rather cleverly decided to erase all the design  ...Show All
Windows Forms PrintPreview problem
Hi everybody, When i try to print some file with a Print Dialog, i don't have any problem, and my control is printed exactly as i want. But, when i use a PrintPreview Dialog, the pages seem to be good on the print preview, but when i try to print with the given control of PrintPreviewDlg, i only get a white page getting out my print... Does anyone have a solution Thanks to everyone : ) ok here ...Show All
Visual C++ Unmanaged type conot derive from a managed type
Hello Everyone, I have a COM Component, I added it as a refrence.....and I do something like this using namespace BBDEVMGRLib; namespace USBClient { class USB: public IChannelEvents { public : USB() { } ~USB() {} }; } I get this error Error 1 error C3625: 'USBClient::USB': an unmanaged type cannot derive from a managed type 'BBDEVMGRLib::IChannelEvents... Anyone how can I fix this e ...Show All
SQL Server Processing cube from SSAS - OLE DB error
I have made a new dimension and setup the reference in dimension usage. Every time I process the cube i got the following message Error 1 OLE DB error: OLE DB or ODBC error: Invalid column name 'PReference'.; 42S22. 0 0 The value in this column is 0,1 or 2. I have set the value in all rows to 1 and still get the same error. I have tried to create a new column - updated value to 1 and refreshed the datasource and changed the dimension a ...Show All
Visual C++ Using the VS.NET debugger in C++
Hello all, When debugging my work in VS.NET and stepping through it one statement at a time (with F8), I often get taken into code that's not mine. I understand that this is the code that I invoke with methods such as new and delete and what not, but is there anyway at all I can keep the debugger tracing my code only Thanks. NF Perfect. Thank you. I was assuming "Step Over" meant to skip the code and not ru ...Show All
Windows Forms Retrieving the combobox.SelectedValue
I am having a problem with combobox databinding to a dataset. I do all the necessary things you have to go through to bind the data and that all seems to work well. ex: cboEmployees.DataSource = dsEmployees.Employees cb ...Show All
Visual Basic Passing 2d arrays from VB.NET to VB6
Hi, I've got a VB6 ActiveX DLL that exposes the following method, which checks that the argument is a 2-d array of the correct size: Private Function myFunction(strDes() As String) If Not UBound(strDes, 1) = 10 Then Exit Function If Not UBound(strDes, 2) = 2 Then Exit Function I need to call this from VB.NET, so I tried the following: Dim strDes(10,2) As String vbObject.myFunction(str ...Show All
Windows Forms Menu inheritance for forms
I'd like my base form to have some common items on its menu, like File->Close, Help->About, and possibly the common edit items. Then on derived menus, I'd loke to be able to add appropriate other items, like Export, Load, Save, what have you. Is this possible in .net with WinForms. It looks like when you inherit a form, the parent settings get cast in stone. Mike [last post] you will have to programaticaly add menu item yourself. That ...Show All
Visual C# How do I return a value...
Hello, I'm very new to ASP.NET, C# and OO programming in general. I would appreciate any help in what I'm sure is a simple issue. I'm trying to return a value from a method but am having trouble doing so. Here is what I have so far: private int chkRequired(Control Page) { int cnt = 0; foreach (Control ctrl in Page.Controls) { if (ctrl is DropDownList) { if (((DropDownList)(ctrl)).SelectedValue=="0") { ...Show All
Visual Basic Drawing a line on a user control
Hi I'm trying to learn about the Graphics in VB by making my own simple Graph control. But i've hit a problem straight away which seems to be a VB bug i' wrote some code to draw a line across the bottom of the control with a margin of 40 from the bottom and a margin of 20 either side. it all works ok unless i make the form over 395 high or 400 wide. if its height >395 i cant see the bottom x axis at all if the width is over 400 then the x ax ...Show All
Software Development for Windows Vista Missing Service Does Not Throw Exception
I am using InvokeMethod to call into a DataExchangeService . However, if the service was not added to the WorkflowRuntime before the activity is executed the workflow hangs and the process consumes 99% of the CPU. WorkflowRuntime. ExceptionNotHandled is not fired. Jared, This is a bug in the InvokeMethod which does not check for the missing service until execution time. The check should be made while initiali ...Show All
Visual FoxPro =SYS(1037) on VFP90 no longer allows printer changes
Can anyone tell me how to work around the changes in SYS(1037) I used to call this with =SYS(1037) before printing in a batch (checks and invoices) and it no longer allows my customers to change the printer in VFP90 (no 'apply' button). The 'prompt' option in REPORT FORM works just perfect too, but I don't want to call it in a loop (too repetative.) Any ideas Thanks The problem was solved by removing ALL references to th ...Show All
