Sam Jost's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Can not create reference D3D device 10 on VISTA build5472
It returns E_OUTOFMEMORY everytime I tried to create a D3DDevice10. -SDK version: June 2006 -VISTA version: Beta 2 build 5472 (x64) -IDE : Visual Studio 2005 I tried both my own code and the 2nd tutorial. Any ideas If you're using the August SDK, the known issues readme page gives a good clue: Windows Vista RC1 Is Required for the Direct3D Technology Preview The August 2006 Direct3DR 10 Technology Preview is only supported on Windows Vista RC1: it is not supported on previous releases of Windows Vista. If you're using the June SDK, it only works with the original beta 2, not the refresh. ...Show All
Windows Forms Click once with reading files
Hi All, I wanted to deploy the click once published application programmatically.I have done that successfully. Now I have a requirement, I need to read one of the downloaded file and do some actions depending up on the entry in th file. Suppose if I have the batch file I should run the batch file before I run the application which is deployed. I could able to get the manifest information. How will I get the downloaded file Info I know that when you install using click once the application is installed in the local cache..... Is there any way I will get the downloaded file Regards, Santha Hi, if I understand correctly, your file is already deployed (downloaded) with the applicati ...Show All
.NET Development .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506)
It seems that most of the individuals are either getting this error message in Visual Studio, one of the Visual Express environments, or an ASP page. I've got a service on one customer's machine that is receiving the following two errors in his Event Log prior to a crash on said service: Event Type: Error Event Source: .NET Runtime Event Category: None Event ID: 1023 Date: 7/25/2006 Time: 9:25:06 AM User: N/A Computer: XXX Description: .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506) Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 1000 Date: 7/25/2006 Time: 9:25:09 AM User: N/A Computer: COPYCENTER01 Description: Faulting application XYZ.exe, versi ...Show All
Visual Basic php editor
hi there i am making a php editor and i wanna ask about 2 things : 1-what is the regex -not like in the msdn ,coz i got notthing from it,- and can i use something else 2-how can i make the *.php files open with my editor only thank man -shokran- is there a way i can highlight the php code without using this " regex" thing coz i got nothing about it :S ...Show All
SQL Server Refreshing Data in Hyperion Essbase Cubes
Hi all, Normally I would be using SSAS but our finance department make use of Hyperion Essbase. I was wondering whether it was possible to upload data into an Essbase cube using SSIS in the same way that you can use the Analysis Services processing task I realise there are no specific task for Essbase, but are there any suggestions about what would be the best way of going about this regards Colin I suggest asking on the Hyperion Developer network. http://dev.hyperion.com/ If it is possible to update a cube using Visual Basic .Net, then you can do this using script in SSIS. It should be possible through their API: http://dev.hyperion.com/techdocs/essbase/essbase_61/Docs/api/api_vb/m ...Show All
.NET Development insert row into table with autoincrement primary key
I have a table in a dataset with a column being autoincrement and primary key. My question is: How do i insert rows into this table been using DataRow Row = Table.NewRow(); and then setting fields and Table.Rows.Add(Row); But if i don't set a value for the id column it won't let me insert the row. Shouldn't the id column be updated automatically One thing you will want to do is set the autoincrement property to -1. this will insure a unique Key when your update is performed on the database. For example If I do a filtered read and it returns the IDs 1, 2, and 3. The data set will auto increment 4. When I do this write to the database if there is an ID of 4 you will get an exception. The big question is why ...Show All
Software Development for Windows Vista Methods of base workflow not visible in Intellisense of derived workflow
I created a base workflow class "MyBaseWorkflow", derived from SequentialWorkflowactivity. this class defines some methods, like "MyEntity GetEntity(Guid string)", to get a certain entity from a database. Then I created a workflow which derives from "MyBaseWorkflow". The problem ist, the GetEntity method is not visible in any Intellisense window, e.g. in the rule declaration wizard. That means, I cannot provide the workflow developer with easy-to-consume "helper" methods to accomplish this task. Is there any way to do this better, or can I attach an attribute or such in order to let these base class methods appear in the designer Thanks for any help, Urs ...Show All
SQL Server Normalization Question.
I have few doubts whether the following DB structure is good or rubbish. Suppose you are an organization has many cinemas,Theatres,Venues etc: Cinemas Theatres Venues etc and you want to store-retrieve about each one of this item would you normalize like this Organization Table ================== orgID PK OrgName CinemaInOrganization ================== OrgID PK CinID PK TheatreInOrganization ================== OrgID PK CinID PK VenueInOrganization ==================== OrgID PK VenID PK Do you envisage any problem with querying tables with this structure Thanks a lot in advance Not really, it largely depends on how your systems handle the Theatres, Cinemas and Venues. ...Show All
Windows Forms Uninstall dialog box
I have created a setup project with Visual Studio 2005 that puts an uninstall link in the startup directory. The link points to a simple .bat file that contains the single following line msiexec /x {guid} Yet, this is not very satisfying because when the user clicks on the Uninstall link, he gets an dialog box that does not contains the name of the application to Uninstall. Basically, the user is prompted to confirm the application removal, but the dialog box does not tell which application is close to get uninstalled. Does anyone has an idea how to "complete" the uninstall dialog box Thanks in advance, Joannes http://www.lokad.com , business forecasting provider Anot ...Show All
Visual Studio Express Editions Sql Database adding/updating/removing
Hi I know how to make an sql connection to a remote server and how to read data out of it, but know I want to know how to add, update or remove data from the database. Can anyone give me some examples of this please or give some basiscode of how to do it Thanks in advance. Tnx for the info. I found what I was looking for in your last link( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=728535&SiteID=1 ). Going to try it know and if I get an error or something I'm going to post it here. ...Show All
Windows Forms Overwriting App.config
My application uses an app.config file to define the address of a messaging service that is used to handle DB access. This address is usually an IP address but could also be a URL. The problem I'm having is that at each of our client locations, this address is different and using ClickOnce for updates is replacing the app.config at each client with the version that was published. In the previous version of our application, we used the application updater blocks for deploying software updates. Using that, we were able to download the new version, then copy the app.config settings from the previous version into the new version so that client specific app.config settings would not be lost after updating. Is there a way to do this using Cl ...Show All
Visual Studio Control+C (user break) handling disabled when program launched from Tools menu
I have a C++ Win32 console program in which I trap Control+C (SIGINT) with my own handler. This works just fine when the program is started from within Visual Studio 2005 using the menu items Debug\Start Debugging or Debug\Start Without Debugging, or when the program is started outside of Visual Studio. However, if I use Tools\External Tools to create a tool that starts the program, and if I start it using that, my handler no longer gets called. This is a big problem because many users of my program use Visual Studio 2005 and start my program from the Tools menu. Does anyone know how to solve this problem Thanks, Jim OK - so the code looks like it changes a couple of parameters based o ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The Unofficial "Hooray I'm Done With my DBP Game" Thread
When you get done with you game and sumbit it, crow about it here. A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits. Bill Almost done with mine but I'll have to wait until tomorrow night to upload it. It's pass midnight right now and I need sleep. ...Show All
.NET Development Serialport freezes
Hello, i'm developing app which reads incoming data from GPS receiver via serial port. The problem is that app freezes sometimes, even in Visual Studio IDE, when i attempt to close the app. Thank you for any kind hint. Thank you for your reply. I'm reading the input in DataReceived event handler and using this construction: while (serialport.BytesToRead > 0) { ch = (char)serialport.ReadChar(); } Do you think that Timeout can come to play in such situation, please ...Show All
Visual C# How to set breakpoints in other projects when current is using binary references
This is in VS 2003 I haven't tried to set debug points in other projects that are tied to this project. What I mean is, I am building my windows form, running it and would like to set debug points in a couple of other projects that this one is using a binary reference to. We are not going to be using project references, because it's our standard not to. So I am not just going to add the other projets inside this solution. I tried to open my other 2 solution files, tried to set breakpoints, then ran my current project but it's not stopping at the breakpoints I set outside this project, in my other 2 solutions. I know the code is htting those methods but it's not stopping at my breakpoints outside this one I'm runnin ...Show All
