you watch hot boobs hot video hot picture
you watch hot boobs hot video hot
picture
*********************************************
http://anushkahollywood.blogspot.com/
********************************************** Tag: Dotnet Viewers Tag: 140120
Cannot Authenticate using TcpClientChannel to a workgroup Server
I am able to connect to a remote TcpServerChannel from a Workgroup PC to a
Domain Server using the domain name in the credientials. However, I cannot
connect a Domain PC to a Workgroup Server. I used the Workgroup Server's
name as the domain name but it does not work.
What should I use as the domain name for a Domain TcpClientChannel
connecting to a TcpServerChannel in a Workgroup? Tag: Dotnet Viewers Tag: 140117
C# App Decompiling question
Hi
Is it possible to decompile a C# developed .exe file (release version)
Note: i am not interested in decompiling any app, but want to know if this
can be done, cause i often send my app in debug versions, to clients who
have not yet paid for the job, need to know the possibilities.
TIA
Barry Tag: Dotnet Viewers Tag: 140114
WPF not firing events
Hi all
I have the following xaml
<UniformGrid MouseDown="UniformGrid_MouseDown">
<Button Name="btn0">Hello</Button>
<Button Name="btn1">
<Button.Template>
<ControlTemplate>
<Rectangle Fill="Red" Stroke="Yellow"
Opacity="0.7" StrokeThickness="5"></Rectangle>
</ControlTemplate>
</Button.Template>
</Button>
<Button Name="btn2">
<Button.Template>
<ControlTemplate>
<Ellipse Fill="Green" Stroke="Violet"
Opacity="0.7" StrokeThickness="5"></Ellipse>
</ControlTemplate>
</Button.Template>
</Button>
</UniformGrid>
and the following code for the code behind
private void UniformGrid_MouseDown(object sender,
MouseButtonEventArgs e)
{
FrameworkElement elm = e.OriginalSource as
FrameworkElement;
MessageBox.Show("You clicked " + elm.Name);
}
Why is it that the events are never raised? I want to catch all button
mousedown events (ideally I would like to catch the click event for
buttons) in a global handler...how do i do this? Tag: Dotnet Viewers Tag: 140110
Tilt email notifications
How can I turn off the notification for new emails? I get new emails
constantly and the notification is driving me nuts. I've gone to
settings/sounds and notifications and unchecked all the boxes but it still
constantly pops up on my screen.
Thanks,
--
smarland Tag: Dotnet Viewers Tag: 140107
get function return from asynchronous background worker
on my form I have a function that returns a SQL connection depending
on what is selected in a combo box. Once a button is clicked it starts
a backgroundworker thread and Im trying to call the function on the
form to get the SQL connection but getting error that its being
accessed outside the original thread. How do I go about getting the
returned SQL connection into the background worker thread?
example
///////////////Form1.VB//////////////////////////////////
Sub Button1_Click(sender as object, e as eventargs) handles
Button1.Click
Worker = new backgroundworker
Worker.RunWorkerAsync
End Sub
Sub Worker_DoWork(sender as object, e as DoWorkEventArgs) handles
worker.DoWork
Dim class1 as new myClass
class1.Start()
End Sub
Function GetSQLConn() as SQLConnection
Select case combo1.selectedindex
case 0
return sql1
case 1
return sql2
end case
End Function
////////////MyClass.VB////////////////////////////////////////////
Class myClass
Sub Start()
dim comm as SQLConnection = form1.GetSQLConn()
End Sub
End Class Tag: Dotnet Viewers Tag: 140104
WPF question --- getting keyboard events
Hi all,
If this isn't the right newsgroup it would be great to get a pointer to the
correct one.
I can't get keyboard events in a trivial WPF application, the keydown event
doesn't seem to be fired. The xaml is
<Grid Keyboard.KeyDown="Grid_KeyDown">
</Grid>
and the handler is
private void Grid_KeyDown(object sender, KeyEventargs e)
{
string s = "set a breakpoint here";
}
when i set a breakpoint on the handler it never fires when I type.
Ideas?
thanks,
john Tag: Dotnet Viewers Tag: 140102
Installers?
Is it normal that vb installer gets installed with the setup project?
Is it normal that the InstallState file is copied to the directory?
The InstallState file is removed when the uninstall is run...
I posted again here, because my last post was removed or I can't find it? Tag: Dotnet Viewers Tag: 140101
Why do BCL classes have internal implementation classes?
Hello!
I was browsing through the XmlTextReader code when I saw that it has an
internal XmlTextReaderImpl. What is the reason for this separation? I would
understand why someone did it in C++ (pimpl idiom), but I don't understand
the reasons here. Any insights would be greatly appreciated!
--
Daniel Tag: Dotnet Viewers Tag: 140097
Active directory - delegation of control wizard
Hi , i hope one of you can help me.
I need to translate to a .net script the delegation control wizard that you
will find under
Active Directory Users & Computers > Action > Delegated Control (Delegation
of control wizard).
I recently made a VB.net package application using
Ldifde to change the schema of AD, but now i need to incorporate the
delegation control in the application.
I cannot find nothing in the Net framework that responds to operations that
makes the Wizard.
Have you the change to give me a guide ?
Thanks a lot Tag: Dotnet Viewers Tag: 140093
Breitling Navitimer Chrono-matic Steel Black Mens Watch
Breitling Navitimer Chrono-matic Steel Black Mens Watch A4136012-
B7-442, Best Luxury Watch - www.luxury-gift.org
Luxury Gift : http://www.luxury-gift.org
Breitling Watches : http://www.luxury-gift.org//breitling-watches.html
Breitling Navitimer Chrono-matic Steel Black Mens Watch A4136012-
B7-442 Link :
http://www.luxury-gift.org/Watches/breitling-watch-50.html
Breitling Navitimer Chrono-matic Steel Black Mens Watch A4136012-
B7-442 Information :
Brand : Breitling Watches
Series : Breitling Chrono-matic
Code : breitling-navitimer-A4136012-B7-442
Gender : Mens
Case Material : Stainless Steel
Dial Color : Black
Bracelet Strap : Stainless Steel
Movement : Automatic
Clasp Type : Deployment
Bezel : Bidirectional Rotating Slide Rule
Crystal : Scratch Resistant Sapphire
Case Back :
Case Diameter : 44mm
Case Thickness :
Water Resistant : 30m/100ft
Stainless steel case and bracelet. Black dial. Chronograph. Date
displays at 6 o'clock position. Distinctive left-placed crown.
Tachymeter. Km/miles/nautical miles conversion scale. Bidirectional
rotating slide rule bezel. Cambered sapphire crystal, glareproofed
both sides. Deployment clasp. Case diameter 44mm. Case thickness
13.6mm. Automatic movement. Water resistant at 30 meters (100 feet)
Breitling Navitimer Chrono-matic Steel Black Mens Watch A4136012-
B7-442 Link :
http://www.luxury-gift.org/Watches/breitling-watch-50.html Tag: Dotnet Viewers Tag: 140091
Nomade Leather Porte documents Voyage M85389 - www.luxury-gift.org
Nomade Leather Porte documents Voyage M85389 - www.luxury-gift.org
Luxury Gift : http://www.luxury-gift.org
Louis Vuitton handbags : http://www.luxury-gift.org/Handbags/Louis-Vuitton-handbags.html
Nomade Leather Porte documents Voyage M85389 Link :
http://www.luxury-gift.org/Handbags/Handbags-7471.html
Nomade Leather Porte documents Voyage M85389 Information :
Brand : Louis Vuitton handbags
Code :
Description :
Tth Nomade leather porte-documents Voyage easily holds a 15" loptop.
Elegant and practical, it opens wide for easy access.- Nomade
leather,microfiber lining- Golden brass picese- Double zip-around
closure with padlock- Wide zippered pocket,four large patch pockets,
to pen loops- Rounded handles for a comfortable grip - Key bell and
removable ID lebel- lnternal D-ring(for a ttaching a purse or key
holder)Size:16.1"x12.2"x2.8"This Nomade Leather Porte documents
Voyagehandbag comes with:Serial and model numbers, the LV dust bag,
care booklet, LV cards, and copy of the genuine receipt from an
official LV store.
Nomade Leather Porte documents Voyage M85389 Link :
http://www.luxury-gift.org/Watches/Handbags-7471.html Tag: Dotnet Viewers Tag: 140090
Epi Leather Mandara PM Mandarin M5893H - www.luxury-gift.org
Epi Leather Mandara PM Mandarin M5893H - www.luxury-gift.org
Luxury Gift : http://www.luxury-gift.org
Louis Vuitton handbags : http://www.luxury-gift.org/Handbags/Louis-Vuitton-handbags.html
Epi Leather Mandara PM Mandarin M5893H Link :
http://www.luxury-gift.org/Handbags/Handbags-7259.html
Epi Leather Mandara PM Mandarin M5893H Information :
Brand : Louis Vuitton handbags
Code :
Description :
Classic and elegant, the Mandara PM is a sweet little bag in the
fabulously chic Epi leather. Squared buckles on the unique strap and
the functional shape make it an enchanting bag for shopping or
evening. - Epi textured leather with smooth leather trim - Golden
hardware for Mandarin, Red and Black; titanium hardware for Mocha;
smooth palladium hardware for Myrtille - Adjustable shoulder strap -
Textile lining with inside patch pocket - Magnetic snap closure -
Subtle "LV" embossed at the bottom corner of the bag Size: 7" L x 9" H
x 4.3" WThis Epi Leather Mandara PM Mandarin comes with:Serial and
model numbers, the LV dust bag, care booklet, LV cards, and copy of
the genuine receipt from an official LV store
Epi Leather Mandara PM Mandarin M5893H Link :
http://www.luxury-gift.org/Watches/Handbags-7259.html Tag: Dotnet Viewers Tag: 140089
Customize Logging output from Enterprise Library 3.1
Hi all,
I have a console app, written in .Net 2.0, that I need to customize
its exception logging capability. I need to output the exception log
to a text file on a specific directory determined during run time. The
log content needs to be customized as well so that probably only the
root exception message is being captured.
I thought that would have been easy to do using the Enterprise
Library. I am probably doing it wrong but it seems like I have to
customize the ExceptionHandler, TextFormatter,
LoggingExceptionHandlerData, ... etc.
I would like to know the general steps to accomplish this (i.e. which
classes to override, what to change in the configuration file from a
basic log to file configuration).
Any help will be greatly appreciated. I have been spinning the wheels
for a lot longer than I have expected already. Tag: Dotnet Viewers Tag: 140085
Installer questions
I created a custom installer for my web service project. It simply copies
the web.config file from the setup.exe location into the webservice
directory. It seems to be working fine. When the uninstall is run all files
are removed. So it works.
Question: Why is the installstate file in the web service directory? Is
this normal? It is removed when the uninstall is run.
Question: my installer dll (i.e. myinstall.dll) is copied to the \bin
directory. It is only needed during installation. Is there a way to get rid
of it after installation? Will this cause problems? It is removed when the
uninstall is run. Tag: Dotnet Viewers Tag: 140083
LINQ Editor suggestions
Not sure if the right people would be reading this newsgroup, but a
suggestion on future versions of the LINQ editor for dbml. It would be nice
to be able to put comments into the designer's gui interface, possibly saved
as xml comments so they can be used for code generation. Tag: Dotnet Viewers Tag: 140082
Assembly policy for non-GAC dlls
Hi,
I'm facing a problem that could be completely resolved using .policy
files, but I could not use GAC in my application.
Basically the app should follow the "Smart Client" guidelines. All the
application plug-ins (implemented as .NET assemblies) should be placed
in a common folder shared among different workstations using remote
folders. So I cannot use the GAC facilities.
Until the plug-ins are implemented as single assembly, all is working
fine. I'm parsing the remote "plugin" folder and load all assemblies
using Assembly.LoadFrom method. I'm using a single AppDomain.
The problem is coming up now that we need to write several multi-
assembly plugins. We basically need to write one or more common core
assemblies (as "infrastructure" for these plugins) that will be
referred by each plugin.
The core assemblies should be versioned and shipped bundled in each
plugin package.
I need to declare backward compatiblity in the core assemblies to:
a) avoid to have multiple version of core assemblies loaded in memory;
b) to efficiently implement an inter-plugin communication layer.
To have this working I need to declare a binding redirect (as in the
app.config file). But I cannot change that .config file because
several application version could be installed on each workstation.
I basically need to use Publisher Configuration File, so each core
assembly could declare redirection from the older compatible versions.
A possible (but unwanted) solution for that is that the applciation
updates its private app.config file once all the plugins are parsed
and all dependencies are collected, and then restart the application
with the correct redirection of the "core" assemblies of the plug-ins
side.
It is possible to avoid that and use .policy files even in a non-GAC
scenario? All the assemblies are strong-named.
Please help!
Thanks in advance,
Luciano Tag: Dotnet Viewers Tag: 140077
Cartier Santos Dumont w2006951, Best Luxury Watch -
Cartier Santos Dumont w2006951, Best Luxury Watch - www.luxury-gift.org
Luxury Gift : http://www.luxury-gift.org
Cartier Watches : http://www.luxury-gift.org//cartier-watches.html
Cartier Santos Dumont w2006951 Link :
http://www.luxury-gift.org/Watches/cartier-watch-544.html
Cartier Santos Dumont w2006951 Information :
Brand : Cartier Watches
Series : Santos Dumont
Code : w2006951
Gender : Mens
Case Material : 18kt Rose Gold
Dial Color : Silver
Bracelet Strap : Leather - Brown
Movement : Manual Wind
Clasp Type : Deployant Clasp
Bezel : Fixed
Crystal : Scratch Resistant Sapphire
Case Back : Solid
Case Diameter :
Case Thickness :
Water Resistant : 30m/100ft.
Silver dial with Large Black Roman numerals, Black sword shaped hands,
Crown set with sapphire.
Cartier Santos Dumont w2006951 Link :
http://www.luxury-gift.org/Watches/cartier-watch-544.html Tag: Dotnet Viewers Tag: 140072
Jaeger LeCoultre Reverso Joaillerie 267.14.01 (q2671401), Best Luxury
Jaeger LeCoultre Reverso Joaillerie 267.14.01 (q2671401), Best Luxury
Watch - www.luxury-gift.org
Luxury Gift : http://www.luxury-gift.org
Jaeger LeCoultre Watches : http://www.luxury-gift.org//jaeger-lecoultre-watches.html
Jaeger LeCoultre Reverso Joaillerie 267.14.01 (q2671401) Link :
http://www.luxury-gift.org/Watches/jaeger-lecoultre-watch-1201.html
Jaeger LeCoultre Reverso Joaillerie 267.14.01 (q2671401)
Information :
Brand : Jaeger LeCoultre Watches
Series : Reverso Joaillerie
Code : 267.14.01 (q2671401)
Gender : Ladies
Case Material : 18kt Yellow Gold
Dial Color : Mother of Pearl
Bracelet Strap : Leather - Black
Movement : Manual Wind
Clasp Type : Deployant Clasp
Bezel : Fixed
Crystal : Scratch Resistant Sapphire
Case Back :
Case Diameter : 33mm x 20.5mm incl. lugs
Case Thickness : 8.5mm
Water Resistant : 30m/100ft.
18KT yellow gold case and Black crocodile strap with yellow gold
folding buckle, On the front of the swivel case is the dial set with
11 diamonds and diamonds on the bezel, the back is all diamonds with
an art deco border.
Jaeger LeCoultre Reverso Joaillerie 267.14.01 (q2671401) Link :
http://www.luxury-gift.org/Watches/jaeger-lecoultre-watch-1201.html Tag: Dotnet Viewers Tag: 140071
[WinForm]How do I configure a button to fit its image ?
Hi there,
a very simple question but I can't find any property in order that the image
set in the Image property of a System.Windows.Forms.Button fits the button.
I have to resize manually the image size if not only part of the image is
shown...
I didn't find something ligne ImageFit...
Best regards
Oriane Tag: Dotnet Viewers Tag: 140062
FTP List Results
Hi there,
does anyone have any tips for enumerating files on an ftp
folder. I'm using the FtpWebResponse .Net object, but the output seems to
be different for each site that you connect to. Are there any built in
classes for doing this? Tag: Dotnet Viewers Tag: 140060
Shipping dotnet 2.0 sp1
I want to distribute 2.0 SP1 on XP, I launch it from InstallShield.
However, If i lauch setup.exe from my setup i
get an error saying another setup is running.I have another setup
which does the same but installs 2.0, When i looked at the setup.exe
used in the 2.0 distributable its discription says "external
Installer".
But when i extracted SP1, its setup.exe is not similar. Any pointers? Tag: Dotnet Viewers Tag: 140055
Install dot net 2.0 SP1, from a MSI
Hello,
In my MSI installer i do a check to see if .Net2.0 SP1 exists. If
doesnt exist, i give an option to user to install. In that case i
launch setup.exe which is similar to the setup.exe in "C:\WINDOWS
\Microsoft.NET\Framework\v2.0.50727\Microsoft Visual J# 2.0
Redistributable Package". Which is a external installer(not sure wat
it means).
I downloaded SP1 and extracted it using /extract, but with the
setup.exe; wen i launch from my installer i get an error saysing
"another installation is in progress" as the other setup is also does
MSIExce.
Does anyone know from where i can download the SP1 which comes as
external installer or which i can lauch from my installer?
thanks
gP Tag: Dotnet Viewers Tag: 140051
=?ISO-2022-JP?B?SG90IG1hbmdhcxskQiEnGyhCTmFydXRvIDQwNiwgT25lIFBpZWNlIDUwNSwgQmxlYWNoIDMyOA==?=
Hot mangas:Naruto 406, One Piece 505, Bleach 328
The hottest mangas and the latest chapters
Manga news, Most popular mangas, Latest mangas, Latest chapters
http://english1.isoshu.com/?recommid=1023
http://emanga1.isoshu.com/?recommid=1023
A New Wonderful Manga: Maken-ki!
http://english1.isoshu.com/search/Maken-ki/all-1?recommid=1023
Hi, my friends!!! Have you read the manga named Maken-ki? This manga
series is as nice as To-Love-ru!!! The illustrator is Hiromitsu
Takeda
and his girls are incredibly gorgeous.
The story is described as an "ecchi love comedy with battle action."
Oyama Takeshi happily enrolls in a co-ed school that didn't required
any entrance exams and has hostels to book... Only to find out that
there's more to the school than he thought!
It is very good that Takeda-san likes to draw his girls with very big
eyes. Have only read a bit so far but many of the girls have an item
called "Maken" - each are different and have varying powers when used
in battle. And as with all good school girl battles, their clothes
easily explode. And there are characters for folks who like loli's
too.
Maken Ki has been an entertaining read so far and look forward to
more!!! I am sure that you must be love it at the first glance!!!
http://english1.isoshu.com/search/Maken-ki/all-1?recommid=1023 Tag: Dotnet Viewers Tag: 140042
Important System Restore Question
I was wondering, if I did a system restore to the first day I had my
computer, would it completely remove all the files that I myself put onto the
computer? That is my goal. Is system restore even what I should be using to
get my computer back to the way it was the first day I logged on? There are
certain files I do want to save, like photos and music and such, however, I
am buying an external hard drive to save those. Tag: Dotnet Viewers Tag: 140013
response with file stream, IE block
Hello,
I am responding file stream from ASP.NET and IE block such response and
security panel appears at the top of IE
asking to confirm accept. Is it posssible to overcome this IE issue?
Regards,
Tomas Tag: Dotnet Viewers Tag: 140012
C# equivelant of VB.NET's Asc()
VB.NET has a function, Asc(), that gets the Ascii value of a character. I am
attempting to find an equivelant function for C#. Can somebody help me here?
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/ Tag: Dotnet Viewers Tag: 140003
Large Object Heap
When determining the size of the object for the LOH, I assume that sub
objects (like Address in the Person class) are excluded?
class Person
string NameLast
string NameFirst
Address AddressHome
Address AddressWork
end class
class Address
string Street
string State
string City
string Zip
end class
Thanks,
Schneider Tag: Dotnet Viewers Tag: 139999
Differences between Windows Mobile 5 and Windows mobile 6 versions
Hello All,
Can I know what are the differences between Windows Mobile 5 and Windows
mobile 6 versions in terms of new API support.
Is there a backward compatibility from WM 6 to WM5?
Please answer my query.
Thanks in advance.
Prasad Tag: Dotnet Viewers Tag: 139998
Framework 3.5 Ajax problem
Hi,
I got ajax application that is converted to version 3.5. It is working on my
machine well. But when I deployed it to one of our deployment machine, ajax
futures are not functioning and returns 'Sys is not defined javascript error
message. The machine has 3.5 framework, so we should not install ajax tool
separately. I also created very simple ajax web site and it is not working
also. Any help would be very grateful.
Help pleaseeee!!
Thanks Tag: Dotnet Viewers Tag: 139997
Is IDictionary serializable ?
Hi there,
in an Asp.net application, a class GfProjects I used in a Profile implements
IDictionary. The class is marked as [Serializable] and the profiles appear
to be saved and read succesfully. However, I've build an Asp.Net web service
which gets this profile field, and when I test it on IE, I get the following
message:
"Cannot serialise member XXX.GfProjects of type
System.Collections.Generic.Dictionary`2[[System.String, mscorlib,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089],[Gilif.Auth.GilifProject, Gilif.Auth,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=4df35566e5ba3853]], since
it is implementing IDictionary."
So what ?
Oriane Tag: Dotnet Viewers Tag: 139994
Excel with Ado.Net and OLEDB problem -
Hello,
I am trying to create a simple excel (xls) table , when creating the table I
get a ' (single quote) prefix before each value ,
how can I get rid of this single quote it is messing up my numbers with
format errors !!!
The Code I used:
public bool InsertHeader(string TitleCode, string OrderNum, string HHNum,
string StartDate, string EndDate)
{
string insertQuery = "Create Table Sheet1 ({0} String, {1}
String, {2} String, [{3}] String, [{4}] String)";
ExecuteQuery(string.Format(insertQuery, TitleCode, OrderNum,
HHNum, StartDate, EndDate));
return true;
}
public bool InsertRow(string RowCode, string ChapterStr, string
Num1, string Num2)
{
string insertQuery = "INSERT INTO [Sheet1$A:D] values
({0},'{1}',{2},{3})";
ExecuteQuery(string.Format(insertQuery, RowCode, ChapterStr,
Num1, Num2));
return true;
}
private void ExecuteQuery(string Query)
{
CurConnection = new OleDbConnection(ConStr);
string insertQuery = Query;
CurCommand = new OleDbCommand(insertQuery, CurConnection);
CurConnection.Open();
try
{
CurCommand.ExecuteNonQuery();
}
catch (Exception ex)
{
}
finally
{
CurConnection.Close();
}
}
InsertHeader("1","2","x","Y","z"); Tag: Dotnet Viewers Tag: 139990
FtpWebRequest, SSL, MVS, and command [OPTS utf8 on]
Hello,
I am tryin gto use FtpWebRequest to connect to a MVS FTP server using
SSL. According to the trace logs, the authentication goes OK, but
when the server doesn't recognize the command [OPTS utf8 on] I get a
501 error response and an exception instead of the results from my
ListDirectory command.
Does anyone know if FtpWebRequest can be used with a MVS server? I
found some messages from people having problems, but no solutions or
workarounds (negative evidence).
How about a way to tell the FtpWebRequest connection not to issue the
command?
--
J. Moreno Tag: Dotnet Viewers Tag: 139976
asp.net. Version query
Hi,
A few questions regarding Visual Studio Pro Academic 2003.
=B7Which version of ASP.NET does Visual Studio 2003 use:
Is it version 1.0 or Version 2.0 ?
=B7If it uses version 1.0 then, is there an upgrade to version 2.0 or
would the solution be to upgrade to Visual studio 2005 or later?
=B7Is there a direct upgrade path from Visual Studio Pro Academic 2003
to Visual Studio Pro Acedemic 2005 / 2008?
=B7Does the full version have both debug and release options in the
configuarion manager?
Is it possible to publish a project that has been compiled in debug. Tag: Dotnet Viewers Tag: 139975
IL Code similar among VS languages?
Is there a huge difference in the intermidiate language code produced by VS
among the different languages supported? For example, does the IL code
generated in a C# program strongly resemble the IL code generated by a
similar program written in say VB? Tag: Dotnet Viewers Tag: 139972
Crash-bug in the VS 2008 C# compiler
Greetings,
When compiling the following example, Visual Studio 2008 (or rather the compiler
it invokes), crashes. The most reduced example I could come up with to provoke
this bug, is the following (compile as a console application, for instance):
----------
using System;
namespace Test
{
class Program
{
static void Main(string[] args)
{
var o = new Object();
// If this line is removed, the crash goes away.
lock (o) ;
// Extra code at this point (at least to some extent) won't affect
the crash.
lock (o) // <-- If we use { } around the inner statement, the crash
goes away.
if(true) // <-- This line can also be lock(o), while(false) or something
else.
{
int i; // <-- If no variable is declared, the crash goes away.
}
}
}
}
----------
The bug is, somewhat surprisingly, reported as being in the EMITIL phase:
------ Build started: Project: Test, Configuration: Debug Any CPU ------
C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702
/errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:"C:\Program Files\Reference
Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /reference:"C:\Program
Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.dll"
/reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll
/reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll
/reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll"
/debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\Test.exe /target:exe
Program.cs Properties\AssemblyInfo.cs
C:\Users\sune.foldager\Test\Program.cs(12,16): warning CS0642: Possible mistaken
empty statement
C:\Users\sune.foldager\Test\Program.cs(19,15): warning CS0168: The variable
'i' is declared but never used
error CS0583: Internal Compiler Error (0xc0000005 at address 65790140): likely
culprit is 'EMITIL'.
An internal error has occurred in the compiler. To work around this problem,
try simplifying or changing the program near the locations listed below.
Locations at the top of the list are closer to the point at which the internal
error occurred. Errors such as this can be reported to Microsoft by using
the /errorreport option.
C:\Users\sune.foldager\Test\Program.cs(7,17): error CS0584: Internal Compiler
Error: stage 'EMITIL' symbol 'Test.Program.Main(string[])'
C:\Users\sune.foldager\Test\Program.cs(7,17): error CS0584: Internal Compiler
Error: stage 'CODEGEN' symbol 'Test.Program.Main(string[])'
C:\Users\sune.foldager\Test\Program.cs(7,17): error CS0584: Internal Compiler
Error: stage 'COMPILE' symbol 'Test.Program.Main(string[])'
C:\Users\sune.foldager\Test\Program.cs(7,17): error CS0584: Internal Compiler
Error: stage 'COMPILE' symbol 'Test.Program.Main(string[])'
C:\Users\sune.foldager\Test\Program.cs(5,9): error CS0584: Internal Compiler
Error: stage 'COMPILE' symbol 'Test.Program'
C:\Users\sune.foldager\Test\Program.cs(3,11): error CS0584: Internal Compiler
Error: stage 'COMPILE' symbol 'Test'
C:\Users\sune.foldager\Test\Program.cs: error CS0584: Internal Compiler Error:
stage 'COMPILE' symbol '<global namespace>'
C:\Users\sune.foldager\Test\Program.cs: error CS0586: Internal Compiler Error:
stage 'COMPILE'
error CS0587: Internal Compiler Error: stage 'COMPILE'
error CS0587: Internal Compiler Error: stage 'EMIT'
error CS0587: Internal Compiler Error: stage 'BEGIN'
Compile complete -- 12 errors, 2 warnings
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
Sincerly,
Sune Foldager
Edlund A/ Tag: Dotnet Viewers Tag: 139966
Bug in System.Windows.Forms.ToolStrip.ProcessCmdKey
Greetings,
There is a bug in the method System.Windows.Forms.ToolStrip.ProcessCmdKey
which can cause application-wide shortcuts to stop working. For instance,
we have an application where there is a global shortcut ctrl + k to open
a form. Whenever the toolstrip is active, however, pressing ctrl + k will
instead behave as if you pressed ctrl + tab.
The problem is the following line from System.Windows.Forms.ToolStrip.ProcessCmdKey
(here reconstructed using the .NET Reflector):
if ((!this.IsDropDown && ((keyData & (Keys.Control | Keys.Tab)) == (Keys.Control
| Keys.Tab))) && (!this.TabStop && this.HasKeyboardInput))
In particular, the following part which is supposed to determine if ctrl
+ tab was pressed:
(keyData & (Keys.Control | Keys.Tab)) == (Keys.Control | Keys.Tab))
But this is clearly a bug, since every keycode for which kc & Keys.Tab ==
Keys.Tab (i.e. 8) will satisfy the condition, including k as well as several
other alphabetic characters. The entire line should instead be:
if ((!this.IsDropDown && ((keyData & Keys.Control) == Keys.Control) &&
((keyData & Keys.KeyCode) == Keys.Tab) && (!this.TabStop && this.HasKeyboardInput))
Which would fix the bug. Right now we had to hack around it instead. The
bug has existed at least since .NET 1.1.
Sincerly,
Sune Foldager
Edlund A/ Tag: Dotnet Viewers Tag: 139965
Doc builder
Hi,
What tools do you use to build a helpfile from the XML documentation in your
code?
nDoc is no longer continued, SandCastle looks a bit primitive. So I wonder
what do you use?
kind regards,
Erik Tag: Dotnet Viewers Tag: 139963
Microsoft Word 2003 Saving Problem
I am having problems with losing information that I am working on. Twice now
I have lost a document I was working on because when I go to save it, and
error an error message pops up asking if I want to continue and save. If I
click no, it takes me to another box where it says:
"File Conversion - Rescued Document - Warning saving as a text file will
cause all formatting, pictures, & objects to be lost." Then below that it
says, "Text Encoding" and I have 3 options: windows default, MS-DOS, other
encoding." Further down it says "allow character substitution". So I chose
the Windows Default option and that took me back to the original box where I
forgot what it asked but I had to choose Yes or No again. So the next time I
checked Yes. Well, it closed out of the document and it just disapeared from
my computer! When I opened up autosave in word, it said "Word has
experienced and error in trying to open the file." Then it gives me some
suggestions (check the file permissions for the document or drive, make sure
there is sufficient free memory & disk space, & open the file with text
recovery converter. I have no idea where the document went! I check the
recycle bin but I guess its gone. The document was saved on a USB drive but
I cannot find it on there anymore. Can you tell me why it is doing this or
what I need to do to fix this problem?
Thanks so much. Tag: Dotnet Viewers Tag: 139957
task bar
could someone help me get rid of the yahoo search bar on the task bar it is a
new vista pc, the search bar is drivng me crazy and I want the room on the
task bar for other things
Thanks
--
hershel Tag: Dotnet Viewers Tag: 139956
Avoiding new references
This is probably going to be an obvious answer for some, but I'm just
looking for directions or where to look or read. How can you make an
application that references a specific file ... say foo1.2 ... not break
when foo1.3 is released.
For example, I have an application that uses a commercial available class
say V.1.0 that has a function called getColor, then the vendor releases V1.1
that fixes a bug in getColor. How could I write the application so I could
just add V1.1 in the apps folder without having to recompile the entire
application? The assembly fails because it is looking for V.1.0 Tag: Dotnet Viewers Tag: 139955
ASP.Net Hosting
I have hosted my site designed by Dreamweaver for quite some time. The
first page was named indexhtml. I recently re-designed my site using
Asp.net where the first page is Default.aspx.
Now my site cannot be accessed from the internet. I made sure the new
files are copied in the website, on the IIS, Default.aspx has been
added to the accepted documents. Also Asp,net service is running on
the sever.
Is there anything I am missing for it to accept an Asp.net website?
Should I rename it to index.html? ( if I delete the Asp.net files and
bring back the Dreamweaver files with index.html, it will be accessed
by the internet).
Would appreciate your help. Tag: Dotnet Viewers Tag: 139954
FileSystemWatcher
Hi there,
I cannot get the FileSystemWatcher to work. I want to monitor
a directory for when files are copied into it. I have set the Filter
property to *.* and the NotifyFilter property to CreationTime. However, the
Created event never gets raised. I'm running it from a system service if
that makes any difference. Tag: Dotnet Viewers Tag: 139953
webbrowser control
Hello, I'm trying to automate webbrowser using webbrowser control.
I have problem with pages using ajax, as when LoadComplete event is
executed, ajax part is not yet loaded, and after it is loaded -
webbrowser does not throw next complete event. How should I use
webbrowser control in order to get document with dom uptated with the
ajax part?.
Thanks in advance for any ideas
Jarek Tag: Dotnet Viewers Tag: 139951
%CLRVERSION%
This is a multi-part message in MIME format.
--------------070907010908090607090906
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi all!
Since I had to repair my system (Windows Server 2003 R2 SP2) using the
installation CD, and after having applied the system updates that
Windows suggested, I encounter the following error: When I start Visual
Studio, a message appears stating that
*c:\windows\Microsoft.NET\Framework\<two_cryptic_chars> \mscorlib.tlb
cannot be found*. Confirming the message with OK, lets the application
start up w/o further errors.
Searching the Registry, I found that the <two_cryptic_chars> are a
placeholder for the environment variable %CLRVERSION% which is missing
from my environment.
My questions are: Where is the variable set? What value has it - after
installing .NET Framework 3.5?
Below the places in the Registry, that use the %CLRVERSION% environment
variable.
\Registry
Machine
SOFTWARE
Microsoft
Microsoft SQL Server
90
Tools
Shell
TlbAutoRepair
mscorlib.tlb
TlbPath =
%windir%\Microsoft.NET\Framework\%CLRVERSION%\mscorlib.tlb
VisualStudio
8.0
TlbAutoRepair
mscorlib.tlb
TlbPath =
%windir%\Microsoft.NET\Framework\%CLRVERSION%\mscorlib.tlb
9.0
TlbAutoRepair
mscorlib.tlb
TlbPath =
%windir%\Microsoft.NET\Framework\%CLRVERSION%\mscorlib.tlb
VSA
8.0
TlbAutoRepair
mscorlib.tlb
TlbPath =
%windir%\Microsoft.NET\Framework\%CLRVERSION%\mscorlib.tlb
9.0
TlbAutoRepair
mscorlib.tlb
TlbPath =
%windir%\Microsoft.NET\Framework\%CLRVERSION%\mscorlib.tlb
--------------070907010908090607090906
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Arial">Hi all!<br>
<br>
Since I had to repair my system (Windows Server 2003 R2 SP2) using the
installation CD, and after having applied the system updates that
Windows suggested, I encounter the following error: When I start Visual
Studio, a message appears stating that <b>c:\windows\Microsoft.NET\Framework\<two_cryptic_chars>
\mscorlib.tlb cannot be found</b>. Confirming the message with OK, lets
the application start up w/o further errors.<br>
<br>
Searching the Registry, I found that the <two_cryptic_chars> are
a placeholder for the environment variable %CLRVERSION% which is
missing from my environment. <br>
<br>
My questions are: Where is the variable set? What value has it - after
installing .NET Framework 3.5?<br>
<br>
Below the places in the Registry, that use the %CLRVERSION% environment
variable.<br>
<br>
</font><tt><font color="#993399">\Registry<br>
Machine<br>
SOFTWARE<br>
Microsoft<br>
Microsoft SQL Server<br>
90<br>
Tools<br>
Shell<br>
TlbAutoRepair<br>
mscorlib.tlb<br>
TlbPath =
%windir%\Microsoft.NET\Framework\%CLRVERSION%\mscorlib.tlb<br>
VisualStudio<br>
8.0<br>
TlbAutoRepair<br>
mscorlib.tlb<br>
TlbPath =
%windir%\Microsoft.NET\Framework\%CLRVERSION%\mscorlib.tlb<br>
9.0<br>
TlbAutoRepair<br>
mscorlib.tlb<br>
TlbPath =
%windir%\Microsoft.NET\Framework\%CLRVERSION%\mscorlib.tlb<br>
VSA<br>
8.0<br>
TlbAutoRepair<br>
mscorlib.tlb<br>
TlbPath =
%windir%\Microsoft.NET\Framework\%CLRVERSION%\mscorlib.tlb<br>
9.0<br>
TlbAutoRepair<br>
mscorlib.tlb<br>
TlbPath =
%windir%\Microsoft.NET\Framework\%CLRVERSION%\mscorlib.tlb</font><br>
</tt>
</body>
</html>
--------------070907010908090607090906-- Tag: Dotnet Viewers Tag: 139950
VS 2008 tutorial recommendation
I'm a new user of Visual Studio 2008 and wondered if anyone had
recommendations for a book or a website to give a tutorial. I want to learn
about this version of Visual Studio and I also want to learn about this
version of Visual Basic. Thanks. Tag: Dotnet Viewers Tag: 139945
WCF Error
Hello,
I have a simple WCF client/service solution and I'm trying to call an
operation in the service from the client. However, I get the following
error back:
System.ServiceModel.CommunicationException: The socket connection was
aborted. This coule be caused by an error processing your message or a
receive timeout being exceeded by the remote host, or an underlying network
resource issue. ... An existing connection was forcibly closed by the
remote host at ...
I'm using NetTcpBinding in both the client and the service and I'm
configuring it via code:
NetTcpBinding b = new NetTcpBinding(SecurityMode.None);
b.Security.Mode = SecurityMode.None;
b.Security.Transport.ClientCredentialType = TcpClienCredentialType.None;
b.Security.Message.ClientCredentialType = MessageCredentialType.None;
As you can see, I'm using SecurityMode.None. I even have those extra
redundant security lines that probably don't do anything since I passed in
SecurityMode.None when I created the NetTcpBinding object, but hey, I wanted
to be sure and I have no idea why I'm getting back this error. I've made
sure the Windows firewall is turned off, and I even copied my service over
to another machine and made sure the Windows firewall was turned off there
as well. I still get the same error.
The client comes back after about 5 seconds from trying to send the data
with this error, so it's not a timeout either.
Any other ideas?
Thanks. Tag: Dotnet Viewers Tag: 139943
Identifying the Publish Version of a ClickOnce app at Runtime
Not really sure where to post this but here goes:
I would like to be able to put a Publish Version in an AboutBox in my VS
2008 WPF application. I am following this example in the VS2008 help files:
ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/fxref_system.deployment/html/a848f1ad-bea0-1762-ff71-542adc0cdcc9.htm
I am having difficulty adding the following to my source code:
Imports System.Deployment.Application
I get the following error:
Namespace or type specified in the Imports 'System.Deployment.Application'
doesn't contain any public member or cannot be found. Make sure the namespace
or the type is defined and contains at least one public member. Make sure the
imported element name doesn't use any aliases.
I'm not sure why I can't list this import. I'm following the example code
exactly. Any ideas?
--
Michael Tag: Dotnet Viewers Tag: 139940
Using Structs As Dictionary Keys
Good afternoon. I think I've gotten to the bottom of an issue that's been
frustrating me this afternoon, but I find the result somewhat astonishing.
Can anyone explain to me why this is desirable behavior?
I need to look up values based on four integer keys. I've written two- and
three-key dictionary wrappers before, but they just gracefully wrap nested
Dictionaries, but that seems silly with four keys. So I created a simple
struct, wrote a decent hash function (thanks, Jon Skeet!), and started
populating data.
But I get nothing back. Apparently Dictionary requires that keys be not
only equal, but *the same object* to be considered the same! I thought I was
working around that by using a struct; they should always be handled purely
as values, such that I could freely create a key once when loading data, and
again later when retrieving, and the Dictionary would never know the
difference.
Am I missing something? Is it because the structs are being boxed to become
keys?
Doh! Need to override Equals. I assumed that structs, being value types,
would compare on the basis of fields by default, like an old-school Union
construct. I assumed wrongly.
Here's hoping this helps someone! Tag: Dotnet Viewers Tag: 139939