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
all groups > dotnet general > october 2007

Filter by week: 1 2 3 4 5

Fastest way to move XML document into and back out of CLR function
Posted by DR at 10/31/2007 6:41:35 PM
Fastest way to move XML document into and back out of CLR function In SQL Server 2005 and Visual Studio 2005, what is the fastest way to pass an xml data type variable into a C# CLR function and retrieve it back out of the C# CLR function when the C# CLR function is done modifying it? I tr...more >>


Casting and templates...
Posted by Oriane at 10/31/2007 6:09:40 PM
Hi there The following code doesn't complie: ________________________________________________________ public interface ITree { ITree GetFather (); List<ITree> GetChildren(); } public class A : ITree { protected A m_father; protect...more >>

Using a web service
Posted by MikeB at 10/31/2007 6:04:12 PM
I'm really new at this. Trying my hand at creating an ASP.Net website using C# as the language. I have written a website using ASP.net and VB and I have worked through a book on using C#. I have a sample C# asp.net application from here (http:// www.prosper.com/Downloads/Services/Samples/Pros...more >>

vs2008
Posted by John at 10/31/2007 12:22:37 PM
Hi What are the advantage of vs2008 over vs2005? Thanks Regards ...more >>

Problems with identity impersonate parameter in web.config file. H
Posted by IVRGuy at 10/31/2007 10:23:00 AM
I've been trying to use the identity impersonate parameter, as Microsoft Tech Support indicated I should, to enable a .Net application to access an MS-Access .mdb file on a Windows 2003 voice response system server at the same time that the IVR application on that server has the file open for ...more >>

"'System' denotes a 'namespace' where a 'class' was expected"
Posted by Jeremy at 10/31/2007 10:10:16 AM
I've got two projects, both reference system, system.data and system.xml and both include the using System.Xml.Serialization and using System at the top of the file. Both also include the XmlElementAttribute attribute on some properties as defined below, but on one project I get the error "...more >>

Writing an array to a REG_MULTI_SZ registry key adds newlines
Posted by Bas Rijniersce at 10/31/2007 9:31:03 AM
Hello, I'm trying to write: strMulti = new string[] { @"c:\pagefile.sys", "512", "512" }; with: keyRead.SetValue(regKey, strMulti, regKind); Where reKind is Multistring Unfortunately it ends up int he registry as c:\pagefile.sys 512 512 while it should be c:\pagefile.sys 512 512...more >>

How do I get Crystal Reports to work in the Server?
Posted by Alonso at 10/31/2007 5:34:01 AM
Hello. I developed an application which works in an Intranet. I use Crystal Reports. I have not been able to see the reports. Please note that I already downloaded and installed in my bin folder the deployment install package from the Crystal Reports site. I get an error of a File not fou...more >>



