Answer Questions
LaurieCSI Using shared (static) members
Hi! Is anybody aware of any drawbacks when using shared (static) members inside classes. Apart from design issues and braking some of OOP rules, are there any performance issues, like bad memory usage or increased overhead when calling them I consider that my data will never expire, during application life time. So, back to the performance issue. It seems that you are not aware of any performance drawback using shared members. ...Show All
aaborkar Changing Data Source Visual Studio 2005
Friends, Today's question is this: How can I change the data source for a Windows Form (Not an ASP Web App) application in VS 2005 I have small app I have built around SQL Express that I would like to modify by changing the data source to a SQL 2000 box on my network. I simply copied the entire database over the the 2000 box and now I would like to hook my app to it. For the life of me I can't seem to find a way ...Show All
Mawla CPU usage
I have to write a small service which will monitor the CPU usage and if a particular process consumes more than a predefined amount of CPU for a certain duration of time (that is, if this process is responsible for "hanging" the server), this service will kill that process and then restart it (of course, only if this process is one of the "custom" programs, not a system process). My question is: is there a programm ...Show All
Scott Weinstein Detect filesystem's Unicode support
Using the 2.0 Framework, what's the best way to tell if a particular drive's file system supports Unicode I know how to do this using the Win32 API (GetVolumeInformation). But I'm hoping there's some managed way to get the same information. Thanks! Karen Hello Karen, Unfortunately, I do not believe the DriveInfo class currently exposes this level of file system information. You can call GetVolumeInforma ...Show All
BABUK-MSFT Check Folder Permissions
Hi! I have never tried something like this before, so forgive my ignorance. I need to check the folder permissions of a specific folder for the logged in user. In my app the user has a setting for an output folder, I need to check that the user has the appropriate NTFS permissions to that folder to be able to set this setting correctly. Can someone point me to a good resource where I could read about this A site with samples is ofcourse ...Show All
tvietnhat Best encryption/decryption for strings
I am looking for the best way to encrypt and decrypt a password. I looked into RSA but it gets too messy when you can only encrypt one letter at a time and get a byte[ ] back etc... Anyone know anything easier whether it is a built-in encryption/decryption or some class typed up from scratch Pref. something where you hand it a password and it encrypts the password into another string and vice versa but is just about as secure as this built in RS ...Show All
Gang Xiao How can I move the SQL Server database from local to public web server?
Hello Everyone, I have developed one Windows support front end application to connect my local SQL Server database and its working fine. Later I want to move my database to public web server to access the data from internet. But my front end application should be remain same. For the connection changes I will update my code to connect well. Can someone who have a idea please guide me. What I have to do Thanks in advance, Jose How about i ...Show All
Nicholas Wagner Web Service Registration
Hi, I have developed a Web Service for public use. I want to register it on UDDI. Can any body explain me step by step , How should i register my web service. Thanks, Arshad Hi, I'm trying to use the uddi sdk, but I can't find the link to download it, I' va found just the beta version. The uddi download send to the win ser2003 sp1 sdk. I installed the win 2003 r2 paltform sdk where there aren' ...Show All
New England BizTalk User Group How to access these newsgroups using Outlook Express?
subj Hi, It is not possible to access these newsgroups from Outlook Express. These are specific web interface based forums. Regards, Vikram ...Show All
Xferla PhoenXs aspnet_regsql.exe fails, error 446
Hi, I hope this is the rigth place for this question I am trying to use the Login control. Using the Website admin tool I end up with being told to use aspnet_regsql.exe to create the tables in my db. But when i run the aspnet_regsql.exe - I am using the sa account, it fails when performing the sql. I am using mssql 8 /Cartmann This is the error, as shown in aspnet_regsql: ---------------------- Setup failed. Exception: A ...Show All
Lee2040 Problems getting ConectionString from app.config
Hi, I have this working ConnectionString: SqlConnection sqlConn = new SqlConnection ("data source = XP11\\SQLEXPRESS; Integrated Security=SSPI; Initial Catalog=LagerVerwaltung") If I put this ConnectionString into my app.config: < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < connectionStrings > < add name = " LagerVerwaltung " connecti ...Show All
Maxim Langman My Application works in Debug mode only
Hi all, My .NET application works in debug mode only. If I build my application without the "Generate Debugging Information" equal true, the application start properly, looks like everything is just fine, I can use several commands of the same type, but it stops working, I mean it goes in a loop or something. If I run the same application with debug option equal true and I do the same test everything work just fine. This is a prob ...Show All
oremo Where's the Web dev forum?
Like the title says... where's the Web dev forum for us ASP.NET monkeys My guess would be that they're at http://asp.net/forums/ . It appears to me that these particular forums are based on CommunityServer :: Forums, owned by Telligent Systems, who also has the contract for maintaining and supporting (I believe so anyway, someone correct me if I'm wrong) http://asp.net , which leads me to believe that they pr ...Show All
netnav Remoting / Binary Serialization compatibility between 1.1 and 2.0 versions of the Framework
In order to use .NET Remoting and Binary Serialization (BinaryFormatter) between versions 1.1 and 2.0 of the Framework, a patch must be installed for .NET Framework 1.1. The patch is currently available only from Microsoft Product Support Services. Mention KB article number 907262 (note that the actual text of the KB article is not yet available outside of Microsoft, but the PSS engineer will be able to give you the p ...Show All
Craig Jackson Connect to Com Object
Hi, I have a problem and i hope that somebody to help me! I have a application server (executeble written with Delphi) registered as a Com Object. Now i have a windows service written with C# and i have to call methods of Com object. I referenced a COM Object and made a reference. I tryed this ComClass comObj= new ComClass(); // here i start a com object (executeble) comObj.someMethod(..); It's working only when the Com obje ...Show All
