mofo7's Q&A profile
Visual Studio Express Editions Getting Computer Login Name.
Hi all I'm using VWD Im trying to get the computer Login Name(Username) in my web application. I tried using HttpContext.Current.User.Identity.Name and alot of other way like the old method servervariables and many other. But cannot rem them no. All of it works IF im working local Host. But it Just Became Empty or Wrong Value if its working on a server/client basis. And ideas how to get it using web Application Thx in adva ...Show All
Visual Studio Team System Printing out the Rules
Hi, I was wondering if there is an easy wasy to obtain a hard copy of the standard rules set. Information like Name, Description, etc. TIA There's no easy way, currently. This information is in the FxCop help file, of course. I think we should probably post this information on the www.gotdotnet.com web site or possibly upload it here. I'll put it on the to do list. ...Show All
Visual Basic Copy Local
I noticed that one can copy referenced dlls to the output directory of one's project. If one were to do this then pack those dll files and distribute them with one's program, could one's target user use the program without having the .net framework installed No, the .NET Framework needs to be installed for .NET developed applications to run. Absolutely no way around this - period..... ...Show All
Visual Studio Drop-down list to edit 1-* relationships
Grayson wrote in this post : What you're describing sounds similar to the scenario we had in mind when we added support for reference relationships in the property grid. If you define two classes, A and B, and a 1-* reference relationship between them, if you select an A on your designer, you'll see a property show up in ...Show All
SQL Server Create a flat file for each record in a table
I'm rather new to ssis and I've been reading and testing but didn't find a solution for this problem.Supose I've got a table Customer with some fields. One of the fields is CustID.I want to create as many flat files as there are Customers in the table with flat file name set to the CustID.If you could point me in a good direction, It would be nice.Greetings from Belgium It sounds like you want to run a exectue S ...Show All
Windows Forms how do I set environment variables from a Windows app?
I would like to set environment variables from my Windows application. I searched the Systems.Environment namespace but there doesn't appear to be a method that will allow me to do that (although I found a method to retrieve environment variables...). D ...Show All
Visual Studio Team System Team Build - Build Directory?
I'm a little confused as to why the new build type wizard asks for a build directory. You have to specify a workspace and since that specifies a local directory I would have thought that the build would just occur in that directory. Why not just build in place Thanks Marcel for explaining our design and for the feedback. We could have asked users to define a dedicated workspace for build ma ...Show All
SQL Server Mirror Operating Mode change problem
I am unable to change the mirror operating mode on a test database mirror I have set up. I installed (from MSDN) the RTM SQL 2005 Std Edition and applied SP1, then set up a mirror, which works fine but only on High Safety mode. I want to use High Performance mode, but the operation mode radio buttons are greyed out for me in the mirror properties page. Also, I tried running: alter database TestDB set safety off and recieve the error: Msg 1473, L ...Show All
Visual C++ stringstream causes memory link VC++ 2005?
This simple program seems to leak LOTS of memory when compiled in VC++ 2005: int _tmain( int argc, _TCHAR* argv[]) { for ( int i = 0; i < 100000; ++i) { ::Sleep(1); std::basic_stringstream<TCHAR> str; str << _T( "Current iteration: " ) << i; } return 0; } CRT: Multi-threaded debug or Multi-threaded I compiled and ran the same piece of code in VC++ 2003 and I don't see ANY leaks! Any ideas ...Show All
SQL Server Need distributed service broker sample
I'm working with the April CTP of SQL Server and I'm trying to create a proof of concept using service broker. I'm struggling with the "abc's" of it. If anyone has or can point me to a distributed "Hello, World" for service broker between SQL Server 2005 and SQL Express instances it would save me some time and trouble. thx! Niels, The two link http://staff.develop.om/nielsb/code/routing2.zip http:// ...Show All
SQL Server How to convert Dynamic Properties to SSIS Package Config?
I'm currently trying to convert over packages from SQL 2000 to SQL 2005. The biggest obstacle at the start has to do with converting my "Dynamic Properties" control. I use it to read an .ini file and load the user name and password to my connections. With 2000 it's nice and easy 1 file 3 lines. While trying to convert it I’ve had nothing but problems. I've tried the Registry Entry but it forces everything into the Current User and I c ...Show All
Visual C# DirectX in a Window form with controls!!!
Hi, I need to create a software allowing to check welding spot of a robot. I need to draw real-time charts of current, woltage, ultrsonic... I try to draw using GDI+ in visual studio C#. The matter is it is too slow, even on a good computer!! I would like to know if it is possible to use directX on a widow form, which allows to use the controls (buttons, text...) available. If yes, could you give some hints or a reference An ...Show All
Windows Forms Changing Custom Control Property
How can I make a property change value of another property at design time I have added HighlightRow property to custom DataGrid control. Now I want to assign this property similar to DataGrid’s ReadOnly property. For instance, when in property window&nb ...Show All
.NET Development Printing Files To a Pdf Distiller
Does anyone know of a way to printing files to a pdf distiller (virtual printer) and pass parameters to it as well such as dpi settings, size, etc... this should depend on the method you use to print. There is no difference on whether you print on a virtual or a physical printer. You should use the PageSetupDialog to allow the user to select these settings. These settings will be available for the next print. If ...Show All
.NET Development passwordrecovery
Visual Web Developer 2005 Express Beta. The Login component PasswordRecovery gives an error that the 'from' email address needs to be set. I can not find anyplace where this can be set. Any ideas. There does not seem to be anyhelp available. PasswordRecovery uses MailDefinition to define the messages to send when creating a new user or resetting their password. You need to configure ...Show All
