gears of war pc problem, please help!!
I bought gears of war for the pc about 3 weeks ago. and everything was going
fine. Until today.... i loaded the game today,a nd all of my saved info was
gone. i couldnt continue a campaign, couldnt load previous chapters, and all
of my cogtags were gone. basically, somehow, all of my information was gone,
but i still had the achievements i had earned earlier. does anyone know how
this could have happened? it was normal the night before, but now all the
saved game data is gone. does anyone know how i can recover all of this?
please help! Tag: iis Tag: 140129
Detecting changes to app.config?
I'm trying to write some code that will detect changes in a Windows Service app's
.config file and reflect the modified appSetting entry in my code.
We have a windows Service we've written and every once in a while we need to modify a
setting in its .config file. Right now we restart the service whenever the config
entry changes.
We'd like to have the .config update be recognized automatically.
It's easy enough to hang a FileSystemWatcher off the application's .config file to
detect a change. In the event handler I am executing:
ConfigurationManager.RefreshSection("appSettings")
but this seems to have no effect. The value returned by subsequently referencing
ConfigurationManager.AppSettings(<somekey>) is the original value, not the one just
changed. Obviously, the value has been cached.
The help for RefreshSection claims:
"Refreshes the named section so the next time it is retrieved it will be re-read from
disk." but this doesn't appear to work.
I must not be understanding this correctly; what am I doing wrong?
Thanks for any help.
-- Jeff Tag: iis Tag: 140127
assembly doesn' permit partially trustets call's
Dear Newsgroup,
I have transer my project (Visual Studio .net 2005 Windows Form) in to a
share in my network.
Now when i try to debug i receiv an error in this class:
Partial Friend Class MyApplication
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
Public Sub New()
MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
Me.IsSingleInstance = false
Me.EnableVisualStyles = true
Me.SaveMySettingsOnExit = true
Me.ShutDownStyle =
Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
End Sub
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
Protected Overrides Sub OnCreateMainForm()
Me.MainForm = Global.HACPACK_PTS.LOGIN
End Sub
The error is that the assembly doesn't permit partially trustets call's.
ù
I need Help.
Thank's Tag: iis Tag: 140126
app.config & FileSystemWatcher
I'm trying to write some code that will detect changes in a Windows Service app's
.config file and reflect the modified appSetting entry in my code.
We have a windows Service we've written and every once in a while we need to modify a
setting in its .config file. Right now we restart the service whenever the config
entry changes.
We'd like to have the .config update be recognized automatically.
It's easy enough to hang a FileSystemWatcher off the application's .config file to
detect a change. In the event handler I am executing:
ConfigurationManager.RefreshSection("appSettings")
but this seems to have no effect. The value returned by subsequently referencing
ConfigurationManager.AppSettings(<somekey>) is the original value, not the one just
changed.
The help for RefreshSection claims: "Refreshes the named section so the next time it
is retrieved it will be re-read from disk." but this doesn't appear to work.
What am I doing wrong?
Thanks for any help.
- Jeff
-- Jeff Tag: iis Tag: 140125
you watch hot boobs hot video hot picture
you watch hot boobs hot video hot
picture
*********************************************
http://anushkahollywood.blogspot.com/
********************************************** Tag: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis 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: iis Tag: 139951
How do I (programatically) list the websites in IIS?
"Anonymous" <billg@microsoft.com> wrote in message
news:Op15q8q3IHA.2060@TK2MSFTNGP02.phx.gbl...
> How do I (programatically) list the websites in IIS?