all groups > dotnet general > january 2008
Filter by week: 1 2 3 4 5
Virus transfers
Posted by kranerg at 1/31/2008 7:11:00 PM
I have a Dell Latitude D800 that over the past month has slowed progessivley
to the point that it takes about 10 minutes to reboot and opening
applications is like working on a 386.
I have opted to replace the computer and have backed up the entire
harddrive. If there are any issues such a... more >>
ASP.NET 3.5 AJAX problem
Posted by mazdotnet at 1/31/2008 6:36:11 PM
Hi all,
I've just upgrade our site to the latest asp.net 3.5 using visual
studio 2008. However, I can not get the AJAX component to work
properly. My application runs fine but it keeps doing a postback on
the whole page when testing AJAX. I tried this Microsoft example as
well and same thing ... more >>
remove the oldest rows beyond a predefined size from a DataTable
Posted by Avi at 1/31/2008 5:46:19 PM
Hi all,
I would like to remove the oldest rows beyond a predefined size from a
DataTable. Is it possible to remove a bulk of rows in one shot or do I have
to loop and do a DataTable.Rows.RomoveAt(0)
Thanks,
Avi
... more >>
Dot Net CMS systems to consider?
Posted by darrel at 1/31/2008 4:38:17 PM
After several months of working in SharePoint to get it ready to implement
our intranet using the CMS features, it's been decided that the organization
doesn't feel that sharepoint is the right product for this. It's a long
story. ;o)
So, I'm now tasked with finding an alternative.
The l... more >>
Format gridview cell in code
Posted by Jan Erik Hansen at 1/31/2008 3:08:30 PM
I have a gridview that I will output to an email.
I try to format a certain cell but it doesn't seem to have any effect,
Can I set the htmlencode for a bound column = false in code?
I have this code:
Dim myGrid As New GridView
myGrid.DataSource = cart_ds
myGrid.DataBind()
'Forma... more >>
Excel 2007
Posted by Teacher at 1/31/2008 11:22:03 AM
How do I keep the same format of a worksheet with a chart when copying/moving
it to another workbook?... more >>
XP PRO WILL NOT RE-INSTALL FROM OEM CD
Posted by Charlie at 1/31/2008 7:20:02 AM
I HAVE OEM XP-PRO DISK AND I HAVE RECENTLY CHANGED HARD DRIVE AND MEMORY IN
MY HOME BUILT COMPUTER THAT WAS WORKING. I WANTED TO DO A CLEAN INSTALL AS
THERE WERE MANY INSTALLS/UN INSTALLS OVER TIME. WHEN I INSERT THE CD I GET
THE CHOICES AND I CHOOSE CLEAN INSTALL AND IT FORMATS THE DRIVE AND... more >>
Product Demo usage for instructional use
Posted by ben@pgcps.org at 1/31/2008 6:54:00 AM
I just dowloaded the 60 day evaluation copy of office pro 2007, I am teaching
a class in my school on the usage of office 03. my question is can I copy the
demo version that i downloaded onto a disk and share with the class the same
demo product code which i guess should expire in about 60 day... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Why isn't there multiply operator for TimeSpan?
Posted by Israel at 1/31/2008 6:07:19 AM
I've run across many situations where I want to store the time delta
as a TimeSpan (e.g. sampling interval) and then I want to skip every
3rd sample so I want to multiple the delta by the int 3 but I'm forced
to multiple the ticks by 3 and then construct a new TimeSpan with the
resultant ticks.
... more >>
Deploying application got error
Posted by ykffc at 1/31/2008 3:41:01 AM
I try deploying a very simple (very simple indeed) Vb.net application by
following the basic steps according to some tutorials.
My pc runs Visual Studio 2005 and it reports "Build successful" but I build
my application. Then I run setup.exe from the debug folder on the same
machine that d... more >>
Programmatically create Access 2007 database
Posted by 68756E746572@gmail.com at 1/31/2008 12:35:44 AM
Greetings...
From this:
http://support.microsoft.com/default.aspx?scid=kb;en-us;317881
article I've knew how to create access 2000 databases. But what with
2007?
Best regards...... more >>
insert multiple rows
Posted by Tem at 1/30/2008 11:11:13 PM
I have a string array tags with content as follows
string[] tags
cat
animal
pet
I need to insert all 3 rows with a single INSERT statement
INSERT INTO Tags (TagName, PhotoID) VALUES (@Tag, SCOPE_IDENTITY())
command.Parameters.Add("@Tag", SqlDbType.NVarChar).Value = tags
How can... more >>
Outlook 2007 Integration
Posted by PromisedOyster at 1/30/2008 11:09:22 PM
We have a written a C# application that interfaces with Outlook using
the API.
Since Microsoft Office 2000 SP1, our users have had to put up with the
very annoying warning popup about a program accessing Outlook and do
they want to allow/deny.
However, since migrating many of our users to O... more >>
importing contacts I can only get first 3 phone numbers?
Posted by monica_frazier at 1/30/2008 6:09:00 PM
When I import contacts from excel using the import wizard, even after
matching fields to field for some reason I can only get the first three to
five from my list of 190 to import the phone numbers althought other fields
all seem to be there. I have even tried coping the phone numbers to othe... more >>
Crystal reports 8.5 for VB6 papertray direction
Posted by Cor Ligthert [MVP] at 1/30/2008 4:02:52 PM
Hi guys,
I have a problem with an old application.
The client has now a new printer, where he wants to direct his reports to
different trays using Crystal reports from VB6.
Who can give me a hint to a working (sample, link or whatever) to solve this
problem.
Cor
... more >>
What is the best way to update applications?
Posted by jim at 1/30/2008 3:43:55 AM
Let's just say that I am foolish enough to code and distribute a free app to
the general public over the web.
What is the best (cheapest, smallest bandwidth, easiest to code) way to
publish updates to my .Net application?
I'd like to save bandwidth by only updating the changed portions if ... more >>
how to create drawing application on the web
Posted by developsc at 1/30/2008 1:55:02 AM
Hi,
can you guide me, which MS technologies are suitable to create drawing
application (simple CAD application) on the web - to allow 2D/3D drawing on
some canvas and use data stored on server (in some databases)?
The resulting application can be either embedded on the web page or runnable
d... more >>
How to start to edit listview items programatically
Posted by bz at 1/30/2008 1:30:12 AM
Hi,
How to start to edit listview items programatically, like in explorer
when user right click on a file the select Rename?
I know how to make items editable with a click, but I want to add a
button / right click menu for this too
Thanks... more >>
Top consultancies
Posted by Norma Leigh Lucid at 1/29/2008 5:52:58 PM
Please accept my apologies if this is an inappropriate posting for
this group, but I'm very new to dot net - in fact it is still in my
future, not my past - and I'm struggling to find my feet.
I'm looking for a team of consultants to build the domain specific
frameworks for a new version of ou... more >>
How to rate my development skills?
Posted by Marcin Wiszowaty at 1/29/2008 2:52:49 PM
Hello,
I am male 24
i graduated with a batchelors in computer science in december of 07.
long island NY
this is my first job in this field
have been working as a junior programer for past 4 months (VB.net, sql,
web(asp html css development)
its a small and other programers are older unix... more >>
how to determine what language a c# string is written in? is there any C# method to take a string and return what language it is in? e.g. english, hin
Posted by DR at 1/29/2008 1:27:43 PM
how to determine what language a c# string is written in? is there any C#
method to take a string and return what language it is in? e.g. english,
hindi, spanish, etc.
... more >>
Custom file browser
Posted by Tim Haughton at 1/29/2008 12:44:19 PM
In a styled WPF application, I need to write a custom file browser in
C#/WPF. As it is styled differently to generic Windows apps, I cannot use
the standard open file dialogs.
Writing a tree or breadcrumb is easy enough when it just needs to browse
physical local drives. But how do I browse... more >>
Unexpected Shutdowns
Posted by DaveF at 1/29/2008 8:58:05 AM
Yes I am another sufferer of this malaise. My laptop has been doing this for
4 months now, and despite downloading all relevant Vista updates and service
packs, and ATI graphics and CPU chipset updates I still get the problem
whether I have nothing open (Desktop only) or if I am using Internet... more >>
Works Spreadsheets
Posted by Jahay at 1/29/2008 8:29:03 AM
I would Like to know how to print a blank spreadsheet, with col.letters and
row no.s I know I can just do blank grid lines but can not get the rest to
print.... more >>
issue when converting C#.net code into vb.net
Posted by Dhananjay at 1/29/2008 5:46:30 AM
Hi All,
I am facing problem when i am converting C#.net code(Delegate concept)
into vb.net. I am unable to do that . Can someone help me to solve the
problem. I am providing my C#.net code.
==================================my code is :-
======================================
[DataObject... more >>
I want to run my asp.net application from server.I
Posted by Chetana at 1/28/2008 10:41:03 PM
Hi,
I want to run my asp.net application from server.I have uploaded my
asp.net files on the server and I want to run it ditectly from server
but I am getting authentication error as
'An application error occurred on the server. The current custom error
settings for this application prevent... more >>
System.IO.Stream writing binary to users browser
Posted by mazdotnet at 1/28/2008 5:50:40 PM
Hi all,
I'm trying to integrate a third party library that would parse an
excel file and allows us to make changes to. Once I update the
appropriate cells, I want to allow my users to download the modified
file.
It works by
IWorkbook book =
NativeExcel.Factory.OpenWorkbook(this.MapPath(Fi... more >>
asp:Login question
Posted by ChiWhiteSox at 1/28/2008 4:31:01 PM
Hi
created a web app using the asp:Login component in machine A. SQL and VS2005
is also in machine A. I copied the entire project source to machine B and
modified
the machine B's web.config into
<connectionStrings>
<remove name="LocalSqlServer"/>
<add name="SQLConn" connectionStrin... more >>
Deploy problem: error reading from ...xxxxx.msi file
Posted by ykffc at 1/28/2008 4:21:01 PM
I try to experiment deploying my Vb.net application by following the basic
steps but encounter this error.
I follow every step and every display agrees with what the tutorial says
and the IDE responds with "Build successful". When I started the setup.exe
file in the debug folder with the sam... more >>
Visual Studio RunAs
Posted by moondaddy at 1/28/2008 10:30:48 AM
A few days ago I used the RunAs command for the first time to launch VS
under a different profile which had different security settings. Since then
I'v rebooted the machine several times and started VS several times assuming
I was starting VS as the same user I log into the machine with. How... more >>
Custom Action in deployment project
Posted by Jacek at 1/28/2008 6:04:00 AM
Could You tell me, whether VS2005 allows passing parameters to custom actions
as it was possible in VS2003 by creating a form in custom installed and
doing it through Dynamic properties/key mappings. When I try the same all
properties are disabled.
Thanks for answer in advance... more >>
Printing to a network printer from windows 2003 server fails...
Posted by Sai Vajja at 1/28/2008 5:51:01 AM
Hi
I have a problem printing to a network printer from my VB.NET code component.
When i try printing to the network printer from my development PC all works
fine..
But, when i publish the code to the server and try the print, i get the
following message....
Settings to access printer '\... more >>
VS 2008 - test driven?
Posted by roger.pearse@googlemail.com at 1/28/2008 2:23:49 AM
Hello,
Can anyone tell me whether VS 2008 has test-driven development
facilities in it? If so, in which versions?
Thanks,
Roger Pearse... more >>
CLR Profiler Question
Posted by Rohit at 1/28/2008 12:24:01 AM
I am using the CLR Profiler to investigate the memory efficiency of my .NET
applications; however, I am puzzled as to the memory allocation size that the
tool reports for my applications.
I am profiling 2 applications: (1) a simple app that has 1 button which when
pressed displays the strin... more >>
ArrayList to List<myType> and item disposal
Posted by info@devdept.com at 1/28/2008 12:23:29 AM
Hi All,
Suppose you need to release unmanaged resources when you remove an
item from a colletction.
We are now using an override of the ArrayList.Remove() method that
dows the job.
We wanted to move to generics but the List<T> collection does not
feature any virtual method.
How shou... more >>
Extension
Posted by cbasin at 1/27/2008 8:07:00 PM
When try to open thr help button in windows live it tells me to go to the
control panel mad open file options to set a extension to open the program.
an anyone tell me what the ext. should be and what it should be tied to
--
sureshot... more >>
Setup should remove existing version
Posted by Gudni G. Sigurdsson at 1/27/2008 2:12:01 AM
Hi.
I have written a .NET C# program and have also made a setup project for it.
Everything works fine, except that I would like my setup application to
remove any existing version of my program before proceeding with the setup.
This is because I get the following message if there is a previ... more >>
Screen Scraping Questions
Posted by Nick at 1/26/2008 7:33:01 PM
I need to write a VB.NET application for the network team at work that will
backup a firewall configuration each evening. I found that I may need screen
scraping to do this, but am not quite sure how to go about it as I have never
done it before.
The web login page is at https://firewall/a... more >>
microsoft baseline security analyzer 2.1
Posted by Vido at 1/26/2008 5:56:01 AM
I'm running WinXP SP2 and IE 7.0.5730.11
I ran MBSA 1.2 and I got a report that I needed to upgrade MBSA to version 2.0
I ran MBSA 2.0 and got this error message:
"Failed to download security databases. The catalog is damaged or an invalid
catalog."
I upgraded to MBSA 2.1 (beta) and go... more >>
Visual Studio 2005 installation
Posted by Tom Nowak at 1/25/2008 11:16:04 AM
I have a full version of Visual Basic 6 and upgrade versions of Visual Studio
2002, 2003, and 2005. What is the easiest way to do the install? I know in
the past, I have done Visual Basic 6, then the 2002 upgrade, then the 2003
upgrade, then the 2005 upgrade. Do I have to perform all of the... more >>
.NET windows service fails to start when digitally signed
Posted by Ralf at 1/25/2008 11:06:00 AM
Situation: .NET windows service
All works fine until we digitally signed the service exe. After that
starting the service often fails (A timeout was reached (30000 milliseconds)
while waiting for the ... service to connect.). I can reproduce this
behaviour with XP x64.
Looks like windows... more >>
Bring To Front
Posted by Derek Hart at 1/25/2008 9:52:28 AM
I was searching in Visual Studio for a property that determines if a control
is on top of another. Is this embedded in the Visual Studio code? Can I
control this?
... more >>
Sorting lists in .Net - why it sucks
Posted by nightwatch77 at 1/25/2008 5:38:18 AM
Today I stumbled upon a very interesting 'feature' of .net 2.0
My application uses a generic SortedList class for storing a sorted
list of objects (on a DateTime key) - that is, SortedList<DateTime,
object>. However, the program kept crashing for some time until I
debugged it to find out that it... more >>
Hindi Keyboard
Posted by Junior Programmer at 1/25/2008 4:28:59 AM
Hello Everyone,
In my application i need to develop a keyboard which type Hindi
characters.
As a control i make it. On clicking of this i can create code but how
can i type a hindi char in coding ?
Please help me.
Thanx... more >>
Building VC++.Net CF application in commandline
Posted by Nash at 1/25/2008 3:25:08 AM
Dear All,
I have an application writtern on VC++.net my question is how to
compile that application in command line.
I tried to compile it using msbuild <.vcproj> /configuration =
Release
it is compiling but my problem is how should i specify which sdk it
should use. Either pocketpc 2003... more >>
String length in bytes
Posted by guy at 1/25/2008 2:32:00 AM
Being lazy here...
How many bytes are used to store a string?
I would guess the (number of characters * 2) + 4
is that correct?
cheers
Guy... more >>
Cant Login on a sql2005 machine from VS2005 IDE debug mode
Posted by ChiWhiteSox at 1/24/2008 10:38:01 PM
Hi,
i got machine A that has sql2005, vs2005 project. project runs okay there.
But when i copied that whole project folder to machine B, running sql2005,
VS2005, edited the web.config file to point to SQL2k5 machine A, and then run
it at VS2005, it cant connect to the DB at machine A. It sa... more >>
WINDOWS EXCEL 2007
Posted by JERRY7777 at 1/24/2008 5:33:01 PM
i DO NOT KNOW HOW TO EMAIL MATERIAL FROM EXCEL 2007. Also do not know how to
print out material from same. PLease help-very important!!!
--
COMPUTER NOVICE... more >>
Properties vs. Fields
Posted by Mark Henry at 1/24/2008 3:47:29 PM
I've run into a strange problem that I'm having a difficult time
tracking down. I have no idea what's causing it, so this seemed as good
a place to ask as any...
If anyone is familiar with Neo (entity object framework), it deals with
that. Basically, I have two versions of the code.
ve... more >>
When a clr has the input type of SqlString it causes nvarchar(4000) to be the parameter type of the function in sql server. how to modify my CLR funct
Posted by DR at 1/24/2008 2:10:49 PM
When a clr has the input type of SqlString it causes nvarchar(4000) to be
the parameter type of the function in sql server. how to modify my CLR
function to use nvarchar(max) ?
... more >>
|