Steven D's Q&A profile
Software Development for Windows Vista Application Verifier LUA PRIV/WRP error during install
I am performing the following steps for the Certified for Windows Vista Test Case 20 1. Open AppVerifier 3.2 2 . 2. Attach application install executable to AppVerifier including msiexe.exe. a. Enable the LuaPriv check 3. Install application 4. Once install is complete, view AppVerifier Install Logs. a. Search logs for LuaPriv 5. For each LuaPriv Error: a. Check Error to ensure the application did not attempt to write to or replace any WRP Registry Key or Windows System File. Make note of any WRP Registry Key or Windows System File that the application attempted to write to or replace. From the generated XML file you are suppos ...Show All
Visual FoxPro MS SQL Server or VFP Database???
Hi every one, hi MVFPs, I am working with SQL Server database, but I wonder that I've got some big problem with SQL table that has more than 500,000 records. If there are about 50 connections access to that table with select, update,,, task, the SQL will become very slowly and return error message as: ....query out of time,,, or dead lock.... If I work with VFP database, there are about more 100 connections with command "use" the table, and so often tasks to seek, select, update.... but It still work well even if not too fast. And I have a VFP table with more than 1,5 billion records working hard like that. So now I don't know if I will working with VFP database or getting SQL instead because of the more security of usin ...Show All
Visual C++ Problem migrating to Visual Studios 2005
I'm trying to convert a project i've been working on from eVC++ to Visual Studios 2005. The header files are in the same folder as the source files but apparently they do not exist when i try to compile. gives me a problem with my include statements saying stuff like "cannot find include file "StdAfx.h" \n Does not exist. Any help on the matter would be much appreciated, thanks. Thanks for the reply. Unfortunately I am currently not using precompiled headers. It is saying the name of the header file that exists in the same directory as the cpp file. Ie. foo.cpp #include foo.h foo.h both in the same directory but it has a problem with the include statement. Any further help is once again greatly a ...Show All
Windows Forms Article list on windowsforms.net home page
Hi, I'm after a particular article which was linked to (I think) a couple of months back on the windowsforms.net home page, but there doesn't appear to be any way of accessing these older links; only the most recent articles can be accessed. Am I missing a trick in order to get to these older article links Many thanks John. have you looked at http://www.windowsforms.net/Default.aspx tabindex=2&tabid=40 at the topy you will find categories list or you can use search ...Show All
Game Technologies: DirectX, XNA, XACT, etc. D3D10 Sprites are insane.
I'm trying to draw a single sprite to the screen. I have a window created (640,480) and the texture loaded in properly. The sprite drawing uses the code below in a Render() function. When run, the sprite does show up but is either tiny when scaling is not applied or skewed when scaling is applied. I know i'm messing up the scaling value, i'm just confused on what the formula should be for calculating it. Right now, i'm using example code from DXUT.cpp which says the scale should be (windowx/textureWidth) and (windowy/textureHeight). This gets the sprite close, but the result is skewed. Could someone please take a look at the code below and see if you see any glaring issues Thanks. Render() { // clear the target buffer ...Show All
.NET Development Navigating XML with C#
Hello, I want to be able to go up and down the XML once I find the data element I'm looking for and retrieve it's associated data in other nodes of the tree. This is a TV lisings XML data set and here's a very small portion of it. < < xml version="1.0" > - <xtvd> - <schedules> <schedule program="EP0019520018" station="16123" time="2006-12-18T09:00:00Z" duration="PT00H30M" tvRating="TV-G" /> </schedules> - <programs> - <program id="EP0019520018"> <title>Green Acres</title> <subtitle>Oh, Promise Me</subtitle> <description>An error may mean Oliver and Lisa are not married.</description& ...Show All
Community Chat JimmyWidgets
--- Original Post --- Hi everyone! My current project is JimmyWidgets, a widget program like Apple Dashboard, but for PC! You can even make new widgets in DLL format and post em on the online database! When I've made more widgets (I've only got 2 at the moment), I'll post it at www.jimmyware.co.uk . It's going to be open-source, so you can download the source from there too. Here's a screenshot: http://www.freewebs.com/robinjam/JimmyWidgets%5FScreenshot.jpg I await any comments/suggestions! (But please don't be too harsh about my efforts, it took me HOURS) P.S. A list of problems I need to fix: The online database currently lets you download the same widget twice, making startup time longer (because ...Show All
Visual C# contents of release mode
Hi My solution consists of three project that creats three dlls. first projects dll is used by 2nd project and 2nd projects dll is used by 3rd 1. do i required to release all these 3 dlls r only the 3rd 1. how i can release it regards Yes. other machine has the .Net framework on it and it is the correct version as it is same as on my machine, application can upload and run the chield dll but it is missing to call the parents dll methods. do i missing any referance r configuration ...Show All
SQL Server SQL Query to output formatted Excel file
I need to create a query (SQL 2000) that renders a formatted excel (xml or xls) file for each row that is outputted. The details, I have a Campaign table that contains information for Auto and Life "Leads" and the data is submitted by telemarketers directly into the database. I need to render a file for each line, and it would be good if It were an Excel XML or XLS file, because that's what we've been using for a while. hi try this query Exec master .. xp_cmdshell 'bcp "use dbName; select * from tableName" queryout "e:\test.xls" -c -CRAW' hope this will help you ...Show All
Visual C# Trying to determine Class by a string value
I'm having a DUH moment here and hopefully someone can answer it before I'm bald... I have a string that contains the name of the class and I want to create a new instance of the class that's referrred to. I have: string classToUse = "StartMeUp"; I have a class called StartMeUp that does some function... Of course, I want to create a statement similiar to: StartMeUp smu = new StartMeUp(); However, I've forgotten how to use the string to get to an object name... any helpers out there You're correct... when I tried it, I couldn't come up with logic to do that step, but due to having a short deadline for the prototype, I implemented a switch to determine which class to run, although I'm going to try this ...Show All
Visual Studio Composing boilerplate components in Dsl designer
I would like to create a component-like language much like the component examples. I my case, however, the components cannot be defined by the user, but have to be picked from a pre-defined list. Each component type will be represented by a geometry shape and a collection of ports. A diagram will consist of a collection of interconnected boilerplate components. Any ideas on how to go about defining the components in the Dsl designer Assuming that you fix the set of pre-defined components in the language, then you can create a component class in the dsl definition, and subclass that with the specific types if component you want to define. You will then need to write some custom code, a custom ...Show All
Visual Studio How to let ReportViewer in ASP.net 2.0 local mode to change Report definition
If reportviewer is used in Form application, ReportPath can be set. But in asp.net the same method does not work. protected void Button1_Click(object sender, EventArgs e) { if (this.strOrderBy == "Customer") { this.rvPrice.LocalReport.ReportPath = @"Report\PriceCustomer.rdlc"; } &nbs ...Show All
SQL Server Executing Remote Stored Procedures in Triggers
Hi, I've been scratching my head over this problem for quite a while. I have two SQL SERVER 2005 servers running on the same network, lets call them ServA and ServB. ServB is configured as a linked server on ServA as LinkedServB. On ServA, there is a database called DatabaseA, in which there is a table called TableAA, on which I wrote a trigger on delete. In that trigger, I want to update a table, lets call it TableBB, in DatabaseB on ServB. So the trigger looks like this: CREATE TRIGGER triggerAfterDelete ON TableAA AFTER DELETE AS BEGIN SET NOCOUNT ON; Update [LinkedServB].[DatabaseB].[dbo].[TableBB] set [SomeColumn] = 'SomeValue' where [SomeOtherColumn] = 'SomeOtherValue' END When I delete something from Ta ...Show All
Visual Studio Express Editions How do I at Run time add the mousehover elements to a picturebox
The code below is what I am useing to add pictureboxs to a form. What do I need to add the mousehover to them. Thanks Private Sub InitializePictureBox() Dim e As EventArgs = Nothing PictureBox1 = New PictureBox ' Set the location and size of the PictureBox control. Me.MyText.Text = "Sample" Me.PictureBox1.Location = New System.Drawing.Point(x, y) Me.PictureBox1.Size = New System.Drawing.Size(8, 8) Me.PictureBox1.Tab ...Show All
SQL Server Bulk Insert -- Access denied issues
Problem: Insert a network file in the DB using BULK Insert Works for a local sqlcmd connection. Does not work for a remote sqlcmd connection. SQL Server is running on Machine 'WalRepTest'. User account for SQL Server Service: 'Domain\vivek_uppal'. This has admin privilieges on SQL Server machine and the machine hosting the file. I have 2 scenarios. Scenario 1 behaves as expected, Scenario 2 causes error. Scenario 1. Connect using sqlcmd from local machine Machine: WalRepTest Windows user: Domain\vivek_uppal Sql login using the cmd ...Show All
