Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet framework > may 2007 > threads for may 8 - 14, 2007

Filter by week: 1 2 3 4 5

.net 1.1 EXE in startup folder on VISTA
Posted by AC at 5/14/2007 1:07:32 PM
Our application installs a .NET 1.1 EXE created with VB.NET into the startup folder on the PC. This works perfectly on Win98SE and XP. If the User Access Control is OFF on Vista, it also works perfectly there. However, if the UAC is on, the program is BLOCKED. I tried to build a manifest...more >>

How to take an IE rendered screenshot of a website with visual studio .net 2002 or visual stuido .net 2003? I can't install visual studio .net 2005 on
Posted by Daniel at 5/14/2007 11:45:40 AM
How to take an IE rendered screenshot of a website with visual studio .net 2002 or visual stuido .net 2003? I can't install visual studio .net 2005 on this computer. ...more >>

Add a new XmlElement to XmlNode
Posted by Roy at 5/14/2007 10:16:01 AM
For an xml file, I can use XmlDocument to load it and use XmlDocument.CreateElement and XmlNode.AppendChild functions to create and add a new XmlNode to it. For an xml data type in sql database, I can load it from database and assign it to an XmlNode, how do I create and add a new XmlElement...more >>

Notify on IP Address Change
Posted by rfw68 at 5/14/2007 7:02:02 AM
Hello, I get my IP Address(es) by looping through NetworkInterface.GetAllNetworkInterfaces() and adapter.GetIPProperties().UnicastAddresses This works fine! (see code snippet at the end) But what, if one or all of the IP Address(es) will change? (By the User or through DHCP etc.) How can...more >>

Deployment of the Windows Application in C#.Net
Posted by apondu at 5/14/2007 4:50:19 AM
Hi I am deploying a desktop application and adding some files to the folder in the application folder (I also tried to add these files to custom folder also). All goes fine when the setup is installed but when i try to delete or update these files and then try to launch the application with ...more >>

Error while sending e-mails with attachments using SmtpClient::SendAsync
Posted by mukesh bhakta at 5/13/2007 5:56:58 PM
Error while sending e-mails with attachments using SmtpClient::SendAsync Options There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic. There was an error processing your request. Please try again. Standar...more >>

wifi boosters
Posted by kevinsawinner at 5/13/2007 11:21:02 AM
hi ,can anyone tell me how i can boost my netgear router signal ? ,because i am unable to use my laptop in my downstairs rooms . thank you...more >>

AddHandler method not being called
Posted by Barry at 5/13/2007 7:25:56 AM
Hi Using VS 2003 i had programmatically created Tables with rows and columns having Buttons, Textbox etc , the button were activated using AddHandler btn.Click, AddressOf btnAddProjectNotes_Click At that time everything was working fine, now using VS 2005 the delegate is somehow not get...more >>



AddHandler problem
Posted by Barry at 5/13/2007 4:59:00 AM
Hi when creating a handler AddHandler btn.Click, AddressOf btnAddProjectNotes for the following delegate Protected Sub btnAddProjectNotes_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAddProjectNotes.Click End Sub if get this error messsage Private Di...more >>

Windows.forms.keys collection
Posted by Oguzhan Filizlibay at 5/13/2007 2:05:02 AM
Hi all, I have the below code for sending each character in a string as a Keys.x enumeration. I've found that when I convert the char, it does not match the enumeration item index and thereby generates a very random output. Any ideas on how I can convert chars to their right equivalent in t...more >>

rotating pictures on the fly
Posted by JimO at 5/13/2007 12:03:50 AM
Is there a way in vb.net to, 1) detect if an image has been taken with a > camera on a vertical axis, and 2) rotate the picture for display - across > an > intranet (asp.net), with huge files sizes (2 - 3 MB), that doesn't take > too long? > (LOL) > > Thanks, > Jim ...more >>

internet Exp. 6.0 Service Pack 2
Posted by est at 5/12/2007 1:51:02 PM
what does Ox62304390 referenced memory of Ox62304390. Memory could not be read, then says click OK to terminate. Can anyone explain what this is and how to correct -- esta...more >>

Scheduled task windows service
Posted by Jeff at 5/12/2007 1:36:00 PM
Hello... I need to add a timer to a windows sevice to start a program every day at the same time. Because timers aren't set up to do this (run at a specific time), I know I need to check the time and establish an interval so the timer knows when to start my program. Then I guess I need to c...more >>

Unhandled exception on Windows98
Posted by billsahiker NO[at]SPAM yahoo.com at 5/12/2007 10:26:16 AM
Why is my application crashing on a windows 98 machine? It runs fine on the development machine with xp pro.It was developed with VS2005 in VB. I installed framework 2 and windows installer 2 on the windows 98 machine. The error message I get is "Application generated an exception that cannot ...more >>

