Per Bornsjo's Q&A profile
Software Development for Windows Vista ASP.NET and WF viable?
Hi, I am very much enjoying all the new technology coming out around the WF. Seen some interesting webcasts from MSDN and articles in MSDN mag. I've not seen anything about how to actually do PageFlow from the WF as described briefly in Israel's webcast on ASP.NET/WF. I've yet to see any examples here at the WF website. There are some good webcast examples using InfoPath and Sharepoint to demonstrate WF (not PageFlow). I'm wondering if anyone is even taking ASP.NET/WF as a viable option for really developing a real application. I know that there has been talk of further integration of WF with ASP.NET in VS but I seem only able to find tal ...Show All
Visual C++ trying to start an app
Ok I tried searching, but can't seem to put this together... I have some buttons set up and I'm trying to add code to get it to open another *.exe I'm trying to open notepad. And I'm using the forms designer to create the buttons. Here is what I've tried (from searching) private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) { CString CommandString = "notepad.exe"; system(CommandString); }; ...when compiling this gives me: error C2065: 'CString' : undeclared identifier error C2146: syntax error : missing ';' before identifier 'CommandString' error C2065: 'CommandString' : undeclared identifier ...Show All
Visual Basic Question about Security Permission FileIOPermission
I generated a program to read an xml file from a network drive, and display the information in a form. The program doesn't quite work until I change the security level in Visual studio (right click on the project name under solution explorer -> properties -> security -> This is a full trust program). So now, when I complie it, it runs, reads and displays data from share drive. Then I close visual studio, run the .exe program under bin\Debug, and I got an error. I don't understand why it reads the network drive file when I am in visual studio environment but not with the .exe file. Can anyone give me a hand on thi ...Show All
Windows Forms Can OpenFileDialog be used to obtain a path?
Can I use OpenFileDialog to obtain a path, not a file In the Installer class of a Windows Console program, I want the user to open a dialog box to specify a folder where the application program can create files later. Is it doable How if so Thank you very much! No, but .NET 1.1 introduced the FolderBrowserDialog . ...Show All
Smart Device Development DirectShow Filter
I tried to port the sample of DirectShow, AsyncFilter, to Windows Mobile 2005 Pocket PC. I added Strmbase.lib to project library list, but still has some symbols that do not get resolved. AsyncFilter.obj : error LNK2001: unresolved external symbol " public : virtual long __cdecl CBaseFilter::FindPin(wchar_t const *, struct IPin * *)" ( FindPin@CBaseFilter@@UAAJPB_WPAPAUIPin@@@Z ) AsyncReader.obj : error LNK2001: unresolved external symbol " public : virtual long __cdecl CBaseFilter::FindPin(wchar_t const *, struct IPin * *)" ( FindPin@CBaseFilter@@UAAJPB_WPAPAUIPin@@@Z ) AsyncFilter.obj : error LNK2001: unresolved external symbo ...Show All
Visual C++ build error
after downloading VC beta 2 and spending hours trying to get the header files to be recognized and figuring out how to build a hello world file, i decided to move on to chapter 1 of tricks of the windows game programming gurus and run the sample game called freakout, i recieve this error 1>------ Build started: Project: freak1, Configuration: Debug Win32 ------ 1>Compiling... 1>blackbox.cpp 1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64' 1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error ...Show All
SQL Server MDX problem in AS2005
When executing the following MDX statements I get an error with AS2005 although the query seems to be valid, at least AS2000 has no problems with it. CREATE SET [Sales].[Y1] AS '{[Product].[All Products].[Drink]}' CREATE MEMBER [Sales].[Product].[X] AS 'Sum([Sales].[Y1])' SELECT Order({[Product].[X], [Y1]}, [Measures].[Unit Sales]) ON AXIS(0) FROM [Sales] I create a set, a calculated member as the sum of this set, and then query both the calculated member and the set. The error is: "The dimension [Sales] was not found in the cube when the string, [Sales].[Y1], was parsed." It seems that [Y1] is not recognized as the formerly ...Show All
Visual Studio How do I connect Crystal Reports to an SQL Express MDF file.
I want to connect to an SQL Express MDF database file. How do I set up the connection I don't see a way to set up the connection in the Database Expert. I tried to create an ODBC (RDO) data source by using the following connect string: Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Documents and Settings\dtorg.LUMINET\My Documents\Dev\OMx\Version 1.0\Source\Src\Services\DataManager\OmxDataDB.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True I then selected the server .\SQLEXPRESS with a user id and password that I set with sp_addlogin I get the error: --------------------------- Crystal Reports ActiveX Designer ---------- ...Show All
SQL Server AdomdConnection.GetSchemaDataSet - using restrictions
I'm attempting to use AdomdConnection.GetSchemaDataSet to see what information is in the AdomdSchemaGuid.PartitionStat dataset. I am setting the restrictions parameter to null. The error I get is "Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException : XML for Analysis parser: The DATABASE_NAME restriction is required but is missing from the request." All well and good, except that I can't see in the documentation what form the restrictions should be, the parameter is of type object[]. How are the restrictions defined Is there any documentation that says what restrictions apply to which dataset Is there any d ...Show All
Visual Studio Team System How? Programmatically setting /analyze:WX-
It's possible to set the /analyze option programmatically using something like this: Dim cfg As VCCongigurationTool Dim tool As VCCLCompilerTool ... tool = cfg.Tools("VCCLCompilerTool") tool.EnablePREfast = True However, I would like to enable the WX- option so that code analysis warnings aren't treated as erorrs (/WX is set on all our projects). How can I set the /analyze:WX- option programmatically Thanks. [Posting for Natalia Glagoleva] Yes, this is a bug. Thanks for your report. Btw, adding "/analyze:WX- /analyze" to additional options also worked. ...Show All
Windows Forms ¿DataGrid Column Resize? (solved, check it out for sourceCode)
I'm a noob on VC#, and I'm making a little application with the datagrid just to familiarize myself with the controls and after a long time and a lot of help from the MSDN I finally managed to add the columns I want... but what i want now is to specify the width of the column at design time so the name of it doesn’t appear "cutted off" At this point I just want to learn how to customize the look of the grid, I deal with the applications of the DataGrid later You can download the code from http://www.geocities.com/corea_80/TestApp.zip Thanx I made it!!! :D for anyone who wants to -Change the column wid ...Show All
SQL Server ODBC data flow source
How do I create a Data Flow Task with an ODBC Data Flow Source I know how to create an ODBC Connection Manager (at the bottom of the screen). But, when creating the data flow task, what do I use for the source component ... what do I drag from the toolbox under Data Flow Sources All I have on this list is: Pointer, DataReader Source, Excel Source, Flat File Source, OLE DB Source, Raw File Source, and XML Source. All I want to do is simply copy data from an ODBC data source into a SQL Server table. Thanks The SqlCommand in DataReaderSrc is expressionable - which means, you can&nb ...Show All
Visual Studio Team System Can I access the SQL server databases directly?
I have found the following database files in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data STS_team-foundation_1.mdf TfsBuild.mdf TfsWarehouse.mdf tfsWorkItemTrackin.mdf ->this was what i was looking for My problem is that I can't seem to access the database using the visual studio "connect to database" tool. I tried all three of the user that were created for the server setup(tfsSetup, tfsReports, tfsService) to no avail. I was looking for a way to program a web interface to view, edit and add work items. Anyone got some pointers Thanks in advance! Buck Hodges has provided informati ...Show All
Visual Basic Cross Thread Headache
I am having a cross thread headache with my control I have created. I have a control on a form (frmUtils) when an event is raised by this control I want to update a listbox on my main form (frmMain) to show this data. I have read a lot of posts about this problem but nothing seems to give me an elegant solution. Setting CheckForIllegalCrossTheadCalls=False, causes other code sections to stop working properly. It is very frustrating when something that was so simple in VB6 is suddenly more than a days work in 2005 Does anyone have an comments / thoughts Thanks Private Sub control_Event( ByVal sender ...Show All
Visual Studio Express Editions Help!!!
I have VB homework due in 45 minutes and i cant get past an error message that I am recieving. I am supposed to be making a calorie counter and I cant get it to do any calculations. I was getting an error message for the parsing. It said "Input string was not in a correct format." Public Class Form1 Private Sub exitbutton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles exitbutton.Click 'close the program. Me.Close() End Sub Private Sub clearbutton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles clearbutton.Click 'clear all amounts on the form. With Me ...Show All
