Mohsen Kokabi's Q&A profile
Visual Studio Express Editions Compile as dll?
MSVC++ used to have an option under templates>Win32 for dll templates. Now it doesn't. I read on a help issue that if this is the case you "compile as a dll". I have no clue how to do that, please help. Doesn't Visual C++ Express 2005 support Win32 console applications I also think it supports producing a DLL as long as it doesn't use stuff like MFC. ...Show All
Software Development for Windows Vista Workflow implementation in ASP.Net
Hi, I have a State machine workflow hosted in a Web Service. I want to move automatically to next state if there is no event occurred for 3 days, being the host as Web service I can’t put delay activity. What is the best alternative Please help, it is a bit urgent. Thanks, Navneet ...Show All
SQL Server Setting primary key of new row being inserted
Not sure if this is the right place for this post or not, but I'll give it a try... If I am inserting a record into a table that uses a Primary Key, but not an Identity column, how do I insert the new primary key value I started out with SQL just letting the Identity column increment itself for primary keys, but I cannot do that for this particular situation. If 'AddressID' is the primary key in the 'Address' table, could I do something like this: INSERT INTO Address (AddressID, Field1, Field2, ...) VALUES (**max value of primary key in Address table, plus 1**, 'field1data', 'field2data', ...); If that works, how would I make this part of the insert query: **max value of primary key in Address table, plus 1** I hope this question is clea ...Show All
Visual Studio Team System Overriding CoreLabel
I have overrided CoreLabel in my Team Build Type like that: < Target Name = " CoreLabel " Condition = " '$(IsDesktopBuild)'!='true' " DependsOnTargets = " $(CoreLabelDependsOn) " > < Label Condition = " '$(SkipLabel)'!='true' " Workspace = " $(WorkspaceName) " Name = " $(BuildNumber) " Version = " W$(WorkspaceName) " Files = " $/$(TeamProject)/Server " Recursive = " true " /> hoping that when the build succeeds it will only update the "Integration build" field of the work items that are under the area "MyTeamProject/Server". But by the first build completion, Team Build still upgrade ...Show All
Community Chat who is DirectX 10 ??
i link DirectX 10 and windows XP sp3 download address plz XP SP3 Estimated release date - not for a long time... DirectX 10 - XP cannot run DirectX 10. Get Vista. Get the latest directX SDK ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creators Club Benefits
"Both subscriptions provide aspiring game developers with access to thousands of game assets from Microsoft and key partners such as Turbo Squid Inc., as well as white papers, specialized starter kits, samples and technical product support to help turn Your World, Your Game into a reality." Am I missing something here Where can I get access to these 'specialized starter kits' and 'samples' Have I been deceived into buying this subscription If so, is there some way I can get my money back Maybe I'm missing something... Since Xbox lib/classes < Windows lib/classes, your totally sweet game should be able to converted to a totally sweet Windows game pretty easily... On the ...Show All
.NET Development Windows Vista x64 Conexant Audio Driver Problem
I Have a gateway Laptop, Model number MX6437. AMD Turion64 processor, ATI Radeon Xpress 200m Graphics, 1 Gig of Ram (upgraded from 512). I Downloaded The Windows Vista Beta 2 x64 bit Version. It installed ok, but I have Found I have no Sound driver. I have Tried Windows Update, no luck. I Have Also Rebooted my pc and pressed f8 and turned off the Assighn digital signiture. Rebooted, Still no sound. I have tried Drivers that people on here have recomended but still no luck. Even the ati south bridge driver. every time i do an install on thier recommended driver they say worked for them, i get an error message saying: error installing software. The specified file cannont be found. I still have a red x in the sound icon. I have a conexant aud ...Show All
Visual C++ Passing C++ objects from managed C++ to unmanaged C++ and vice versa
I've an unmanaged C++ app which uses an managed C++ DLL to create a Windows Forms UI. The app has a callback API which provides functions that allow the UI to retrieve data from the app. These use std::wstring for transferring string data with prototypes such as: wstring GetTitle(); void GetText(wstring& text1, wstring& text2); Therefore from my managed C++, I need to do this: wstring title = callback->GetTitle(); and this: wstring text1, text2; callback->GetText(text1, text2); [callback is a pointer to a C++ object in the unmanaged app] It's not clear to me what I need to do to make this work correctly because I've not seen this scenario discussed in any documentation I've seen. Can anyone advise i ...Show All
Smart Device Development byte straming on ppc via bluetooth
i have to do byte streaming (sound file) between 2 hp ipaq PPC via bluetooth . i've just known that i should open serial port and send data. but i don't know how to code it at all. can u give me some referrences or example code about this,please i need to send a progress report to my professor this week,so feel depressed. 1. Your device definately supports Bluetooth (compliant with 1.2) using the WIDCOMM Bluetooth Stack therefore you can communicate using virtual serial ports over the Bluetooth radio medium. When you open the serial port the iPAQ will display a "Bluetooth Browser" window for you to select the target bluetooth device. Unfortunately bypassing this requires either the purchase of a 3 ...Show All
Visual Basic Form1.Designer.Vb or Form1.Vb??
Dear folks, I’ve got a group of VB projects in my Solution Explorer. One is a Windows Service project, other a Application Console and the last one is a Windows Applicaton. Fine. When I take Windows Application project and add a new Windows Form I see Form2.Vb and nothing else. As usual. But I’ve added MSDVideo project sample and I see now how the ones VB forms own when you expand a “xxxxxdesigner.VB“ I mean, for example if add in that project a new form named Form4 I’ll obtain a couple of references: Form4.Vb-> Form4.Designer.Vb I don’t get the point at all how do the same in the other projects. I don’t mind in the slightest but I feel curiosity for this behaviour. Why, I wonder, a t the end of the d ...Show All
SQL Server Virtual cube in AS2000 SE?
A simple question: Does AS2000 Standard Edition support Virtual cubes ...Show All
SQL Server Stored credentials on Shared Data Source
I'm trying to use stored credentials to enable caching. I've created a special windows user account with minimum permissions for just this task, and once set up, it works great (almost). I can update the shared data source using SQL Mgt Studio or directly via the Report Manager to use a set of - windows - stored credentials. But I don't seem to be able to do the same via VS.NET 2005. I can only store - SQL - credentials, which I have no need to enable and no desire to add to my surface area. The problem lies that every time I deploy any report that using that data source (which is nearly all of them), the data source is re-published, which wipes out the stored credentials and caching immediately stops. I've tried messing with the ...Show All
SQL Server Weird BIDS error message
For some unknown reason, I'm suddenly experiencing the following error when I open a package in BIDS: Error 1 Error loading DimPromotionDemo.dtsx: The connection "" is not found. This error is thrown by Connections collection when the specific connection element is not found. c:\mdwt_projects\aworders_simple\aworders_simple\aworders_simple\DimPromotionDemo.dtsx 1 1 I don't see any error icons anywhere in my package. How do I go about figuring out what's wrong Duane Douglas wrote: For some unknown reason, I'm suddenly experiencing the following error when I open a package in BIDS: Error 1 Error loading DimPromotionDemo.dtsx: The connection "" is not foun ...Show All
SQL Server SS2005 SP1 + Cummlative hotfixes - snapshot replication startIndex cannot be less than zero
Hi, has anyone got the following error message before It seems like it occurred when the snapshot creation agent reached the UDF fn_getOwner(): StartIndex cannot be less than zero. Parameter name: startIndex Error messages: Message: StartIndex cannot be less than zero. Parameter name: startIndex Command Text: select 'number' = convert(int, 0), 'definition' = definition from sys.sql_modules where object_id = object_id(@qualified_object_name) union all select 'number' = convert(int, procedure_number), 'definition' = definition from sys.numbered_procedures where object_id = object_id(@qualified_object_name) Parameters: @qualified_object_name = [dbo].[fn_getOwner] Stack: at Microsoft.SqlServer.Replication.AgentCore.Execu ...Show All
Commerce Server web service authentication
Hi I've followed the installation procedures in both the CSharpSite and StarterSite guides, and made sure that all database access is correct, the application pools have the right identity and loaded the authentication store XML files into azman then set the identity for the roles within it. The error I'm getting when I run the web service in IE is: System.Web.Services.Protocols.SoapException: Authenticated identity not available. The current method requires a valid IPrincipal object to be set on the current thread and with the "IsAuthenticated" property set to true. If the MarketingContext is running in ASP.NET (for example, in a Web service), ensure that "Anonymous access" is not enabled for t ...Show All