Cannot use a leading .. to exit above the top
Posted by aks at 5/12/2007 9:04:38 AM
Hi, I'm getting this issue "Cannot use a leading .. to exit above the top directory" when i access in my server, it is working fine in my local. We are using RewriterRule in web.config file. I'm using ASP .net 2.0, IIS 6.0. Thanks in advance. AKS ...more >>

[Reflection] best way to know if a Type implements an interface
Posted by Voivod at 5/12/2007 6:07:55 AM
Suppose I have an interface IPlugin, and a Type myType. What's the best way to ask myType if it implements the IPlugin interface? I came out with this, but I don't know if there are better alternatives: bool implementsIPlugin = typeof(IPlugin).IsAssignableFrom(myType); ...more >>

Error code 800736cc ( KB931099)
Posted by anne at 5/12/2007 5:21:01 AM
hi keep having same windows vista update, each time i try to install it stops after 50% of completing, really stuck now.... any suggestions pls....more >>

Shortcut?
Posted by gouqizi.lvcha NO[at]SPAM gmail.com at 5/11/2007 6:06:54 PM
Is there any builtin shortcut to go to C:\winnt\microsoft.net \framework directory? I do not want to create a shortcut manually. I am using windows xp, 2003 server and vista. ...more >>

Remoting + List/Array/...
Posted by Pieter at 5/11/2007 2:02:35 PM
Hi, I'm new to remoting. Does anybody know where to find a good saùmple (VB.NET preferly) that gets a list of objects, bases on 2 paramters. For isntance: all people born between DateA and DateB? For now I only managed to get 1 object, but I don't have a clu to go search for a specific o...more >>

Detecting .NET assemblies from native apps
Posted by Javier Estrada at 5/11/2007 11:59:00 AM
I need to determine from a native VB6 application whether a .exe is a .NET assembly or just a regular app. Is there an easy way to know that? My app launches a bunch of processes on startup. I need to launch those executables that are .NET assemblies in their own process by hosting the CLR. ...more >>

3.0 SDK? (want to look at LINQ samples)
Posted by Derrick at 5/11/2007 11:19:44 AM
Good morning! Can anyone point me at where to download the 3.0 sdk (does that exist yet?) I see the 3.0 runtime download, don't see an sdk though? I want to take a look at LINQ. Thanks in advance! Derrick ...more >>

Memory never released in SMO (when create database)
Posted by Hao at 5/11/2007 11:01:33 AM
I have a simple application to create an empty SQL Server database (no table) in C# trying smo. I believe I closed all connections and also forced garbage collection. Why did I see memory increased by at least 9M (from 17MB to 26MB) and never came back? Is it by design? My goal is to crea...more >>

textbox query
Posted by AVL at 5/11/2007 4:43:01 AM
hi, i've a textbox on my form whenever user presses ENter key, i want to capture the entire text... how can i acheive it ...more >>

newsgroup for VSTO 2005
Posted by Manish Bafna at 5/11/2007 4:32:01 AM
Hi, I dont know if this is proper place to ask but is there dedicated newsgroup for VSTO 2005. Thanks in advance for replying -- With Warm Regards. Manish Bafna. MCP and MCTS. ...more >>

Creating directories on Vista machines using .NET
Posted by Steve Barker at 5/11/2007 4:00:00 AM
Hi guys, I've noticed that simple .NET code to create directories does not seem to work on Vista. Take the following simple example (implemented in a Windows forms application): ========================== FileInfo executableFile = new FileInfo(Application.ExecutablePath); Directory...more >>

Changing extensions in PropertyGrid
Posted by Søren at 5/11/2007 12:34:01 AM
Hi there, I've got a class contain some double and int values and properties.. I created a PropertyGrid and selected the class to see the values.. This is ok.. But I would like some postfixes on my fields.. I.e. instead of just showing "Length | 23.43", I would like it to show "Length | ...more >>

Serialization
Posted by Chakravarthy at 5/11/2007 12:05:53 AM
I wanted to store the object of a .NET C# class in the image column of SQL Server, so i added the [Serializable] attribute to the class. At run time, it kept throwing exceptions referring to some related class not being serialized. This kept on and on. If a class has to be serialized, is t...more >>

SOS on Remoting based on httplistener?
Posted by lieberstraum NO[at]SPAM gmail.com at 5/10/2007 2:38:38 PM
I setup webservice on both client & server side to communicate bi-way. But the server will crash in short time, maybe 60 second. And the error message in Event log is as following, any suggestion is highly appreciated! System.AppDomainUnloadedException: The application domain in which the t...more >>

Change default language from Visual Basic to C# in IDE.
Posted by averydarkplace at 5/10/2007 9:38:50 AM
Hello, I just had Visual Studio 2005 installed. When I went throught the initial setup I chose the language "Visual Basic" instead of "Visual C#." I want to undo this and change the default language to "C#." I haven't been able to find how to do this. ~ A ...more >>

