farnaz1's Q&A profile
Visual C++ Include files build order
All, line 222 in winnt.h reads like this: typedef void * POINTER_64 PVOID64; and creates the error message Error C2146: syntax error: missing ';' before identifier PVOID64. I am trying to throw VC++ 2005 Express on Windows 2000 Pro SP4 at a modifed version of the amcap sample program of DirectShow. This is the version I have downloaded with DirectX 9.0b on 11 Oct. 2004 and have successfully used with VC++ 6 SP5 on the same program. (The DXSDK involved is (one of) the last issue of DirectX that included DirectShow.) I have the platform SDK downloaded, and putting i ...Show All
Windows Forms PocketTaskVision in VB.NET?
Will there be the sample PocketTaskVision also available in VB.NET Thanks Michael Update on PocketTaskVision for VB .net Andrew ...Show All
Visual Studio Express Editions Service Pack packaging for SQL Server 2005 Express Edition
Hi All, The product that I'm working on will be using "SQL Server 2005 Express Edition" as underlying DB and SQLEXPR.exe will be shipped with the product. My question is does anyone know how Microsoft will package fixes to "SQL Server 2005 Express Edition", as Service Pack, Hot fix, other forms In another word, what would Microsoft advise to distribute the fixes to customers This should be a direct question for Microsoft but I though someone here may have encountered this already. Thanks a lot. Jason Li More then likely they will be using the new Microsoft Update service to rol ...Show All
Windows Forms Where does the source folder of my program, if I use "available Online&Offline"
I find only path to shortcut in shortcut properties (in Start menu). Hi ! But if I have machines used by more than one user, I have a problem. The same application will be installed for each user using the machine. So, how to share the same application in the machine with more than one user Will I need to forget ClickOnce for this and use an .msi instalation file If so, my application won't have the possibility to download new versions, this will be a problem... Is there a solution for that Thanks ! []'s Dennes ...Show All
Visual Studio Team System "Auto" alerts is possible?
It is possible to make the alert "my workitems are changed by others" an automatic alert By automatic I mean that everyone is subcribed to this alert by default or there is any way to subcribe users on their behalf (So I can go in an subcribe each one to this alert) Bottom line: I want that no mather what if some one assign a workitem to another team member, the other party gets notified by default. Thanks See the example in the following post. You do specify a project, in the part "\"PortfolioProject\" = '<project>' https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=138172&SiteID=1 ...Show All
Visual C# problem with Importing DLL
i am having a problem with importing, this is my exact code I use to Import (with red indicating the error): DllImport (" User32.dll ") but my error is: The first part (DllImport): Class, struct, or interface method must have a return type the second part ("USer32.dll"): Type expected please let me know how i can fix this. Hi, here is an article about that: http://msdn.microsoft.com/msdnmag/issues/02/08/CQA/ using System.Runtime.InteropServices; // DllImport public class Win32 { [DllImport("User32.Dll")] public static extern void SetWindowText(int h, String s); } ...Show All
SQL Server Using Unicode in SQL Server
Hi I'm have big problems trying to save Unicode information into my MS SQL Server 2000 Desktop Engine. Alright, so the problem I'm having now is I'm working with MS SQL 7.0 and PHP5. I've trying to get information to save into MS SQL, however it is storing it all weird. When I save the information and try to view it in Enterprise Manager it shows it has random characters but for some weird reason I can output that information on the page correctly when I do a SELECT query. Here's an example of my problems. < php $insQ = "INSERT INTO my_tblBusiness ( pkID, fkbusinessID, ntitle, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. disposing of video when using "RenderToTexture"
hi, i am using C#, feb2006 sdk and managed directx 1. i am exploring the Video class, especially the render to texture feature. setting the whole thing up was not much of a problem, except for the total lack of documentation of this class. anyways, after some trial and error i got it work quite nicely. the class seems well designed and - once you know how - is easy to use. my problem is, i haven't found a way of safely disposing of the video object. i ALWAYS get an access violation exception when i call Video.Dispose(). mind you: this only applies to the render to texture mode. the normal window output works fine. ...Show All
.NET Development Accessing shared app.config
I would like to share one app.config file between several applications. Only one of those applications needs to be able to update the app.config file. The other applications need only to read the information. The application that "owns" the app.config file has defined under Settings: Name: DataLoc Type: String Scope: User Value: C:\Shared Database Location app.config file contains: < xml version="1.0" encoding="utf-8" > <configuration> <configSections> <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Vers ...Show All
SQL Server Dimension formula
In a sales cube I have added dimension formulas to an account dimension. Example: NetRevenuePer100kg. The formula is: NetRevenue / Quantity * 100 When I use this in a MDX query like select {[DIM_ACCOUNT].[NetRevenuePer100kg]} on columns, {[DIM_PRODUCT].[WOOD]} on rows from cube where ([DIM_TIME].[2005].[Q1]) everything is fine. But using the following calculated member in the where clause: ... member [DIM_TIME].[MY_TIME] as 'Sum([DIM_TIME].[2005].[Q1].[Jan]:[DIM_TIME].[2005].[Q1].[Mar]) ... ... where ([DIM_TIME].[MY_TIME]) I get a value which is about 3 times greater than the correct one. I think it i ...Show All
.NET Development Gathering a list of System DSN 's through the ADO .Net toolkit
Hi - I'm not sure if this is the correct place to post, so apologies in advance if it's not! I was wondering if anyone knew of a way to extract all the system DSNs from a machine in order to populate a drop-down box, without having to write code to access the relevant registry entries Is there a library provided in the .Net framework that will achieve this Any help would be much appreciated! Thanks, Mike Hi Mike, If this were provided by the framework, it would be through the .NET ODBC data provider (System.Data.Odbc). However, although there is a native ODBC API to gather DSNs (SQLDataSources), ...Show All
Windows Forms Control.Invoke & Delegates in VB
does anyone know how to use the Control.Invoke method i want to fill a treeview from a different thread, so to add the nodes i have to use the Control.Invoke method (or the Control.BeginInvoke / EndInvoke, but that sounds even more complicated) i cant find an example in MSDN thanks in advance! thanks guys! if anyone is interested, here's the cod ...Show All
Visual Studio Express Editions How to get and set the top-left cell on a DataGridView?
Hi! I' m using the DataGridView on a Windows Form. I want to return a DataGridView to former state of the display. How to get the position of the Cell that the top-left on the current DataGridView and how to set the state The 'top-left' does not means the top-left of 'the data', but 'displayed top-left'. Thanks. hi, i didn't understand what do you mean by your question but you can get the top left cell in your datagrid view through its coordinates something like this this .mydatagridview.Rows[0].Cells[0].Value = "hello" and it also have .state but ...Show All
SQL Server cant connect to server from another machine
Hi Friends I have a sql server (2005 standard edition) on Win xp machine. i can connect to this server from my machine ok but others on the network try to connect i get following error "An error has occurred during report processing. Cannot create a connection to data source 'dataSource1'. A connection was successfully established with the server, but then an error occurred during the pre-login handshake. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 0 - No process is on the other ...Show All
.NET Development can't launch the MFC application on AMD64 operating system.
Hi, I have ported an application from 32 to 64 bit and trying to run on AMD64 OS but it prompts a follwing system error. " Application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. " system error code for this message is 14001. Also, Windows event viewer displays the following message "Dependent Assembly Microsoft.Windows.Common-Controls could not be found and Last Error was The referenced assembly is not installed on your system." Is it the problem with 64SDK version or 64bit WinXP version.Currently, I h ...Show All
