Home All Groups Group Topic Archive Search About

General .NET discussion

microsoft.public.dotnet.general
Score bios does not recognize hard drive
comit2 - 3 Nov 2007 8:27 PM - 4 messages
itried to install xp home edition .  everything was loading ok untill eror message that os couldnot find hard disk drive.  upon opening bios it shows my cd drive as primary and my dvd drive as slave , in device manager it shows ...
Score Adding index to string
Ibrahim - 3 Nov 2007 2:06 AM - 5 messages
Hi, I need to add an index to "GC-TI-0001" so that i can form the following strings "GC-TI-0002", "GC-TI-0003", "GC-TI-0004", etc. Is there a fast and easy way to do this in .NET or do i need to parse and then add and then add ...
Score How to Create a new attribute to append to XmlElement
Jon Jacobs - 3 Nov 2007 2:05 AM - 4 messages
XmlElement has an attributes collection (called Attriburtes) Attribures has an Append method to which you pass a node XmlNode mustinherit, so I can't create that. XMLAttribute New is protected, so I can't create that. How in the world do I create a new attribute to add to the Attributes???? ...
Score DataGridView Design alternatives
jay parzych - 3 Nov 2007 12:10 AM - 2 messages
I have many tables that are 'lookup' tables and want to provide a way for users to Add/Update rows to them. I will present the data in a datagridview, using a collection of objects connected to a binding source.   The logic for validating and saving is ...
Score What ports do i need to unblock on client and server (running msvsmon.exe) to debug remotely from my
DR - 2 Nov 2007 11:53 PM - 2 messages
What ports do i need to unblock on client and server (running msvsmon.exe) to debug remotely from my client box with visual studio 2005 pro? When I attach to remote process a connection shows up in msvsmon.exe on the ...
Score CD/DVD problem
chrisgwinn - 2 Nov 2007 8:28 PM - 2 messages
Hi All, The prob is this:  Computer used to play DVD's no problem at all (it has InterVideo WinDVD). Now it will do anything you like with CD's etc... it does everything its supposed to EXCEPT play DVD's.  The CD/DVD drive just makes a little noise ...
Score asp.net stored procedure return value question
mazdotnet - 2 Nov 2007 7:41 PM - 2 messages
Hi guys, I can't figure out why this is not working? I need to display all the rows for a given query for a given page index (ex. row 10..20) and the total number of rows. I got the first part to work. However, when I ...
Score Viewstate problem
Ritu - 2 Nov 2007 7:02 PM - 2 messages
Hi, I get a viewstate error on my machine when trying to load a page with grids. The error is The viewstate is invalid for this page and might be corrupted. The bizzare part is that the error occurs only one my machine. There ...
Score Dotnet application deployment
frank.grunwald - 2 Nov 2007 2:44 PM - 2 messages
Hello, Sorry if you find my question stupid, I'm kind of newb' in windows development. I developped a simple application that makes a systray icon, a context menu and a few simple forms attached to it. It has been developed ...
Score What is the perfect application model?
Andreas Zita - 2 Nov 2007 9:46 AM - 6 messages
What is the perfect application model? Lets say we could run a .NET-applikation on the server in a user-session and only tunnel the interface to the client, similar to how VNC or Remote Desktop is working (to any klient setup/os). Wouldnt that be a good thing? I ...
Score Reading in a text file and using the data.
Paul Lemelle - 2 Nov 2007 3:13 AM - 2 messages
I am trying to read in a text file then use the data in the file. I know how to read a file wiht the System.IO namespace: FileRead fr = new StreamReader("data.txt"); Console.Writeline(fr.Readline()); or StreamReader fr = File.OpenText("Data.txt"); ...
Score C++ Tricky Problem
thejackofall - 2 Nov 2007 1:31 AM - 4 messages
I have a few global variables and a function that gets called multiple times to complete a single transaction and uses the variables.  The function gets different notifications.  When the function receives a final notification, that where I need to release the global variables.  I don't have control over ...
Score Is there any way to give xsl in C# a hint as to how large the resulting document will be so that it
DR - 1 Nov 2007 10:46 PM - 2 messages
Is there any way to give xsl in C# a hint as to how large the resulting document will be so that it preallocates more efficiently? ...
Score Having trouble running a setup.exe using VB .Net code
OriginalStealth - 1 Nov 2007 8:23 PM - 2 messages
My setup.exe is located on the share.  I wrote the following code to start the .exe      Dim sRemoteFile As String      sRemoteFile = "\\shareA &"\" & "setup.exe"                 System.Diagnostics.Process.Start(sRemoteFile, ...
Score TOC file does not merge correctly
Kathye - 1 Nov 2007 1:40 PM - 2 messages
I am trying to merge multiple .chm files and cannot get the child TOC to merge correctly. I followed the instructions in the HHW Help on "Creating links from one contents file to another", but when I compile and open the ...
Score VS2008 and VS2005
guy - 1 Nov 2007 9:01 AM - 14 messages
Is it safe to load VS2008 on a VS2005 dev box? And no - dont talk Virtual PCs that is not the question:-) guy ...
Score Fastest way to move XML document into and back out of CLR function
DR - 1 Nov 2007 1:41 AM - 2 messages
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 ...
Score Using a web service
MikeB - 31 Oct 2007 6:04 PM - 5 messages
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#. ...
Score Problems with identity impersonate parameter in web.config file. H
IVRGuy - 31 Oct 2007 5:23 PM - 3 messages
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 ...
Score "'System' denotes a 'namespace' where a 'class' was expected"
Jeremy - 31 Oct 2007 5:10 PM - 6 messages
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 ...
Score Casting and templates...
Oriane - 31 Oct 2007 5:09 PM - 3 messages
Hi there The following code doesn't complie: ________________________________________________________   public interface ITree     {          ITree  GetFather ();          List<ITree> GetChildren(); ...
Score Writing an array to a REG_MULTI_SZ registry key adds newlines
Bas Rijniersce - 31 Oct 2007 4:31 PM - 3 messages
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 ...
Score How do I get Crystal Reports to work in the Server?
Alonso - 31 Oct 2007 12:34 PM - 3 messages
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 ...
Score vs2008
John - 31 Oct 2007 12:22 PM - 5 messages
Hi What are the advantage of vs2008 over vs2005? Thanks Regards ...
Score Need fast path to VB.NET
Jay Vinton - 31 Oct 2007 6:36 AM - 4 messages
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 ...
Score SynTPEnh.exe and SynTPLpr.exe
Questioner - 31 Oct 2007 2:44 AM - 3 messages
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? ...
Score Missing many HTML properties in design time
GD - 30 Oct 2007 10:47 PM - 6 messages
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 ...
Score Error Copying Files--Need help ASAP!
OriginalStealth - 30 Oct 2007 7:50 PM - 2 messages
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 ...
Score VS Standard 2005 vs 2008
Arek - 30 Oct 2007 3:52 PM - 4 messages
Hi, I'm going to buy Visual Studio Standard Edition. I've found product feature comparison for VS 2005 version ([link] 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 ...
Score Failure sending mail
Danny - 30 Oct 2007 8:53 AM - 3 messages
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 ...
Score how to set Reference for dynamic control
System.Xml.XmlDocument - 30 Oct 2007 7:25 AM - 2 messages
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? ...
Score how to use a C# dll like a C dll
Relaxin - 29 Oct 2007 10:52 PM - 2 messages
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. ...
Score Why learn MSIL
Creativ - 29 Oct 2007 8:46 PM - 7 messages
I'm wondering what's the benifit of learning MSIL. I can only think about debugging. Can anyone give me some hints? ...
Score Beginner - What Software will help me learn
pepino13 - 29 Oct 2007 5:57 PM - 3 messages
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? ...
Score Closing SafeHandle
valentin tihomirov - 29 Oct 2007 3:21 PM - 2 messages
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 ...
Score Can VBNet2005 query AS/400 table structure?
ngrTerry - 29 Oct 2007 9:50 AM - 2 messages
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. ...
Score Architecture for a Webservices project
NewsGuy - 29 Oct 2007 9:43 AM - 9 messages
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 ...
Score Unable to cast COM object
Simon Pollock - 29 Oct 2007 9:24 AM - 6 messages
I have a small VB.NET 2005 application which automates Access 2007. The application runs fine on the development machine. However, on the target machine I get the following runtime error. Access 2007 is installed on both machines. How can I resolve this problem? ...
Score Viewstate for dynamic radio button list in ASP.Net 2.0
System.Xml.XmlDocument - 29 Oct 2007 7:23 AM - 2 messages
Hi I am generating radio button list dynamically in Page_Init. How to maintain the viewstate for the same after post back ? ...
Score Javascript array to vb array
John Bundy - 28 Oct 2007 10:35 PM - 7 messages
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. ...
Score MSDN Subscriptions
guy - 28 Oct 2007 12:06 PM - 6 messages
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 ...
Score Part OT: 64 Bit Laptops
guy - 28 Oct 2007 11:36 AM - 2 messages
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. ...
Next »