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 > march 2006 > threads for wednesday march 1

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

how to add a new row into exsiting table of DataSet
Posted by Konda at 3/1/2006 10:39:00 PM
Hi All, I have a problem with DataSet while adding a new row into dataset by another dataset. My assignment is Adding and Removeing from Two Grids. I want to add a row into new Grid2 when i selected a row from grid1 then it should be deleted from grid1 after added into grid2. these manipulat...more >>


A Question Regarding WebService Test Page
Posted by batista at 3/1/2006 10:32:48 PM
Hello all, I just want to ask one question about the web service test page. The functions which are shown on this test page are not shown in the order in which they are implemented in code. They are not even ordered alphabetically... So in what order are they shown? and can I change their ord...more >>

Project Organization - Recommendations or Best Practices
Posted by Jordan at 3/1/2006 8:55:55 PM
I'd appreciate references to online materials presenting general recommendations or best practices (if there are any) for organizing .NET projects.... ideally covering things like naming conventions, custom namespace usage, file and folder hierarchies, multi-project solutions, etc. And, yes...more >>

Issue with CLR Debugger?
Posted by semigeek NO[at]SPAM gmail.com at 3/1/2006 8:54:22 PM
Hi, I am trying to use CLR Debugger, but i am unable to open up 'Disassembly' window. Now here is what i do. First off, i open up my exe using 'Program to Debug' i.e. MyProject.exe and then i open up my 'MyProject.cs' i.e. C# source code file by going to File->Open->File->MyProject.cs. Now i...more >>

Databinding to the textbox
Posted by Monty at 3/1/2006 8:31:34 PM
Hello, I am new to VS VB.net 2005 and would like some comments if possible. I should say that this is a site I am making (trying to make) for the Internet. Why can't I use the text field to databind a patients name for example. What is the commonly used method for just binding my database d...more >>

Databinding with the textbox?
Posted by Monty at 3/1/2006 8:30:10 PM
Hello, I am new to VS VB.net 2005 and would like some comments if possible. I should say that this is a site I am making (trying to make) for the Internet. Why can't I use the text field to databind a patients name for example. What is the commonly used method for just binding my database d...more >>

Web Service Returns DataTable or DataReader
Posted by Tedmond at 3/1/2006 8:01:27 PM
Dear all, How to code a Web Service function that returns either a DataTable or DataReader to the clients? Or I should use other alternative? Thanks for any help! Tedmond...more >>

"Processing Request" Message
Posted by WB at 3/1/2006 5:16:27 PM
Hi, I have a webform that takes input from user and on postback it'd do a few things before redirecting the user to another page. Now the problem is those "few things" are very resource intensive and takes a while to get done. So, I'd like to show the user a page or a message like "Processi...more >>



Encoding.ASCII.GetBytes
Posted by devgrt at 3/1/2006 3:40:15 PM
Checking if proper/best way to do this... I have to pass a C# string to a C++ DLL. The function in the DLL (gethostbyname) requires a null terminated string. It seems like when you do byte [] var = Encoding.ASCII.GetBytes(string); that it only loads the byte array with the chars and does not ...more >>

copy forms across applications
Posted by kirschpe NO[at]SPAM hotmail.com at 3/1/2006 2:36:24 PM
I developed an application using visual studio 2003. Now I want to make a similar application without having to redesign similar forms. Is there a way to copy and paste windows forms across application? I can copy from one to the paste buffer. BUT, there is no corresponding paste on the secon...more >>

Setting an object to a User Control
Posted by Dave at 3/1/2006 2:32:05 PM
If I have a name of a User Control in my project, how can I set an Object to that User Control? ie; I have a User Control, called "Accounts" in my project I tried the following code strUserControlName = "Accounts" frmMain.Controls.Add(strUserControlName) But, of course, the above cod...more >>

cookie-based authentication with HttpWebRequest
Posted by cowbell at 3/1/2006 1:40:30 PM
Providing authentication for protected content via Basic/Digest Headers seems pretty straight-forward, but I'm stuck trying to figure out how to do something a little different: say you have some sort of page of customizable content - an example might be a portal page that you've tweaked to...more >>

Converting hours to ticks
Posted by maflatoun NO[at]SPAM gmail.com at 3/1/2006 1:07:26 PM
Hi guys, How do I convert 6000 hours (int) to ticks? Thanks Maz. ...more >>

Mini dump created but empty
Posted by tbatwork828 NO[at]SPAM hotmail.com at 3/1/2006 12:48:39 PM
Visual Studio 2005. I have compiled my dlls/exes in Release mode and also setting Debug Info="full"under Project - Properties - Build - select "Release" under "Configuration" drop down - the Advanced button at the bottom. When I compile, I get all pdbs for each dll/exe. We are running Win XP. ...more >>

Encoding.ASCII.GetString()
Posted by devgrt at 3/1/2006 11:41:55 AM
C#: I have a buffer that is populated with char data from a DLL: byte [] ret = new byte[1024]; I want to convert to a C# string: string msg = Encoding.ASCII.GetString(ret, 0, ret.Length); The problem is I never know in advance what size the string will be. When I call Encoding.ASCII.GetSt...more >>

Should be Simple: Downloaded Web app "Publish" and run
Posted by Rocky Clark at 3/1/2006 11:36:00 AM
Now please be gentle. I have been a Microsoft developer for many years and used everything from VB 3.0 to Visual Studio 6.0 from their inception. I am now attempting to switch to .net. I had no idea how high the learning curve would be, but I continue to push on. I've downloaded this exe (s...more >>

Where did VWD go?
Posted by Michael at 3/1/2006 11:21:29 AM
I am installing from my MSDN VS 2005 Professional Edition DVD dated December 2005. The computer I'm installing on had VS 2003 installed before, I uninstalled it, then installed VS 2005. After installation I do not have any options to create a web application (ASP.NET). This computer had no ...more >>

