all groups > dotnet framework > june 2006 > threads for june 8 - 14, 2006
Filter by week: 1 2 3 4 5
Deployment of Framework from setup project
Posted by Sudha at 6/14/2006 10:45:31 PM
Hi all
I am using VS2005, How can I deploy the .Net Framework from my setup
project?
In the bootstrapper setup program we have below 3 options
1.Download prerequisites from the component vendor's web site
2.Download prerequisites from the same location as my application
3.Download pr... more >>
Mulples threads and impersonation
Posted by David Cablalero at 6/14/2006 7:46:36 PM
I have a windows service which every night checks a SQL Server database for
some data and business rules. The application can access different DBs with
the same structure, to tell the service which database to check I created
local users and assigned each of them a different default DB in SQL ... more >>
1.1 Famework needed for an applications API
Posted by ngpost1 NO[at]SPAM hotmail.com at 6/14/2006 5:28:49 PM
I am wanting to write an application and/or a Web service that will
connect to another commercial application via that comercial
application's API. I would like to write my application using VS.Net
2005 (as opposed to 2003). The commercial application can only run
with the 1.1 Framework. Is t... more >>
Could not load type
Posted by Thom Little at 6/14/2006 4:19:21 PM
I create ASP.NET 1.1 web applications on localhost and check them out.
After compiling, I FTP the .aspx files to a directory on a remote host and
the .dll to the /bin directory on that same remote host.
For a very trivial application I have (a single label) this works correctly
on one remot... more >>
.NET Frameowrk's interaction with the Windows OS
Posted by scottelloco at 6/14/2006 3:42:46 PM
Hi,
A colleague and I are in a dicussion about how exactly the .NET
Framework interacts with the underlying OS. We've looked around online
and haven't found much information to explain this interaction. We of
course know the the Framework is a layer which sits on top of the OS,
but we're curi... more >>
Asynchronous Process.WaitForExit()?
Posted by Douglas Harber at 6/14/2006 3:38:47 PM
Is there any way to do an asynchronous wait for a process to exit? My
application needs to monitor when processes it launched have completed and
take further action. However, the app can launch processes essentially
randomly (with respect to any other launched processes and/or their
completi... more >>
Efficient regular expression pattern ?
Posted by Steve B. at 6/14/2006 2:24:55 PM
Hi,
I'm building an application that analyse a flow of url in order to detect
some pages.
I've a very huge list of regular expressions (up to several thousands) that
I have to check on all urls.
Each regular expression will be evaluated agains all urls.
How can I write the code in orde... more >>
creating services with UI
Posted by Arvind Ganesan at 6/14/2006 1:43:35 PM
Hi,
I would like to write a service in C# and I have the need to display a UI
with status information, statistics, etc. If I use the Windows Service
project in C#, I noticed that the System.Windows namespace is not available
to me in the intellisense when I type "using System.".
What is t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Implementing renaming of a file
Posted by Emmanuel Stapf [ES] at 6/14/2006 12:23:03 PM
Hi,
I'd like to implement `rename' as it is done on Unix platforms. There is
FileInfo.MoveTo, but if the destination file already exist it does not do
the renaming.
I thought of doing something like (pseudo-code):
if (destination_exists) {
delete destination
}
FileInfo.MoveTo (de... more >>
ClickOnce application parameters
Posted by Alvaro E. Gonzalez at 6/14/2006 10:46:04 AM
Greetings
How can i pass parameters to a ClickOnce application that is published
in a network share directory ?
Can i modify the .manifiest file to include parameters ?
Thanks.... more >>
Ending an app programmatically
Posted by Schemer at 6/14/2006 9:40:26 AM
Hello,
I have a C# test app that I want to terminate after it has executed the
functions being tested.
Where is the best place to do this, and how?
static void Main()
{
Application.Run(new Form1());
}
Once the Form1 constructor returns, the app is running in the message loop.
Add... more >>
Suspend/Resume obsolete?
Posted by WXS at 6/14/2006 7:50:02 AM
What can be used now to control threads, if these are considered obsolete?
To pre-empt the obvious and standard questions due to this change:
1. No we don't have control over the particular code being executed so we
can not put a flag into it to detect when we want to suspend and even if we
... more >>
Building from command line
Posted by flopbucket at 6/14/2006 7:05:12 AM
Hi,
We are using Visual Studio.NET 2003 and need to build from command line
for integration with Cruise Control. Reading the docs, I see I can do:
c:\> devenv.exe /clean Debug example.sln
This build fine, however, it seems that is starts a background process
and the command prompt return... more >>
ReportingService is not define? (MSDN code!)
Posted by mtczx232 NO[at]SPAM yahoo.com at 6/14/2006 4:22:40 AM
I try the code ffrom MSDN ReportingService.Render Method at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/rsp_ref_soapapi_service_lz_6x0z.asp
and i add reference to project:
http://localhost/ReportServer/ReportService.asmx
But i got "not define" Error.
w... more >>
.net framework 2.0 on Windows 2003 server running Citrix Metaframe
Posted by a95johjo NO[at]SPAM hotmail.com at 6/14/2006 2:34:20 AM
Hello,
I've installed .net framework 2.0 on a Windows 2003 Terminal server
running Citrix Metaframe XP.
The problem is that any compiled .net 2.0 exe file fails to run.
The error message is typically some unreadable characters and then a
registry path e.g. "REGISTRY\MACHINE\SOFTWARE\Microsoft\O... more >>
Can we use dlls build with VS2005 with old apps?
Posted by yevvi NO[at]SPAM yahoo.com at 6/13/2006 1:41:46 PM
Hi,
We have a product with bunch of dlls which are now built with Visual
Studio 2003. We want to switch the build to use VS2005. I have read
that in VS2005 runtime libraries come as side-by-side assemblies and
that application has to have a manifest binding it to those assemblies.
My ques... more >>
Missing ASP.NET tab in IIS , last but not least!
Posted by Massimo_Z at 6/13/2006 12:46:44 PM
Please workers!
I have more than one windows 2003 server in which after installing the
2.0 framework I can't find any ASP.NET tab in IIS properties of all
web.
- I tried to modify registries key but there aren't any strange key
under InprocServer32 (as documented around), there are only the r... more >>
Memory leak when SmtpMail and MailMessage are used.
Posted by Pavel at 6/13/2006 11:02:01 AM
I have the function which consists code below. Every 50 mails the memory of
application raises up 100k. Sometimes is more. Does someone know why and what
I have to do to solve this problem.
for(int emailNum = 0; emailNum < int.Parse(txtMailsAmount.Text); emailNum++)
{
MailMessage tmp = ... more >>
Alternative to Dataset??
Posted by Amar at 6/13/2006 9:03:21 AM
Hi,
I am part of a team building a stock exchange software - Order
Management system'.
The current system that we have supports 200,000 orders per day.
All of this data is needed in memory.Ofc ourse this system was built in
VC++.
what I want to know is :
- Is there a alternative to storin... more >>
sending fax using .NET
Posted by PBENISTY at 6/13/2006 8:52:02 AM
Hi,
I'm looking for a sample VB.NET to send fax using .NET Framework.
thanks... more >>
2.0 smtpclient permission mystery
Posted by Daniel Billingsley at 6/13/2006 8:02:38 AM
I have an application that has been sending email alerts successfully for a
few months. Not it has stopped.
My investigation has taken me to some kind of permission issue.
Test #1 - If I use the smtpclient with the defaultCredentials=true option in
the configuration file I get a timeout w... more >>
Save running assembly to disk.
Posted by Bruce at 6/13/2006 7:25:58 AM
Ok lets say I have a neural network implementation and I in the process
of running a wizard have trained it for my data. Now I have that
trained network in memory.
I already have the functionality to serialize and deserialize the
network, however what I would really like to do is save that run... more >>
How to define Type T for List<T> at runtime
Posted by Webbert at 6/13/2006 7:19:01 AM
I am looking for a way to do something similar to
public void CreateList()
{
Type[] dataTypes =
{
typeof(int), typeof(string)
};
Dictionary<string, object> mylist = new Dictionary<string, object>();
foreach ( Type y in dataTypes )
{
mylist.Add( y.Name, new List<y>()... more >>
How to embed external document?
Posted by Lloyd Dupont at 6/13/2006 12:00:00 AM
In the good old days I believe people were using the arcane technology which
came to be known as COM+ to embed other application's document in their own
document.
Like a Word with document a Windows Media Player or Excel or Visio document
inside, double click on it and *bang* you coud start... more >>
how to catch win32 dll exception in c#?
Posted by BEelzebub at 6/13/2006 12:00:00 AM
how to catch win32 dll exception in c#?... more >>
Toolbar Scrolls with Window
Posted by bern11 at 6/12/2006 10:44:17 PM
I have a main form with autoscroll and a menu docked top & left. When I
scroll to the right or down, the menu moves off-screen. How do I keep
that from happening? (Do I have to set the location of the menu with
each scroll-bar move???).... more >>
Sharing violation error
Posted by techy at 6/12/2006 2:48:50 PM
hi guys
i am facing an error while trying to delete a file
access denied "c:\\22.bmp" file is in use by another process
what i am trying to do is
i have loaded an image it goes fine
but if i try to change the file then , it throws the error
thanks in advance to all fellow tec... more >>
Recursive delete for Directory structure with read-only files
Posted by Peter at 6/12/2006 12:57:03 PM
Hi All -
Is there a way to delete a directory structure with read-only files in it?
The Directory.Delete() and DirectoryInfo.Delete() methods both throw an
access violation exception if the directory structure contains read-only
diles or sub-dirs.
Thanks,
Peter
... more >>
Differences in UnicodeEncoding library between .Net 2.0 and 1.1
Posted by Jim at 6/12/2006 11:05:03 AM
Hello All,
I have an issue with the unicodeencoding library. The following code:
m_key= New Byte(127) {&HCD, &H1, &H0, &H0, &H8, &H9, &HCB,
&H0, _
&HFE, &HAA, &H9, &H10, &H7, &HA, &HA1, &H2E, _
&H8F, &HBB, &H6, &H2, &H6, &HB, &HB2, &H0, _
&H44, &HCC, &HAA, &H3C, &H5... more >>
ASP.Net tab not showing up on IIS Property page
Posted by Blasting Cap at 6/12/2006 10:52:57 AM
I have installed (and un-installed, and reinstalled) framework 2.0 on a
Windows 2003 server. I still cannot get the property page to come up on it.
When I run aspnet_regiis -lv on the 1.1 framework folder, I get this:
> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>aspnet_regiis -lv
>... more >>
System.Net.Mail.SmtpClient.Send Problem
Posted by george at 6/12/2006 7:53:01 AM
This box sends email all the time with a localhost smtp address on .NET 1.1
code framework, fails with the 2.0 API. Any thoughts?
Exception:
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at csxlib.SmtpMessage.TestSend() in F:\Projects\Visual Studio 2005\csxlib
v 0.9.7\Smtp... more >>
Setting up Permissions during installation
Posted by Anbu at 6/12/2006 6:46:40 AM
Hi All,
I'm writing an installer to install ASP .net web site on the web
server. The application needs to generate log files based on the input.
These log files will be passed by the administrator while installing
the application.
Could any one tell me how to provide privilege to a particul... more >>
Alternative to FXCop ?
Posted by Steve B. at 6/12/2006 12:00:00 AM
Hi,
I'm looking fo tools that can analyse my code.
I've tested FXCop, but I'm wondering if there is alternative tools that
could be better and that can create rules within the app.
The main criterias are the cost (fxcop is free, but we can invest some
money, up to 100$), the ease if use (... more >>
Your Assistance Needed
Posted by Sudha at 6/11/2006 11:56:54 PM
Hi Folks,
I am basically an Technical Recruiter. I am in the preparation of
questionaire in Dot Net technology.
Could you help me out in the new technologies coming up in recent days
esp. in the combination of vb.net, asp.net, C# with Sql server.
Regards,
Sudha.
... more >>
A Failure about ildasm/ilasm MSIL
Posted by ThomasLiu83 NO[at]SPAM gmail.com at 6/11/2006 9:07:16 PM
Dear friends,
I'm a newer in MSIL , nowadays I have a problem about
disassemble/assemble .net MSIL.
I found a dll plugin ,i want to dissamble it for studing , so i ildasm
it to prog.il, and then i ilasm it ,but it not works and failure.i do
not konw why it failed.
here is the command:
i... more >>
Is it common to delegate most of the legwork to Windows services?
Posted by Water Cooler v2 at 6/11/2006 2:03:43 PM
I want a process to be running always and it is supposed to do a lot of
stuff like:
1. reading and writing to files
2. watching a file system folder
3. communicating with COM components
4. communicating with other C DLLs
5. Watching for email from a POP3 server
6. Sending email using SMTP
... more >>
taskbar and start menu
Posted by steph at 6/11/2006 2:54:01 AM
Cany anyone help? ive recently had the internet installed on my computer and
since then the start menu and task bar at the bottom of the screen will not
come up. i dont understand why can anyone tell me how to fix this problem ???
thanks
--
steph... more >>
Viewing another applications WndProc (like spy++)
Posted by JahMic at 6/10/2006 6:03:22 AM
I would like to monitor other applications WM_ACTIVATE messages. In
win32, this involves a bit of tricky coding involving hooks. But how
to do this from a .NET application?
Also, please note, I want to monitor all applications not just .NET
applications.
Thanks, J
... more >>
about [SuppressUnmanagedCodeSecurity]
Posted by Lloyd Dupont at 6/10/2006 12:00:00 AM
I'm not exactly sur in which context it is valid / usefull.
For example will it suppres the stack in the following sample below when
using the ScreenGraphics class?
(i.e. I wonder if it will work even if it is not applied to the Gdi32 class,
but to the "consumer" class ScreenGraphics instead... more >>
Sending Email Through Exchange With Framework 2.0
Posted by DORIS at 6/9/2006 3:51:36 PM
I have a web app in C# 2.0 that needs to send email through exchange. I can't
use SMTP because I need to keep a history of what is sent. I used MAPI in the
past with 1.1 will that still work or is there a better way?... more >>
ClickOnce doesn't include data files
Posted by Steve Teeples at 6/9/2006 3:51:28 PM
I have an application that I'd like to deploy via ClickOnce from a NETWORK
share server. I've walked through the wizard and deployed the application,
but when I run the app all of my data files are missing. I have XML, TXT and
custom data files that my application uses during execution. How... more >>
Unable to make a project exe
Posted by Samuel Shulman at 6/9/2006 2:53:20 PM
The project (from Sybex) is a class library (dll) and I can't change the
settings to make a stand alone (exe)
Any suggestions why?
Thank you,
Samuel
... more >>
Xml deserializitaion trouble ... Please advise
Posted by Nikolay Anestev at 6/9/2006 2:22:14 PM
Hi all. I have the following xml content:
<?xml version="1.0"?>
<_ARRAY LangCode="2">
<LABELS Count="4">
<code>Code</code>
<ident>Ident</ident>
</LABELS>
<USERS_ACCOUNTS>
<code>14403</code>
<ident>1714 358113156 01 1</ident>
</USERS_ACCOUNT... more >>
Can you develop dotnet app's in Windows Media Center?
Posted by dee at 6/9/2006 1:11:47 PM
Hi
Can you develop dotnet app's in Windows Media Center?
... more >>
Passing parameters to a windows service
Posted by basulasz at 6/9/2006 11:44:02 AM
Is it possible to pass a parameter to a "running" windows service on
background? I am developing a program such the in a random manner some
entries are being added to MSMQ Queues. The windows service application have
to work when an entry added to a queue. How can i invoke such a a service?... more >>
Case-Insensitive SortedList Keys
Posted by Alex Maghen at 6/9/2006 9:25:02 AM
Boy, the documentation for creating a SortedList whose text-based key will be
case-insensitive is impossible for me to understand.
I want to create a SortedList where the KEY for every element will always be
a String and where a lookup on that SortedList (SL["Xyz"]) will be
case-insensitive... more >>
Remoting TCP vs HTTP
Posted by techy at 6/9/2006 9:04:13 AM
hi guys i want to discuss about pro and cons of using tcp in remoting
and i would like to see if all techies share their practical experience
on this group
thanks in advance
... more >>
Programmatically analyzing IL code
Posted by robert_m_hooker NO[at]SPAM bigfoot.com at 6/9/2006 8:00:10 AM
Hi All,
I'm attempting to write a very basic 'Assebmly standards & policies
checker' for in-house use. This tool would open an assembly, and scan
it for a handful of specific conformance issues we need to adhere too.
Essentially, I'd be scanning the assembly for specific groups of IL
codes an... more >>
Accessing private assembly from shared assembly
Posted by utanka at 6/9/2006 3:24:55 AM
Hi,
I have a private assembly from a third party vendor which is not signed
with a strong name and for which i dont have the source code. So can I:
a. access that assembly from a shared assembly(may be by using
reflection)?
b. Can i somehow assign a strong name to that assembly without having
... more >>
Parsing POP3 'LIST' output
Posted by aleko.petkov NO[at]SPAM gmail.com at 6/8/2006 7:35:06 PM
Hi
I am trying to get the message IDs returned by the LIST command into a
string list.
For example, given the following input string:
+OK 5 Messages( 4099 octets )
1 9163
2 6962
3 8953
produce { "9163", "6969", "8953" }.
using the following code:
string[] msgIDs = Regex.Split( re... more >>
Problem using TcpClient - A connection attempt failure
Posted by Farrukh Hassan at 6/8/2006 7:19:23 PM
I have a client appliction (BizTalk Adapter) accessing an external
application using TcpClient. Client Application can have multiple instances
running at the same time. With few instances working simultanously (6/7)
following error is coming (not constantly, however most of the time):
"A conne... more >>
Program stuck when removing row from DataTable
Posted by Dagan at 6/8/2006 3:46:57 PM
Hello
I have built a DataGridView that its data source is binded to a DataTable
after adding it 200 rows I try to remove the first row and the program
stuck, What could it be????
Thanks.
... more >>
Connection timeout
Posted by eric.goforth NO[at]SPAM gmail.com at 6/8/2006 1:09:19 PM
Hello,
I have a connection string that looks like:
"SERVER=MyServer;DATABASE=MyDatabase;UID=Myuser;Connect Timeout=900;"
However, when I try to run the following, it times out after MUCH less
than 15 minutes:
Private Sub RunUpdateTransaction(ByVal UpdateSQL As String, ByVal
UpdateC... more >>
Windows Form Application Authentication in .NET 2.0
Posted by suresh.csharp NO[at]SPAM gmail.com at 6/8/2006 12:01:52 PM
Hi,
I am trying to implement ActiveDirectory Authentication for Windows
Form Application in .NET 2.0. I am not getting much help regarding
WinForms with ActiveDirectory, but most of the information telling
about ASP.NET with Active Directory.
Can any one please point me to the right informati... more >>
JulianCalendar.GetDayOfYear returns unexpected results
Posted by RobertAA at 6/8/2006 8:39:01 AM
I'm trying to use the System.Globalization.JulianCalendar.GetDayOfYear method
and I'm not getting what I expect. If I pass it "06/07/2006" it returns 145
instead of the expected 158. If I pass it "01/01/2006", it returns 353
instead of 1. Am I missing something? Thanks in advance.... more >>
Using SMO with Oracle?
Posted by Scott at 6/8/2006 8:28:01 AM
All,
Microsoft has Sql Server Management Object (SMO) for use with Sql Server
databasess; is there something simliar for using ADO.NET with an Oracle
database?
Thanks in advance.... more >>
What is the replacement for VSA ?
Posted by herbert at 6/8/2006 6:29:03 AM
I've done plenty of code using VSA two years ago. Now VS.2005 tells me VSA is
obsolete, however no hint where to go.
What is the replacement? CodeDom?
Users of my application can enter VB.NET scripts which are executed on the
fly.
Are there any MSDN articles showing how to do this?
If V... more >>
About Windows Services
Posted by Water Cooler v2 at 6/8/2006 4:35:05 AM
I want to run a service at the background but also provide some user
interface for editing some configuration options. In this regard, my
questions are:
1. Can a Windows Service have a UI along with it?
2. Can I associate a NotifyIcon (systray icon) with a Web service?
3. Can a Windows servic... more >>
|