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
all groups > dotnet general > july 2005

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Closed Captioning: from a DVD to a String
Posted by Wraith Daquell at 7/31/2005 7:38:01 PM
Hello all! I'm trying (read: becoming frustrated) to write a DVD viewer in VB.NET. I can embed the DVD picture using DirectX technology, but it seems to be impossible to obtain closed captioning from the DVD and convert it to a string. There were a few tips on getting the captioning in the MS...more >>


.NET Deployment Project Variables
Posted by ChuckD_Duncan at 7/31/2005 5:16:47 PM
I am trying to setup a rather simple install using the .NET Setup and Deployment facility. When using the Setup's Registry Editor I first came across "[Manufacturer]" and am at a loss as to how to define that. I am sure there are a collection of other such variables that I can't find documente...more >>

Custom component problem
Posted by Raconteur at 7/31/2005 3:18:03 PM
Hi gang, Not sure if this is the correct forum for this questions but here goes. I have developed several custom web data components and built them into a DLL. I reference the DLL in my VB.NET project, add a tab to the toolbar and add the controls beneath the tab. This all works fine, an...more >>

When I set the location property for a control, stack overflows
Posted by Will Pittenger at 7/31/2005 1:11:57 PM
I have a Control derived class. When the parent of the control changes the control's Location property, the stack overflows. I have not found a way to find out what was on the stack when it does overflow. All I know is that the program is either stopped due to an exception at the end of Mai...more >>

What replace COM object in .NET?
Posted by gulu man at 7/31/2005 6:49:46 AM
Hi, What is the substitute for COM objects in .NET? How can I create something similar to com in .net? Is it still possible? Thank you ...more >>

dot.net application momory usage
Posted by Arie at 7/31/2005 12:10:02 AM
The question is: I would like to know how to reduce my dot.net application memory usage, I have already tried to the SetProcessWorkingSetSize method with reduced the memory in 7MB, but that’s not good enough. many thanks in davance ...more >>

The variable bit cpu
Posted by Skybuck Flying at 7/30/2005 9:05:13 PM
Hi, I think I might have just invented the variable bit cpu :) It works simply like this: Each "data bit" has a "meta data bit". The meta data bit describes if the bit is the ending bit of a possibly large structure/field. The meta bits together form a sort of bit mask or bit pattern...more >>

Registry SetValue stores double as REG_SZ
Posted by ChuckD_Duncan at 7/30/2005 7:25:41 PM
using Microsoft.Win32; RegistryKey key = Registry.LocalMachine; key = key.OpenSubKey("....."); ... key = key.OpenSubKey("PCF", true); double aDoubleValue = 0.25; key.SetValue("testkey", aDoubleValue); testkey pre-existed as a DWORD value and after the setvalue becomes a REG_SZ type. Even ...more >>



microsoft.net ver 1.1 error 1935
Posted by microsoft.net at 7/30/2005 3:55:42 PM
WhenI try to load .net ver 1.1 I get the error 1935. I tried rebotting and I also tried turning off windows installer. neither solution worked I stil get error 1935 when trying to set up .net ver 1.1. My O/S is home XP and I do have service pack 2 and all updates. Any help would be greatly...more >>

OnLine Techinal lessons for .NET
Posted by Filippo Bettinaglio at 7/30/2005 11:05:03 AM
Hya, I found within MSDN website: the .NET show http://msdn.microsoft.com/theshow/ where is possible watch and learn by about Microsoft technologies, I am looking for something more technical something where they show coding and technique in particular per .NET, still video stuff, but w...more >>

Error closing VB2005
Posted by thomasp NO[at]SPAM msala.net at 7/30/2005 10:44:31 AM
I get the following error when closing VB2005 beta 2. Everything runs fine. Just wondering what the error is and how to eliminate it. ******** The control System.Windows.Forms.MdiClient has thrown an unhandled exception in the designer and has been disabled. Exception: Property accessor ...more >>

Array of Classes
Posted by Ron McCafferty at 7/30/2005 10:22:01 AM
Hi, I've got an array of a class say dim mydogs(50) of dog I create an instance of a dog mydogs(0) = new mydogs("milo") That all works fine. However I want to search the array for a dog named Fido. When I get to an array element that hasn't been created I get an error. I understan...more >>