count lines of code
Posted by bill at 3/1/2006 11:09:12 AM
All, Anything in Visual Studio to count lines of code? TIA Bill ...more >>

CREATE SHORTCUT
Posted by Ganesh Muthuvelu at 3/1/2006 10:44:26 AM
Hello, How do I programatically create a shortcut in .NET?. This is not for a SETUP program but within my application, I have a need to create shortcuts using code. Can anyone help? Thanks....more >>

dotnet 2.0 performance
Posted by dabi at 3/1/2006 9:59:28 AM
Since .Net 2.0 has many new controls, I was wondering if it impacts the webserver in any way. Is the performance of .Net 2.0 affected in any way? Thanks...more >>

app.config
Posted by Khodr at 3/1/2006 9:12:41 AM
Hello, I am using VS.NET 2003 and vb. I build my application MyApp and it generates MyApp.exe.config. So now MyApp.exe reads parameters from MyApp.exe.config. Great and no problem! I need to run the same program but with different configuration data. So I made a copy of MyApp.exe and MyApp.ex...more >>

Problem with XmlDocument
Posted by NN at 3/1/2006 9:02:00 AM
Before that nothing I want to ask for excuses for my english level. The problem that I have is the following one: I have a file xml with "encoding=ISO-8859-1" and accents. When in VB.NET, in a Form I write: Dim objxml as new XmlDocument and then when de Forms load: objxml.Load("C...more >>

Hit-Testing Problem in Ink API
Posted by a4w NO[at]SPAM newsgroups.nospam at 3/1/2006 9:00:35 AM
I am not sure if this is too-granular a question to post to this group; however, I did not see a Tablet-specific group. I am experiencing a problem with the Microsoft.Ink.Ink.HitTest(Point [], float) method in the Tablet SDK. I have pasted code below that verifies the problem using NUnit. In s...more >>

Multidimensional array question
Posted by BobbyS at 3/1/2006 8:05:27 AM
I am trying to develop a multidimensional array for use of searching a very large database. I understand the concept of one and two dimensional arrays but this project would include up to 12 or 13 criteiras for the search. The engine needs to be user friendly for general public use so the SQL/...more >>

Query SQL Servers
Posted by Paul at 3/1/2006 7:55:30 AM
How can I query a SQL server to determine if an SQL job is enabled or not using Visual Basic.net...more >>

uml designer
Posted by Alan at 3/1/2006 6:11:30 AM
Hello, I'm looking for an uml designer tool for visual studio 2005 professional. I have visio 2003 professional where I can design uml class, but I can't generate the c# class in visual studio 2005. Is there an option in visio ? Or another tool (not expensive) ? Thanks ...more >>

get date last modified
Posted by SQLcat at 3/1/2006 4:46:27 AM
I have a VBScript as follows: Dim xmlHTTP : Set xmlHTTP = CreateObject("Microsoft.XMLHTTP") Dim adoStream : Set adoStream = CreateObject("adodb.stream") Const bGetAsAsync = False ' wait for response Const adTypeBinary = 1 ' ado typelib constants Const adModeReadWrite = 3 Const adSaveCreate...more >>

How to add sub-directories to the target machine in a .NET setup project
Posted by jimmyfishbean NO[at]SPAM yahoo.co.uk at 3/1/2006 4:34:14 AM
Hi, Please could someone tell me how to add sub-directories to the target installation directory when during a .Net setup project installation. I have added a setup project and my application EXE and DLLs are all OK, but I cannot get my installer package to add additional items. I am using ...more >>

How to Place DLLs in Subdirs
Posted by Ecke at 3/1/2006 4:26:29 AM
Hi, i have writte 3 projects, 1 application (.exe) and 2 DLLs. In the application i use the references to add the 2 DLLs to work with their namespaces and functionallity. But the application always copys the DLLs in its own diretory. I want to have my own structure e=2Eg.: C:. =A6---Ap...more >>

streaming xml file adds character
Posted by P1ayboy at 3/1/2006 4:21:30 AM
Hi I'm saving an xml file, but when the file is streamed (downloaded by the user), it appends an additional chracter on the end. This character is invisible in notepad, but appears as a square WordPad. The document is an XML file so it therefor becomes invalid and can't be parsed. Any go...more >>

request("Quantity") IN .NET
Posted by Des at 3/1/2006 1:54:04 AM
I have upgraded some software from classic ASP to .NET I am not using the .NET datagrid. Ihave a html table with a <type="text"> but on the submit to another page it is not readable. I have been told that classic ASP does not work in .NET is there an easy solution to reading this text box value...more >>

Search for a string inside PDF file
Posted by ra294 at 3/1/2006 12:00:00 AM
I need to search programmatically if a certain string appears inside a PDF or CHM file. The search is done only once for each file so I don't think that a solution to index the file using Index server is right here. Anyone knows how to do it? A simple code example will be appreciated. ...more >>

Configuration
Posted by Eric at 3/1/2006 12:00:00 AM
Hi In .NET it is possible to add a file-attribute in the appSettings-element of a configuration-file so that if the file exists it will be used instead of the values in the normal config-file. In .NET 2.0 there are a lot of new configuration-sections, like connectionstrings, and the ease of...more >>

protect physical files
Posted by beachboy at 3/1/2006 12:00:00 AM
Hello all, I have a private section for members, and all page contents are protected by login. Is any way/method I can protect all files (doc, jpg, pdf) from physical access, e.g: user can type the full path in address bar on IE, then they can view the doc. C# | .NET Framework 1.1 Thank...more >>


DevelopmentNow Blog