rote's Q&A profile
Visual FoxPro frmpanemanager.setpane
I get this error message from an OLE when I try to open a form with run command in interactive mode. The debugger says that the source code is unavailable. The call stack is as follows: frmpanemanager.setpane frmpanemanager.init ClassLib: forxpaneengine.fxp The file path leads to a directory in C:\\documents and settings\\..... That's it. I have never seen this object before. What can I do about it Thanks. << open a form ...Show All
Smart Device Development Converting CEDB to EDB
<I know this is not a question... but I want to make sure this information gets out to the public as fast as possible> Porting Applications from CEDB to EDB Luis Eduardo Cabrera Microsoft Corporation May 2005 Applies to: Windows Mobile-based devices eMbedded Visual C++ Visual Studio 2005 CEDB EDB Summary: Learn how to port appl ...Show All
Visual Studio accessing relations (and its value properties) from a domain class
How can I access relations (and their value properties) from a domain class in code For example, suppose I have domain classes A and B, as well as a relation AHasB which contains the value property V. If I have an instance of A, how can I set the V property for the AHasB relation where the A instance takes part Thanks, -- AFurtado Hi Andre The following post has a lot of info on this topic - the final part ...Show All
Visual Basic Cleaning up my code
I have a bunch of code and was wondering what was the best method to write certain code. Is it better to: 1. have related code on a single line using a colon to separate 2. use select or if statements 3. have lots of seperate, smaller functions and subs or cram lots of code into just a few Thanks. Troy Lundin wrote: I have a bunch of code and was wondering what was the best method to write certain code. Is it better to: 1 ...Show All
SQL Server How to script an excel datasource in sql job? (SSIS)The command line parameters are invalid.
I have a Sql agent job which will exeute a SSIS package. While, one of my data sources is an excel file. I scriptted the sql agent job and recreate on a test server, it fails with The command line parameters are invalid. . The command line has the following for the excel data source, and that is the place fails the job. /CONNECTION UserDataExcel;"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\myserver\UserData\UserData.xls ...Show All
Visual Basic Regions bug
Every day after I’ve been working in the IDE for a while, the collapsed #regions will not open with a single click on the plus sign anymore. Instead it takes 5 to 10 clicks to open them. Actually in different source code files it takes a different number of clicks in order to un-collapse a #region . (but always the same number of clicks within the same source code file) I sure hope this will be fixed soon. It's been doing this ...Show All
Visual C# Length of multi dimension arrays.
If i have a multidimensional array like this: int[,] myArray = new int[X,Y]; How can i get the lenght of the first value, i want to know what value X has even if the original X is unreachable. ...Show All
Smart Device Development How to get the shared path
this might sound a bit dodgy but i'm trying to run some tests on WM5.0 emulators and to speed up the process, the emulators share some files with the desktops is there any way i can get hold of the shared path within my CF2.0 application I understand this is not supposed to work because on a real device there is no such thing as a shared directory, but i still hope that someone can come up with a smart hack :) thanks in advance! ...Show All
Windows Forms Sample Code: TreeGridView - collapsing/expanding DataGridView
I've just started a blog and the first main post is a sample that I wrote to customize the DataGridView to support collapsing and expanding. I call it a TreeGridView: http://blogs.msdn.com/markrideout/archive/2006/01/08/510700.aspx Let me know what you think! -mark DataGridView Program Manager Microsoft This post is provided "as-is" Fantastic code Mark ...Show All
Visual Basic License Agreement Dialog
I'm creating a setup project for an application and I would like to present a EULA to the user. I using the supplied License Agreement Dialog and am supposed to set the LicenseFile Property to the rtf file that contains the EULA. The file was added to the project Simple enough right However when I do a test install the EULA is not shown. Does anyone have any idea as why this is happening Thanks I played around with this and it sound ...Show All
Windows Forms How to Print the Datagrid like Print option in TaskVision?
Hi, Query: Anybody pls, help me in printing the Datagrid, which is similar to the Print option in the TaskVision!!. Thanks. Regards, Kathir. ...Show All
Visual Studio Express Editions Problem using Add New datasource Wizard
I'm trying to learn C# using the Visual Studio Express C# edition. I'm trying to add a new datasource and get the following dialog. Any ideas on what to do http://65.98.60.178/~austin1/vsexpr_sqlserver.jpg Is there any way to work around this if I need to connect to a sql server database from my c# form My Visual Studio license has been ordered but I need to do this soon. I have c# express and sql se ...Show All
Windows Live Developer Forums How many people have submitted their application?
I stayed up at least until 3:00 this morning to make mine presentable. I know at least one other person has submitted and with the two already up that makes 4. Scott Swanson MSN wrote: The Bonus winners are based on which apps make it all the way through provisioning successfully. I don't believe there will be a problem with mine, but if there is will I be contacted ...Show All
Visual Studio 2008 (Pre-release) Design-time extensions to Cider and Sparkle
Any chance that when Cider and Sparkle are finished, they will support the same (or an overlapping set of) design-time extensions I'm guessing probably not since Cider is integrated into Visual Studio and uses its whole hosting environment. But it can't hurt to ask. Or can it I think you can split this into 2 sets of extensibility: Environment extensibility - VS Addins and similiar Designer extensibility - property editor ...Show All
Visual C# Doing arithmetic on generic parameters
I'd like to write methods that perform arithmetic operations on generic (but numeric) parameters. The following code produces compiler error CS0019 public T Add<T> (T a, T b) { return a + b; } while this produces compiler error CS0072 public T Add<T> (T a, T b) where T:ValueType { return a + b; } Can this be done You might want to check ...Show All