Error changing Icon for ErrorProvider
Posted by Eric at 5/10/2007 9:24:13 AM
I am attempting to change at runtime the Icon for an ErrorProvider. When I do so and call SetError(thisControl, "msg") I receive an IndexOutOfRangeException. Code snippet: .... Assembly _assembly = Assembly.GetExecutingAssembly(); Stream _icon = _assembly.GetManifestResourceStream("MyNameSp...more >>

adding performance counter to an app using EAB 2006 gives error
Posted by Vijay at 5/10/2007 8:32:00 AM
Does anybody have any idea as to why i get the following exception when trying to add a performance counter to a .net 2.0 windows application. {"The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly."} Iam using Ent Library jan 2006, VS 2005 sp1, XP...more >>

random dll names
Posted by guy at 5/10/2007 7:24:01 AM
I have a VB2003 app (very simple) that runs on XP SP2 when I call the Constructor on XMLSerializer I get a System.IO.FilenotFoundException in mscorlib.dll quote Additional information: File or assembly name ldvld7z2.dll, or one of its dependencies, was not found. /quote The odd thin...more >>

Communicating between threads
Posted by Loyola stalin at 5/10/2007 3:28:01 AM
Hi friends, How to communicate between two threads ? Scenario: I have two thread, when any one thread has done some changes , this changes should be reflect on the other thread. So mutual understanding between thread is necessary. Is it possible to resolve this problem by using Inter...more >>

How to programatically envoke mouse button click
Posted by jim1800 NO[at]SPAM community.nospam at 5/9/2007 3:32:50 PM
I can move mouse by System.Windows.Forms.Cursor.Position = new System.Drawing.Point(x,y), but I could not find a way to invoke mouse click. Thanks for help. Jim ...more >>

WPF FlowDocument/FixedDocument editor
Posted by jim1800 NO[at]SPAM community.nospam at 5/9/2007 11:03:11 AM
Is any WPF FlowDocument/FixedDocument editor avaliable? If not, what's the best approach to implement one. Thanks. Jim ...more >>

Watch a video tutorial on .net !
Posted by Jeff at 5/9/2007 7:22:54 AM
Watch a video tutorial from Mr.Bool! Looking for a easy way to learn! Look what Mr.Bool site offers for you! Here you can find articles, tips and tons of video tutorials. Totally Free! Watch a video tutorial now. http://www.mrbool.com Did you like it? To see more videos as this, access ...more >>

bulleted display
Posted by AVL at 5/9/2007 5:02:00 AM
hi, i've a list of strings which i wanted to display these strings with bullets on my winform. how can i achieve it ? which control shud be used?...more >>

file dialog help
Posted by AVL at 5/9/2007 4:32:01 AM
hi, i've used a filedialog ox on my winform... I want the system to pop up a message when the user doens't selects any file... how can i do this validation...any help...more >>

datagridview
Posted by AVL at 5/9/2007 4:30:00 AM
hi, ive a datagridview cotrol on my winform.. i want to show a contextmenustrip when i right click a cell or row of my grid... how can i acheive it?...more >>

Issues while running distributed transaction on Vista
Posted by Lalit at 5/9/2007 12:23:09 AM
I installed my application (that is created on .Net 2.0) on vista and it uses distributed transaction. It worked succesfully on win2000 server and XP machine but it does not work on Vista machine. I changed firewall settings and even disabled firewall but it didn't work. any Idea how it can...more >>

How to report an error to microsoft?
Posted by Lloyd Dupont at 5/9/2007 12:00:00 AM
On "some client's computer" the folowing C# code: == XmlDocument doc = new XmlDocument(); .... doc.Save(Application.LocalUserAppDataPath + "config.config"); == throw the following error: == Exception : System.IO.IOException Message : Unknown error "-1". Stack : at System.IO.__Er...more >>

Managed C++ Mixed Assembly fails on XP (VS2005SP1)
Posted by Olivier Matrot at 5/9/2007 12:00:00 AM
Hello, I'm working with a Managed C++ Mixed assembly that works fine on Vista, both in debug and release mode. Howerver this assembly fails on XPSP2 in release mode. Works fine in debug mode. This assemby is a DLL that is loaded from a win32 service. It is written with Visual Studio 2005 S...more >>

Can I bind a property directly to a setting?
Posted by Peter Duniho at 5/8/2007 4:28:51 PM
Given, for example, a component (a control, let's say) with some property X, can I bind that property to an application setting Y (Properties.Settings.Default.Y) in the designer somehow? I've tried playing around with the data binding stuff, but it appears to strictly require some actual...more >>

Best practice to handle "Resource Only Dlls"
Posted by zatopek at 5/8/2007 3:18:19 AM
From the MFC-days we have an app, and depending on the users choice of international standard and language we load the appropriate resource only dll and pull the strings and other resources from there. This it not dependent on neither culture nor O/S. Is there a good approach to to this in ...more >>


DevelopmentNow Blog