graphics in c# console application
hi;
i want to set a picture to the console application if u know how plz
answer me
i know how to chang the background color but i dont know how to set a
picture to it
thanks for all answer ...
:)
|
3/11/2010 11:10:15 AM
|
3
|
sahel <nam.nam.baro...@gmail.com>
|
|
Directory recursion
Hi everyone,
Surely this isn't that hard:
I'm trying to create a routine which is recursive across the entire
directory structure on a designated drive (from the root directory
through every folder on the drive - system, hidden, the lot).
And I'm getting, when I try:
directoryinfo.getdirectories
on a system folder, the dreaded "unauthorized access exception." I
have set the UAC settings to "requireAdministrator" as one post
suggested. I am running as an administrator (I'm the only user of this
computer). Some posts suggest "impersonation" - but I haven't found an
easy expl
|
3/11/2010 4:40:24 AM
|
2
|
Rex the Strange <roger.m...@widgetinc.com>
|
Running .NET apps from shared folders
Hi,
I am writing a basic pc audit script, which needs to be run from the
netlogon share. The script runs wmi queries, and it fails to run properly
from the network share, but runs fine locally. Below is the error I am
getting. As this script will be run on 300+ different domains, having them
make changes to their group policy or running the capsol tool, isn't really
an option. Does anyone have any suggestions?
Unhandled Exception: System.Security.SecurityException: That assembly does
not allow partially trusted callers.
at
System.Security.CodeAccessSecurityEngine.
|
3/11/2010 3:46:56 AM
|
1
|
"Adam" <...@officexpress.com>
|
Get size of file on ftp server before downloading
Hi,
How can I get the size of a file on an ftp server before downloading the
file. Basically I want to create a progress bar to show the progress of the
download as its being downloaded. If anyone could point me to any good
resources or explain what i need to do. I am using Visual Studio 2010 beta,
but code needs to be able to be run on 2.0 framework, if possible.
Thanks in advance,
Adam
|
3/11/2010 3:41:14 AM
|
2
|
"Adam" <...@officexpress.com>
|
Binary Diff Utility
I am looking for a microsoft or public domain tool that can diff two
binary files (exe, lib or DLL) and able to concur if they are
identical or not *ignoring* the header details such as time stamps.
The idea is to find if two binary files built during two different
time period are identical.
The binary files are built using .NET 2008 version, if that matters.
Please repond to the posting or reply to e-mail. Suggestions and
existing tools, pointers to MSDN are welcome. MVP replies are most
apperciated.
TIA
rigconsulting@[nospam]yahoo.com
|
3/10/2010 10:19:36 PM
|
6
|
"R I G Consulting, Inc." <rig_pos...@yahoo.com>
|
DBTYP.NET Studio 2010 - Database Comparison Suite Released
DBTYP.NET Studio 2010 - Database Comparison Suite Released
Vienna, Austria - March 8, 2010
Today, BYPsoft announced the availability of DBTYP.NET Studio 2010, the
newest version of the cross-database comparison tool that compares SQL
Server, MySQL and Oracle databases (schema and data). DBTYP.NET Studio 2010
is available for download from http://www.bypsoft.com.
With its rich support for schema and data cross-database comparison,
DBTYP.NET Studio takes the mystery out of databases, making their comparison
practical and easy for programmers and database administrators everywh
|
3/10/2010 7:16:42 PM
|
0
|
<Tommy>
|
DBTYP.NET Studio 2010 - Database Comparison Suite Released
DBTYP.NET Studio 2010 - Database Comparison Suite Released
Vienna, Austria - March 8, 2010
Today, BYPsoft announced the availability of DBTYP.NET Studio 2010, the
newest version of the cross-database comparison tool that compares SQL
Server, MySQL and Oracle databases (schema and data). DBTYP.NET Studio 2010
is available for download from http://www.bypsoft.com.
With its rich support for schema and data cross-database comparison,
DBTYP.NET Studio takes the mystery out of databases, making their comparison
practical and easy for programmers and database administrators everywh
|
3/10/2010 7:15:37 PM
|
0
|
<Tommy>
|
heeeeeeeeeeeeeeeeeeeeeeeeelp me
hi , every body;
[c sharp program] [console application]
i want to write an easy program;
if u have time plz write that code for me
i want to write a program that it gets a number from user then save it
in filestream
i mean to see tahat number ever time that i want at that file
i need a help
|
3/7/2010 3:08:36 PM
|
4
|
sahel <nam.nam.baro...@gmail.com>
|
ASP.NET, Class Libraries, and HTTP Handlers
I have a Solution that contains a Web Application and a Class Library. The
Class Library contains an HTTP Handler, which implements IHttpHandler and
needs registered in the config file. I want the *.dll for the Class Library
to be available and work independently of the Web Application. The handler
works when I register the handler in the <httpHandlers> section of the
Web.config file in the Web Application, but how can I register it using the
Class Library? Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
|
3/6/2010 7:05:15 PM
|
13
|
"Nathan Sokalski" <njsokal...@hotmail.com>
|
testing news reader setup
testing news reader setup
|
3/6/2010 3:18:54 PM
|
0
|
"gerry" <ge...@newsgroup.nospam>
|
testing reader setup
testing reader setup
|
3/6/2010 3:18:19 PM
|
0
|
"gerry" <ge...@newsgroup.nospam>
|
Debugging a Class Library used in a Web Application
I have two projects in the same Solution, one of which is a Web Application,
the other of which is a Class Library. When debugging, if I put a breakpoint
in the Web Application, it stops there when it should, but the debugger
refuses to stop at the breakpoints in the Class Library. Is there something
special I need to do when debugging a Class Library while using it in a Web
Application? Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
|
3/5/2010 10:08:40 PM
|
8
|
"Nathan Sokalski" <njsokal...@hotmail.com>
|
elevating user to administrator
I use the following code for checking if a user has administrator rights:
Public Function IsUserAdministrator() As Boolean
Return
My.User.IsInRole(ApplicationServices.BuiltInRole.Administrator)
End Function
This doesn't work on Windows 7 with UAC enabled. There are lots of articles
explaining how to mark your manifest to request elevated privileges, but I
only have one or two functions within my application that require this. How
can I request the elevated privilege from within my code at runtime?
TIA
Phil.
|
3/2/2010 11:09:04 AM
|
3
|
"Phil" <p>
|
Are there any known problems using Visual Studio 2008 on Windows 7 64-Bit
I am using Visual Studio 2008 on Windows 7 Ultimate 64-Bit. However, I have
been getting an error when debugging my site even though I haven't changed
anything since I had it on my old 32-Bit XP machine not more than about 2
months ago. I have been trying to get help for the actual errors with some
of the other newsgroups; my question here is are there any known issues
between Visual Studio 2008/.NET 3.5 and 64-Bit operating systems? Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
|
3/1/2010 11:25:02 PM
|
14
|
"Nathan Sokalski" <njsokal...@hotmail.com>
|
ms 2007
With the introduction of windows 7 and new computers why is ms office 2007
the latest version of office products?
|
3/1/2010 1:30:02 AM
|
4
|
=?Utf-8?B?d2NocmlzMTQ=?= <wchri...@discussions.microsoft.com>
|
life span
what is the life expectancy on dell's latitude e5500?
|
3/1/2010 1:26:01 AM
|
1
|
=?Utf-8?B?d2NocmlzMTQ=?= <wchri...@discussions.microsoft.com>
|
bugs
what bugs have been found with windows 7, and how were they fixed?
|
3/1/2010 1:24:01 AM
|
2
|
=?Utf-8?B?d2NocmlzMTQ=?= <wchri...@discussions.microsoft.com>
|
WCF connection information
I have a client/server WCF application that uses a per-session
connection. I would like to maintain an audit trail of all connection
attempts. A valid user is required to login, and that login operation
contract can require specifying the source machine name and ip
address. However I would like to determine at least the ip address of
connection attempts that fail to do a proper login.
Is there any way to discover the ip address of a WCF connection
without actually making the client declare it? Certainly the
ServiceHost manager must keep track of it but I can't seem to find it
an
|
2/26/2010 3:20:16 PM
|
4
|
r norman <r_s_nor...@comcast.net>
|
Fake USA passports for sale, fake Australian passports for sell, fake Belgian passports for sell
Our team is a unique producer of quality fake documents.
We offer only original high-quality fake passports, driver's licenses,
ID cards, stamps and other products for a number of countries like:
USA, Australia, Belgium, Brazil, Canada, Italia, Finland, France,
Germany, Israel, Mexico, Netherlands, South Africa, Spain, United
Kingdom. This list is not full.
To get the additional information and place the order just visit our
website:
http://www.sellingpassports.com
>> Contact e-mails:
General support: support@sellingpassports.com
Technical support: tech@sellingpas
|
2/26/2010 1:28:09 PM
|
1
|
John Dawson <t...@sellingpassports.com>
|
ANTIVIRUS FREE DOWNLOAD 8897
Many problems with performance and safety of your computer can be solved
easily with an updated antivirus and recognized. Antivirus Free Download
Microsoft best practices in:
http://yourantivirusfreedownloadonthissite.blogspot.com/
Content Site Links:
http://yourantivirusfreedownloadonthissite.blogspot.com/
http://yourantivirusfreedownloadonthissite.blogspot.com/2010/01/what-is-antivirus.html
http://yourantivirusfreedownloadonthissite.blogspot.com/2010/01/free-download-antivirus-recommended-by.html
http://yourantivirusfreedownloadonthissite.blogspot.com/2010/01/antivirus-o
|
2/25/2010 10:48:01 PM
|
0
|
=?Utf-8?B?YW50aXZpcnVzIGdyYXRpcw==?= <antivirusgra...@discussions.microsoft.com>
|
RegEx help - how to check for a link in HTML?
Hello,
I'm trying to write some code to check for a link in some HTML that has
been pulled from a web site. I think this should be easy with a RegEx,
but I can't get my head round it.
To make sure it's clear, a normal HTML link looks like...
<a href="http://www.microsoft.com/sompage.aspx">some page</a>
....but can also look like...
<a href="http://www.microsoft.com/sompage.aspx" rel="nofollow">some
page</a>
There are loads of other variations, but this is all that interests me
right now.
I want to check the HTML to see...
1) Is there a link to my target URL (whi
|
2/24/2010 6:16:18 PM
|
9
|
Alan Silver <alan-sil...@nospam.thanx.invalid>
|
.net runtime optimization service error in event viewer
Hi all,
After installation of SQL SERVER 2008 R2 on windows server r2
standart
editon , in event viewer i saw
".NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) -
Failed to compile: C:\Program Files (x86)\Microsoft SQL Server
\100\Tools\Binn\VSShell\Common7\Tools\VDT\DataProjects.dll . Error
code = 0x8007000b "
and
".NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) -
Failed to compile: C:\Program Files (x86)\Microsoft SQL Server
\100\Tools\Binn\VSShell\Common7\Tools\VDT\DataDesigners.dll . Error
code = 0x8007000b
"
errors.
|
2/22/2010 9:06:31 PM
|
0
|
Hakan Fatih YILDIRIM <hfysilis...@gmail.com>
|
marvendas@gmail.com Kit completo de Solenoides ( solenoid ) + chicote Para Cambio automatico 01M hidramatico Audi A3 Vw Golf gti turbo 88617
Contato: marvendas@gmail.com
marvendas @ gmail.com
marvendas no gmail.com
Kit completo de solenoides para Volkswagem e Audi.
O kit contem:
5 solenoides
2 Epc ( solenoides de pressao )
1 Chicote
Serve para qualquer modelo VW ou Audi fabricados de 1995 ate hoje com o cambio automatico de 4 marchas � 01M
Pre�o: R$ 1900.00
Temos outras tipos de solenoides e artigos importados, nao deixe de fazer uma consulta antes de comprar!
Audi a3 automatico
Audi a3 1.8 t automatico
Audi a3 1.8 turbo automatico
VW Golf gti automatico
VW Golf 2.0 automatico
VW Golf 1.8 turbo auto
|
2/20/2010 3:05:31 AM
|
0
|
kit solenoites audi solenoid.chicote<kit.solenoites.a...@solenoid.chicote.com>
|
SystemParametersInfo
Hi all,
I am trying to look high and low on this issue. I know that we can use
DeviceInfo to get the UUID, however, I was also trying to get the UUID using
SystemParametersInfo.. I get 1439 Win39Error. I dont know what is wrong with
it as the documentation in MSDN on this is only one line.
Can anyone point out what is wrong with this line? Thanks.
byte[] UUID = new byte[16];
const uint SPI_GETUUID = 263;
SystemParametersInfo(SPI_GETUUID, 0, ref UUID, 0);
Cheers,
Desmond
|
2/18/2010 10:19:01 AM
|
1
|
=?Utf-8?B?bGltaHllYW0=?= <limhy...@discussions.microsoft.com>
|
DESCARGAS - ANTIVIRUS GRATIS 7580
Muchos problemas de rendimiento y seguridad de tu computador son causados por
virus maliciosos, la mejor forma de combatir esto es tener instalado un
Antivirus reconocido y actualizado en tu computador
Descarga gratis Antivirus en:
http://antivirus-gratis-descarga.blogspot.com/
Links de contenido del sitio web:
http://antivirus-gratis-descarga.blogspot.com/
http://antivirus-gratis-descarga.blogspot.com/2009/08/que-es-un-antivirus.html
http://antivirus-gratis-descarga.blogspot.com/2009/08/descarga-gratuita-de-antivirus.html
http://antivirus-gratis-descarga.blogspot.com/2009/0
|
2/17/2010 2:53:02 PM
|
0
|
=?Utf-8?B?YW50aXZpcnVzIGdyYXRpcw==?= <antivirusgra...@discussions.microsoft.com>
|
GDI DrawLine
Re all,
I draw an user control where I draw a grid and then allow users to zoom and
pan and rotate it.
When I zoom-in I noticed that the line thickness grows also but I would like
to avoid that.
Is it possible?
Best Regards,
Mike
|
2/17/2010 10:16:25 AM
|
1
|
"Michele Santucci" <michele.santu...@celinavio.it>
|
Why am I getting a "TypeLoadException"
Hi there,
I have a fairly simple console app (.exe) in C# which runs fine in WinXP
(32 bits) but under Windows Server 2008 (64 bit) I get the following error
very early in the life of the app:
System.TypeLoadException: Method 'MyMethod' in type 'MyClass' from assembly
'MyApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have
an implementation.
Note that "MyClass" is a locally defined private class (in the ".exe") which
implements an interface defined in a C# DLL in the same folder as the
".exe". "MyMethod" is one of the interface methods and this return
|
2/16/2010 6:13:18 PM
|
2
|
"JohnS" <_no_s...@_no_spam.com>
|
pcnetsecurity@gmail.com =?UTF-8?B?QXNzaXN0w6puY2lhIFTDqWM=?= =?UTF-8?B?bmljYSAgbWFudXRlbsOnw6M=?= =?UTF-8?B?byBkZSBjb21wdXRhZG9y?= =?UTF-8?B?ZXMgaW5mb3JtYXRpY2Eg?= =?UTF-8?B?Vml0w7NyaWEtZXMgNDQ0NjI=?=
Contato: pcnetsecurity@gmail.com
Contato: pcnetsecurity @ gmail.com
Planos a partir de R$ 250,00 .
Assist�ncia T�cnica
Prestamos assist�ncia t�cnica nos computadores de sua empresa ou resid�ncia, e tamb�m possu�mos uma equipe qualificada para fazer a manuten��o no pr�prio local.
- Contratos de Suporte e Manuten��o
Reduza os custos de sua empresa com solicita��es de visitas t�cnicas para seus computadores, elaboramos um contrato de manuten��o integrado para sua empresa onde disponibilizamos: t�cnicos, equipamentos de suporte e substitui��o, e atendimento no hor�rio comercial ou
|
2/16/2010 4:56:10 PM
|
0
|
Assitencia manutencao remocao de virus computador pc<manutencao.assiten...@computador.pc.com>
|
How to install .net FW 3.5SP1 on a server without intertnet access
How to install .net FW 3.5SP1 on a server without intertnet access. Because,
it seems to be the installer looking for internet to download the sub
components like FW 2.0SP2, 3.OSP2 etc.
2. I am seeing issues even when the server has internet access and WU
service fail to download the fw 2.0sp2.
Any help is highly appreciated.
|
2/13/2010 2:47:01 AM
|
2
|
=?Utf-8?B?S3J1c2hp?= <Kru...@discussions.microsoft.com>
|
Security error
Hi there,
I installed my web site onto a newly installed version of Win Server 2008
and am now getting a "System.Security.Policy.PolicyException" trying to
access any page. The error is "Execution permission cannot be acquired" but
more specifically, it's related to the "'AjaxControlToolkit" I installed
into my ASP.NET "bin" folder. There are various messages that it can't be
loaded, that it "failed to grant permission to execute", etc. I've tried all
sorts of different things but of course (as usual) there's precious little
diagnostic information that actually tells me how to
|
2/13/2010 1:49:59 AM
|
1
|
"JohnS" <_no_s...@_no_spam.com>
|
GDI problem
Hallo,
I have a small (hopefully) problem... I defined an user control that in the
Paint overriden method does the following things:
protected override void OnPaint( PaintEventArgs e )
{
e.Graphics.Clear( BackColor );
e.Graphics.SmoothingMode = _SmoothingMode;
e.Graphics.CompositingQuality = _CompositingQuality;
e.Graphics.InterpolationMode = _InterpolationMode;
e.Graphics.TextRenderingHint = _TextRenderingHint;
e.Graphics.TranslateTransform( Width / 2,Height / 2 );
e.Graphics
|
2/12/2010 8:59:12 PM
|
3
|
"Michele Santucci" <michele.santu...@cdh.it>
|
Windows 7 64 bit and IO.Ports.SerialPort
Hi all -
Is anyone using the IO.Ports.SerialPort object successfully under Windows 7
64 bit? My PC crashed and in the rebuild I moved to 64 bit Win7, and now an
app I had running successfully for quite a while (probably a year) on 32 bit
Vista now does not work on Win7 64 bit. I get various random errors, like
stack overflows in mscorlib, uninitialized objects, all in mscorlib. Twice
while debugging I stepped through some comm code, and it actually blue
screened Win7 with a page fault. I have other apps that do not use the
serial port, and they work fine on 64 bit, it seems th
|
2/11/2010 2:49:01 PM
|
5
|
"mattd1" <some...@microsoft.com>
|
"0 bytes loaded from System"
Hello,
I work for a company that sells .NET software and have recently been
tasked with handling support issues to do with our update system,
which I wrote. Since the updater is the first thing that runs when the
desktop icon is clicked, I also get unrelated issues, and one that has
been coming up repeatedly is the following exception while trying to
instantiate an XmlSerializer:
System.TypeInitializationException: The type initializer for
'IQ.Core.UpdateFoundation.Dispatcher.DispatchRequest' threw an
exception. ---> System.BadImageFormatException: Could not load file or
assembly
|
2/10/2010 9:20:28 PM
|
3
|
Jonathan Gilbert <logic...@gmail.com>
|
xml/xsl to create msbuild files........MSB4097......and an xsl workarounds(??)
<!-- The xml in question -->
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="AllTargetsWrapper"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- - - -->
<Target Name="AllTargetsWrapper" xmlns="">
<Message Text="You just called the Target named 'AllTargetsWrapper'" />
</Target>
<!-- - - -->
<Target Name="Target1" xmlns="">
<Message Text="You just called the Target named 'Target1'" />
</Target>
<!-- - - -->
<Target Name="Target2" xmlns="">
<Message Text="You just called the Target named 'Target2'" />
</T
|
2/8/2010 9:05:49 PM
|
2
|
"sloan" <sl...@ipass.net>
|
82 R4I :COMPRAR
Nuevo Modelo R4i para Comprar
R4i para nintendo Ds, Ds Lite , Dsi y Dsi XL
http://www.elotrolado.net/hilo_r4i-comprar-nuevo-modelo_1373328#p1718911991
www.Dsiconsolas.com
Chao
u?%V^Og%J,YLFPbn!B*).QBGW
|
2/8/2010 5:46:55 PM
|
0
|
tesddalws<r4icomp...@yahoo.com>
|
File associations in .Net framework library
Is there any .Net framework classes which deal in file associations ? I
am looking for the .Net equivalent of the Win32 shell functions
"AssocQueryString" and "FindExecutable".
|
2/4/2010 6:31:36 PM
|
0
|
Edward Diener <eddielee_no_spam_h...@tropicsoft.com>
|
email
When I send an email it is sent twice how can i fix this.
--
SANDY
|
2/3/2010 7:35:01 PM
|
5
|
=?Utf-8?B?U0FORFk=?= <SA...@discussions.microsoft.com>
|
ANN: The Security Development Lifecycle - Three New Announcements
The Security Development Lifecycle
[Three New Announcements]
http://blogs.msdn.com/sdl/
[Simplified Implementation of the Microsoft SDL]
http://www.microsoft.com/downloads/details.aspx?FamilyID=0baff8e8-ab17-4e82-a1ff-7bf8d709d9fb&displaylang=en
[Microsoft Security Development Lifecycle]
http://www.microsoft.com/security/sdl/getstarted/pronetwork.aspx
[MSF-Agile plus Security Development Lifecycle Process Template for VSTS
2008]
http://www.microsoft.com/downloads/details.aspx?FamilyID=c4b44860-cfba-494a-ba43-13c4aecf86af&displaylang=en
Regards
Kerem
--
----------
|
2/3/2010 4:02:28 PM
|
0
|
=?iso-8859-1?B?S2VyZW0gR/xtcvxrY/w=?= <kareem...@hotmail.com>
|
IE8: How do I get Protected Mode to be on?
No matter what Security or Internet Zone settings I select, including the
defaults, every web page (at the bottom) says Protected Mode: Off. I'd like
to know how to turn it on. Thanks.
|
2/2/2010 10:57:01 PM
|
1
|
=?Utf-8?B?S0pT?= <...@discussions.microsoft.com>
|
Solar cells for less than 1 USD per Watt
Do you know that you can find solar cells for less than 1 USD per Watt
on www.ebay.com ?
Regards.
|
1/31/2010 10:26:06 PM
|
0
|
"..." <sustainable.future...@gmail.com>
|
Store Connection/App settings in A/D
Hello.
I originally posted this to the A/D group, but thought this might be a good
place too.
What are the pros/cons of storing connection strings and global app settings
in A/D.
We have a lot of applications (Windows, ASP.Net, Add-ins for Office Apps,
etc) and each need to retrieve connections strings, global app settings,
etc.
I want a central location for this stuff and don't want to include it with
every app, nor do I want to add it to each Machine.config file.
I was thinking of using A/D for this. On app start up I would get the info
and cache it.
Any and all sugg
|
1/29/2010 2:14:57 PM
|
3
|
"milop" <mi...@slomins.com>
|
04 R4I :COMPRAR
Nuevo Modelo R4i para Comprar
R4i para nintendo Ds, Ds Lite , Dsi y Dsi XL
http://www.elotrolado.net/hilo_r4i-comprar-nuevo-modelo_1373328#p1718911991
Chao
%QFiH!pMqyfete>EW>,xXi?<U
|
1/28/2010 12:30:56 PM
|
0
|
tesddalws<r4icomp...@yahoo.com>
|
Faulting module mscorwks.dll
I'm running a C# Windows service which logs to file any exceptions thrown
from any thread. The service consistently terminates unexpectedly after
about 40-50 hours, yet the log file remains empty, but with the below
messages in the event viewer.
How can I prevent my service from terminating unexpectedly?
Event log:
Event ID= 7034
Logged: 1/26/2010 8:31:42 PM
The GenReportsProc service terminated unexpectedly. It has done this 1
time(s).
Event ID = 1000
Logged: 1/26/2010 8:27:46 PM
Faulting application GenReportsProc.exe, version 1.0.0.0, time stamp
0x4b5a26b6,
|
1/28/2010 1:13:31 AM
|
0
|
CM <cmgei...@lesschancecounter.com>
|
Get list of windows user groups
I can check whether a user is in a group using My.User.IsInRole. This takes
the name of a windows group as a parameter, but how can I get a list of all
the groups defined for the machine on which the application is installed?
TIA
Phil.
|
1/27/2010 1:21:19 PM
|
4
|
"Phil" <p>
|
Next "available" File/Folder Name,...
Hi,
i am looking for some API that will give me the next
available file/folder name if the file/folder aleady
exists. Example: you have a file named "New Text.txt",
o the operating system suggests here "New Text(1).txt"
if you create a new file within the shell. Is there any API
that could give me the next available name for a file if
i provide a filename as input? I guess its some shell interface
or function, but i could not find anything so far,...
Thanks in advance,...
Regards
Kerem
--
-----------------------
Beste Gr�sse / Best regards / Votre bien devoue
Kerem G
|
1/27/2010 9:00:54 AM
|
8
|
=?iso-8859-1?B?S2VyZW0gR/xtcvxrY/w=?= <kareem...@hotmail.com>
|
pause in microsecund
I have set pause to microsecund. I have Microsoft Development Environment
2002 (ver.7.0.9466) and .NET Framework 1.0 (ver 1.0.3705) and
Stopwatch stopWatch = new Stopwatch(); don't work
How can I do it.
|
1/26/2010 9:48:09 PM
|
6
|
"alfa" <a...@alfa.hr>
|
PRB: HttpWebRequest POST with AllowWriteStreamBuffering = False [.net 1.1, vs2003]
Hi,
This is a strange problem for me, because I know this was working
correctly, but now when I am testing it, it is not working. Nothing
changed in my code, it merely acts now as if I have not set
"HttpWebRequest.AllowWriteStreamBuffering = False" and all data is
sent quickly (ie, buffered locally). The whole point of turning off
the buffering is so that I can provide a progress bar for larger
uploads.
Here is the basic code:
Dim H As HttpWebRequest = HttpWebRequest.Create(szRequestURL)
H.ContentType = "application/octet-stream"
H.Method = "POST"
|
1/26/2010 2:46:58 PM
|
2
|
Chris Morse <win32...@gmail.com>
|
SETTING RULE FOR WHERE REPLY EMAILS ARE TO GO
Hi
DEFAULT EMAIL ADDRESS (cowlam@iprimus.com.au)
I have just set up a new email account (damira@iprimus.com.au). How do I
set this up as a separate log in etc so that all emails sent from the new
account only come into the new account.
Thank you very much
Damira Cowlam
|
1/26/2010 11:36:04 AM
|
1
|
=?Utf-8?B?RGFtaXJhIENvd2xhbQ==?= <DamiraCow...@discussions.microsoft.com>
|
System.Diagnostics.Trace listener not working
Hi
I can't get the trace listener to work. I have a Website project in VS2008
with the following web.config entries:
<system.diagnostics>
<trace autoflush="false" indentsize="4">
<listeners>
<add name="myListener"
type="System.Diagnostics.TextWriterTraceListener"
initializeData="C:\Users\Public\Documents\TextWriterOutput.log"
/>
<remove name="Default" />
</listeners>
</trace>
</system.diagnostics>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp"
exten
|
1/25/2010 2:49:05 PM
|
1
|
"J055" <j...@newsgroup.nospam>
|
Application directory and mscorcfg
Hi.
I am trying to set up a new group with some permissions under
mscorcfg. For the group condition type I am choosing Application
Directory and the set of permissions I have defined.
What I want is to tell that applications coming from a specific
directory can't write to any file on c:\ and its subdirectories. But
when I run my application it still can write to text files for
example. Can I use mscorcfg for this kind of configuration? What
exactly is the Application Directory condition type?
Regards,
Robert Scheer
|
1/20/2010 1:13:21 AM
|
1
|
Robert Scheer <rbsch...@my-deja.com>
|
.NET Framework freezes the PC
Hi there.
When trying to install .NET Framework 2.0 in order to install SQL Express 2005, the PC freezes. So much so that I can do NOTHING on it and have to reboot manually.
I believe that Framework 3.5 has had problems, but I can't find any solution to getting 2.0 installed.
Please please please can some one help?
|
1/19/2010 4:39:46 AM
|
5
|
Jo <u...@msgroups.net/>
|
Usage example for BigInteger and C++
One of the new additions to the .NET 4.0 framework is
System.Numerics.BigInteger.
Please can someone give a simple usage example?
Thank you.
|
1/17/2010 5:25:01 PM
|
15
|
=?Utf-8?B?R2VvcmdDYW50b3I=?= <GeorgCan...@discussions.microsoft.com>
|
"Add Webreference" in VS2008 .NET 2.0 project won't generate dynamic code...
Today we tried adding a "Web Reference" to an existing project and while
Visual studio usually generates a dynamic url (e.g. read from the
Properties.Settings), today it wouldn't generate that statement in the
constructor of the service class.
Instead, whatever setting we tried, it generated the code for the static
behavior. It does generate the setting in Properties.Settings. It does
add the information to the app.config, it just won't ever generate the
code to actually use that config data.
Tried removing the service, tried updating the reference, tried removing
a complet
|
1/15/2010 2:07:55 AM
|
0
|
Jesse Houwing <jesse.houw...@newsgroup.nospam>
|
DateTimeFormat.MonthNames contains 13 items???
Hmz...
I just found a little article on the Daily WTF and tried one of the
samples. And then I found that DateTimeFormat.MonthNames is actually 13
long... WHY?!
Is it to support different calendars? Is it to support 1 based indexes
in VB? I cannot wrap my head around it...
the article in question:
http://thedailywtf.com/Articles/Helpful-SQL-Helpers.aspx
The simplest solution I found:
public static string[] GetMonthNames(int startMonth)
{
var months = new
List<string>(DateTimeFormatInfo.CurrentInfo.MonthNames.Take(12));
return
months.Skip(startMonth).Concat(
|
1/13/2010 11:38:04 PM
|
5
|
Jesse Houwing <jesse.houw...@newsgroup.nospam>
|
Unable to install .NET Framework 3.5
With all previous version of the .NET Fw uninstalled from the Add/Remove
Programs Manager at the recommendation of the manufacturer of my computer, I
have attempted to install .NET Fw unsuccessfully with it getting to the
point of the download manage telling me that the download is complete and
that I can disconnect from the internet, then it attempts to install the
update and seconds into the installation it stops and tells me that an error
has occurred and that Setup with remove installed files.
Among the measures I have taken to resolve this issue was to attempt
installatio
|
1/12/2010 1:20:24 AM
|
4
|
"NJITGS" <nji...@verizon.net>
|
Net Framework Failed Install Issues
I have been having a few issues with software that appear to be related to
..net framework on my XP Pro SP3 machine. I have read numerous posts and tried
dozens of "fixes" with none that work and am close to putting a hammer
through my monitor through frustration. It has gotten to the point where I
deleted all net framework versions and have started over at least 5 times to
no avail.
I've uninstalled using both Add & Remove programs as well as Microsoft's net
framework removal tool, turned off all anti-virus software, tried downloading
& installing each version individually as
|
1/11/2010 6:10:02 PM
|
0
|
=?Utf-8?B?UmFscGggVG9tYWNjaW8=?= <RKor...@aol.com>
|
Net Framework Issues
I have been having a few issues with software that appear to be related to
..net framework on my XP Pro SP3 machine. I have read numerous posts and tried
dozens of "fixes" with none that work and am close to putting a hammer
through my monitor through frustration. It has gotten to the point where I
deleted all net framework versions and have started over at least 5 times to
no avail.
I've uninstalled using both Add & Remove programs as well as Microsoft's net
framework removal tool, turned off all anti-virus software, tried downloading
& installing each version individually as
|
1/11/2010 5:44:01 PM
|
1
|
=?Utf-8?B?UmFscGggVG9tYWNjaW8=?= <RKor...@aol.com>
|
Setting Outlook 2003 as Default Mail Client
Outlook 2003 has been slowly falling apart for me. A week or so ago the
spell check quite working.
Now when I try to click on a picture to send it via e-mail it tells me I
don't have a default mail client. I did not change any settings. How do I
go in and make Outlook 2003 my default mail client?
Thanks.
|
1/8/2010 5:12:01 AM
|
2
|
=?Utf-8?B?R3JlZyBT?= <Gr...@discussions.microsoft.com>
|
Can anybody tell me exactly how to network my computer to att.uver
Should I have 2 cat 5 cables runnning from the back of my computer to the
residential gateway. One for my broadband connection and one to network my
computer to the dmr's (cable boxes sitting on the TV"S) going also to the
residential gateway. I can't get my TV"S to see my computer and my computer
to share media with my TV's. I know I've got all the ports configured
properly but I just can't get them to see each other. I"m probably doing
something wrong in settting up the network. Can anybody help?
|
1/6/2010 8:07:02 PM
|
1
|
=?Utf-8?B?Q29sR2ZvcmNl?= <3...@att.net>
|
Threading issues and question
I have a .Net service that processes messages contained in disk files using 1
or more threads. We run this on a server with 4 CPUs. We allow it to have up
to 8 active threads processing messages from a synchronized blocking queue.
The threads are long-running custom threadpool threads. Each thread can be in
one of several states - running, suspended, stopping, stopped. These are
logical states and not the states associated with the actual ThreadState
property of the thread. We use AutoResetEvents to manage them.
The service is scheduled using an Alarm component that reads its sc
|
1/6/2010 3:18:01 PM
|
5
|
=?Utf-8?B?Sk1a?= <...@discussions.microsoft.com>
|
Screensaver won't work
I want to use my pictures as my screensaver like I did in XP. I now have
Vista and it won't work. The screensaver will not turn off - it just keeps
going on. I taked to techs for hours and they can't figure it out. Any
ideas?
|
1/4/2010 12:19:01 AM
|
3
|
=?Utf-8?B?UGF0dGlDaGF0aQ==?= <PattiCh...@discussions.microsoft.com>
|
Looking for SMS, email, fax Notification library
We are developing an ASP .NET application which needs to send
notifications to users through channels like SMS/email/fax, etc.
depending on the preference of the receiving user. We are looking for
a library that has methods for sending the notifications
asynchronously so that the calling program does not wait until the
message is sent. We may need the capability to also automatically
retry after a configured interval if an attempt to send fails.
Is there an existing library available in .NET to do this?
Thanks,
Yash
|
12/30/2009 10:54:13 AM
|
1
|
Yash Ganthe <yas...@gmail.com>
|
Global Warming and what you can do to against it
Dear All,
As you know global warming is endangering the future of life on the
planet. It will also affect us;
rising sea levels, dwindling water supplies, mass deaths due to heat
waves, stoppage of the gulfstream, which
brings milder climate to north of Europe, super hurricanes, less food
due to droughts are some of the effects.
As you also know global warming is produced due to CO2 emissions
coming from burning of fossil fuels. So what
can every single person do to reduce global warming ?
1) Insulation: Do you know that you can save 50% of heating energy
(and money) by insulati
|
12/29/2009 9:32:58 PM
|
0
|
".." <sustainable.future...@gmail.com>
|
How to mark / build C# / WPF component STA
I am hosting WPF components in unmanaged MFC. This WPF components will
do some ricktext editing. Hosting / editing are working fine but
closing will crash application on exit (release version only and no
crash on debug). The following is the current structure:
class parentA_COM : definited / implemented in unmanaged C++, STA
class memberB_COM : definited in unmanaged C++, but implemented in C#
(ComVisible)
class winUserControl: implemented in C# to host WPF user control;
class wpfUserControl: implemented in C#
class MyApp // unmanaged C++
{
main ()
{
parentA_COM pPA();
|
12/29/2009 9:25:43 PM
|
1
|
Leo <jchliust...@gmail.com>
|
How can I have [DefaultValue(Environment.NewLine)] in C#?
hi
How can I have this in c# (or any equivalent code that does the same thing):
[DefaultValue(Environment.NewLine)]
or
[DefaultValue(f())]
f() is a function that returns a value.
|
12/29/2009 7:24:47 PM
|
3
|
"Leon_Amirreza" <r_rahm...@hotmail.com>
|
update label on form from within class file
Hi,
Can anyone please help me?
I'm building I small tool to process some files in a directory.
I've created a class file and added the process to the class-file.
When clicking on a button on the form, I create an object of the class and
start the process by calling the methode...
On my form, I would like a label that shows the filename of the file
currenly be processed.
I've tried raising an event form within the class but that forces the
process to stop after the first occurens...
Does aynone have an idea on how to update a label on a form from within
another class.
|
12/29/2009 12:50:23 AM
|
5
|
"John Devlon" <johndev...@hotmail.com>
|
UNC Directory Exists
I have an application that we install at external clients offices.
during the setup, if a setting points to a mapped drive, i convert the
drive to a UNC using WNetGetUniversalName and store it in a
configuration file. This all works fine.
When my application wakes up, I use System.IO.Directory.Exists with
the UNC as a parameter. If the UNC is mapped, this works fine.
My problem occurs when the UNC does not exist, typically on weekends
when the UNC computer is shut down. I have the
System.IO.Directory.Exists wrapped in a Try Block and have code
execute if it is not found. Howe
|
12/28/2009 8:01:57 PM
|
3
|
quimbo <llco...@gmail.com>
|
Can't delete security.config.cch
Hi all,
While trying to update the "Default Profile" on a Terminal Server, I am
told that I cannot delete the old profile. This is because, even as
Administrator, I do not have access to delete the file
"security.config.cch". Here's the full path:
C:\Documents and Settings\Default User\Application Data\Microsoft\CLR
Security Config\v2.0.50727.42\security.config.cch
This is preventing me from doing "profile" updates as new software is added
and/or older version removed.
Any help would be greatly appreciated.
--
Tim.
|
12/23/2009 4:33:26 PM
|
0
|
"Tim Munro" <Excels...@Liamtoh.moc>
|
Sending E-Mail using Outlook with multiple attatchments in C#
I am a newbie in C# but have experience in other OO languages. I want to
write a COM component in C# that I can reuse in a application that we are
developing in Powerbuilder. The COM should have the ability to:
1) Open a Outlook window. When the user enters any e-mails, the outlook
should validate for the right adress using the company directory. (I guess We
dont have to code for this. Outlook can do this)
2)The Outlook window should be populated with attatchements of all the files
from a directory. The directory will be specified by the user @ runtime.
3) The user will inout the
|
12/16/2009 6:38:02 PM
|
1
|
=?Utf-8?B?QVI=?= <...@discussions.microsoft.com>
|
Socket connection like HttpWebRequest
We have noticed that HttpWebRequest uses the Credentials property and Proxy
property to perform security checks. Could any one help us that we subclass
socket with these properties. we have used SSLStream but that uses SSL not
the security techniques used by HttpWebRequest. Can anyone help us on how we
could provide the same functionality on the sockets.
|
12/15/2009 12:38:02 PM
|
1
|
=?Utf-8?B?TXViYXNoaXIgS2hhbg==?= <MubashirK...@discussions.microsoft.com>
|
ExecutionEngineException for WNetGetNetworkInformation(....)
Hi,
when i call the WNetGetNetworkInformation(...) inside my application,
i get a fatal ExecutionEngineException for it. The pinvoke signatures
are pretty correct translated (i translated them by hand, no tool!). See
here:
[DllImport("mpr.dll",
CharSet = CharSet.Unicode)]
internal static extern uint WNetGetNetworkInformation(
string NetworkProviderName,
ref NETINFOSTRUCT NetInfoStruct);
[StructLayout(LayoutKind.Sequential,
CharSet = CharSet.Unicode)]
public class NETINFOSTRUCT
{
|
12/14/2009 5:07:07 PM
|
1
|
=?iso-8859-1?B?S2VyZW0gR/xtcvxrY/w=?= <kareem...@hotmail.com>
|
16 R4I-SDHC.COM FIRMWARE DRIVERS - Ultima Actualizacion
FIRMWARE DRIVERS CARTUCHOS DSI R4I-SDHC.COM CAJA ROJA - ULTIMA ACTUALIZACION.
http://www.elotrolado.net/hilo_r4i-sdhc-com-nuevo-firmware-drivers-13b_1344437
sALUDOS
cARLOS
Raaxh&(<@Biy)_m,c<bS/)Zpk
|
12/14/2009 9:36:15 AM
|
0
|
tesddalws<driverr4is...@yahoo.com>
|
Email Issues
Just got Windows 7 on a new computer and decided to try the live mail.
Having trouble since day one! I have been intermittenly able to send or
receive email -- more often I can't. Sometimes I get an error message that
says my virus software may be the cause. Called the virus people - they said
to uninstall and reinstall virus software, it may have been due to an update.
Tried that. Sometimes it says server response is the problem. Can someone
tell me how to fix this?
|
12/13/2009 1:18:01 PM
|
2
|
=?Utf-8?B?TEl6?= <...@discussions.microsoft.com>
|
Help with TCP Server.
The code below appears to work, but it eventually freezes and I have to
reboot the server. Killing and restarting the program itself doesn't work
as the listener socket is still bound. I have put debugging statements in
to verify that the ThreadPool threads are being released and the most thread
pool threads that this code used was 3, even under heavy load. The problem
appears to be when there are no clients for an extended period and then a
client attempts to connect. At that point, the application freezes. I have
left out the BankInfo object which contains the bank name, a
|
12/12/2009 10:16:20 PM
|
21
|
"Michael Ober" <obermd.@.alum.mit.edu.nospam>
|
SONY Viao with Vista X64 and Net.Framework 2.0
I have a SONY Viao Laptop running VISTA X64 with all the latest
updates installed.
I am trying to run a PCTV 880e tuner and when I try to run the
software for the TV tuner it says I need to install Net.Framework 2.0
I try to install it and I get a message saying it is already part of
the operating system. Does anyone have any idea as to what is going on
and how to fix this. The PCTV 880e comes with both 32 bit and 64 bit
dirvers for XP and Vista.
Harold A Climer
Dept. Of Physics Geology, and Astronomy
U.T, Chattanooga
Rm. 406A Engineering, Math & Computer Science Building
615 McCa
|
12/12/2009 3:34:34 AM
|
2
|
Harold A. Climer <Harold-Cli...@utc.edu>
|
Reflection and compiler inlining
Hi all,
Does anyone know if making calls to
System.Reflection.MethodBase.GetCurrentMethod is reliable in an optimised,
Release Build .NET app? I know the JITter can do some inline optimisations,
and if it does will GetCurrentMethod reflect the calling method (i.e. the
one this method was inlined into), or the containing method? I've Googled
but have found contradicting information, and there is no indication in the
MSDN online help about what to expect (whereas there is for the StackFrame
methods).
Can anyone shed some light on this?
Thanks,
Alex
|
12/11/2009 5:18:37 AM
|
3
|
"Alex Clark" <qua...@noemail.noemail>
|
PCX file format
I'm looking for a BMP to PCX converter or any other to get a PCX 2
colour file. Document about PCX 2-Colour file format is wellcome too.
I've the image in a arraybit (black and white points) and with that
I've to generate the PCX file, the header section is right but I've
not found info about the image encoding. Any help is wellcome. If in
the market exists a control that solves it is right too.
Thank you
david dot olivares at gmail dot com
|
12/8/2009 11:33:20 AM
|
3
|
"dav#23" <dav.oliva...@gmail.com>
|
[ANN] IronPython Training in New York, January 21st 2010
Hello all,
In association with Holdenweb Training [1] I'll be doing some
IronPython training in New York in January (21st).
The course is called "IronPython from the Ground Up": http://hwebipmc01.eventbrite.com/
Course details:
Michael Foord is an early adopter of IronPython, having used it for
(among other things) the creation of the Resolver One Python-driven
spreadsheet product. He is the author of Manning's IronPython in
Action and a well-known speaker at Python conferences throughout the
world.
IronPython is the implementation of Python for the .NET framework
an
|
12/6/2009 2:51:31 PM
|
0
|
Fuzzyman <fuzzy...@gmail.com>
|
how to automatically reset tabs in sourcecode
Hi
I worked for several years with visual studio and i'm loving it.
One thing I noticed is that, when creating asp pages, the source code is but
of a mess... Tabs are automaticlly at random inserted. Opening statements
are in most causes not on the same tab level as the closing statements.
Is there a function or plugin to clean up the number of tabs inserted before
each line of code to make the code more readable?
Thanks
Tim
|
12/6/2009 2:25:04 PM
|
3
|
"John Devlon" <johndev...@hotmail.com>
|
How does clickonce find the local application?
Hi,
The shortcut file created by clickonce deployment having an
extension .appref-ms only has a link that looks like:
http://127.0.0.1/ClickOnceDemo/ClickOnceDemo.application#ClickOnceDemo.application,
Culture=neutral, PublicKeyToken=27d66f1bda5f165d,
processorArchitecture=msil
The file http://127.0.0.1/ClickOnceDemo/ClickOnceDemo.application has
the name and version number of the executable assembly.
When ClickOnce application is invoked, the framework compares the
version of the locally installed app against the version in the
deployment manifest.
My question is, how does th
|
12/5/2009 2:47:30 PM
|
1
|
Yash Ganthe <yas...@gmail.com>
|
What to do to make compiler consider STATIC Readonly properties as CONSTANT?
Hi
when i used the following attribute for a property:
1- [DefaultValue(string.Empty)]
c# compiler nagged that it expects a constant and forced me to change it to
this
2- [DefaultValue("")]
Any1 knows of a better programming style than line No. 2-?
I thought compliers exist to encourage better programming practice (that is
more readable, more protable, more writtabe, more maintainable code )?
Thank god for the reflection for that DotNet compilers can evaluate some of
expressions to constant values at compile time then why doesnt c# do that?
I can make many c# examples t
|
12/4/2009 5:36:44 AM
|
6
|
"Leon_Amirreza" <r_rahm...@hotmail.com>
|
WPF non visual dcependancy property inheritance for non-visual objects
Sorry if this is the wrong place to post ths question - feel free to point
me to the proper group if it isn't.
I am trying to implement WPF dependancy property inheritance in a non-visual
object hierarchy.
Below is the complete code for a simple console app test - it just requires
references to PresentationCore, PresentationFramework & WindowsBase to
compile.
I am stuck on how to implement the object relations.
How does WPF programatically implement containership to enable property
inheritance ?
It would be a shame if this is only possible with visual elements.
Gerry
|
12/3/2009 2:18:19 PM
|
1
|
"germ" <ge...@newsgroup.nospam>
|
Setup Project DirectoryInfo UNC permission issues
Good afternoon,
I have a Setup Project within a Visual Studio 2008 Solution, and within the
same Solution a DLL Assembly containing an Installer class.
The Setup Project incorporates the Primary Output of the DLL and uses the
Installer class for an "AfterInstall" Custom Action.
Here is a code snippet from the AfterInstall event of the DLL Installer
class:
' This is the target Path
Dim tarPath As String = Me.Context.Parameters.Item("TARDIR").ToString
tarPath = System.IO.Path.Combine(tarPath, "Data\Gbr.001")
' Get Source path
Dim sorPath As String = Me.Context.Param
|
12/3/2009 1:14:38 PM
|
3
|
"Robert Ellis" <robe_2k5.n0s...@hotmail.co.uk>
|
Button Array
Hi
I have a UserControls with 20 buttons, how do i create a single delegate for
all these buttons for the click event, which will show in the hosted windows
form.
Pointer to source will be helpful
Regards
Jacko
|
12/3/2009 1:08:52 PM
|
4
|
"Jacko" <some...@somewhere.com>
|
.NET COM threading model
Hello,
I have a MFC application that uses a COM object implemented in .NET
(C++/CLI). The COM object behaves as if it uses the SLA COM threading model
(i.e. serialized access). How to change the threading model to MTA
(concurrent access)?
The COM code looks like this:
[ComVisible(true)]
[Guid("<COM interface GUID>")]
[InterfaceType(ComInterfaceType::InterfaceIsDual)]
public interface class IPdfReport
{
public:
String ^GetPdf(<arguments>);
}
[ComVisible(true)]
[Guid("<COM class GUID>")]
public ref class PdfReport : public IPdfReport
{
public:
virtua
|
12/3/2009 12:48:00 PM
|
2
|
"Martin Plechsmid" <S...@No.Mail>
|
Interop: size_t, UIntPtr, and UIntPtr::Operator-
Hi All,
I'm working on a VB program that calls into a C++/Crypto++ dll. The
Crypto++ and the Dll makes heavy use of size_t, so factoring out the
size_t is not an option.
In VB, I need an array of a known size. VB has a perverted behavior of
Dim'ing size+1 rather than size. So I'm stuck when allocating the
array
C++/Crypto++ pseudo code declaration:
size_t GetRequiredSize();
Visual Basic:
UintPtr size = GetRequiredSize()
Dim arr(0 To size-1) as Byte
Attempting to allocate the array causes Error BC30452: Operator '-' is
not defined for types 'System.UIntPtr' and 'Integer'.
|
12/3/2009 5:43:51 AM
|
6
|
Jeffrey Walton <noloa...@gmail.com>
|
SMTP
I wanna send email from my SMTP but face with this ugly code:
A connection attempt failed because the connected party did not
properly respond after a period of time, or established connection
failed because connected host has failed to respond 78.39.8.47:25
What does it mean?
How can i resolve this prob?
|
12/1/2009 11:01:48 AM
|
2
|
K1 <ozzyfat2...@gmail.com>
|
problem with assembly signing and strong names
Hi,
I have an application which consists of a handful of DLLs referencing
each other, and does not use assembly signing. This allows us to make
a minor patch to one assembly without up-versioning and re-releasing
all other assemblies that depend on it, and this has been useful for
us in the past.
We have recently done some integration with SharePoint which involved
web parts. one of our assemblies contains some useful constants and we
wanted to reference it from the web part. Any assembly referenced from
a web part must be signed with a strong name and put in the GAC.
Signing o
|
11/30/2009 3:45:23 PM
|
1
|
Andy Fish <ajf...@blueyonder.co.uk>
|
dotnetfx_cleanup_tool
I have an open case with Microsoft where all outcomes are riding on
the .NET Framework Cleanup Tool (current version 6.00.3790). I think
it's a very useful tool but it's not working exactly as I need it to.
I'm running Windows Server 2003 Standard x64 SP2.
I sent dozens of screenshots to MS including my cleanup procedure, re-
installation, and error event IDs. Each time I got a response with
slightly modified instructions to download and run the tool yet again.
So, I've run the tool many times over the last three weeks. Lately
I'm trying it with my various apps and services disa
|
11/28/2009 8:12:00 AM
|
5
|
Tom Penharston <thinkpersuas...@netscape.net>
|
disappeared - \program files\microsoft.net\framework64
I have been working on 2008 Server [NOT R2] and for some reason
the .NET redistributable directory, as in the subject, was wiped by
some other role, feature or program I installed since. Any
suggestions?
When I try to reinstall the redistributable, netfx64.exe, it tells me
it's alread installed.
I can not find out how to get rid of it to reinstall it either.
|
11/28/2009 12:55:21 AM
|
1
|
Steve <stephenp.mal...@gmail.com>
|
Improve my usage of MSBuild
Hi there,
I would like to build my .sln files with some additional "tricks" like:
- set all the assembly versio from the command line
- set some constants (DEBUG, RELEASE, WHATEVER) from the command line
and so on.
Could anyone help me or suggest me some documentation?
Thanks,
Giulio
--
|
11/27/2009 4:19:54 PM
|
1
|
Giulio Petrucci <faken...@fakedomain.com>
|
XPS writer and viewer
I have been trying to use the XPS writer but it always fails and says
unknown printer error. I have uninstlled and reinstalled Net Framework 3
and 3.5. I have also tried to install the XPS Essential Package put it
fails before all the packaged programs are installed. Are there any ideas
on getting my XPS writer to work?
|
11/25/2009 4:45:48 AM
|
5
|
"Kawipoo" <...@xxx.com>
|
Persistent Problem with USPS Shipping Assistant
When I try to launch the United States Postal Shipping Assistant I
get:
"the type initializer for
microsoft.practices.enterpriselibrary.exceptionhandling.exceptionpolicy
threw an exception."
and it does not launch.
I have uninstalled .Net Framework and reinstalled it, and this is the
error I get. I've also tried reinstalling
Shipping Assistant.
When I google the error, it's mostly from programmers who are
discussing code, not for end users
of others applications. No other applications give me this error.
Anyone have any advice on this one?
--
Robert Pearson
ParaMin
|
11/24/2009 9:46:01 PM
|
3
|
Brainstormer <paramindsoftw...@gmail.com>
|
How to run an ASP1.0 application in a non-fully-trusted environment?
Hi everybody,
First and foremost, I'm not sure these are the right groups to ask - if
not, feel free to direct me to a more fitting gtoup.
The company I work for has developed an ASP.Net website in Delphi RAD
Studio 2007. So far, several clients have received this website, no
troubles so far.
With our latest client, however, we've stumbled upon a problem. The
hosting company has warned us that they no longer support ASP 1.0, and
that we need to switch to ASP 2.0. Further more, they do not allow
applications to run in a fully trusted environment.
My colleague has upgrade
|
11/23/2009 6:35:54 PM
|
8
|
Marlon Bodicker <mar...@digitalpictureframe.50webs.com>
|
'Access of shared member' warning on RedirectFromLoginPage
Hello.
I have a class library with a class for authentication that uses forms
authentication.
The RedirectFromLoginPage class is called through my application using:
ClassLibrary.Authentication.FormsAuthentication.RedirectFromLoginPage(UserID,
False)
and, although this method works as intended, it leaves a warning (green
squiggly) which looks like I don't know what I'm talking about
(unprofessional). Here is the declaration:
Public Shared mFormsAuthentication As New
System.Web.Security.FormsAuthentication
Public Shared Property FormsAuthentication() As
System.Web
|
11/23/2009 3:34:18 PM
|
3
|
"Nick Large" <msnew...@nospam.nospam>
|
Using XmlSchemaSet with DataContractSerializer
Hi!
Is the DataContractSerializer supposed to work with an XmlSchemaSet
object? I am having problems getting them to work together. Here is some
code that illustrates the problem.
First, we define a type Blark that is used to generate an XmlSchemaSet
using the XsdDataContractExporter. The type HasSchema is a type that
contains an XmlSchemaSet as DataMember. We create an instance of
HasSchema with the above generated XmlSchemaSet. Then we serialize and
deserialize this instance using the DataContractSerializer. Before
serialization, the XmlSchemaSet has Count = 3, but after ser
|
11/23/2009 2:26:52 PM
|
0
|
car...@cartan.de (Nils =?iso-8859-1?Q?G=F6sche?=)
|
DataRow Prefix
Hi,
I have been trying to generate a xml file via typed datasets using the
writexml method. The xml I am after is
<?xml version="1.0" standalone="yes" ?>
- <bw:ABC xmlns:bw="http://tempuri.org/ABC.xsd">
- <bw:Employee>
<bw:EmployeeID>1</EmployeeID>
<bw:EmployeeName>John</EmployeeName>
</bw:Employee>
- <bw:Employee>
<bw:EmployeeID>2</EmployeeID>
<bw:EmployeeName>Peter</EmployeeName>
</bw:Employee>
</bw:ABC>
how ever when I run my code I get the following:
<?xml version="1.0" standalone="yes" ?>
- <bw:ABC xmlns:bw="http://tempuri.org/ABC.xsd">
- <bw:Emplo
|
11/23/2009 1:46:37 AM
|
1
|
occ <vrj...@hotmail.com>
|
School question
True or Faled The Table Template is used to automate data entry in a table.
|
11/22/2009 10:03:01 PM
|
5
|
=?Utf-8?B?ZGVib3JhaCBDYW1w?= <deborahC...@discussions.microsoft.com>
|
MC++ or WIN32/C ?
Hi,
I want to port the Solaris 5.8 C-Code (Mixed Endian Code) to Windows
x64/
x86 platform for a .Net project. What is the best approach to
accomplish this ?
1. Should I first port to WIN32/C (using BIT shifting for enadianness)
and then introduce a PInvoke layer ?
OR
2. Should I use Managed C++ so that I directly get the support for
Managed Code as well as object access through pointers ?
Please sugest. Thanks In Advance
regards
Angshuman.
|
11/22/2009 8:51:13 AM
|
1
|
angshuman <angshuman.agar...@gmail.com>
|
How to tell what version of framework is installed
newbie question:
Just starting at a new company.
How can I detect whether and what version of dotnet framework is installed.
And if it's installed locally or on server....
I'm new to programming c# and vb net so some of the basics are unknown to
me.
on my local box i see C:\Program Files\Microsoft.NET in which are 2 folders
Adomd.net nad Primary Interop Assemblies
We have at least one custom prog written in vb.net so I'm sure we have some
framework, just dont' see something obvious...
I don't see any prog files or .net folders on server so assume we just have
local copies of wha
|
11/20/2009 3:16:26 PM
|
4
|
"mp" <nos...@thanks.com>
|