Need fast path to VB.NET
Posted by Jay Vinton at 10/30/2007 11:36:00 PM
I see general messages about how to learn .NET but I have an immediate requirement to ramp up my old skills very quickly. Can anyone recommend the FASTEST way for me to get almost-competent in VB.NET (C# will come later)? This must be an online or book adventure because I can't totally disa...more >>

SynTPEnh.exe and SynTPLpr.exe
Posted by Questioner at 10/30/2007 7:44:01 PM
These are making me crazy: if I end process I'm able to go much faster. What's the deal? Is it okay to end process all the time? Can I do it permanently?...more >>

Missing many HTML properties in design time
Posted by GD at 10/30/2007 5:47:58 PM
There is a big difference between my VS.net 2005 team edition and my co-workers'. We all installed VS.Net 2005 SP1. However, in my IDE, the table cells in the web project are missing about 40% properties. For example, the frequently used "nowrap" property is missing. In addition, I have not...more >>

Error Copying Files--Need help ASAP!
Posted by OriginalStealth at 10/30/2007 12:50:00 PM
I have a Windows app that has a C# class that calls a VB .Net module to copy the latest files to the user's local drive from a shared location(via XML) everytime the user hits the startup icon. When I compile in Release mode it runs fine. When I run my new setup.exe, that runs fine. When I ...more >>

VS Standard 2005 vs 2008
Posted by Arek at 10/30/2007 8:52:46 AM
Hi, I'm going to buy Visual Studio Standard Edition. I've found product feature comparison for VS 2005 version (http://msdn2.microsoft.com/en- us/vstudio/aa700921.aspx). I'm looking for something similar for VS 2008. Is there any? I've installed Orcas Beta 2 Standard and I've found that there...more >>

Failure sending mail
Posted by Danny at 10/30/2007 1:53:09 AM
Hi all, Trying to send mail with System.Net.SmtpClient, using very simple code just for testing: SmtpClient smtp = new SmtpClient("mail.server.com", 25); smtp.Credentials = new System.Net.NetworkCredential("user", "password"); try { ...more >>

how to set Reference for dynamic control
Posted by System.Xml.XmlDocument at 10/30/2007 12:25:01 AM
i am using dynamic wizard control within a placeholder i used the following code and g has null value Wizard g = (Wizard)this.PlaceHolder1.FindControl("WizardControl"); can anyone help in this? ...more >>

Why learn MSIL
Posted by Creativ at 10/29/2007 8:46:06 PM
I'm wondering what's the benifit of learning MSIL. I can only think about debugging. Can anyone give me some hints? ...more >>

Beginner - What Software will help me learn
Posted by pepino13 at 10/29/2007 5:57:48 PM
I am a beginner and I am acquiring a new PC with XP Professional, I am currently using notepad to write ASP.Net pages. Is there any software that would help me or make it easier to learn? thanks, ...more >>

Closing SafeHandle
Posted by valentin tihomirov at 10/29/2007 5:21:02 PM
The SafeFileHandle is an extension of SafeHandle, which requires Close() or Dispose() after used according to the docs. There are many examples on using the named pipes in .Net. All the examples expoit FileStream(CreateFile(PIPE_NAME)). You may look at http://blog.paranoidferret.com/index.ph...more >>

how to use a C# dll like a C dll
Posted by Relaxin at 10/29/2007 3:52:29 PM
I want to create some DLL's in C# but they must be used in a C program. How do I create the exports for the C# dll and how would I access them from a C executable or DLL. If it can't be done using C, then how do you do it if you are using C++ ? P.S. The C program is a Windows program. ...more >>

Can VBNet2005 query AS/400 table structure?
Posted by ngrTerry at 10/29/2007 2:50:03 AM
I need an app which will go to a library on the AS/400 and then give me a list of tables that are in there. I then want fo go through the tables and retrieve the structure of those tables. So something like For each Table in Library for each field in table get the properties...more >>

Architecture for a Webservices project
Posted by NewsGuy at 10/29/2007 12:00:00 AM
Hello I'm concidering better ways to architecture our VB.Net Webservices project. Below is a draft of what I thought would be a decent way to go about it, I was wondering about other peoples thoughts. I thought maybe a half business object half dataset approach is feasable...Im not sure... ...more >>

Javascript array to vb array
Posted by John Bundy at 10/28/2007 3:35:01 PM
Hey guys, I've searched high and low for a way to populate a vb array with data from a javascript array. I can find 50 ways to do it with ASP but not one for VB. I appreciate what help you can give. -- -John Please rate when your question is answered to help us and others know what is help...more >>

MSDN Subscriptions
Posted by guy at 10/28/2007 5:06:00 AM
I have an expired MSDN subscription and need to install some software (Server 2003 and VS) from it that requires a product key. Despite the FAQ explicitly stating that I can use the software after the subscription has expired there seems to be no way of getting a product key without a subscrip...more >>

Part OT: 64 Bit Laptops
Posted by guy at 10/28/2007 12:00:00 AM
I currently have an Acer Travelamte 800, about 5 years old. 1.3Mhz Centrino, 4Gb Ram, 80Gb 7200rpm HD. The screen is 1400 x 1050 The sound on it has stopped working, not that this is important. I am considering replacing it with a new laptop and am considering options. It will be used for d...more >>

Integer not incrementing in Windows Vista, is in XP Pro/Home
Posted by Mike K at 10/27/2007 11:03:01 AM
I have a Net 2.0 app in VB that has code like this: Dim intA as Integer Dim intB as Integer dim myList as new List(Of String) intA = 10 intB = 20 .... code to fill the list .... intA = intA + 1 intB = intB + 1 Then I insert into a list of type String, like so: myList.Insert("t...more >>

I want to type in Korean and Simplified Chinese words!
Posted by KerChin Teh at 10/27/2007 10:06:01 AM
I want to type in Korean and Chinese but how? I seem can't activate my Laguage Bar and i had the box checked... Where do i install IME for my computer? I'm using Microsoft Window XP and Microsoft Office 2003 I can't seem to find a download for it... I read alot of thread about it still won't he...more >>

Microsoft Office:mac 2004
Posted by maggeecat at 10/27/2007 8:19:00 AM
Is it possible to load the French version of office mac 2004 into English?...more >>

Create custom server variable
Posted by mbasil77 NO[at]SPAM gmail.com at 10/27/2007 1:17:34 AM
I'm trying to create a custom server variable in DOTNET. Is there a way to do this? I know there are MUCH better/easier ways to store session data ... However, I'm dealing with a legacy application that relies on this. Thanks in advance. mb ...more >>

Windows XP Home Service Pack 2
Posted by kratos at 10/26/2007 11:51:00 PM
I recently had to wipe out my computer and reload the OEM start up disk. Of course I have had an incredible number of updates. All have been fine until the critical Service Pack 2. It goes through the wizard and gets to the point where it starts to install. At the same point every time it ...more >>

there seems to be some overhead between SQL Server 2005 and a CLR function written in C#. Why is this?
Posted by DR at 10/26/2007 9:24:54 PM
there seems to be some overhead between SQL Server 2005 and a CLR function written in C#. Why is this? I have a simple wraper around System.Diagnostics.Stopwatch.GetTimestamp() : public partial class UserDefinedFunctions { [Microsoft.SqlServer.Server.SqlFunction] public static lon...more >>

Sending attachments with email
Posted by Brandy at 10/26/2007 9:14:00 PM
I am trying to set up my windows live account and it is asking for my incomming POP3/IMAP server and my outgoing SMPT server. Can anyone please give me an example of what this would be. I am sure that I could figure it out if I had an example. i don't even know how to contact outlook to as...more >>

XML to VB.net DataView???
Posted by Alan Mailer at 10/26/2007 8:41:03 PM
Is there a way of taking a fairly basic XML file and turning its contents into the contents of a VB.net DataView instance? Thanks in advance for your help?...more >>

streamlining
Posted by mttmwsn at 10/26/2007 1:29:37 PM
I'm fairly new to MS products and I need some NG help. I'm doing a big construction project and I have serveral companies sending me billing data in excell format. I want to create a summary of my spending to see if it matches up with my budget. What I want to do is to centralize the accoun...more >>

Silicon Valley Code Camp - anyone going?
Posted by Chris Mullins [MVP - C#] at 10/26/2007 9:55:30 AM
Anyone here going to the Silicon Valley Code Camp this weekend? http://siliconvalley-codecamp.com/ I'm doing 2 sessions on Sunday (Concurrency / Gargage Collection), and would like to match some faces up with some names... http://siliconvalley-codecamp.com/Sessions.aspx?OnlyOne=true&id=187 ...more >>

Copying a transparent 32 bit bitmap to the clipboard
Posted by at 10/26/2007 7:16:09 AM
Hi All, I am struggling with this from 48 hours and cannot succeed, of course I've tried: DataObject dObj = new DataObject(); dObj.SetData(DataFormats.Bitmap, false, bitmap); Clipboard.SetDataObject(dObj, true); and Clipboard.SetImage(bitmap); But nothing: tranparency DOES NO...more >>

Recover data from a bitmap and filling a matrix
Posted by Marco Biagioni at 10/26/2007 12:53:11 AM
After i've tried to update a vb 6.0 project to vb.net, using visual studio utility,i can't read correctly data bytes from a .bmp file to insert them in a matrix to operate on. Using vb 6.0 the code was based on Get function: GET #1, PIXELSTART, PHOTO.MATRIX where PHOTO is a structure da...more >>

Generating CAB s
Posted by MG at 10/26/2007 12:00:00 AM
Can anyone please explain the generation of CAB files spanning several discs. ..ddf usage i want to generate a CAB from a Folder. the folder may have files and sub-folders. thanks. ...more >>

Help with Setup project
Posted by Technolust at 10/25/2007 4:06:55 PM
Hi there! I'm using VS 2005 SP1 to create a setup project. I'm checking for a registry entry in HKCU\Software \FMI\NCR called 'TemplateFolder' in the Launch Conditions tab. The Property is set to REG_NCRTEMPLPATH. In the Registry tab, I want to create the same registry entry as above only...more >>

DNS Errors ?
Posted by Bil Click at 10/25/2007 3:22:01 PM
We have a VB.NET 2.0 application running as a service on several servers. All are either domain controllers or member servers. Service runs under domain admin acct. Has been running for several years. The apps start every 15 minutes and attempt to download from the same web site. The apps...more >>

XSL delivers an unwanted bonus
Posted by AlBruAn at 10/25/2007 12:19:03 PM
I have an app wherein I need to transform some XML using an XSL Stylesheet. Everything works great until the end of the template is reached. My template is as follows: <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transf...more >>

error message
Posted by MaioMan at 10/25/2007 9:39:01 AM
i keep getting this message when i sign on: Resource file<C_PsdRsDll>not found! whats that mean and how do i fix it??...more >>

Advice needed
Posted by BigSam at 10/25/2007 8:44:06 AM
I hope I'm in the correct forum. Please advise if I need to move this question. I've a lead developer who insists on developing with classic ASP & VB6. He & his team have created an impressive set of web pages, relying to a great extent on COM+ components. Normally I want to stay out of other...more >>

How do i supply a list to an SQL "IN" list via parameters?
Posted by jayv at 10/25/2007 8:26:01 AM
The best way to explain it, is to show you what i "thought" should work and hope that you can show me a way to make it work please and thanks... string ingredients = "pepper,salt,eggs"; strSql += " AND ingredients IN @pIngredients"; string[] myList = ingredients.Split(','); sda.SelectCommand...more >>

GridView - rant continued
Posted by guy at 10/25/2007 4:05:01 AM
Ok so i want to change the column headings - so you set .HeaderRow.Cells(i).Text to the text required right? yes that works but if sorting is enabled it does not cos the button is changed to a text field. Why? What is gained by this? you have to :- DirectCast(GridVewName.HeaderRow.Cells(i...more >>

SecurityException when I run an application on local intranet
Posted by Sreekanth at 10/24/2007 11:27:25 PM
I am trying to write an application which users will run from intranet network to determine if some of the software installed or not. Basically I am getting this information from registry. If software is not installed, I will either start the appropriate setup.exe or open the folder containing r...more >>

Issue using Process.Start() to execute command line statement
Posted by Job Lot at 10/24/2007 10:21:02 PM
I am having issues copying files from network drive to local machine using xcopy. The following code works alright for a console application, but as soon as i call this code in Form Load event of windows application it does not work. I am confused here, it copies files in a console application...more >>

Running an executable pre and post compilation in VS.NET (2003)
Posted by Olumide at 10/24/2007 9:30:16 PM
Hi - I'm writing a plugin with VS.NET (2003), for an application (Autodesk Maya). My work cycle is basically: 1. write code 2. unload plugin in target application (where I do my testing) 3. compile plugin 4. load plugin in external application (bash head against table when plugin does not...more >>

Which .NET class for HTTP communication?
Posted by Lamont Sanford at 10/24/2007 4:58:23 PM
Hi, I'm designing a client application that communicates with a server via HTTP. The mechanism is fairly simple: 1) Create an XML-formatted string containing the data to send. 2) Send the data to the server via HTTP using a "POST" method. 3) Wait for the server to return XML-formatted data...more >>

Windows Live ID and Authorization
Posted by Stephen Boyd at 10/24/2007 3:49:11 PM
Hello, I am implimenting the Windows Live ID into an ASP.NET Web Portal and would like to know if anyone can direct me to documentation/samples of how, if possible, I can tie the Windows Live ID Authenticated user into the ASP.NET Roles management system. Specifically similar to Forms Au...more >>

Automate webbrowser login
Posted by John Bundy at 10/24/2007 3:00:01 PM
Been a while since playing in .NET. What I want to do is common, but I can't find a straightforward anwer. I have a webbrowser1 that opens a url, I want to be able to log into this automatically with username and password. There is no string to grab after login that i can just enter so what i ...more >>


DevelopmentNow Blog