edo1's Q&A profile
Visual Studio 2008 (Pre-release) Are drag-and-drop operations supported in WBAs?
Are drag-and-drop operations supported in Web Browser Applications I have tried to drag and drop a file from the desktop to an element, but it seems it is not working. Is it a security restriction Nevermind ... I was trying to see if it's possible for a simpler way to open files from the local computer: 1. User drops a file onto an element. 2. Initialize OpenFileDialog's InitialDirectory and FileName with the file's path. 3. User clicks OK on the OpenFileDialog. However step 2 is not possible due to security restrictions so step 1 doesn't matter anymore. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. VertexBuffer problem
Hello, Im write simple bitmap font manager for my game. In my font class im created vertex buffer for 100 chars(600 TransformedTexturedColoredVertices). Vertex Buffer is dynamic and WriteOnly. My problem is in rendering function. In each call of this function vertex buffer is locked with discard option and then filled with data. Next some set render states and rendering with TriangleList. In game im render 10000 chars (60000 vertices) for speed testing. Each call to draw function render 100chars. This code generate about 4 fps on Athlon 1.16ghz 256 ram and GeForce 4 MX440. For testing im write another 2 functions for rendering: 1) In t ...Show All
.NET Development Custom Web Controls: How to display Property information in Design Mode (ASP)
I'm currently building custom Web server controls that extend the functionality of standard controls by adding properties to them. I want to be able to display en explanation of the new property in the Properties window in Design mode of an ASP page. For example, if you drop a textbox on a page and click on ReadOnly in the Properties window, the following text is displayed at the bottom of the Properties window: ReadOnly Whether the text in the control can be changed or not. I added a new property to my control called EnterCausesPostBack and I used the XML comments. It works great with Intellisense in Source mode but it do ...Show All
Software Development for Windows Vista What I'm doing wrong in web.config?
For the past 4 hours I'm having a small problem with the services in Web.Config that I need to ask. My Web.Config is: < xml version="1.0" > <configuration> <configSections> <section name="WorkflowRuntime" type="System.Workflow.Runtime.Configuration.WorkflowRuntimeSection, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> </configSections> <appSettings/> <connectionStrings/> <WorkflowRuntime UnloadOnIdle="true"> <Services> <add type="System.Workflow.Runtime.Hosting.ASPNetThreadin ...Show All
Visual Studio Team System Change requests in MSF Agile
In our company we have a lot of projects with fixed price contracts. We handle changes in the requirements with change requests which generate additional costs for our customers. In MSF CMMI there is a work item type for this issue but in MSF Agile not. I think there is a good reason for the absence of this work item type in the agile process. Can anyone give me some guidance how the process of a change request should be implemented in MSF Agile Thanks Marco There is another third party implementation - you could also take a look at TeamCompanion by Ekobit: http://www.teamcompanion. ...Show All
Software Development for Windows Vista ASP.Net and SQL Persistance?
I am creating workflows in a ASP.Net Form with the Workflow and Persistance declared in the Web.config. This was functioning fine in Beta1. After making what I believe the new declarations to be, I seem to be unable to persist in this new version. Anyone else have similar problems Please look at this post and see if it solves your problem: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=253277&SiteID=1 Thanks, Iza ...Show All
Windows Forms Binding combobox at runtime
Hi im new using VB.NET and i have a problem, im trying to bind a combobox in base to another combobox value and i cant...someone can help me dont pay attention to the sql command it´s a little confuse.... but it's ok here is the code: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handle ...Show All
Visual FoxPro Which one is faster, cursors, queries, local views, other?
Hello, I'm using VFP 7 on a very old machine. I'm working with very large tables and I need to create a lot of queries, but my tables are so large it takes forever to load the results. I've been creating cursors on the run from SELECT statements but it's still very slow.... What can I do to optimize my queries/views so they are much faster... I'm new to this, so I don't know much... I just need to be able to run all this queries without freezing my pc.. Are cursors a good option should I change my indexes Thank you so much Yes, Start by reviewing your indexes, joins and where criter ...Show All
SQL Server Local Cubes Creation...
Hi, 1. Has anyone been able to generate local cubes in SSAS2K5 using XMLA I run profiler while running a CREATE GLOBAL CUBE but wasn't able to view the relevant XMLA code that creates the local cube. 2. After running a CREATE GLOBAL CUBE on one of our cubes and, while trying to access it using Excel 2003, I am not able to choose a cube (the cube list is empty!!!!). Thanks, Joao Bilhim With regard to (2) - if the Create global cube statement succeeded -it would have created a .cub file in the directory that you specified. You should be able to select it directly in Excel and access it. ...Show All
Visual Basic initialise settings variable
Hey guys, In my application I have a setting that is an arraylist variable. I keep getting a Nullreference exception because it hasn't been initialised yet. So easy I initialise it but then it does that every single time I start up and the variable is emptied every single time when I want to be able to save it on exit and reload everytime. Is there anyway i can get some code to run on the first time the application is run to initialise it or even something that can tell whether it has been initialised already. Thanks in advan ...Show All
Visual Studio Adding Project to existing source safe nodes
I have taken a project(vs.net 03) that was in source safe and removed all the source safe files and references. Then i converted the project to vs.net 05. Now the problem comes in with that i want to put this project back into sourcesafe under the exisitng project folders etc. I want to load it as a totally ew version but in the same project folder. Can anyone help me with this Hi Michael, If the project you're talking about is a web project, you should not bind it to the same location where VS2003 project was. The reason is that web projects in Vs2005 don't have a project file to track which files are p ...Show All
Visual Studio Team System Workspaces are broken
I created a team project, created a distributed app in that project and checked it in. I then created another team project, created a native C++ app in that project and checked it in. Doing the above broke Team Build since both projects were associated with a single source control workspace. So I created a second workspace for the second project, and created a mapping in that workspace between the source control branch and working folder for that project. Team build is now happy, but the project itself is broken. Opening the source control explorer for the second project shows no mapping for any of the files, nor can I find any ...Show All
SQL Server What is the ADO DataType for nVarchAR(max)
I can't seem to get nvarchar(max) to work with ADO 2.8 using sql native client. I am creating a stored procedure and every time i attempt to add a parameter to the command object of type nVarChar(max) I receive the error "Parameter object is improperly defined" here is the code to add the parameter cmd.Parameters.Append cmd.createparameter(@piComments,adLongVarWChar,adparaminput,,me.comments) adLongVarWChar is the ado data type i am using to map to the new nVarChar(max) but it does not appear to be working. Is this supported in ADO I am using the sql native client connection to connect to the database as foll ...Show All
Visual Studio Express Editions GetFiles Pattern
Hi, I use the following code to get all *.tlg files of an specified directory: folderName = OpenFolderDialog.SelectedPath Files = Directory.GetFiles(folderName, "*.tlg" ) Unfortunatelly, I've no idea, how to select files with different extensions. This one isn't working: Files = Directory.GetFiles(folderName, "*.tlg;*.txt" ) How do I have to specify the searchpattern for GetFiles Hi there, As far as I am aware, the ability to select files with different extensions with a single call to GetFiles() is not available. According to the MSDN documentation ( System.IO.DirectoryInfo.Ge ...Show All
Visual C++ Getting Visual Studio 2005 to create missing directories
I just upgraded to Visual Studio 2005 and want to know how to set the development environment to create missing build directories. For example. If I have my intermediate directory path under /test/debug/intermediate/ I do not want to have to go and manually create that directory before doing the build. Can anyone tell me where the switch is Those intermediate directories should have been created automatically at the start of build. What troubles are you having with the build You can change the build paths by going to Project Properties -> General -> Intermediate Directory. You can create ...Show All
