call method from one form to another
Hey group!
I'm kinda new on windows app development, and I'm playing around with
vb.net.
I have a small VB.NET app on wich I have a Browse Form wich calls, on
demand, an "insert data" form.
this last form has some input fields, and then an OK button.
the thing is that I want to refresh the Browse Form with the new data
(there's a Sub Procedure that does this) once I pushed the OK button on the
insert form.
the browse form is not MDI Container, the main menu one is.
but I cannot find the way to make it parent form for the second one, so I
can call methods from that or any other form.
(I hope my english is clear enough)
any ideas?
thanx a bunch
Ignacio. Tag: Bootstrapper Settings.ini DialogText Field Tag: 58279
migpolwin.exe -migrate error
I followed the advice posted here and d/l dotnetfx.exe. When I ran it,
it completed. But I got the Fatal Execution engine error at the
following step:
Removing backup files
File F:\...\migpolwin.exe -migrate 1.1.4322 1.0.3705
In administrative tools, Framework 1.1 seems to work.
But Framework 1.0 crashes w/ every attempt to access it.
MSFT and MVP should be able to handle this with ease. Tag: Bootstrapper Settings.ini DialogText Field Tag: 58278
Installation problem
I was attempting to install VS.Net 2002 Professional on
my XP-based system. Halfway through Disk 1, the program
froze and the error log recorded that it could not locate
the file
c:\Program Files\MS
VisualStudio.Net\Framework.SDK\Symbols\mscoprwks.pdb.
Furthermore, the message in the system log read:
VS20pgui: ISetUpManager: GeyGlobalCustomProperty() failed
to find global prop in CFinishPage::GetGlobalProperty().
Please note that I had my virus protection and firewall
on when installing the software -- I din't get the
impression that these would be a problem for this type of
error.
Thanks in advance for any insight you can offer on this.
. Tag: Bootstrapper Settings.ini DialogText Field Tag: 58273
SQLConnection inside Destructor
I want to Open SQLConnectrion and Run an SP inside a
destructor of a class.
but I get an Exception Handle is not initialized when
opening the connection.. following are the exception
details..
[System.InvalidOperationException]:
{System.InvalidOperationException}
System.Object: {System.InvalidOperationException}
_COMPlusExceptionCode: -532459699
_className: null
_exceptionMethod: null
_exceptionMethodString: null
_message: "Handle is not initialized."
_innerException: null
_helpURL: null
_stackTrace: {System.Array}
_stackTraceString: null
_remoteStackTraceString: null
_remoteStackIndex: 0
_HResult: -2146233079
_source: null
_xptrs: 0
_xcode: -532459699
Message: "Handle is not initialized."
InnerException: null
TargetSite: {System.Reflection.RuntimeMethodInfo}
StackTrace: " at
System.Data.SqlClient.SqlConnection.Open()
at BiZenGine.AsyncProc.CSingleUser.Finalize()"
HelpLink: ""
Source: "System.Data"
HResult: -2146233079
please advice.
Thannks and Regards,
Sajid. Tag: Bootstrapper Settings.ini DialogText Field Tag: 58271
bootstrapper exe
I downloaded the sourse code for the bootstrapper exe
because I wanted to change its icon then rebuild it..the
problem is I can't find where to change the icon of the
output file!!!
any help Tag: Bootstrapper Settings.ini DialogText Field Tag: 58270
ASP.NET Build / MSI Package
Hi,
I have an ASP.NET app.
I have a folder within this app that has PDF's.
I want build an MSI Package and include these in the build.
How do I do this.
Curreently when I buod my app it is not including them in
the build.
CG Tag: Bootstrapper Settings.ini DialogText Field Tag: 58268
MSFT Please help to translate this error message
I got the following error from my application that has been running
fine.
Anyone know how to translate this error "Unknown Error (0x80090300)"
into native Win32 error? Any leads will be appreciated.
...
System.Net.WebException: The underlying connection was closed: Could
not establish secure channel for SSL/TLS. --->
System.ComponentModel.Win32Exception: Unknown error (0x80090300) ---
End of inner exception stack trace --- at
....
Thanks Tag: Bootstrapper Settings.ini DialogText Field Tag: 58266
problems in VS .NET 2003???
Hi everyone. I have been creating an application
under .NET 2002. I have recently installed .NET 2003 and
converted my solution to 2003. I have noticed the
following 2 "oddities":
1. Data will not load into a ComboBox that is bound to
data from a database and has the Sort property set to
true. In .NET 2002, this is okay, at least for the
control that had the problem under .NET 2003. I did have
some problems with setting Sort to true on a data-bound
ComboBox. Workaround: Turned Sort off on that control.
All other ComboBoxes load fine with no changes.
2. There are 2 ListBoxes next to each other. The left one
is filled with options from the database. When double-
clicking an item in the left list, it is removed and then
added to the ListBox on the right. However, under .NET
2003, the first entry does not become visible until I add
a second item. Workaround: I removed the BeginUpdate and
EndUpdate calls from around the double-click logic and it
works fine.
So, has anyone see any weird stuff like this? Not major,
but I find it odd that the functionality for these has
changed like this. The documentation for each item above
is the same under .NET 2003, so I think they are bugs.
Also, how do I submit bugs to Microsoft without using up
my incidents for the year?
BTW, everything functions fine under .NET 2002.
Thanks
abbomar Tag: Bootstrapper Settings.ini DialogText Field Tag: 58265
formating gone after Framework SP2 installed
All formating has gone after i istalled .NET Framework
Service Pack 2. I am going to uninstall Framework and
install a previous version. Any other ideas? Tag: Bootstrapper Settings.ini DialogText Field Tag: 58246
Cannot uninstall possibly corrupted .net Framework. Please Help!
Whenever I try to access administrative tools -> .net framework
configuration or framework wizards, I get the same error: fatal
execution engine error.
When I try to uninstall the framework from add remove programs, I get
the error that setup failed.
What do I do now?
THis is a Win XP SP1 running on P4, if that's needed. Tag: Bootstrapper Settings.ini DialogText Field Tag: 58239
Suggestions for .Net CLR
A couple of suggestions for enhancing the .Net CLR:
Property indexers:
To be able to have an indexed property (as opposed to a
type's indexer) without having to create a subtype.
Example:
class MyClass
{
public int MyIndexedProperty[int index]
{
get{...}
set{...}
}
}
...
MyClass o = new MyClass();
o.MyIndexedProperty[i] = foo;
This would reduce coding by reducing the number of
auxiliary types that need to be defined to do the same
thing today.
---------------------------------------------------------
Static indexers:
Useful when a type has a list of possible instances,
rather than a named set.
Example:
public struct MyStruct
{
static MyStruct[] myStructs;
public static this[int index]
{
get{return mystructs[index];}
}
}
...
MyStruct o = MyStruct[i]
The same can be accomplished thru a typical static
property, but this notation seems a bit cleaner.
------------------------------------------------------
Different accessibility on property gets and sets:
A favorite technique of mine in my VB6 days; still
lamenting its loss in the CLR. VB6 allowed us to have a
property that had
a public get accessor, and a friend set accessor, like so:
Public Property Get MyProperty As Long
Friend Property Let MyProperty(lValue As Long)
This used to be great; the project's internal code could
use the same property name to set a property that the
public interface exposed for gets. Now, we have to define
2 properties with 2 different names to get the same effect:
public int MyProperty
{
get{return myProperty;}
}
internal int MyProperty_Internal
{
set{myProperty = value;}
}
Example of what I'd really like to code for this:
public int MyProperty
{
get {return myProperty;}
internal set {myProperty = value;}
}
Even if it were just a compiler trick, this ability would
be awesome to have back. Tag: Bootstrapper Settings.ini DialogText Field Tag: 58238
Zero Touch Deployment and Assembly Cache Issue
I am developing an application which will be deployed via zero touch
deployment or NTD. The issue I'm having is that after running it a
few time from the URL, I get the following message:
The located assembly's manifest definition with name
'OpsConsole.exe?xxx=yyy' does not match the assembly reference.
Can someone please tell me why I'm getting this, and how to fix it? Tag: Bootstrapper Settings.ini DialogText Field Tag: 58237
problem unknown
Hello,
As i understand if .NET application works on one computer with same OS it
must work on another...(OS windows 2000)
But it is not :(
I have installed all required components to run my application: .NET
framework & DataAccess latest version.
Very strange but my app hangs(not responding) on computer when file coping
operation is performed.
Actualy i dont know what to do next..
Ofcourse you can always reinstal OS but it takes to much time.
Any ideas are wellcome.
Martin. Tag: Bootstrapper Settings.ini DialogText Field Tag: 58224
How to catch event when user clicks on .exe file
Hi:
How can i display my own messages, saying that "Please use GUI to veiw the
application", when user clicks on .exe (win service ) of my application.
This will be case after installing the application.
Thanks in advance.
Prasad. Tag: Bootstrapper Settings.ini DialogText Field Tag: 58222
Heirarchical Serialization
I haven't used Serialization support in .NET before and I have a few
questions about it.
let's assume the following:
class A : ISerializable
{
...
}
class B : A, ISerializable
{
private C cField;
...
}
class C: ISerializable
{
...
}
First of all, yeah, I'm missing the Serializable attributes here, and a lot
of other stuff, but this should be sufficient for my question..
In class B, how do I define GetObjectData()? I need to define it as new or
override? If it's "new" then from B.GetObjectData() do I simply call
base.GetObjectData() to deserialize the base class A? Does that work in a
"new" method?
What about the class C which is contained within B? In the
B(SerializationInfo, StreamingContext) constructor, do I simply do a cField
= new C(serInfo, context)? In B.GetObjectData() do I just call
cField.GetObjectData(serInfo, context)
Just not really sure how this all goes together. The above seems to make
sense to me except for whether or not B.GetObjectData should be new or
override. Of course, I could be completely off on all of it.
The other question is in regards to classes that aren't serializable. For
example, if I have a member that is a Font class, and I want to serialize
it, do I just take all of the pertinent data from the font object and
serialize those pieces that I need to re-create the font in the serializable
constructor?
Thanks
Pete Tag: Bootstrapper Settings.ini DialogText Field Tag: 58213
Reflection over namespaces
I need to show a list of all the IDbConnection inheritors=20
so any new ADO.net driver installed can be selected from a=20
user interface.
What i was trying to do ca be resumed to:
Type [] types =3D Type.GetTypes ( "System.Data.*" )
(which =EDs not valid)
Any solution? Tag: Bootstrapper Settings.ini DialogText Field Tag: 58202
Stars seem to be stumped
I'm getting a reproducible error from when I installed the .Net
Framework 1.1 upgrade and when I try to run a pgm that I think uses it.
The error is:
Fatal execution engine error 0x7926e693
I am running WinXP Pro SP1 on a P4.
What's up?
Thanks
ps. I re posted as I got no answer the first time. Tag: Bootstrapper Settings.ini DialogText Field Tag: 58200
applications supporting both CRT and LCD
Hi
I have a Windows Applications written in C#. End users of the application
may have either CRT or LCD monitors.
I would like to display some very light shades of colour. However the
colours look different on a LCD & a CRT monitor. Light colours look darker
on a CRT monitor & very light colours hardly even show on a LCD monitor.
Is there anyway to determine what type of Monitor a computer is running?
That way I could alter the colours depending on the monitor type - and
ultimately have my application look very similar regardless of monitor type.
Thanks
Clare Tag: Bootstrapper Settings.ini DialogText Field Tag: 58195
Windows service and MMC?
Hello.
I wrote simple Windows service. I'm wondering now, how
can I manage this service with my custom Management
console snap-in.
Is there any documentation how to write MMC snap-in in C#
and .NET. I found lots of code in C++, but nothing in C#.
On the other hand, I can write an application that
doesn't make use of MMC [only simple windows-form with
tree-view control]. Is this better approach?
Thank you for any given answer.
Marek Tag: Bootstrapper Settings.ini DialogText Field Tag: 58190
SSI in IIS 5.1
I have a .shtml file with include statement like:
<!--#include virtual="../includes/header.inc" -->
The included content is displayed when this statement is
in an aspx file but not when it is in a shtml file.
I have configured the application mapping in IIS
for .shtml files to use aspnet_isapi.dll limited to
GET,HEAD,POST,DEBUG like what is currently set for aspx
files.
Does someone have an idea where I am going wrong? Thanks. Tag: Bootstrapper Settings.ini DialogText Field Tag: 58183
Don't understand compile error msg (abstract classes, interfaces)
I defined the following interface
using System;
using System.Drawing;
public interface IVisibleCell
{
System.Drawing.Image GetImage();
}
but I got the compile error
"Cannot create an instance of the abstract class or interface
'System.Drawing.Image'"
Could someone explain why? I mean, who said that I want GetImage() to create
an instance of "the abstract class Image"???
Note that the following compiles successfuly:
public abstract class AbstractClass
{
public abstract string GetText();
}
public interface IUseMyClasses
{
AbstractClass MakeObj();
}
Thanks,
--Horia (confused) Tag: Bootstrapper Settings.ini DialogText Field Tag: 58181
beginner problem with a windows service
I am trying to write a windows service that sends emails to clients at
specific times based on information in a sql db. Since this is done for
multiple cities, I start a thread for each city and continue the processing
from each thread. My service starts fine (gives me no errors, etc), but it
doesn't seem to start the new threads. I am new to windows services, so I
don't know if I'm doing something wrong. Should I maybe be doing this with
events? Below is the code for the OnStart Method and the thread that is
supposed to start multiple times. If you need the rest of the code, email
me and I will send to you. Thanks.
Public MustInherit Class EmailPump : Inherits ServiceBase
Public Const TwentyFourHrs As Long = 86400 'There are 86,400 seconds in
24 hours
Private name As String
Private index As Integer
Private dbObj As RgsDbConnection
.....
Protected Overrides Sub OnStart(ByVal args() As String)
Dim i As Integer
Dim t(Me.dbObj.NumLocales - 1) As Thread
Dim log As EventLog = New EventLog()
log.WriteEntry(ServiceName, "Service started")
For i = 0 To Me.dbObj.NumLocales - 1
Me.index = i
t(i) = New Thread(AddressOf MainLoop)
t(i).Start()
'spin until thread starts
While Not (t(i).IsAlive)
End While
'yield to other threads
Thread.Sleep(0)
Dim logEntry As String
logEntry = String.Format("Waiting to send emails and " _
+ "faxes for {0}.", dbObj.Locale(i))
log.WriteEntry(ServiceName, logEntry)
Next i
End Sub
Public Sub MainLoop()
Dim TimeDiff As Integer
Dim Interval As Integer
Dim i As Integer = Me.index
Dim secsFromMidnightToGo As Integer
Dim secsFromMidnightToNow As Integer
secsFromMidnightToGo = CInt(DateDiff("s", CDate("12/30/1899 12:00:00
AM"), _
Me.dbObj.GoTime(i)))
secsFromMidnightToNow = CInt(DateDiff("s", TimeOfDay, Today))
Dim hrs, mins, secs As Integer
Do
If secsFromMidnightToNow > secsFromMidnightToGo Then
TimeDiff = secsFromMidnightToNow - secsFromMidnightToGo
Interval = (TwentyFourHrs - TimeDiff) * 1000 'miliseconds
ElseIf secsFromMidnightToGo > secsFromMidnightToNow Then
TimeDiff = secsFromMidnightToGo - secsFromMidnightToNow
Interval = TimeDiff * 1000
End If
Dim log As EventLog = New EventLog()
Dim logEntry As String
secs = ((Interval / 1000) Mod 3600) Mod 60
mins = (((Interval / 1000) - secs) Mod 3600) / 60
hrs = ((Interval / 1000) - secs - (mins * 60)) / 3600
logEntry = String.Format("Waiting for {0}hrs, {1}min " _
+ "and {2} sec to send emails and faxes for {3}.", _
hrs, mins, secs, Me.dbObj.Locale(i))
log.WriteEntry(ServiceName, logEntry)
Thread.Sleep(Interval)
logEntry = String.Format("Sending emails for {0}...", _
Me.dbObj.Locale(i))
log.WriteEntry(ServiceName, logEntry)
Me.dbObj.SendEMails(i)
logEntry = String.Format("Done sending emails for {0}", _
Me.dbObj.Locale(i))
log.WriteEntry(ServiceName, logEntry)
logEntry = String.Format("Sending faxes for {0}...", _
Me.dbObj.Locale(i))
log.WriteEntry(ServiceName, logEntry)
Me.dbObj.SendFaxes(i)
logEntry = String.Format("Done sending faxes for {0}", _
Me.dbObj.Locale(i))
log.WriteEntry(ServiceName, logEntry)
Loop
End Sub
..... Tag: Bootstrapper Settings.ini DialogText Field Tag: 58180
no-touch [Web/Internet] deployment...
Greeting All,
OK I keep reading about no-touch deployment so I visited
http://msdn.microsoft.com/library/en-us/dv_vstechart/html/vbtchNo-TouchDeploymentInNETFramework.asp?frame=true
downloaded the sample, and I'll be damned if everything went Ok up until the
final step to test by hitting http://localhost/TaskMgmtWS/TaskManagement.exe
but what I get is the dreaded 'The page cannot be found'.
That app is in a configured Virtual Directory [default settings] in IIS [on
Windows 2K Advanced Server] called TaskMgmtWS and the Release builds of
TasksWS.dll and TaskManagement.exe are in the folder. When folder browsing
is turned on I can even see the exe but I get the same error when I click
it. Also, opening the app directly [double click physical file in Windows]
works fine. I know this is something simple and I'm gonna be embarrassed by
the fix for it.
Thanks in advance everyone. Tag: Bootstrapper Settings.ini DialogText Field Tag: 58176
How to do bitwise shift in c#
How do I achive following:
MAKE_HRESULT(sev,fac,code)
((HRESULT) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16)
|((unsigned long)(code))) )
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: Bootstrapper Settings.ini DialogText Field Tag: 58175
Performance : PrintDocument / PrinterSettings / PaperSizes is very VERY **slow**
Hi,
I'm curious to know if I'm doing something wrong here, or if this is just
mind-numbingly slow for a reason.
In a simple WindowsFormsApplication:
public Form1()
{
// Required for Windows Form Designer support
InitializeComponent();
PrintDocument printDoc = new PrintDocument();
// Add each papersize name (string) to an array
//
// Querying printer for all its papersizes is **Slow**
// - This loop takes about 8 seconds (!!) to execute on my machine for 14
sizes
ArrayList names = new ArrayList();
PrinterSettings printer = printDoc.PrinterSettings;
for( int i=0; i<printer.PaperSizes.Count; i++ )
{
PaperSize psize = printer.PaperSizes[i];
names.Add(psize.PaperName);
}
}
It appears that each call to printer.PaperSizes.xxxxx takes a very VERY long
time. I can speed that loop up by moving the printer.PaperSizes.Count up out
of the loop, but having to do this seems funky.
Am I missing something, or is this stuff just broken for speed?
Rob. Tag: Bootstrapper Settings.ini DialogText Field Tag: 58174
IsInRole not working across Domains
Hello,
I'm trying to use the WindowsPrincipal object in an
ASP.NET application. We have users all across the country
in many different domains (for an example, let say one is
called userDomain). We have set up Windows groups in a
different domain (let's call it groupDomain).
Here is my code for a user in the userDomain:
WindowsPrincipal myUser = User as WindowsPrincipal;
if (myUser.IsInRole(@"groupDomain\GroupOne"))
{
// user's name is userDomain\UserOne
Label1.Text = "User is In Role";
}
else
Label1.Text = "User NOT in Role";
My problem is that IsInRole ALWAYS returns false. It only
returns true if I ask about groups in the BUILTIN domain
or in the domain that the user belongs to (userDomain).
Further, when I look at the myUser object in the Locals
window after a call to IsInRole, I see the listing of
m_roles and I see none of the groupDomain roles. I've
tested this several different ways and it seems that
IsInRole only checks the domain that the user belongs to
as well as the built in groups.
Any Help? Tag: Bootstrapper Settings.ini DialogText Field Tag: 58173
Smart Client won't run until IE Cache cleared
[cross-posted on framework and windowsforms since I don't know where
to put it]
We can get our machines into states where our no-touch deployment
(href-exe) Windows Forms app won't run until we clear the IE cache
(Temporary Internet Files). This happens every few days on our
development machines.
When an exe link is clicked on or pasted directly into the address bar
it flashes "Loading..." on the status bar for a split second and
that's it. The assembly never makes it to Fusion or the assembly
download cache. Clearing the IE cache makes everything work again.
Any ideas on a workaround for this? Asking users to clear their IE
cache for our app to work is something we'd like to avoid.
Thanks,
Blake Tag: Bootstrapper Settings.ini DialogText Field Tag: 58172
Mouse driver for universal and intelligent scrolling behaviour with wheel
Hi!
I develop an application and I need a mouse driver for universal
and intelligent scrolling behaviour with wheel.
Something like the Microsoft IntelliMouse has.
Is something like that anywhere availabel?
regards,
gicio Tag: Bootstrapper Settings.ini DialogText Field Tag: 58171
Serialize and SetValue
Hi,
I try to serialize a control property (System.Web.UI.WebControls.Style) to
store it in my DB. But it can't be serialized. So a wonderfull idea would be
to create my own object with [Serializable] Attribute. This would work in
most cases but not in my case. I need to deserialize the object and set it
as a value on my webcontrol.
Example:
Serialize - System.Web.UI.WebControls.Style - and store it in DB
objValue = Deserialize - System.Web.UI.WebControls.Style - from DB
:code
TextBox txt = new TextBox();
System.Type typ = txt.GetType();
System.Reflection.PropertyInfo PropInfo = typ.GetProperty("Height");
PropInfo.SetValue(objCurrentControl, objValue,null);
The serialization of System.Web.UI.WebControls.Style will fail. If I create
my own class it will not be possible to use SetValue. Is this correct and is
there a workaround? Or is there another Idea?
thx in advance
Bjoern Wolfgardt Tag: Bootstrapper Settings.ini DialogText Field Tag: 58163
Help !
I have a database in Oracle, which i have converted to Access1
database. The client has his own Access2 Database. I want to transfer the
data from the Access1 database to Access2 database. The Access2
database has the tables of Access1 database and addditional tables. This
wil have to be done at regular intervals.
How can I do this through code ?
TIA,
Gary Tag: Bootstrapper Settings.ini DialogText Field Tag: 58161
Server Side Validation
I have an ASP.NET app that has server side validation.
This app needs to run in IE and Netscape.
The validation(required field validators) does not work at
all in Netscape.
I have my Target Schema set to IE and Netscape.
Any help or advice on this is much appreciated?
Do I have to rewrite my validation in Javascript?
My project goes live in 2 days.
C Tag: Bootstrapper Settings.ini DialogText Field Tag: 58151
Access denied
I get very fustrated because I get ACCESS DENIED when I
establish a new web site an try to run a new application.
I have done this mistake on time before, but i cant
remember whats the trick ????????
All permission are properly set
All other webs and applications are running ok....
Please ????????
Leif H. Tag: Bootstrapper Settings.ini DialogText Field Tag: 58141
What TextBox Event to track when the user press the "enter" key
I have a text box. I want to do some processing after the
user enters some data to the text box and press
the "enter" key. What TextBox event do I have to track to
detect this event? Tag: Bootstrapper Settings.ini DialogText Field Tag: 58140
Calling InvokeMember from transparent proxy
Hi all,
I'm trying to call methods of a remote server using
reflection but
always get a MissingMethodException, saying that the
requested method
cannot be found.
In detail:
I have a server Svr which extends the interface ISvr. Svr
and ISvr are
implemented in different assemblies "Interface.dll"
and "Svr.dll".
I have a client which uses methods of Svr in two different
ways:
a) Directly:
Svr.Foo();
b) Via Reflection:
Svr.GetType().InvokeMember("Foo",
BindingFlags.Public |
BindingFlags.Instance |
BindingFlags.InvokeMethod,
null, Svr, null);
There are 2 scenarios:
1. Directly, NON-Remoting:
The client has a direct reference to "Svr.dll". Both calls
work
perfectly.
2. Remoting, local machine, TCP channel:
The client creates a transparent proxy of ISvr using the
RemotingHelper class of Ingo Rammer:
ISvr svr = (ISvr)RemotingHelper.GetObject(typeof(ISvr));
In this case, direct calls to the server work fine, but
the calls
using InvokeMember throw a MissingMethodException.
After two days of research, I'm at a loss. Has anyone out
there an
idea?
Thanks in advance
Uli Proeller
prosa GmbH, Germany Tag: Bootstrapper Settings.ini DialogText Field Tag: 58137
Problem after update from Framework1.0 to 1.1
Hi there!
After I installed Visual studio 2003 and Framework 1.1. on my Computer
and reverted my Project to VS 2003 I get this Error:
Invalid file name for monitoring: 'c:\inetpub\wwwroot\VR\http:'. File
names for monitoring must have absolute paths, and no wildcards.
I've debugged it and the Error is when I'm trying to read from
Web.Config file like this:
_args.AdditionalInfo =
System.Configuration.ConfigurationSettings.AppSettings["MemberFees"];
The strange thing is that when the aspx page loads then I'm also
reading from this same Web.config file this same AppSettings, and that
does not return an error!!
Can anyone help me, please! I can not revert to Framework 1.0 because
of another project that depends on it!!
VEV Tag: Bootstrapper Settings.ini DialogText Field Tag: 58136
Constructor with identical signature
Hi all,
All constructors must have different signatures, but sometimes come upon a
situation where I would like to create to constructors with the same
signature - i.e.:
Public Sub New(integer1 as Integer)
End Sub
Public Sub New(integer2 as Integer)
End Sub
I guess this is a situation a lot of developers knows and I was wondering
what everone else does in such a situation and if there is some kind of best
practice that one should use?
Regrads,
Sune Tag: Bootstrapper Settings.ini DialogText Field Tag: 58135
Garbage collector has problems with ADO-MD interop
Our ADO-MD application sometimes gives the
exception 'Object is no longer valid'.
You can reproduce the problem using the following code.
Module main
'When "enable optimizations" is set and the code is
'not run in the Visual Studio IDE, the following co