Railmonkey's Q&A profile
Visual Studio Tools for Office How to get IWin32Window for Show/ShowDialog in Excel
In my workbook.cs file I am trying to open a form, I need a handle to excel to pass into the Show/ShowDialog method for the IWin32Window parameter so that the dialog doesn't get hidden. I'm not 100% sure on this one, but I think you may be looking for XLMAIN (OpusApp for Word, OMain for Office, PPFrameClass for PowerPoint) - the "parent names" for the application windows. ...Show All
Visual C++ VS 2005 Having problems after installation...Kernel.h with MFC
I ordered VS 2005 Pro 180-Day Trial and I just started to try my old code peaces withit..I was having an error...then I decided to make a new project and wanted to walk like step by step...I tried to create various versions of MFC applications but I am still gettin the same error message... Output is like this -------------------------------- 1>Compiling... 1>stdafx.cpp 1>d:\program files\microsoft visual studio 8\vc\include\win32fake.h(4) : fatal error C1083: Cannot open include file: 'kernel.h': No such file or directory ----------------------------------------------------- can you give me any suggestions ...Show All
SQL Server Reporting Services Error-URGENT!!!
This is critical. The company I am in runs 3 reports that calculates huge amounts of data and it takes about 45 minutes to run. Unfortunately I get the following error after about 30 minutes. I need to fix this today. No one is cancelling the report it just appears to time out. Any clue guys Reporting Services Error -------------------------------------------------------------------------------- An error has occurred during report processing. (rsProcessingAborted) Get Online Help Query execution failed for data set 'DataSet1'. (rsErrorExecutingCommand) Get Online Help Operation cancelled by user. I face t ...Show All
Software Development for Windows Vista Rule Condition Editor doesn't resolve correctly
Hello, I have the Feb CTP. I am building a basic sample where I have a custom activity (Activity1) dropped into the Sequential Workflow. Then I drop an IfElse activity after my custom activity and I create a new RuleConditionReference condition. When the Rule Condition Editor appear and I type "this." I don't see my activity listed. Do I miss something Thanks, Pierre I am not able to repro this with the Beta 2 build of Workflow Foundation. If you complete the expression without using the dropdown assistance, does your activity execute the way you expect or are there any problems Steve ...Show All
Visual Basic what's the datagridview event that executes after updating a combobox?
hello i have a combo box in a datagridview.. i want to select a data from a combo and to catch the new data seleted ( of the combo) to execute a query... but i don't know what event i have to program... I'll appreciate your help Aleal The CellValueChanged event fires when the user moves to another cell. I usually use that. ...Show All
.NET Development windows applications in .net
Hi, Does XmlDocument load all data at once to memory or it using paging If yes, how can I load xml file to memory by the parts Or may be, I can load xml to dataset for special table only and not all the table The xml file consists tables of data. Thank's Alexei Hello I have a VB6 windows application where I get xml data from a server. I do some processing on this xml data and send the request back to the server in xml format. now I am trying to upgrade the VB6 application with VB.net 2.0. can any one help me know how to do this in .net environment. ...Show All
Windows Forms Properties Window Error Message Box
When an invalid property value is provided in designer, an error message box popup which provide error description on clicking Details button. How can I display custom error message on click of the Details button Thanks If you throw an exception in the property's setter, its error message will be used in the 'Details' section of the message box. ...Show All
Smart Device Development Porting CCeDBDatabase from embedded VC++ 4.0 to VS 5.0
I'm trying to port a large app written for the ARMV4 processor that was originally developed using embedded VC++ 4.0 to Visual Studio 5.0. Our app uses CCeDBDatabase and related classes such as CCeDBRecord and CCeDBProp, and although Microsoft's "Migrating Microsoft eMbedded Visual C++ Projects to Visual Studio 2005" web site ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/migrating_evc_vs2005.asp ) doesn't explicitly list these classes as having been dropped from MFC 3.0, it does not appear that they are supported. Has anyone out there had experience porting embedded VC++ code that uses the ...Show All
.NET Development DataSet serialization problem through remoting (VS2005 release)
Hello, I have a problem with a client/server application using remoting (TCP channel on the same host) and DataSet. The server loads successfully an xml file using a typed DataSet (built by xml schema designer and MSDataSetGenerator), it also writes data back to the xml file without any problem. Everything seems to work fine on the server side. But, when the client tries to get the DataSet via remoting I get an exception: - $exception {System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.DataException: Invalid 'Key' node inside constraint named ...Show All
Visual Studio Express Editions How to open an external file / resource.
How do you make a button or link open an external file or other resource Like HTML links: you click one, and it opens a file. Definitely. But make sure that, if you are trying to run an external program and you're specifying a path on the local system, you'll have to use forward slashes / instead of backslashes \ to separate the folders. In other words: C:\wherever\whatever\program.exe - won't work, but C:/wherever/whatever/program.exe - WILL work. This one baffled me until I experiemented a little. ...Show All
Smart Device Development TAPI, TSP, LINE_APPNEWCALL
We are writing a TAPI project for a WinMobile Smartphone. The program answer an incomming call upon receiving a LINE_APPNEWCALL message. But WinCE also try to answer the call. How is it possible to block the standard behavior of the Operating System to answer an incomming call Yes - I have exactly same question. Right now we are using strange "technique" - like kill standart answering app. It works - but... is there some "normal" way to do it ...Show All
Visual Basic how to retreive data in datagridview the faster way
I notice that everytime I bounded the datagridview to a certain datatable, it takes so much RAM to load the data causing some seconds to wait....is there any way how to load it faster the data about to display is about less than a thousand only...thanks. ...Show All
Visual Basic How to write a sub for several checkboxes at once
Hello, I am brand new to visual basic, so please excuse me if this is an easy question. I have a form with several checkboxes. I want to make it so that if any checkbox is checked, its label goes from gray to black. I have figured out how to do it for one checkbox, but I can't figure out how to handle many at the same time. Here is what I have so far: Private Sub sidingStyle1Include_cb_CheckedChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles sidingStyle1Include_cb.CheckedChanged If (Style1Include_cb.Checked = True ) Then Style1Include_cb.ForeColor = Color.Black ' If CheckBox is u ...Show All
.NET Development csc user rights
What user rights does csc (the c# compiler) require in order for it to run properly (create files) I know, silly Q. But I am trying to do something for a lecturer of mine. Basically he has (dont know why) apache service. He is making an online editor where the learner types in C# code, when "submitted" it will compile it and run the code. Thing is, he obviously does not want the user account to be under admin or power users. The csc shows a "Could not create file" type error when running under a local account which is a member of vs debuggers and users as well as aspnet. If we give the user account power users group - it compiles fine and ...Show All
Visual C# Create a snap-in using VisualStudio 2003 C#
Hi I have to create a snap-in(for a MMC). I'm trying to do that using VS2003, C#. The .NET framework version is 1.1 I searched for information and I found a basic sample at the following link:http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/ en-us/managedmmc/html/56f458d3-5c65-4664-8107-2ba04efd7d65.asp I tried to compile the code, but I got an error message "The type or namespace name 'ManagementConsole' does not exist ". So, I succesfully installed the MMC 3.0 version for XP(with SP2). I also found the microsoft.managementconsole.dll file(C:\Windows\system32\) and I tried to add a reference to it in ...Show All