User inactivity?
Posted by Dean J Garrett at 7/29/2005 4:32:03 PM
We have a need to determine whether a user is inactive or not, and present a pop-up to have them either logoff or renew the session. After 15 minutes of inactivity, the pop-up would ask the user to click Cancel if they wish to logoff, or click OK to renew the session. The pop-up would also say s...more >>

How to Stop Serviced Component so Uninstall removes it completely
Posted by Robert at 7/29/2005 3:53:02 PM
We have several serviced components written in .NET 1.1. Using Visual Studio, we have an installer project that creates an installer for them. The components are installed properly into the GAC and show in the Component Services control panel. The issue is when we uninstall or want to upg...more >>

asp to asp.net
Posted by Rahul Chatterjee at 7/29/2005 2:33:43 PM
Hello I have a site written entirely in ASP - I want to migrate it ASP.net structure. Can someone point me to the resources that would explain to me what I would need to do to achieve this. I have some COM+ components, a lot of XML and SQL 2000 querying. What I am looking for is a "dummies"...more >>

What is differ between Application.Run and .ShowDialog() ?
Posted by alex9128 at 7/29/2005 1:41:38 PM
Hi All, I mean if you writing Sub Main in VB you can start you application either way: Dim mainfrm As Form1 = New Form1() mainfrm.ShowDialog() or just Application.Run(New Form1()) What is advantage of each way? And how to count how many times user started application and let do it ...more >>

textbox webcontrol
Posted by Ruth Mermelstein at 7/29/2005 11:43:03 AM
In a dollaramt field, if I enter 123.45, and I want to change it to 123.46, I must place my cursor after the 6 and press backspace. If I place it before the 5 and hit delete, nothing happens. Is that really the behavior of this control, or is there something else I need to do?...more >>

ASP.NET User Controls With Javascript
Posted by sperotti at 7/29/2005 11:16:04 AM
I have a user control in an ASP.NET web page. I setup some client side javascript to populate an asp.net label based on the value of an item selected in an asp.net listbox. The registered javascript cannot "see" either the listbox or the label. How can I get the javascript to recognize th...more >>

Enterprise Library - No Touch Deployment
Posted by John Ross at 7/29/2005 10:20:02 AM
Enterprise Library - No Touch Deployment: I have used this website and I cannot get to it. http://blog.hishambaz.com/archive/2005/01/29/194.aspx Invalid section name. The section 'dataConfiguration' does not exist in the requested configuration file myapp.exe.config or machine.config. Mak...more >>

Strange Behavoir With OleDbDataAdapter
Posted by Chris Mayers at 7/29/2005 9:56:20 AM
Hi, Hope someone can explain this... OK, here is the simplest subset of my code that shows the problem: I have a C# Method: Private void UpdateDataTable(DataTable myDT) { OleDbCommand comm = new OleDbCommand(); comm.CommandText = "AddComponentsForJobT"; comm.CommandType = Comma...more >>

intellisense works erratically
Posted by Bill Talada at 7/29/2005 6:00:07 AM
Intellisense used to work beautifully. In the last couple months, I have to rebuild about every minute to keep intellisense working in dozens of different projects. I moved all imports statements from forms to the project and it worked slightly better. I removed an unused dll reference and ...more >>

Hard closing Socket cannot be detected
Posted by Alper AKCAYOZ at 7/29/2005 5:35:05 AM
Hello Developers, I have developed Server and Client applications that are communicating by TCP/IP sockets. My application is developed on Visual C++ .NET Standard v2003 Windows Forms. When one of the program is closed unintensionally, other is automatically trying to re-connect. But, wheneve...more >>

