Ben Music's Q&A profile
Visual Studio Team System Large solution performance (Was: Useless output from TFS source control)
It pains me to see that even the new Team System source control writes the same pointless drivel to the Output window in visual studio: ---- Operation started at time 3:32:18 PM ---- ---- Operation completed successfully at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation completed successfully at time 3:32:18 PM ---- ---- Operation started at time 3:32:18 PM ---- ---- Operation started at time 3:32:19 PM ---- ---- Operation completed successfully at time 3:32:19 PM ---- ---- Operation started at time 3:32:19 PM ---- ---- Operation started at time 3:32:19 PM --- ...Show All
Visual C# Special characters in identifiers
Hi, I've noticed that it's now possible to use special characters in identifiers (diacritical marks). I was wondering is this now a supported feature or is it just by accident of some sort (and should be avoided). For example: int irklis = 3; // compiles without problem (notice the ' ' and ' ') private void par d t(int .....) { ... } // notice the ' ' and ' ' Thanks in advance! It should certainly be avoided - while it's a bit of a downside for non-English developers, I believe that keeping all source code "ASCII clean" makes life easier when moving code around systems. (UTF-8 is a reasonable alternative, but everyone ne ...Show All
Visual C++ C++ & UNICODE
Dear MSDN C++ experts, I have Visual Studio 2005 Professional installed, I need a help issue about something annoying a bit. My professor in college asked us to make a report how to write in name in Arabic using UNICODE, in fact I was unable to make such a program as it's so hard for me as I'm still a beginner. Here is a code sample I asked someone to make for me, It's UNIX based, the print out is an empty screen in windows: ================================== //This is a C++ console app to print out name in Arabic using UNICODE #include<cstdio> #include<iostream> using namespace std; int main(int argc,char* argv[] ...Show All
Visual Studio Express Editions executing functions from a string at run time
So I made a module with a list of functions that make my life easier. I am expirimenting with this sort of thing, and I am trying to make a little command line sort of thing to be used at run time. My question is: Is there a way to execute internal functions like the ones I made by typing them into a text box at run time (and clicking a button or whatever) I'm looking for something like: Execute(command.text) Thanks! There's the scripting object for VBScripting, or there is the VBCodeProvider Class (There's a C# one, too) which allows you to compile and Execute VB code. However, this may not be exactly what you are looking ...Show All
SQL Server Reading more than 1 set of files using Foreach Loop Container
Hi, My requirement is I have to read 2 sets of files from a folder. For example, I have to read all files starting with either 'a' or 'b' only. In 'Foreach Loop', if I say 'a*,b*', it is not working. Instead of comma (,), I tried colon, semi-colon and pipeline characters also. It is not working. So I am using 2 loops now. But I would like to know is there any way to do it using a single loop Thanks. Thiru, I doubt that what Michael suggests would be a big overhead. Sure, you iterate probably 10 times as much as you otherwise would do but is that really a problem For 90% of those iterations you don't actually do anything within ...Show All
Visual FoxPro Using SQL-Update in FoxPro 8.0
Hi, I m trying to update a column of multiple rows in a table from a column of multiple rows from another table but havent got the required result. I have tried various queries; here are a few failed examples: 1. UPDATE expenses_fxd ; SET expenses_fxd.postedpr = expenses_new.postedpr ; FROM expenses_new ; WHERE expenses_fxd.slipnum = expenses_new.slipnum Error Msg: "Command contains unrecognized phrase/keyword." 2. INSERT INTO expenses_fxd (postedpr, postfuelpr) VALUES ((SELECT postedpr, postfuelpr FROM expenses_new WHERE expenses_new.slipnum = expenses_fxd.slipnum)) Error Msg: "Function name is missing )." 3. UPDATE expenses_fxd ; SE ...Show All
Visual Studio Express Editions Email validation and javascript
hi all, i would like to use the error provider to check whether the input email is in valid type.....this is my code txtEmail.Text <> "\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Then epModifyMerchant.SetError(txtEmail, "Invalid email type") but this error occur even we input the valid email address..... and the other problem is it possible for us to add a javascript in visual basic project.......i wanna pop up a 'confirm message' when the user click on the delete button.... pls provide me the solution if anyone know how to saolve this problems.. thanks hi ...Show All
Visual Studio Team System Beta 3 refresh to RC upgrade
RC Install is throwing an exception on my single server upgrade from Beta 3 refresh. I have googled the error and it looks like it happened when some people upgraded from Beta 3 to the Beta 3 Refresh. The error is: "Couldn't load string ID: 2000 From file: CustomText.1033.dll" There are 3 different versions of this resource file out there in the various directories within the distro. They are dated 7/11/05, 7/15/05 and 11/4/05. atdt has the 7/11 assembly I have tried both the 7/15 and the 11/4 assemblies none of them work. Any advice would be appreciated. Thanks, Damien Can you please provide ...Show All
.NET Development WebClient connection delay
Hi, I dont know if anyone else has noticed or commented on this, if so please point me in the right direction. I am having a major problem getting the webclient class or any http classes to perform as well as IE. They download files, but there seems to be a huge lag while connecting and i'm not sure if i am setting something wrong. Any ideas would be appreciated. Can you post timing results that show this. I have numerous projects that use WebClient to connect to web and I use them in both web and applications and they perform robustley with negligible performance difference. have you also tried using Ht ...Show All
SQL Server Getting error in SQL Server Destination
Hi I have two different database say, DB1 and DB2 one in server A and another one in Server B. Simply select all rows from DB1.Table1 in OLEDB Source and map it to another table in DB2.Table2 using OLEDB Destination. Works fine. But if I select destination as SQL Server Destination, I am getting the following error: [Insert contact information for facility into ARBilling database [202]] Error: An OLE DB error has occurred. Error code: 0x80040E14 An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80040E14 Description: "Could not bulk load ...Show All
Visual Basic How to use DataGridViewControlCollection in place of Control Array of MSFlexGrids
Hello, I am learning VB2005 by rewriting a large VB6 program. My VB6 program used loads of MSFlexGrids in a single Control Array. Control Arrays are out with VB2005 so I was looking at a way of using DataGridView controls in the form of a collection. The MSDN documentation points in the direction of DataGridViewControlCollection but I cannot decifer how to add DataGridViews to form a collection and then how to access each one in a similar fashion to my VB6 Control Array. My VB6 program loads the MSFlexGrid's in this simplified fashion: For I=0 to MaxFlexGrid With MSFlexGrid1(I) Code to load cells Next I Is the D ...Show All
Microsoft ISV Community Center Forums how much
I don't exactly understand all MSDN offers... trying to figure if it's worth membership costs, and what that cost is. We develop software that integrates with MS MapPoint, and are looking into developing a solution for inventory/accounting/servicetrends/etc, for which our customers would need to buy the Microsoft compents to plug in. How much is each msdn user license Hi, I just wanted to let you know that I'm looking into this for you and will post what I find as soon as possible. -brenda (ISV Buddy Team) ...Show All
SQL Server SQL Agent fails to run a ssis with all accounts but one
Hello, I have a hard time understanding a security problem with SQL Agent. I have jobs that run SQL only ssis packages and ssis packages that access external databases like Oracle and older SQL boxes. For the sql only package, I can use the SQL Agent Service account however for the ssis that access the outside world I have a big problem. Only 1 account will work through a proxy, my personnal Windows NT account. If I try to use an application account through a proxy (Windows NT as well with no password expiration), then The job fails. The packages have loging enabled however the log is not even created when using the applicatio ...Show All
Visual C# Regions keep auto-expanding
As in the beta 2, in fact even more so, regions still auto-expand all the time, which gets very annoying now that my code increases in size. I've pretty much stopped minimizing them because it's a waste of time, as all the regions will expand again when the next exception occurs. Is there really no way to prevent this from happening Hi Guido - Ah, I see where you're seeing the region expand now. In 2005, when you collpase or expand regions, then close and re-open the file, the state of your regions (collapsed or expanded) should persist. However, when a runtime exception o ...Show All
SQL Server Recordset Destination
Every time I try to us a recordset destination for error output, I have problems with setting the "VariableName" field. Is this a known issue Or am I just doing something wrong Thanks Jim Thanks Allan. Pretty simple and I figured it was something like this. I didn't realize I needed a "variable" to hold onto my recordset. Jim ...Show All
