TDCi's Q&A profile
Visual C++ need a book
What book can I use to learn ADO.NET and visual C++ I have found books of ADO.NET and C#. It is the same as C++ Also I can't find samples for ADO.NET in my documentation, does anybody knows where can i find them Thank's for your help in advance. Ricardo 8a Better buy used...those are rather dated titles (2001 & 2002). If you are using Visual Studio 2005 you might want to also check out : "Pro Visual C++ / CLI and the .NET 2.0 Platform" by Stephen Fraser. http://www.amazon.com/Pro-Visual-C%2B%2B-NET-Platform/dp/1590596404/sr=8-1/qid=1165809668/ref=pd_bbs_sr_1/104-9935884-8953558 ie=UTF8&s=books Like all books its not 100% complete, nor deep in some areas (its only 85 ...Show All
Visual Studio Team System Database Projects and other Team System flavors...
I'm currently looking at moving to database projects for all of our database code. I've used the older type of database project and though while not nearly as good as the new type, it has many benefits over no database project at all. I would really like to use datadude and have everything in the new database project format, however I need to enable the developers to change the database code. Is an upgrade/patch in the works for the developer version of team system to read the new database projects This is the only thing holding me back from updating the database team to using datadude. Can someone from the team please answer this It looks like from the developer version they could edit individual files, but I'm assumin ...Show All
SQL Server SaveAs/Export
Is there away with the reports to code to have them export into a excel template (a specific one) and have each report go into a different tab When I run the reports manually I can save to excel put not a pre-existing template. Each report has 3 to 12 stored procedures it needs to run so I am just not sure how to accomplish this task. Thanks in advance! Stokh If each policy_type can share the same report layout, then you should be able to use the same subreport for each policy_type. By putting the subreport into a list, it will repeat for as many rows as you have in your query. If you need different layouts for each policy type, unfortunately you won't be able to use this method; the ReportName element on a SubReport c ...Show All
Windows Forms ProgressBar
Hi All, I always collect the data from database and display in UI. But some times, it will takes long time to collect data from database and i would like to have a progress bar running in UI so that user know that there are processing running. Unfortunately, i did know the exact time of collect the data from database. So how can progress increase the value in it to the maximum. Hope u all understand what am i try to say. Thanks Kendy Set the ProgressBar's Style property to 'Marquee'. You'll see bars moving continously from left to right. ...Show All
Visual Studio Is database necessary to generate report
Hello, Members I want to generate a REPORT when user click the submit button.Clearly... I will place two textboxes with Name Ph No when I click SUBMIT button It must generate a report displaying two fields. Is database necessary to generate report Help me..please... Sincerely, bharath. If you do not want data from a database you do not need one when creating the report. You can just choose a blank report, and cancel the database part. ...Show All
Internet Explorer Development IE7 csv Problem
When downloading a csv file I would like to save it but IE7 opens it, no questions asked embedded as an Excel spreadsheet. Is there a way around this or is it up to the person who develops the web site. Cheers TheFoZ Thanks for that. You pointed me to the right place. I found It works when I change the .xls attributes. Many Thanks ...Show All
Visual Studio Express Editions Compile a stand-alone cpp using the IDE
Hey guys, can anyone tell me if it is possible to compile a stand-alone cpp using the Visual C++ Express IDE. I've seen in the other threads that it's possible using the command prompt compiler. But I dont want that! How do I compile a .cpp file without using a project It was possible in previous versions of VC++ (atleast to my knowledge!), in that if you try to compile a .cpp without a project, it would make a temporary project and compile it, doing all that in the background. Plus, in another thread, someone said I should uncheck the 'Save new projects when created' option in the 'Projects and Solutions' node in the Options dialog (Tools > Options). But it's still not working. There is no Build option for the stand-alone. What do I do ...Show All
Visual C++ Command Line Compiler mscorlib Location
Is there a command line argument in Microsoft's C++/CLI compiler that prevents the compiler from looking for mscorlib.dll in: c:\windows\microsoft.net\framework\v2.0.50727\ Our build environment requires that all builds be consistent and reproducible. This means that there should be as little reliance as possible on the configuration of the particular machine used to build the software. We require all components referenced during the build process to come from a single shared location, not from the user's local hard drive. C# and VB both provide the "/nostdlib" command line argument but I cannot find anything similar in C++/CLI. Any thoughts Try using: Tools + Options (Show all ...Show All
SQL Server The PIVOT SQL construct or statement is not supported.
I am trying to use a Pivot T-SQL statement in the Table Adapter Configuration Wizard in Visual Studio 2005. I get the error message "The Pivot SQL construct or statement is not supported". Then it executes the SQL statement as if there were no error. Unfortunately, it will not create the table adapter because of the error. Below is the T-SQL statement I am using. SELECT OrderNumber, OrderDate, custlastname, [1001] AS Dept01, [1002] AS Dept02, [1003] AS Dept03, [1004] AS Dept04, [1005] AS Dept05, [1006] AS Dept06, [1007] AS Dept07, [1008] AS Dept08, [1009] AS Dept09, [1010] AS Dept10, [1011] AS Dept11, [1012] AS Dept12 FROM (SELECT Orders.Ordernumber, Orders.OrderDate, Customer.custlastname, DeptID, OrderDetai ...Show All
Visual Basic MAIL MERGE VB.NET TO WORD (DATASET)
Hi. Thanks in advance for any help. I have an application which is connected to an Access database. I run a query and I want to mail merge the "results" into Word. I have looked at other examples, but they include the actual location of the database. I need to basically send the contents of the dataset, after the query, to Word. If someone can help I would be grateful. Thanks. tomg7, Please take a look at the following two articles that would help you to solve the problem on the query result mail merge: ACC2000: How to Use a Query to Format Data for a Mail Merge: http://support.microsoft.com/default.aspx/kb/197520/ HOW TO: Use Mail Merge with an Access Parameter Query in ...Show All
SQL Server grouping or formatting issue
hey there I have a date time field Fields!CreatedDate.Value which I am grouping on and Counting on an ID Field result of grouping is this 7/13/2006 12:00:00 AM 1 7/21/2006 12:00:00 AM 11 8/7/2006 12:00:00 AM 3 8/8/2006 12:00:00 AM 2 I know if I put (Month(Fields!CreatedDate.Value) I get this result 7 1 7 11 8 3 8 2 What I really want is July 12 August 5 how do I do this please thanks jewel, Try Placing the expression Monthname(Datepart( "m" , Fields!CreatedDate.Value)) into your group expression (edit group), this will cause the group to only consider the month when summating the values ...Show All
Visual Studio Just add one XML file. NDoc works for 2.0!
I really need to generate some documentation under .Net 2.0. I know that this issue has been raised in a previous post few month ago, but no explicit solution has been provided. Also the NDoc project seems dead (as suggest the broken wiki). Does anyone has a practical (even minimal) solution to generate documentation for .Net 2.0 Thanks in advance, Joannes I found this article (Japanese only) http://blogs.wankuma.com/yaneurao/archive/2006/02/23/21472.aspx and he said, just create NDocGui.exe.config file inside bin folder where NDocGui.exe is located. < xml version="1.0" > <configuration> <startup> <supportedRuntime version="v2.0.50727" /> <supportedRuntime version="v1.1.43 ...Show All
Visual C++ unresolved external symbol Link error appear on release
so strange for this...I have 5 project when I use DEBUG mode to compiler,the work is fine, but when I change debug mode to release ,some strange error is appear, error LNK2001: unresolved external symbol "public: static class ATG::StringID const ATG::NamedTypedObject::TypeID" ( TypeID@NamedTypedObject@ATG@@$$Q2VStringID@2@B).....etc I sure make all setup for release,project dependencies on link lib ...... all setup is the same as debug,but still appear link error but I create a new project to test such problem. It work fine!! have any step missing Do you still get the unresolved external error when you do a full rebuild You say it doesn't have a problem when you create a new project - sometimes in ...Show All
Windows Forms error on row deletion: using getchanges
can someone please post me some coding how to update a table when using ds.getchanges to only obtain modified rows,. then i get a problem with deleted rows, i guess im not doing it the right way. what is the proper way to delete a row from a dataset - i most probably want it the vs2003 way, . the generated code anyone in short what i am doing is: Dim newDT As New DataTable newDT = (dt.GetChanges) If Not IsNothing(newDT) Then bills.Rows.Clear() For i As Integer = 0 To newDT.Rows.Count - 1 Dim r1 As CostingDataSet.BillRow r1 = getEachRow(myid, newDT.Rows(i)) If Not IsNothing(r1) Then Me .bills.AddBillRow(r1) ------------------------------------------------------------------- ...Show All
Gadgets Environment Variables and Image Calls.
Hello, I am trying to Improve a Gadget which forces users to log in to there Administrator accounts to use Backgrounds simply because it was named "Administrator" at the Path. At first I tried using PHP like calls. But didn't work, So I resorted to looking at how the calls are made. I've added this. <!-- //////////////////////////////////////////////////////////////////////////////// //Find Which User is Using the Gadget and SET the Variable - Steven {augrunt} //////////////////////////////////////////////////////////////////////////////// --> <script> userProf = System.Environment.getEnvironmentVariable("USERPROFILE"); userPath = userProf + " \\AppData\\Roaming\\Microsoft\\Windows Photo Galle ...Show All