An InvalidCastException again
Posted by WangHF at 7/29/2005 5:11:04 AM
hi , I had asked this question serveral days ago, but it's still unresolved. And I have found some new things. this error just occured sometimes,not always. the code like this:(It's running in a VS IED Add-In.) public static Mapping Deserialize(string strXmlFilePath) { XmlSerializer ...more >>

Help me please -ArrayList.Sort() problems
Posted by jarkkotv at 7/29/2005 12:48:48 AM
Hi everyone! I'm having a little problem when sorting the ArrayList and I was wondering if there is a .NET guru who can help me out :) I'm trying to sort ArrayList alphabetically in ASP.Net -page using the ArrayList.Sort(), but I not getting the results sorted properly. I'm having problem...more >>

How to Tell if a Parameter is ByVal or ByRef
Posted by Charles Law at 7/29/2005 12:00:00 AM
Using the DTE code model, I can get a CodeParameter object for each parameter to a given function. But how do I know whether it is a ByRef or ByVal parameter? There doesn't appear to be any property of the CodeParameter object that indicates this. TIA Charles ...more >>

Pop-up window and the parent
Posted by thejackofall at 7/28/2005 6:38:56 PM
Hi. I create a pop-up window. From there, I select an item. As soon as I select an item, my JavaScript function, below, gets called. In there, I want the parent window to refresh with a query string. However, the parent window isn't refreshed, but the pop-up window closes silently. W...more >>

Show a closed form brings up old values on form
Posted by Darren Murdoch at 7/28/2005 6:37:39 PM
Gedday, I have a program where users click on a Add Seeker option from the main menu and then another form is opened and the users enter data and then it adds it all to a dbase which works fine and then closes the form. The problem is that when I close the form and go back to the main menu, ...more >>

Stop Excel connecting to Internet?
Posted by jersey at 7/28/2005 5:49:07 PM
I am creating an instance of Excel in a WinForm application. When I try to run this application, there is a long wait followed by a message from my firewall that my application is attempting to connect to the internet. Is there any way to stop automation instance of office from connecti...more >>

Create a TextBox control with BorderColor property
Posted by sreenish at 7/28/2005 5:44:01 PM
Hi All, How can I change the boder color of a TextBox control? I am trying to crate a new control derived from TextBox with a new property BorderColor. I could not find a way to do this. Please help! Thanks, Sreenish ...more >>

.Net Framework 2.0 Collection classes with Delegates?
Posted by cody at 7/28/2005 5:13:08 PM
Is is just my imagination or was there a Beta or VS2005 where an overload Arrayist.Sort(Delegate d) existed? Now Iam using Beta 2 and cannot find it anymore. I think that delegates are a very good alternative instead of using IComparable and stuff. Why do I have to create a class everytime if I ...more >>

Draw an Image on my Form
Posted by DraguVaso at 7/28/2005 4:27:59 PM
Hi, I have an inherited DataGrid, that does lots of extra stuff. For exemple drawing a backgroundimage in every cell. The problem is that it's taking too much time (using gdi+), so I want to do it using DirectX. I downloaded already the DSK etc, but I can't find how I need to draw an image on ...more >>

folder permissions
Posted by Bill H at 7/28/2005 1:12:02 PM
Using Asp.Net/VB.Net on a Win2003 server I need to determine if a Windows user has access to a folder on a local drive. One option is to impersonate, but I've read that impersonating is not scalable via web application. The scenario is this... I'm trying to replicate FTP functionality ...more >>

Storing and then retrieving ValueMember info from a list or combo box
Posted by travlintom NO[at]SPAM yahoo.com at 7/28/2005 1:06:36 PM
Dim intCurID As Integer *** outside of code and available to all *** Dim strConnectionString As String = _ "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\Databases\ClientAppDB.mdb;" Dim objConnection As New OleDbConnection(strConnectionString) ...more >>

Client Script in a Web User Control
Posted by sperotti at 7/28/2005 11:49:02 AM
I have an asp.net web page with a user control within it. I need to run some javascript when a button, that is on the user control, is pressed. The javascript does not run if the script is on the parent page or within the user control. Is this possible with VB.NET 2003? How can I do it? ...more >>

Help with custom dialog
Posted by AMDRIT at 7/28/2005 11:37:02 AM
'System.Runtime.InteropServices.SEHException' occurred in system.windows.forms.dll is generated when I use "My Custom Dialog". Any ideas what I could be doing wrong? Basically, I wanted to create a dialog like Messagebox. I created a class with a public shared function that returns a dialo...more >>

Int32.Parse calling Thread.Abort?
Posted by Alan Baljeu at 7/28/2005 10:34:59 AM
My code calls int.Parse(text), which throws a System.Format exception. This is fine because text is all letters, and I explicitly catch the exception. However, my program never receives the System.Format exception. Instead, I get this in the output, and I receive a ThreadAbortException: A fir...more >>

in C# how do i get to total number of kilobytes of memroy total and available for the current machine?
Posted by Daniel at 7/28/2005 10:29:12 AM
in C# how do i get to total number of kilobytes of memroy total and available for the current machine? ...more >>

Calling an mfc dll from .NET
Posted by Moto47 at 7/28/2005 10:19:04 AM
What steps need to be taken when calling an mfc dll from .NET application? I am getting an ASSERT error from the dll on afxCurrentResourceHandle. Do I need to define anything specific in my .NET application to get this to work...more >>

display an image with BitBlt (in Paint-method)
Posted by DraguVaso at 7/28/2005 10:13:49 AM
Hi, In the override of the Paint-method of a DataGridTextBoxColumn I want to show an image with BitBlt, to see what I can gain there on performance. The problem is: It doesn't show me the image in the DataGrid-Cell's, but a black background... Does anybody has any idea what I am doing wrong...more >>

error 1053 starting custom windows service
Posted by mtc at 7/28/2005 9:35:03 AM
I'm able to install and run a service I built on two machines - the one I built it on and another that has visual studio installed. I've installed it without problems on 3 other machines that don't have visual studio, but when I try to start the service it immediately fails with error 1053: T...more >>

Parser error in global.asax
Posted by .Net Sports at 7/28/2005 9:30:05 AM
I have had to move my files to another machine, and re-install visualstudio.net2003 and re-integrate my project into the IDE. When trying to run/f5 debug , I'm getting a Could Not Load type myproject.global on line one in my global.asax.cs : Line 1: <%@ Application Codebehind="Global.asax.cs...more >>

How do i do javascript with ASP.NET?
Posted by baylor at 7/28/2005 8:29:05 AM
i have an ASP.NET application that displays confirmation prompts using javascript. The text of these messages comes from a string resource file. The script is attached to the button. Code is similar to this: btn_resetPassword.Attributes.Add("OnClick", "javascript:return dConfirm('" + co...more >>

Trying to hide a user control
Posted by Geoff Pennington at 7/28/2005 8:26:22 AM
We use a user control, SCMMenu.ascx, as our menu at the top of our web pages. Under some circumstances we need to hide the menu. At the top of the (.aspx) page we register the control with: <%@ Register TagPrefix="eSCM" TagName="ctrlSCMMenu" Src="/eSoftware/Common/SCMMenu.ascx" %> At the ...more >>

Automated Testing Tools
Posted by Web Developer at 7/28/2005 8:22:02 AM
Can anyone recommend a good automated testing tool that works with .Net? I'd like to generate scripts to unit test my applications, and have the ability to regression test. Thank you!...more >>

Global Parameters?
Posted by Steve at 7/28/2005 5:27:08 AM
Visual Studio 2003 / C# My application has 1 main form. On this form is a treeview object down the left hand edge and a status bar along the bottom. That is all. The tree view acts as my menu controller, and when the users click an item, I generate instances of various UserControls I hav...more >>

Declaring p/invokes different ways?
Posted by smurf75 at 7/27/2005 10:11:02 PM
Hi! I'd like for someone to please explain something about p/invoking that i havent managed to find out else where. I believe that following two snippets both are p/invokes? <DllImport("rapi.dll", CharSet:=CharSet.Unicode)> _ Private Shared Function CeRapiUninit() As Integer ...more >>

win2k3 sp1 causes System.Net.WebClient.OpenRead to throw WebExcept
Posted by ptass at 7/27/2005 8:09:02 PM
Hi I've installed win2k3 sp1 on a machine where an openRead on any given file was previously working. After installation, I get a webException as follows... ..message "An exception occurred during a webclient request" .._Hresult = "-2146233079" .._COMPlusExceptionCode ="-532459699" Sorr...more >>

mouse events when the mouse is on a "child control"
Posted by red at 7/27/2005 6:15:06 PM
mouse events when the mouse is on a "child control" hi everyone; my problem: I have a userControl in this usercontrol, I have a child control (a button) when the mouse moves over the userControl, I can detect the movement using MouseMove event. the problem is when the mouse is on the chi...more >>

Stack trace
Posted by JP at 7/27/2005 5:27:02 PM
I managed to get error checking does in my application. In using the Exception object I can get all the information I need about the error like the line # where the exception occurred. IS there a way I can have it also return my the physical line of code at that line number in the StackTrace a...more >>

object oriented question - pass dataset to a class and back
Posted by Andrew Carlson at 7/27/2005 3:22:03 PM
I have a class that performs a few methods on a dataset. That dataset then fills a grid on a form. What I would like to do is to assign a particular dataset to the class at runtime. For instance, if I have 5 datasets named dataset1 through dataset5, how can I call the class from my form, p...more >>


DevelopmentNow Blog