James_N's Q&A profile
Visual C++ Internet App
Hi I would like to create an application using Visual C++ to connect to the internet, then a web page, and then search the page and extract information. Trouble is I am fairly new to this and dont really know how to start, so hoping someone can point me in the right direction. Cheers Jon I'm assuming you're using Visual C++ 2005 (If not, you're on the wrong forum). If you're looking for a quick way of doing this, create a CLR Windows application, drag on a Label (to say "Address"), textbox (Addressbox), button (call it "Go"), and a Webbrowser control. In the click handler ...Show All
Visual Studio Express Editions why is vb.net printing so difficult?
Hi, I have loads of VB6 apps I am trying to migrate to VB.net and the biggest problem I have is that printer.print has no equivalent in vb.net Can anyone tell me a simple way to print in dot net Thanks Impossible is about right. I just can't see what to type to make something come out on paper, and I have written some neat VB stuff (IMHO) in th epast but this dot net thing has me stumped. Am I missing something or is nobody printing anymore Maybe we have finally reached the holy grail of the paperless office by MS removing the ability to print. Seriously though, can anyone point me at a p ...Show All
SQL Server RS WEB Service: No Find Users in the collection
Dear Anyone, We are trying to create a program that will programatically add users to Reporting Services. When the time comes that we would need to create the code to delete users from Reporting services, we found ourselves trying to find a find procedure to go directly to the user info in the collection. Am I mistaken that there is no find procedure to find the user in the collection The alternative for us is to loop through the collection of users which is by far a bit tedious for us and not a good idea to go with. Any insights Thanks, Joseph ...Show All
Visual Studio Team System How to do a manual installation of Team Foundation Server Beta 3 Refresh?
Hi all, I want change the port 80 for Sharepoint Services and Repoting Services, I want made a manual instalation of Team foundation Server Does somebody know as do a manual installation Some documentation Thanks by their help Changing port 80 of sharepoint should be fairly simple. Just do the following: 1- copy msiproperty.ini from the AT or ATDT folder on the installation media (depending which one you are installing) to a local folder, 2- change the property: VSTF_WSSSQL_PORT from 80 to your desired port. And then 3- start setup.exe under the su ...Show All
Visual Studio Team System Installing on Virtual PC
Just wondering if there was a best practise for installing VSTS on a Virtual PC eg. as far as the server bits go, should I install everything on one VPC (eg. a Server 2003 OS with it's own Active Directory + SQL 2005 + the foundation bits) Would the client bits be better off on a separate Virtual PC instance that can see the server instance or could they all be put on the same one -dave Also, something I've just discovered... with Beta 2, it appears you cannot install SQL Express or SQL Developer edition on Virtual PC's. I went through hours upon hours of errors when installing VS2005 only to fina ...Show All
Windows Forms beta 2 - Negative Min value causes error
If i enter a negative value (with 2 decimal places) as the minimum value in the VS 2005 beta 2 form designer, for a numeric up/down control, then things seem fine, but the next time I make a code change and the designer updates its display I get an error: Decimal byte array constructor requires an array of length four containing valid decimal bytes NB: I have discovered a negative integer value works, but a negative value to 2 decimal places does not. I've been trying a relatively late build and things look as though they are working or I havent quite got the repro scenario your showing. ...Show All
SQL Server return all ESNID one time, the most recent
This is more ASP SElect . I need to return all the rows. Where the ESNnumber only returns the most recent one that is associsted with the Asset. Basically, I need the info most current ESN number only. They are 19,00 rows of each ESN number but it returns 40,000. Duplicates. SELECT TOP (100) PERCENT dbo.AssetType.Description, dbo.AssetCustomAttributeDef.Name AS [Custom Asset], dbo.ESN.EsnNumber AS [ESN #], dbo.AssetAttribute.AssetDescription AS [Description Detail], dbo.Asset.Barcode, dbo.Asset.SKU, dbo.InventoryOrigin.WarehouseDescription AS [Inventory (W/H)], dbo.ESN.DateImplemented, dbo.ESNTracking.TraceTime, dbo.ESNTracking.PreviousTrace ...Show All
Visual Studio Express Editions DirectX SDK and Visual Studio 2005 Express Edition Beta
I have Visual Studio 2005 Express Edition Beta installed and I wish to learn DirectX graphics and game programming. My installation of the DirectX SDK goes smoothly, but whe I attempt to debug a DirectX code i get an error in the using Microsoft.DirectX and using Microsoft.DirectX.Direct3D, Visual Studio doesn't recognise the DirectX namespace and refuses to compile and run. How do I solve this problem I checked out the C# and J# versions and they have the export template option. Does your C++ version have that option, mine doesn't. ...Show All
SQL Server AGGREGATE doesn't do MIN/MAX on textual columns
Hi, Can anyone from MS exaplain why the AGGREGATE component doesn't allow you to select MIN/MAX when the column is DT_STR/DT_WSTR Thanks Jamie All, The original feedback item was posted under the wrong category so I've re-posted here: https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=246223 Thanks to Phil for pointing it out. -Jamie ...Show All
SQL Server problems in creating report (parent child hierarchy)
hello, im working with as/rs 2005 and need help in creating a report. my cube has a parent child hierarchy in "category". structur is as follows: A a 1 2 b B C f g 10 11 12 I like to have a function or something, that gives me the unique names of all children of maybe A (result should be: a,1,2,b,3,4,...) there is a function called children, but i am not able to obtain my desired result. (in fact, i dont get any result with this fuction) every little bit that shows me the right direction is highly appreciated ... ...Show All
SQL Server Problems adding MS access datasource in VB studios 2005 enterprise
I am running Visual Studios 2005 enterprise edition and I am creating a mobile application to keep track of some receipts. The problem I'm currently having is that even though I can connect to the MS Access Database with Server Explorer that I'll be aquiring data from; Everytime I attempt to use the Data Configuration Wizard to add a new data source that namely the database I get this error message: The new connection uses a data provider that is not supported. (end of message) There is no username or password necessary to access this database and it is an Access 2003 database. Any help would be greatly appreciated. ...Show All
System Center iSCSI
Hi, Will iSCSI be supported in the released version Ben .. In the meantime, you can use the current release to approximate iSCSI link utilization by using a SAN in the model. Setup: SAN switch <-> computer <-> LAN switch 1. Choose the SAN interconnect speed to be the same as the NIC speed for the computer whose link you would like to analyze. Right now, this speed can only be 1 Gb/s. 2. Run simulation. 3. In the results section, filter by the computer whose link you would like to analyze. Next filter by resource="SanInterconnect". Note the SAN ...Show All
.NET Development How many way’s are there to implement locking in ADO.NET
How many way’s are there to implement locking in ADO.NET I am asking about ado.net 1.1 Non. ADO.NET 1.1 does not have any locking mechanism. It is always disconnected from the database except one case - read-only, forward-only cursor for the reader. ...Show All
Visual Studio Crystal Report Printing Problem
I'm using vs2005 beta version and i using the crystal report component to create my report and preview the report using crystal report viewer. When i run the application, i can preview the report well in the form, all the data can be preview in the from. But when i want print out the report, all the data was gone included the label in the report, means i only can print out a blank report which did not have any data and also label,it only show the line and box but no word was print out. But if i select pdf writer as my printer, i can print the report well in pdf format, everthing is correct and all the data can be show. I also can conver ...Show All
Visual Studio 2008 (Pre-release) Crash with ODBC Data Access
I have an Avalon application which I'd like to Bind with a class I wrote that uses OdbcDataProvider to fill a DataSet. In my first Window's Loaded event, I create an instance of this class and it does a Select. The returned DataSet look just right. However, no matter what I do later( I can just have a while(true){} ), I get the exeption shown in purple below. Could anyone please give me a clue what is wrong My code that does the select is essentially: mConn = new OdbcConnection("DSN=" + DSNName); mDataProvider = new OdbcDataAdapter(); DataSet ds = new DataSet(); OdbcCommand cmd = new OdbcCommand(selectStmt, mConn); m ...Show All
