all groups > dotnet general > july 2007 > threads for july 15 - 21, 2007
Filter by week: 1 2 3 4 5
DOT.Net Reports
Posted by gullible at 7/21/2007 8:11:47 PM
This whole report thing in VS2005 is a joke, right? What an unbelievably
really bad piece of crap! Hopefully, they have fired the incompetent team
that developed this really non-usable tool. Heck, they don't even have a
dedicated newsgroup for this dotnet category.
1. Can't put items in ... more >>
Business Cards
Posted by Robin at 7/21/2007 6:10:01 PM
I am unable to insert pictures from My pictures on a business card; How do
you do that? Please advise ASAP... more >>
GUID values for SHGetKnownFolderPath
Posted by nagar NO[at]SPAM community.nospam at 7/21/2007 2:57:09 PM
I need the Guid for retrieving the StartMenu path in Windows Vista
using the SHGetKnownFolderPath
What's the guid value for FOLDERID_StartMenu?
Thanks.
Andrea... more >>
windows media player 11
Posted by Don T. at 7/21/2007 12:18:00 PM
ever since I installed it I cannot play my DVD's. tells me I don't have a
compatible DVD decoder, then for the help, all I can see are purchase one.
Why do I have to purchase one? It should be part of the player, it always was
before.... more >>
cannot initialize application, unable to open file question
Posted by Grandma Carol at 7/21/2007 12:08:00 PM
Can anyone tell me what the following message mean? "cannot initialize
application, unable to open file [25000:2:1] {15034:1:8]
I am getting this message when I try to open a video software from my desktop.
My operating system: Microsoft Windows XP Home edition version 2002 service
pack 2
Gra... more >>
MS wireless laser keyboard 6000 v2.0
Posted by notleks at 7/21/2007 10:12:02 AM
When I start my computer I get an error message which says
"KEYBOARD ERROR OR NO KEYBOARD FOUND" I then connect a spare keyboard click
F1.My computer then completes bootup and I disconnect the spare keyboard and
the laser 6000 works fully until I switch on again? Can any one advise me
what to... more >>
Is CompilerServices.MethodImpl(MethodImplOptions.Synchronized) recommended?
Posted by buu at 7/20/2007 5:27:53 PM
wich would be best practice for multithreaded apps?
I have a sub in a class that is called from a multiple threads, and I found
MethodImpl to lock a sub when a thread enters.
is it reccommended and best practice way?
does it makes lock on sub or on whole class?
... more >>
Problem transferring compressed files via System.Net.FtpWebRequest
Posted by SR at 7/20/2007 5:09:07 PM
Using the examples found on the MSDN website, I successfully wrote code that
transfers files via ftp.
HOWEVER, it does not transfer compressed (zip) files properly. After
transfer, when opening the zip I get an error message that says "The
Compressed (zipped) Folder is invalid or corrupted... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
String Help (Handeling filenames strings)
Posted by HLong at 7/20/2007 12:52:02 PM
Could someone give a hand on how to handle this issue: I need to find a way
of removing zeros from files names. The zeros in the names are used to sort
the file name, e.g. MAK0080.pci, MAK-0080.pci. What I need to do is to
remove the zeros, so the file names become MAK80.pci o MAK-80.pci. I... more >>
Connection opening and closing
Posted by Ravimama at 7/20/2007 12:09:25 PM
Hi People,
I have been coding in vb.net and c# for last six months, I am new to
coding and we are using 3 tier architecture. In the DAL in each and
every method I open the connection and close it in the finally block
of the try catch block, if I am not using a DataAdapter.
1. Is this correct?... more >>
Newbie question: Freeware IDE for .NET 1.1
Posted by Blue Streak at 7/20/2007 11:31:36 AM
Hi, Folks!!
This may sound stupid to some people but is there a FREEware
integrated developer environment for .NET Framework v1.1 (VB.NET, C#,
J#)?
I know there is Visual Studio Express but that's only for v2.0.
TIA...
... more >>
Convert string to a control
Posted by Sue at 7/20/2007 11:05:07 AM
All
I have a bunch of label controls on my form. All those label controls
will start with the id "lblEffDt_".
(lblEffDateValue_ddlDeliveryMethod, lblEffDateValue_txtPriority
etc...)
I want to have a common function, which receives the id of the
control as a string (which would be the str... more >>
new c# frustrations
Posted by S Moran at 7/20/2007 9:31:52 AM
im starting to think everything became A LOT more complicated with .net as
opposed to vs6.
how can i access a textbox on a form from another form?
for example i have a button on form1 and when i click it i want to add text
to a textbox on form2.
sure was easy in vs6
... more >>
Crystal report design with Typed Dataset
Posted by jeffpriz NO[at]SPAM yahoo.com at 7/20/2007 9:00:38 AM
I've recently experience some trouble with the Crystal designer when
using a typed Dataset.
I create a report (or edit an existing one) and for a datasource I
choose Project Data --> ADO.Net Datasets.. and under there it lists
all of the datasets I have defined ... all is well there.. until I
... more >>
Publish Web Site To SharePoint Server
Posted by Andrew Hayes at 7/20/2007 2:56:03 AM
We have a web application developed in VS2K5 using C#.NET and have no problem
using the Publish Web Site feature to publish to a web server that has FP
Extensions installed.
What we would now like to do is publish the app to a web server that has
SharePoint Services installed. Unfortunately... more >>
Multiple AddHandler for multiple Controls on a form
Posted by GAZ at 7/20/2007 12:00:00 AM
Hello all,
We have a bit of a problem. We have a form where we have to add controls
dynamically during runtime. That part is quite simple. Now, we have to add a
ButtonClick event for each of the controls. That's where it becoms tricky.
Here is the bit of code we use:
-------------------... more >>
Applications shuts down without any error message
Posted by nagar NO[at]SPAM community.nospam at 7/20/2007 12:00:00 AM
Hi,
in a .NET 2.0 application, I'm noticing that sometimes the application
simply crashes and exists without showing any message. I have the
impression this has to do with some exceptions that are generated in a
secondary thread (if I'm not mistaken .NET 2.0 shuts down a process if
an exception... more >>
S/MIME email
Posted by Jeremy at 7/19/2007 2:46:03 PM
I need the ability to send an S/MIME encrypted email from a .NET project. I
gather that this is not supported out of the box by System.Net.Mail. Can
anyone direct me to a third party component for this?
Thanks.... more >>
Understanding Solutions and Projects
Posted by Lyners at 7/19/2007 1:38:06 PM
We have a web site (intranet) that was created in VS 2003. The site is made
up of mulitple projects. In VS 2003 we setup each part of the website as its
own project/solution. In short we have a main root directory where the main
website stuff is, then we have sub webs that contain parts/portio... more >>
file and directory attrbutes
Posted by JayC at 7/19/2007 12:34:01 PM
Using VB.Net .net 2.0
I am looking for an effecient way to delete a directoy and it contents. The
issue I am facing is there is one or more files and or subdirectory with
files that are marked Readonly. Therefore the system.io directory.delete
throws an exception.
How does one loop thru th... more >>
TreeView SiteMapDataSource
Posted by Gerhard at 7/19/2007 10:36:01 AM
Hi,
I am using VB.Net version 2 in a web application. I have a Navigation
TreeView that is powered by a SiteMapDataSource linked to Web.sitemap file.
This all works well.
My questions is, how can I programatically hide a node based upon user roles?
Thanks.... more >>
SQL Server Reporting Services
Posted by Jon Jacobs at 7/19/2007 9:22:02 AM
We use SQL Server 2000
We user VS 2005
How can we use SQL Server reporting Services?
Thanks,... more >>
Static - Thread Safe?
Posted by at 7/19/2007 5:59:34 AM
I am developing an application using asp.net 2.0. I created all my
business objects in my app_code folder. As of right now, all my
classes are public.
In my aspx pages, I am declaring the class like so
static Person myPerson;
The static declaration is working for me, for It keeps the inst... more >>
Selected value from a listbox doesn't work
Posted by Michael de Vera at 7/19/2007 5:18:01 AM
To all,
I have a listbox within a gridview that exists in an update panel. When I
try to get the values of each selected item in my listbox I get nothing.
When I'm in debug mode I get false for each item that I selected from my
listbox. I also get length=0 as a value for each item that I... more >>
Is there any method to covert a pdf file into jpg file in c#?
Posted by vincent at 7/19/2007 2:34:04 AM
Is there any method to covert a pdf file into jpg file in c#?
Many thanks for your replying.... more >>
How widespread is dotnet really?
Posted by Steve at 7/19/2007 1:25:15 AM
Hi,
I'm a developer who, in the mid-nineties, switched from programming on
minicomputers to PCs.
Although an experienced C developer at the time, VB seemed the most
logical choice for many reasons, although I don't particularly care for
the Basic language.
So I now have a "bunch" of prog... more >>
AutoResetEvent... use WaitOne or WaitAll?
Posted by buu at 7/18/2007 7:10:21 PM
If I have a multithreaded app, and there's one common class for all threads,
I (of course) need to syncrhonize access to it...
so, if I use AutoResetEvent, question is wich (and why) method I should use
to wait for "entrance" of a thread into a common class? ;)
is it WaitOne or WaitAll?
... more >>
Directory Always Read Only
Posted by Jim at 7/18/2007 5:45:52 PM
I have the following piece of code:
Directory.CreateDirectory(myDir);
DirectoryInfo lDir = new DirectoryInfo(myDir);
lDir.Attributes = FileAttributes.Normal;
When this code runs, my directory is created fine, but my directory is
always read only. At first I thought it was something with u... more >>
Get files list from URL
Posted by gforums.xyz NO[at]SPAM gmail.com at 7/18/2007 5:38:21 PM
Hi,
Is it possible to get list of files from a URL folder
programmatically?
p.s. The 'directory browsing' option is on for that folder in IIS.
Thanks
... more >>
Lisbox in a Gridview's templated field
Posted by Michael de Vera at 7/18/2007 2:08:02 PM
To all,
I'm trying to bind a dataset to a listbox control that is in a gridview's
templated field. However, in the code behind the intellisense does not
recognize the ID name of my listbox control....thus not giving me an
opportunity to bind the listbox's datasource to a dataview. Can you... more >>
REALLY simple question im sure
Posted by S Moran at 7/18/2007 1:25:03 PM
just trying to grasp the insane differences between vb6 and vs2005...
2 buttons on a form. 1 button creates a new instance of a second form, and
shows the form. why cant i access this form from the second button?
... more >>
Webclient.Download using .config file type generates 403 error
Posted by Jerry at 7/18/2007 11:44:03 AM
I am using Webclient.download to HTTP download a file from an IIS 6.0 server.
It works for all the files I have except for those type .config.
If I rename the files to .txt extension, it works.
I've added MIME types to support .config files as application/xml but I
still get the 403 error... more >>
Testing my access to the managed newsgroups
Posted by Ryan Andrus at 7/18/2007 9:38:09 AM
I have been having a lot of trouble posting to the managed news groups. Can
someone please tell me if this post qualifies as one that is in the managed
news groups and would be answered within 2 days as part of my MSDN unversal
benifits?
Thanks... more >>
Batch Print
Posted by P1ayboy at 7/18/2007 8:06:07 AM
Hi Guys
Is it possible to batch print files as either a list or from a specific
directory location?
Thanks
Rob
P.S. Sorry for accidently posting this in distributed apps.... more >>
Additional Rows and Columns in Excel 2007
Posted by Debra Lassman at 7/18/2007 7:26:02 AM
I have installed Office 2007 on my machine and when I open Excel 2007 I still
have 256 columns and 65,536 rows. I know in the 2007 version that you have
the ability to have more than this. If I add new rows and colulmns it will
not insert any additional ones. If I open a workbook that someone ... more >>
Newbie seeking help with adding xsl to xml
Posted by rsine at 7/18/2007 3:49:24 AM
I am working on a project where I need to insert the following into an
xml document:
<?xml-stylesheet type="text/xsl" href="C:\MyStyle.xsl" ?>
How do I go about doing this?
-Thanks
... more >>
File lock
Posted by pgdown NO[at]SPAM gmail.com at 7/18/2007 2:20:29 AM
Hi,
I have several processes accessing files from one folder, but only
one process should ever access each file. Once one process has the
file, no other process should be allowed to access it, even after the
first process is finished with it, except in the case where the first
process crash... more >>
Can't connect to SQL Server
Posted by RW at 7/18/2007 1:10:01 AM
Using this code:
Dim oConn As SqlClient.SqlConnection
oConn = New SqlClient.SqlConnection()
oConn.ConnectionString = "..." 'Connection string I got via an .udl file
oConn.Open()
I get an error here:
Request for the permission of type System.Data.SqlClientPermission,
System.Data,
Vers... more >>
Have to know the actual column name from alias
Posted by deepak at 7/18/2007 12:00:00 AM
Hi There,
i have a requiremet ,where in i have a view which has some alias.so at
runtime using an application i will get the info about the view using
SP_HELP stored proc,but this only gives me the alias names ,but i
need to know the original column name(as in the table defintion part
of t... more >>
VS 2005 Compiler Performance (Web Site Project)
Posted by Fred Brunet at 7/17/2007 5:04:00 PM
Have a web site project with only a few pages. The site is in a solution that
has about 20 projects that are business objects that the site is dependent
on. When I do a build the compiler says "Build succeeded" in about 5 seconds
but then the screen is frozen for about 40 or more seconds after... more >>
Localisation of Resources.resx
Posted by GAZ at 7/17/2007 4:36:56 PM
Hello all,
I'd like to know is there a resource editor one could use to create another
localised version of Resources.resx?
Winres.exe does not work. It reports tons of errors when I try to open the
resource file with it.
Thanks for you help.
BR,
GAZ
... more >>
File lock
Posted by pgdown NO[at]SPAM gmail.com at 7/17/2007 10:45:07 AM
Hi,
I have several processes accessing files from one folder, but only
one process should ever access each file. Once one process has the
file, no other process should be allowed to access it, even after the
first process is finished with it, except in the case where the first
process crash... more >>
Upside-Down Screen Content
Posted by noorjabal at 7/17/2007 7:02:05 AM
My cat lay along the lower end of my keyboard while the computer was on -
which turned the contents of the screen upside down!
Re-booting and shutting down have failed to solve the problem. I also tried
systems restore but that didn't work either, although I'm not sure if I was
using it cor... more >>
ListBox - DataSource - SelectedValue problems
Posted by Stephen Ritchie at 7/17/2007 5:48:03 AM
Hi
NET1.1 / Winforms
I have a listbox that I am binding to a table via the DataSource property.
However I want to be able to programmatically select values in this listbox
so I am using the code below...
With lstJobTypes
.DataSource = BusinessRules.Common.Jo... more >>
FTP Upload Firewall
Posted by csgraham74 at 7/17/2007 3:43:38 AM
Hi,
I have recently written or more exactly copied some code to help me
create an FTP file uploader. This all works fine in development and on
any test servers i have used. For the live environment the networks
guys have given me an firewall path to use as part of the ftp details
so i now hav... more >>
Compatibility between differnet .NET versions
Posted by Stephen Ritchie at 7/17/2007 2:24:01 AM
Hi
I have tried searching around but can't seem to get a definitive answer
1. Is it possible to have .NET 1.1 and .NET 2.0 installed on the same PC and
I can then develop and deploy applications in either of theswe two versions
without fear of any cross over (e.g. a .NET2 application link... more >>
dummy question about synclock and try...catch
Posted by buu at 7/16/2007 11:19:01 PM
If I have a code like:
TRY
SYNCLOCK Object1
//some code
END SYNCLOCK
CATCH
END TRY
If an error occurs in a part "some code", will Object1 be released from
synclock or not?
shoul the code look like this?:
SYNCLOCK Object1
TRY
//some code
CATCH
... more >>
Merging Xml files
Posted by Oriane at 7/16/2007 6:37:40 PM
Hi,
Do you know a .NET method to merge two Xml files with the same schema ?
Regards... more >>
Fatal Execution Engine Error (7A060941) (80131506)
Posted by Vulgrin at 7/16/2007 4:02:14 PM
I have a web service that I've built and is running at a customer's
site. We have been having issues with it dying in the middle of the
day, sometimes completely silently, other times with errors in the
event log. When there are errors, there are always two:
1. Fatal Execution Engine Error
... more >>
Crystal Reports for VS 2005 Error on Print
Posted by Steve McVey at 7/16/2007 1:00:13 PM
I created a page in Visual Studio 2005 with a Crystal Reports web viewer
attached to a report. The report previews fine, but clicking the embedded
Print button produces an error:
"HTTP 403.1 Forbidden: Execute Access Forbidden
Internet Information Services"
"You have attempted to execute... more >>
cardgames.dll
Posted by Robert at 7/16/2007 12:06:04 PM
Hi,
Does anyone knows how to use the CardGames.dll (\system32\CardGames.dll) in
..Net? I'm trying to make a card game, but I don't know how to use this .dll
file.
I would be happy for any reply.... more >>
VS2005 NT Service AppSettings Null Reference
Posted by RLubanovic at 7/16/2007 11:54:02 AM
I am attempting to use AppSettings within an NT Service built with VS2005 and
C#. This idea worked ok in v1.1, but seems to fail in v2.0. I've done some
searching and have seen similar situations but no real resolution.
The AppSettings collection is NULL, although there are two strings in t... more >>
can't reinstall 1.1 after 2.0/.3.0
Posted by AlexS at 7/16/2007 11:35:43 AM
Recent patch for 1.1 did not install from Windows Update.
I removed 1.1 and tried to install it afresh. It fails.
Is there a way to cure this without removing 2.0/3.0?
... more >>
How to profile unmanaged C++ in a C# application
Posted by MB at 7/16/2007 8:36:52 AM
I have a C# console app that calls methods in an unmanaged C++ dll.
The unmanaged C++ dll starts some threads and does some background
work.
The app is using about 50% CPU, and I think that all the CPU usage is
in the C++ dll.
I've run the app under a .Net profiler called dotTrace, and that... more >>
How to resolve an exception in windows service( .net framework 2.0)
Posted by zh.zhen NO[at]SPAM gmail.com at 7/16/2007 3:36:32 AM
i use try..catch in my windows service,and when some exception occurs,
i write it to event logs.
in webapplication ,if you use a catch to "hold" an exception, and do
not throw up, the exception will be ignore if it is available.
my windows service is a mul-thread service, which workes for a gr... more >>
Check this blog
Posted by Preeti at 7/16/2007 12:00:00 AM
Hi
check these links
nice resource for developers and programmers
http://techavenues.blogspot.com
Thanks
Preeti :)
... more >>
Using Trace to write to a file
Posted by Simon at 7/15/2007 6:50:45 PM
Hi all,
I'm trying to use the Trace class to log messages to a simple text file.
I need to be able to provide a custom filename to be used. I've created
a TextWriterTraceListener and added it to the Trace.Listeners
collections but nothing ever seems to get written to the file.
The file d... more >>
Time shows wrong
Posted by Frustrated in Redding at 7/15/2007 3:28:01 PM
My computer time reads correctly for me on documents and emails I produce,
but when someone else gets a file or email from me, it is one hour off. I've
checked "Date and Time" in the control panel and everything seems okay.
Daylight Savings Time appears okay for my time zone. How can I corr... more >>
TASK MANAGER BLOCKED
Posted by AJAY MEHNDIRATTA at 7/15/2007 9:46:02 AM
I am getting the message " Task manager has been blocked by the administrator".
I am the only user of the machine & didn't do that. Tried regedit also but
it failed. can anyone help ?... more >>
|