Ntc's Q&A profile
Visual Studio Express Editions Command Line in C++
Hi, Guyz, I have encountered a problem, i have installed VS C++ 2005 Express Edition on my computer and have realised that there is not 'devenv.exe' that would go with it or with the PSDK that i have downloaded too. if anyone knows or had similar issues on how to call / build / compile etc projects in VS C++ 2005, please post the commands that are used, or links that would tell me how. It seems to be a simple thinkg, but i just cannot get the answer, i was looking for so long on the web. Any help would be appreciated. Many thanks, in advance, Dmitry Ayman Shoukry - MSFT wrote: What I meant is that if you are using cl.exe then you need to set the lib and include environment variabl ...Show All
Visual C++ C++ beginner
Okay what i have to do is (a) Code the implementation of a Person class (2 person object are equal if they have the same name) (b) Code the implementation of a Worker class (c) The program must read in the name age and workplace (comma delimited) from the console in to a worker object and store in a vector. (use method developed in part e.) (d) When the user inputs aname of "end" , the program must display all worker entries that have been previously read in and exit. (e) Write a method which stores each Worker object in a vector. This should be passed references to the Worker object and the vector. A Worker should only be stored in the vector once. Do not add to the vector if the obje ...Show All
Visual Studio Express Editions Visual C# Express Edition-Daniel Teijo
-I am having problems with the download of Visual C# Express Edition. -From the Microsoft Website I was able to download “vcssetup.exe” (2.8 MB), Up to that point everything was alright. -When I tried to install it, the application showed two options: one of 300MB and the other with 55 MB. But….I have a dial-up connection, so while patiently waiting to complete the download (several times) of both versions within two consecutive days, an error appeared and the connections were shut down. -Also, I tried to download the software through the computer at my job, but I do not have the privileges to do such. -What would you suggest for me to do in this type of situation And would you be able to help me with this type of issue Thanks, Daniel ...Show All
Software Development for Windows Vista IMAPIv2 using Visual Studio 2003
Is it possible to build IMAPIv2 clients using Visual Studio 2003 To a degree, I guess this is the same as asking whether the Vista version of the platform sdk is usable from Visual Studio 2003. I encounter problems almost immediately, when trying to just #include <atlBase.h> (WinSock2.h related errors which tells me I am quickly going onto a path that I do not want to chase down :-) ) The platform selection is not under my control (I would rather be on VS2005 anyway) - but they need to do some media creation on Vista. If this is not officially supported - is there anyone out there doing it anyway TIA Hi foobarX, We very rarely use Visual Studio interna ...Show All
SQL Server SQL Mail set up
Hi, I am trying to set up SQL Mail. Problem is our firm switched to a third party email provider. Outlook is set up with a profile that works fine from the sql box when connecting to the external exhange box, but I can't make it work from SQL Agent or xp_sendmail. Get the error: xp_startmail: failed with mail error 0x8004011d The profile is set to use Exchange Proxy Settings to get to the external mail server. Is there any other solution to get this set up to work with SQL Mail Using Outlook client 2003 SQL Server 2005 Asim. Thanks oj, but I know that very well. I have actually persuaded them to switch to Database Mail. The plan was to do that l ...Show All
Visual Studio 2008 (Pre-release) if client use more than one service
Dear All, Please explain me, how client can access more than one service I generate 2 proxy-files over "svcutil" tool but these files cannot be compiled together in one project because it has doubled types in this proxies. If anybody have a sample - it would be great! Below is something else you can. Its a kludge but seems to do the job. The result is a single dll that contains all service types with no duplicates. 1. generate service proxy for FooService 2. compile FooProxy 3. generate service proxy for BarService referencing compiled FooService for shared types 4. compile BarProxy 5. *optional merge c ...Show All
Visual Studio Express Editions Unable to register product with Limited User Account
I have my 'travel' laptop set up with a limited account that I use to do all my work. having downloaded VS C# (and Web Dev and J#), I am unable to register them as my limited user. It reports that the key is invalid (though the same keys work once I switched to the "administrator" user. The product was installed by the "administrator" user, but only shows as registered for that user. I am unable to register for the limited user. I can change permissions on various registry keys, but I'd need to know what to change. You can not use the same key for different users on the same computer. You will need to register each installation per user that need to use it. You can register using the ...Show All
Visual C++ Class help
I keep getting some errors due to my classes. I was hoping someone could help me with these errors. c:\documents and settings\xx\my documents\visual studio 2005\projects\dung and drag\dung and drag\item.h(13) : warning C4996: 'strcpy' was declared deprecated c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy' Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' Compiling... Player.cpp c:\documents and settings\xx\my documents\visual studio 2005\projects\dung and drag\dung and drag\player.h(10) : error C2011: 'PLAYER' : 'class' type redefinition c:\documents and settings\ ...Show All
SQL Server Very Urgent, Done a mistake. please help
I am using Sql Server 2005, i have two tables master and details. accidently i excuted an update query to change column name called transaction refererence(t_ref). in master and details table t_ref is the reference column. instead of update one record in detail. my updated query change change all the reference into one. i feel like escape from my company. i scared pls help. any way to roll back. following is the query i have excuted, which going to cause damage in my life, pls help --update t_details set t_ref='TR2007/02/27-4:16:52 PM' --where serialnumber='771110012657' and t_ref='TR2007/03/02-4:16:52 PM' I would recommend that you read more on SQL Server Backup and Recovery. This will help you understand what our friend is ...Show All
Windows Forms Splitcontainer position relative to Panels
I have a point whose position w.r.t Splitcontainer, I would like to get the co-ordinates of the same point w.r.t Panels. And point co-ordinates are going to change depending on the orientation of Splitcontainer. How are you getting the point w.r.t SplitContainer You can convert the client coordinates of one control to the client coordinates of another by using Control.PointToScreen then Control.PointToClient. For example, if you SplitContainer object is named "splitContainer" and your Panel object is named "panel" then you'd perform the conversion like so: Point screenPoint = splitContainer.PointToScreen(point); Point newPoint = panel.PointToClient(screenPoint); ...Show All
Visual Studio 2008 (Pre-release) net.TCP binding under Windows Vista
Say, is anyone else using WCF under Vista and seeing delays on the order of 7-8 seconds when a WCF client, using the net.TCP binding, establishes a connection with a non-local service I have a service running on one machine and a client running on another. Both are running Vista on the same intranet using no security (message or transport). If I turn on tracing and view the log using svctraceviewer, it appears as though it takes 7-8 seconds between the time the TCP connection is initiated and the Socket Connection is created. <TimeCreated SystemTime="2006-11-26T00:07:53.0026996Z" /> <Description>Initiating TCP connection.</Description> ... <TimeCreated SystemTime="2006-11-26T00:08:00.4182406Z" /> &l ...Show All
Software Development for Windows Vista Writing to Global Shared memory from an Application in Vista.
Hi all, Global shared memory is created by a service which is used by my user mode application to communicate with the service through global mutexes and events. This as of now works well in Vista RC1. 1) Are there any restrictions that an application should not write to global shared memory already created by service This application does not has any elevated privileges. 2) Can application created global named objects like event and mutex Again the application is running under a standard user privilege and not as admin. 3) Can a 32bit application on a 64bit machine get interfaces to a 64bit Local server COM object Is there any special processing required in the 32bit app or in the 64bit local server COM object. Regards, ...Show All
SQL Server Snippet: SQL to get the data back out.
We're having a hard time with SQL 05's xml. In a nutshell, I have a schema. I have used .Net 2.0's xsd tool to create classes from this schema. This schema is also tied to a XML column in my database server. So far so good. However, when I go to deserialize the xml data stored in the database server I'm getting inconsistent results. Namely the differences in the following queries: SELECT LoanXML.query('declare namespace MISMO="http://mrgdev.local/mismo/";//MISMO:LOAN') FROM Loans WHERE Loans.InternalID = @LoanID returns something completely different from: SELECT LoanXML from Loans where InternalID = @LoanID The difference is that the first query throws xsi:nil=true into EVERY SINGLE NODE. Whereas the second one doesn't ...Show All
.NET Development Why Tables.Rows.Count is 0 even though rows are displayed in DataGrid
1. I have a webforms application. 2. I am checking the number of rows is higher than 0 if (DataSet1.Tables(0).Rows.Count() > 0) 3. The value is always 0 even though I have retrieved rows from this DataTable into my DataGrid. Any Ideas Please help.. I may have the answer, but I may be wrong. To me I see two places. One, should you use square brackets for the index search Also, it seems like you are using a property as a function and should remove the round brackets after Count. Ex; if(DataSet1.Tables[0].Rows.Count > 0) ...Show All
SQL Server How can I get the last record?
Hi guys, Greetings! I would like to know the last record from my table let say "Inventory" What I want to do is to get the record from a certain field "referenceNumber" This field is in the form of "YYYY-N" "2007-1" . If I can find the last record I can then increment it by one like "2007-2" will be the next alloted referenceNumber... How can I do this Please give me a code starting from the connection... I'm very new to this technology. Thank you very much to those who will respond. Regards, MAX(referenceNumber) might not work correctly because referenceNumber seems to be a VARCHAR datatype, from which you would get "2007-10&quo ...Show All
