all groups > dotnet general > june 2006
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
Error While Creating CMS Project...
Posted by Jason Richmeier at 6/30/2006 1:41:01 PM
When I attempt to create a CMS-enabled project in Visual Studio .NET 2003, I
receive the following error:
Could not create virtual directory 'http://<site_name>/CMS' in location
'C:\Program Files\Microsoft Content Management Server\server\IIS_CMS\'.
I have worked on finding a solution to t... more >>
Accessing raw TCP packet payload data
Posted by Chris Crowther at 6/30/2006 1:14:42 PM
Hi All,
Does anyone know if it's possible to grab the raw payload data from
a TCP packet, using .NET (C# to be exact).
I'm writing a piece of software that communicates to a networked
device using a protocol encapsulated inside TCP. The structure of
the protocol is such that stream semanti... more >>
Windows Service - Out of memory
Posted by Rocky at 6/30/2006 12:16:20 PM
I have created a windows service using vb.net which uses a filesystemwatcher
to monitoe files in a specifc directory, if images are added to the
directory they are resized and saved in a remote directory. The original
file is then backed up and deleted from the image directory.
The code is ... more >>
Array copy.
Posted by Back 9 at 6/30/2006 10:13:03 AM
Hello,
I am doing the below code.
for (int n = 0; n < 1000; n++)
buffer[n] = data[FrameNumber, n];
Here, buffer is one dimension int array and data is two dimensions array.
Is there any better way to copy from two dimensions array to one dimension
array
in ... more >>
.Net and Task Manager Memory
Posted by Steve at 6/30/2006 8:55:37 AM
Currently I am generating a GUI program. When I first run the program the
memory is 80megs (viewed in the processes in the task manager). If I
minimize it reduces to 3megs. Then maximize it increases to 12. Could
anyone explain this to me? and maybe suggest a way to reducing the memory
... more >>
Team Foundation Server Newsgroup?
Posted by Amos Soma at 6/30/2006 8:45:46 AM
Can anyone tell me if there is a separate newsgroup for Team Foundation
Server and related technologies?
... more >>
Late binding with c#
Posted by John Clennett at 6/30/2006 7:11:02 AM
I'm trying to write a c# command line app that runs report dll's at set
times. The dll's are written in c# with a common interface so by passing the
object name from the command line I can create ao instance ot the object &
create the report.
In VB I used code like:
Set obj = Creat... more >>
How do I set an expiry date on an email from vb.net?
Posted by Rob Kell at 6/30/2006 6:41:02 AM
I have a vb.net application that emails people daily information. I want to
set an expiry for the email so that those who cannot check their emails for a
period are not loaded with them when they are finally checked.
Please help... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Application_BeginRequest does not seem to run
Posted by Mike Owen at 6/30/2006 4:39:02 AM
Hi,
I have set up a new web site application in VS 2005, and have created a
couple of pages which seem to run ok.
I then manually added a file called Global.asax.vb, within a folder that I
also manually created 'App_Code' with the start code as below:
Imports System.Security
Imports Sy... more >>
UTC conversion from different time zones
Posted by Dick at 6/30/2006 3:55:01 AM
I have a long list of events. I know where each event took place (globally)
and when (using the event’s local time). I want to do some comparisons
between these date/times. I thought I would convert them all to UTC and thus
get them all on a common time-line. But I can’t see how to do this... more >>
Break when the exception is thrown and IsNumeric
Posted by Joris Zwaenepoel at 6/30/2006 12:47:01 AM
Hi all,
I don't think a solution exists, but maybe there is some option in Visual
Studio that I do not know about.
When developping (or debugging), I like to set the "exceptions" option to
"break when the error is thrown", even for handled exceptions, because a
general purpose error hand... more >>
Using Code to Call an exe - then get the status back?
Posted by Simon Harvey at 6/30/2006 12:00:00 AM
Hi all,
I need to make a scheduling service that will call an exe file.
As I understand it, the exe can return a status code from its Main method.
My question is, how do I programmatically:
a. Call the exe
b. Get the status code returned from the exe
I anyone could point me in the ... more >>
ASP.NET: VSNET2003 to VSNET2005
Posted by Nathan Sokalski at 6/29/2006 8:07:55 PM
I just upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005.
There are several questions I have about the code differences between them
(I use VB.NET for as my language of choice):
1. 2003 used "Public Class classname" and 2005 uses "Partial Class
classname". What, if any, diffe... more >>
Global.asax.vb in Visual Studio .NET 2005
Posted by Nathan Sokalski at 6/29/2006 7:43:07 PM
I recently upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005.
Visual Studio .NET 2005 does not create the Global.asax files that Visual
Studio .NET 2003 did, which I used for variables such as the location of my
database. What is the conventional way of creating global variables... more >>
Active directory user creation with c# (question concerning principalUsername and samAccountName)
Posted by Daniel Knöpfel at 6/29/2006 5:15:10 PM
Hello all
In our project we have been using the samAccount name to authenticate users
against the active directory. As the samAccountName is limited to 20
characters, we are going to use the userPrincipalName. Unfortunately, i
couldtnt make it work until now. I ve got a .Net programm that a... more >>
Opening projects from VS 2003 in VS 2005
Posted by Nathan Sokalski at 6/29/2006 5:07:20 PM
I recently upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005.
I have several projects that I created in Visual Studio .NET 2003, but when
I try to open them in Visual Studio .NET 2005 it tries to force me to
convert them. for some of these it would be fine, but some of them run ... more >>
Blog software
Posted by Jan Eliasen at 6/29/2006 4:23:24 PM
Hi
I am looking for some .NET blog software which I can use at my own
website.
I do not have access to a SQL Server, but I do have access to a MySQL
database, and I can have an access database, if I want to.
Preferably in .NET 2.0 but 1.1 will do...
Any thoughts?
Thanks in advance
... more >>
installing VS .Net 2.0 side by side with VS 1.1
Posted by CharlesA at 6/29/2006 3:31:02 PM
Hi Folks,
Just to mention, I haven't got a problem, I haven't done this yet , but I'd
like to check up front.
I've got Windows XP professional svc pack 2.0 and all the latest updates
I have VS .net 2003 (framework vs 1.1) and SQL Server 2000 svc pack 3
Can I install VS.net 2005 and SQL... more >>
IE intermittent problem
Posted by Velvet at 6/29/2006 12:33:48 PM
I'm having an intermittent problem with IE
6.0.2900.2180.xpsp_sp2_gdr.050301-1519 installed on Windows XP.
The images, style sheets and JavaScript files are not loading to the
browser. Sometimes a refresh will fix the page, sometimes I have to delete
the cache before it will load properly... more >>
Push Technology
Posted by Ben Kim at 6/29/2006 11:54:40 AM
Hello all,
We are re-developing a software product that requires push technology
(wireless and hardwired). Microsoft used to support this technology in IE
but dropped it for whatever reason.
The system is a dispatch application. When a call comes in, the operator
will assign a vehicle(... more >>
Printer Command
Posted by Sub-Lt at 6/29/2006 9:25:02 AM
Hello!
We are upgrading one of our apps from VB6 to VS2005(VB).
Barcode printing is part of the app. What we used to do is send the printer
command directly to the printer. Printer.print {long printer command} would
work. Since that doesn't exist anymore, how do we go about sending this
... more >>
how to convert non-ISO extended-ASCII to ISO ascii
Posted by dotNeter at 6/29/2006 8:57:23 AM
I have a file with non-ISO extended-ASCII format, but my program only
reads ISO ascii characters. How to do?
thx
... more >>
System.Net.Mail in .NET 2.0
Posted by pon at 6/29/2006 8:30:02 AM
Hi!
Inline attachments (images) doesn't seem to work. I have a html-document
that I know works fine. This works fine in another mailing-product for me.
Not sure if to use attachment with dispositiontype inline or like in these
snippet, alternativeview and linkedresource? Can anyone see what... more >>
Help with encrypting connection strings
Posted by girthyvhf NO[at]SPAM earthlink.net at 6/29/2006 8:02:28 AM
Hello all,
I am trying to use the example for encrypting connection strings
called:
How To: Build And Run the Protected Configuration Provider Example.
This is located in VS 2005 help at:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_aspnetcon/html/7ed8b347-c790-4768-9ae3-... more >>
MSDE Configuration on Windows XP
Posted by RobOfTage at 6/29/2006 7:50:01 AM
I'm having problems trying to configure MSDE on Windows XP home edition. I
think I've followed the advice on kb 841252. I've added the sqlserver.exe
file to the Windows Firewall allowables, I've also enabled SQL Server port on
the McAfee Firewall (incoming and outgoing port 1433). Also ran svr... more >>
Monitoring for Version Change
Posted by Forch at 6/29/2006 6:33:01 AM
Hi.... I have a windows app with I have deployed to the web server. I know
there is a way to monitor the site to see if the version of the application
has changed, and to automatically restart the application when a newer
version is available.
Does anyone know where for find sample code fo... more >>
Regular Expression help - Extract links from certain tag
Posted by roberto321 NO[at]SPAM gmail.com at 6/29/2006 6:14:40 AM
Hi Guys,
I was wondering if someone could help me out with the following
requirements
<mydocument>
<div id="other">
<a href="linkother">linkother</a>
</div>
<div id="hello">
<a href="link1url">link1</a>
<a href="link2url">link2</a>
</div>
</mydo... more >>
XML Serialization or XMLReader for binary object in VB.NET???
Posted by JM at 6/29/2006 5:43:12 AM
Hello,
Most of the examples I've seen with XMLReaders, serialization, etc,.
involve a text file on a file system. Does anybody have a start to
finish VB.NET example of reading an XML Document object (binary) and
parsing it? The object I'm receiving is w3c compliant. I have
somewhat of a Ja... more >>
Dynamic Column
Posted by Nagaraj at 6/28/2006 9:44:01 PM
Hello All,
My Problem: Dynamic column – Example, if there is an Employee details, I
should able to add or remove columns very easily.
Selected Model: Meta-data model – storing all the values as key and value
pair in a single table and two sporting tables for table name and column name
... more >>
Remote development advice
Posted by ujang at 6/28/2006 9:25:53 PM
My friend and I are entrusted to develop a small web based application
using ASP and SQL Server database. We are using IIS as the web server.
My friend has some background in web programming and I unfortunately
have none, so I am taking the role of database designer and application
tester. The I... more >>
Setup project - Another version is already installed... error
Posted by james at 6/28/2006 5:25:46 PM
Not sure if this is the right group, but anyway. I've built a setup project
in vs2005 to install my program. All works fine, until I issue an update. If
anyone tries to install it, they get the error "Another version of this
product is already installed". They then need to go to Add/Remove pro... more >>
Referencing Controls in DataList
Posted by WB at 6/28/2006 4:51:02 PM
Hi,
I would like to do something like this page:
http://www.stocklayouts.com/Products/Postcard/Postcard-Template-Design-Library.aspx?kwid=38
Notice when you mouse-over any of the icons under each thumbnail, a little
description will appear to tell you what the icon is for.
Okay, so I hav... more >>
VB.NET Service + Out of memory
Posted by Rocky at 6/28/2006 4:14:02 PM
I have a vb.net service which copies images and resizes images from a local
directory to a remote one.
When I drop images into the local directory I get an out of memory error
after several images - the exception is on the following line.
Dim img As Image = Image.FromFile(path)
The machin... more >>
Remoting? Web services?
Posted by Niebs at 6/28/2006 2:26:02 PM
Hello,
Here is call for help.... and the answer is probably simple but I do not
know where to start!
I have a class library that I am building. I want this class library to
reside in one location on my network and allow all other departments to use
this library to enter their data throug... more >>
Custom Nullable Class
Posted by Nick at 6/28/2006 12:45:01 PM
I developed a custom file attachments class for an application and from the
UI the user can choose to upload attachments. There is a add method that
takes a FileAttachmentCollection object, runs a for each, and uploads each
attachment. I was thinking that it would be nice to allow it to be N... more >>
mail namespace question
Posted by Sisnaz at 6/28/2006 12:44:02 PM
I was looking in the new mail namespace but could't find anything regarding
receiving email, only sending (SMTP Client). Are there any classes available
for IMAP or POP3? I would like to query an email server using certain
credentials to determine if there are any emails messages to process. A... more >>
Custom Printer Trays
Posted by Geoff at 6/28/2006 10:58:02 AM
Hi all,
I have a VB.NET app that sets up the default tray for reports to print to.
Values returned from Papersource.Kind are stored in a table for the user
group and report. This all worked fine until the users bought a new printer
with four trays, two of which tray 3 and Tray 4 return the ... more >>
Calling a public sub in another form having the name of the form as a string
Posted by Bugs at 6/28/2006 6:26:10 AM
Hi,
I wonder if anyone can help me out.
I'm building a vb.net application that has a form with a panel that
contains several other sub forms (as a collection of controls). What
I'm wanting to do is call a generically named public sub in the
top-most sub form in the panel.
I have the name o... more >>
Treeview Node Select in VB .Net
Posted by kt at 6/28/2006 6:06:02 AM
How do you go about this. Can some point me in the right direction. Thanks in
advance.... more >>
supress dialog box of a dll in runtime
Posted by chandu at 6/28/2006 6:02:07 AM
hi
i am using one dll in my application.in runtime the dll displays a
dialog box for output location.but i wont to give the output location
through my code.
can any body give me suggetion how to do or atleast how
to proceed.
th... more >>
Testing Private Types
Posted by Dick at 6/28/2006 4:22:01 AM
I have some simple (private) types...
Friend Enum Types
Value1
Value2
End Enum
Friend Structure Detail
Dim Type As Types
End Structure
Friend Class Parser
Friend Function GetDetail() As Detail
Dim _Detail As New Detail
_Detail.Type = Types.Value2
... more >>
Using reflection to access and modify field values
Posted by samhng NO[at]SPAM gmail.com at 6/28/2006 1:35:54 AM
Hi,
Suppose I have a class:
public class Test
{
public string a;
public int b;
}
Now I want to access the value of variable a of the instance of the
class Test (@_@).
public class App
{
public static void Main(string[] args)
{
Test test = new Test();
test.a = ... more >>
Setup Project
Posted by gad at 6/27/2006 11:19:01 PM
When I am opening a setup project in VS2005 I get th error :
"An error occurred while validating. HRESULT = '80040155'"
I dont know how fix this problem.
Please help. ... more >>
Storing/Serving Photos For Windows Forms App
Posted by Frankie at 6/27/2006 5:02:01 PM
Using SQL Server 2005 and .NET 2.0; I'm creating a Windows Forms application
that will need to display photos of people, along with a bunch of
information about each person.
In a Web application, there is a generally accepted "best practice" of
storing only a string (the path to the .jpg fi... more >>
How to open/popup a seperate IE window
Posted by Jeff User at 6/27/2006 4:27:37 PM
Hello all
I am working on creating a Web application
I am using C# code behind
..NET1.1
Rather than navigate to a new window, I want to open a seperate IE
window when the user clicks a button. Addionally, I want to send a
(query ?) string to the window to be displayed. This will be used to
... more >>
newbie c# ado.net question.
Posted by DC at 6/27/2006 4:02:12 PM
Any idea why the following code is giving me the error "CS0246: The type
or namespace name 'SeminarDataAdapter' could not be found (are you
missing a using directive or an assembly reference?)"
It looks like Ive declared an instance of the OleDataAdapter object type
for SeminarDataAdapter c... more >>
SmartNavigation requesting authentication
Posted by Marc Miller at 6/27/2006 3:52:03 PM
When I put < pages smartNavigation='true' /> in my web.config
windows requests the user to authenticate to the server.
Is there anything I'm doing or settings that I have which would cause this?
TIA,
Marc Miller
... more >>
Allowing customer only access to a file from one machine only...
Posted by Jiro Hidaka at 6/27/2006 2:34:01 PM
Hello my manager has a question in regards to being able to give access to a
file to a computer only. This file will be either sent to or downloaded from
the client computer.
For example we are a pharmaceutical company selling formulas to our
customers(paper-based). If we are to put up our fo... more >>
Method can not be reflected
Posted by Waldy at 6/27/2006 12:29:48 PM
Hi there,
can anyone tell me what the message "Method x can not be
reflected" means in English?
... more >>
DropDownListBox: I want to 'limit to list'
Posted by julie6232000 NO[at]SPAM yahoo.com at 6/27/2006 11:09:58 AM
I don't want the users to type in any new items but select only what is
on the list.
Here's my code to load the ASP:DropDownList:
'----------------------------------------------------------------------------
'-- ADD ITEMS TO THE TYPE DROP DOWN BOX
'----------------------------... more >>
|