Asan's Q&A profile
.NET Development Delayed send with smtpclient in .net 2.0
Is there any way to force the smtpclient to send mail immediately with the .send method in system.net.mail 2.0 Right now it takes anywhere from 90 secods to two minutes before the mail is actually sent once the .send method executes. I've tried setting the object to nothing immediately after the .send method call, but no luck. The real issue for me is the send delay is also causing the smtpclient to hold a lock on attached files that are ...Show All
Visual Studio Express Editions Uninstall problem
Maybe not the right place to post this but I cant see where else I should. I have Visual Studio Express C++ and Visual Studio Exress C# install willed. But neither will uninstall. They both get as far as "Setup is loading installation components. This may take a minute or two". It gets a few bars in and then stops. I've left it 15 minutes but it just hangs. I need to deinstall both because I have bought Visual Studio 2005 Standard Edition. ...Show All
Windows Forms Need FAST graphics
Being a Delphi programmer for many years, I now need to switch to VS and C#. I need fast graphics on forms, and tried this simple snippet in Visual Studio 5 - and it's extremely slow. It repaint the entire form when I resize the form (which it should), but it really takes the power out of my machine. Can anyone tell me what I'm doing wrong private void Form1_Paint( object sender, PaintEventArgs e) { int Index = 100; ...Show All
Visual Studio Tools for Office AdvancedSearchComplete return multiple results in Outlook Addin...
Using VSTO in VS2005 Beta 2, I built an Outlook Addin that, among other things, creates a HashTable of unique topics from chosen folders. I've added handles to AdvancedSearchComplete and AdvancedSearchStopped to my Button_Click. On Button_Click, with every folder chosen, I iterate through the hash and, if the key matches the folder I'm looking for, I create a new search for each unique topic in that folder. Everything works well a ...Show All
Microsoft ISV Community Center Forums Printing by using a vba code
Hi Gents I would like to get excel to print the lables I have created just by pressing the button. Now I know how to record macros and get them to work but in this case it is necessary to know some vba code i guess. Say that today I have created 7 lables and I want excel to print those 7 lables by pressing the button......The problem is that the number of lables changes every day....So How could I get excel to recognise the number of l ...Show All
.NET Development .NET Security Permissions
Hi All, I have some code that I wrote a while ago that is a file browser. I use the call Environment.GetLogicalDrives() to return the drives on my computer. This code used to work, but with the new framework I am not getting "Because of security restriction the type ... cannot be accessed". How do I give my application the sufficient permissions it needs. Here is my code to get the drives: public str ...Show All
Visual Studio Express Editions USING SQL 2000 with VB 2005 Express
Does anyone know if you can connect and use SQL 2000 Server with VB Epress 2005 datasources tab wizard I use the datasources tab to try to connect but it keeps failing to connect. VB6 seems to connect fine using the data environment wizard. I can connect to the SQL 2000 database with code without any problems in VB Epress 2005. Hi Tommy, Express editions have design support for local data only (.mdf and .mdb fi ...Show All
.NET Development Where to start? confused....
Newbie here... I have a split Access database, and want to use SQL Server for the Back-end (locally, for now), but can't get it to work. I've installed (without any problem) the June CTP SQL Server 2005 Express, along with the Express Manager.. I can get into the configuration manager fine, but don't know what to do once inside... When i start the express manager, it asks for the server name... i've tried every name i can think of, but none work ...Show All
Visual C# Outlook Bar in c#
Hello, my question is GUI related, i hope i'm in the right place... Is there no standard control to build a toolbar like the one in outlook ( i don't really now how to call that, but let us call it the "outlook bar") thx & regards We use a third-party product from DevExpress ... they used to call them SideBars, but I think they're called NavBars now. Anyway, check it out ... they work pretty good: http://www.devexpress.com/Prod ...Show All
SQL Server SQL Express Advanced commandline install
I'm trying to install SQL Express Advanced Services from the commandline, but cannot get Management tools to install. Does anyone know the correct commandline to get this to work thanks, Daren Can you supply us with your command line so we can help troubleshoot My guess is that you are missing it from the ADDLOCAL tag. Thanks, Sam Lester (MSFT) ...Show All
Visual J# Scanner object
The Visual J# we have presently installed where I teach does not have many of the objects found in the java.utils package found in JAVA 5.0 Among other objects that were not found is Scanner , one used extensively in the text that we have adopted. Does the Visual J# upgrade address this problem at all seems the license is more flexible than GPL, they use the "Classpath exception" license addendum h ...Show All
.NET Development Add record with null value to typed dataset
Hi, Using the typed dataset functionallity, I encountered the following problem. I created a new dataset, added a table "Keyword" to it with the designer and let Visual Studio generate the typed dataset. In this table is a column "ParentID" which has these properties: AllowDBNull : true DataType : System.Int32 When I tried to add a new record to this dataset I noticed that I have a method dataset.Keyword.AddKeywordRow (string Name, int Par ...Show All
.NET Development Regular Expression for character combinations or strings that should NOT match
Is it possible to specify a regular expression pattern for strings that should NOT match something. For example, I get a string that specifies a number of codes like: VV, VVP, PVT, XXP, G, BB. I would like to select all codes from the string that differ from VV or XX (so XXP is a valid code!). Is there an easy way to do this using regular expressions ! Best regards, Philippe Thanks, that works indeed! But I ...Show All
Visual Studio Team System How to list all the changeset
Hi all, In VSTS, changeset sounds not a work item. Is there any way that I could query the changeset Regards, Leon I'm not certain what you're asking. If you want to see all the changesets associated with a work item, use the "Links" tab. I'd have to ask the WIT team how to do this programmatically. ...Show All
SQL Server connecting to sqlexpress from classic asp
hi, i'm using classic asp to try and connect to a sqlexpress database on a development server. i get the following error: Microsoft OLE DB Provider for SQL Server (0x80004005) [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. /dbtest.asp, line 8 I'm using the following script which runs fine against a regular SQL server (version 8) on the network. <%@LANGUAGE="JAVASCRIPT"%> <% var strCon ...Show All
