SimonS_'s Q&A profile
Software Development for Windows Vista Implement a Workflow Parameters Editor
Hi, I want to implement a Workflow Parameters Editor, like the one in the 1.2 beta version. When the developer click on the "Ok" button of the editor, it will analyze if all the properties have been written, else it write them. Do you think that it is possible without writting lots of code lines Thanks for you help! This is acheivable, but not trivial. You will have to write a fairly big amount of code to parse code beside file and issue missing parameters. Using codeDom will simplify code parsing task, but will introduce additional issues and challenges. This is not easy to accomplish. ...Show All
Visual Studio 2008 (Pre-release) "Render loop", performance
Hi, I have a little scene with 517 diffuse polygons that I animate in a Page using: protected override void OnRender(DrawingContext drawingContext) { //...create rotateXform this._modelGroup.Transform = rotateXform; base.OnRender(drawingContext); this.InvalidateVisual(); } I get terrible framerate, about 4 fps, and I've seen more complex scenes (like http://thewpfblog.com/ p=36 ) perform at least 20 times better. Is the render loop above bad or is it probable that it's something else in my setup I can post code tomorrow if needed. Thanks, Jonas The answer was to use the VisualTarget.Rendering event. It doesn't give a very steady framerate, and there seems to ...Show All
Windows Forms display swf in asp.net image control
how to display an swf file as an image in asp.net image control As Ken has mentioned,the asp.net image control does not support swf file, to display a swf file on web page, see Embedding Your SWF in a Web Page ...Show All
.NET Development Windows App from .Net 1.1 to 2.0
I recently installed VS 2005. I converted my 1.1 windows app to 2.0. It debugs fine on my machine (no errors). The release runs fine on host machines with 2.0 (and 1.1) but it crashes on machines w/o 1.1 installed. The release runs fine on my machine even after I've uninstalled 1.1. I don't know what the difference could be. The debug report on the host machines contains no useful info to me. Thanks in advance for any suggestions. are the computers with the same OS Well, hmm some features are not available in Windows 2000 SP4 apperently, and can cause the InvalidOperationException. Then again, the except means that it cant do something because its not there - can either be the OS being used OR (most likely ...Show All
SQL Server SQL script nvarchar error
Hi, Not sure if this is the correct forum as it relates to both SQL Express and VB Express Can you help with this please: Using SQL Server Management Studio Express I can write the following SQL script which allows me to search the description column for data that contains the word "display". The declare @filter nvarchar(5) lets me set a fuzzy search level, how many characters need to match in the word. This works fine, and changing the nvarchar(5) value allows me change the number of characters that need to match. use ssop declare @filter nvarchar ( 5 ) set @filter = 'display' select stockid , description from stock where description like '%' + @filter + '%' The issue: ...Show All
.NET Development UnExpected reflaction after Updating a table any one face this .............?
Hi ADO.net Masters, After updating records in a table it updated sucessfully BUT, when i am looking in the crystal report and listView control for same record, it dose not reflect the changes, it shows the data befor updation. Any on tell me what is the issue for this type of error. actully i have take all these data from the MS Acesses. And i am using .net2003 with Sql Server2000 Please any one faced this type of prob.. pls help me thanks in advance.. Can you please clarify one thing – are you using the ADO.NET v.Next CTP, or are you using ADO.NET 2.0 I don’t think the CTP supports Access. If you are using ADO.NET 2.0, we can move the thread to the proper forum, and much more people will look at it. ...Show All
SQL Server How to use the Microsoft OLE DB Provider for DB2.
I follow the steps: 1.In configure OLE DB Connection Manager dialog, I click New. 2.In Connection Manager dialog ,I choose Native OLE DB\Microsoft OLE DB Provider for DB2. 3.In Connection Manager dialog I click the "Data Links" button. Now I am on "Data link property" dialog. 4.On connection tab, I enter fmdb for data source, which is my remote database name. On Network section I choose TCP/IP Connection and set the right IP/Port. Uncheck Single sign-on and enter the user and password. Then comes the Database section. Database name fmdb for Initial catalog,"fmdbrun" for Default Schema, then what is Package Collection (My db2 database is in a AIX/RS 6000 box). 5.On advanced tab, I choose DB2/6000 fo ...Show All
Visual Studio Express Editions Attaching Pictures?
I made a Tic Tac Toe game that is composed oof PictureBoxes, that when clicked, display the user's image : either an "x" or "o". The Picturesboxes get the image because when clicked, they get the image as their background from a filepath location ( ex:"C:/bob/bobby.bmp"). The only problem is that when I try to play it on my other computer, the files aren't there ( I know why)! Is there someway i could attach the pictures as a part of my project SO it can be used anywhere you would read it from the resource stream... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=942182&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=558761&SiteID=1 ...Show All
Visual Basic Storing variables outside of RAM?
I'm writing a program that stores values in variables, but I need those variables to hold their values after the program closes, as I am making an organizer for things. I was thinking of writing them to a text file then retrieving them, but I know there's a better way. Thanks. Just to add my 2cents to the other responses. If it's just simple values (strings, bools, etc ...) then I would go with Application Settings. It's supported for just this sort of operation and it will take care of all of the nitty gritty details of when/how/why to store user and application settings. ...Show All
SQL Server Who cand add users to the db_securityadmin role ?
I have user which is a member of the db_securityadmin database role. It has no other permissions applied to it. When I login with this user, and try to add some other database users to the db_securityadmin role, I receive an error stating that I don't have the permissions to do this: User does not have permission to perform this action. (Microsoft SQL Server, Error: 15247) Is this the normal behaviour, or is there something wrong I am using SQL Server 2005. From what I know, this works fine with SQL Server 2000, but it doesn't work as I expected with SQL Server 2005. Which is the best way to grant permission to manage security to an entire database role Do I have to add each user to the db_securi ...Show All
Smart Device Development Problem with class library on Smart Device
I create a class library for my PC and use it in a C# applications ant it' s right. After I use it in a C# smart application but it don't work, I receive an method exception, but the method there is. I decide to recompile the class library for smart device (PocketPC 2003 ARM processor), whene I build the project I receive this error: Error 3 error C2871: 'System' : a namespace with this name does not exist c:\Documents and Settings\Golem\Desktop\Projects\SmartKey\SmartKey\AssemblyInfo.cpp 3 Error 4 error C2653: 'System' : is not a class or namespace name c:\Documents and Settings\Golem\Desktop\Pr ...Show All
Smart Device Development Unable to create cab files in visual studio 2005
Hie, i think i am facing the same problem, so i just reply here instead of starting a new thread. if this isn't the same problem, i will create a new thread later. i followed the how to article on using smart device cab project to create the cab files. i successfully created the cab file and when i copy it to the device via activesync, it install successfully. but when i package it into a installer and use ce application manager to install, it say this is an invalid setup file. so i open the cab file and compare it with the sql ce cab file. and guess what, it is different. In the cab file that i create, it doesn't have a *.999 file, but all the other cab files like sql ce, sql ce client, and compact framework have. so, what am i d ...Show All
.NET Development HTTPChannel problem when upgrading from 2003 to 2005
Hi all. I have a project in which there is a line of code : Dim channel as new httpchannel(8080) That worked fine in a vb.net 2003 project. When I upgrade the code to vb.net 2005 the compiler complains about it. The nearest match I can find in 2005 is: Dim Channel as new system.net.httplistenerresponse(8080) But the 2005 compiler says "Type system.net.httplistenerresponse has no constructors". 1. I need to know which library replaced the system.runtime.remoting.channels.http one. I can type this into 2005 (as an Imports ...) and the compiler doesn't complain, but then i suffer the problem above. 2. Although this is not part of the problem, I'd like to know how to solve an error that is "xxx has no constructors" Many tha ...Show All
Visual Studio Team System SQL server management studio error
Hi When I try to create a maintance plan, it stops with a message box saying Guid should contain 32 digits with 4 dashes (xxxxxxxx....) Whats wrong I would like to hear more feedback on our plan for SP1, the minimum need would be tools install on the box and not Integration services, for running maintenance plans. Please advice. Thanks, Gops Dwarak ...Show All
Software Development for Windows Vista Using Com+ For Transaction
Hi I have a problem in using com+. I used to use vb.net 2003. My program's architecture is 5 layers. The Business objects and dataobjects are com+ objects.I use tcp channel for remoting and the atributes for com+ that I use are : < Assembly : ApplicationName("App Name")> < Assembly : ApplicationAccessControl( True )> < Assembly : ApplicationActivation(ActivationOption.Server)> <ComponentAccessControl( True ), _ SecurityRole("MyRole", True ), _ Transaction(TransactionOption.Required)> and for all of my functions I use try/catch .at the end of try I use ContextUtil.SetComplete and In catch I use Contextutil.SetAbort. also I Inherit a class from Exception for my own ex ...Show All
