| How to Hide inherited Object members from intellisense? |
|
 |
Index ‹ DotNet ‹ Visual C#.Net
|
- Previous
- 1
- Dotnet >> Button control questionHello All, this is my first post. I usually find answers to my questions
here, but seem to be stuck here on a problem. I am requesting help setting up
a small project I want to create for work.
1. We have many servers we are mapped to at startup, and each server
contains folders with different files that we need access to. I would like to
create a tabbed form with Command Buttons which when clicked would open up
the specified path.
2. On the second tab, I would like to create Command buttons, which would
have hyperlinks to various web sites we frequent, our intranet sites, etc.
I have created this in Access, but since everyones paths would be the same,
by creating this app I could load on everyones computer ( some computers do
not have access ( we still use Lotus apps)
I have created in VB.net the form, tabs, and buttons, but I am having
trouble setting the buttons properties to the file path or hyperlink. If this
needs to be code generated in the click_event, could someone point me in the
correct direction.
Sorry so long, just wanted to give accurate information. Thanks to all that
replys.
Mark
- 2
- Net Framework >> Memory Managment/Objects lifecycle managmentHello .NET experts
A group of develpers here are having some arguements about different ways to
write program with minimal memory footprint.
One method in buisness class creates an instance of another class and calls
its method that does database related work. This buisness class methods is
being called in a loop, so everytime it executes it creats 1 instance of
db-related object.
Another developer sugested making db-related object a class member, rather
then local to a method, and create new instance of it in class constructor.
Considering Garbage Collection in .NET will this make any difference?
What are the best practices in general to minimize memory footprint of .NET
apps ?
Thank you so much.
- 3
- Visual C#.Net >> UltraWinGrid Selected Row BorderStyle???Hi Guys,
Do anyone know how to change the BorderStyle of the selected row .
I tried using the Band Property of the UltraGrid
but the change is applied to each and every Cell in the Grid.
Anybody if know anything plz tell me.
Thanks
Nilz
___
Newsgroups brought to you courtesy of www.dotnetjohn.com
- 4
- Microsoft Project >> Project 2007 crashed soon after start upA user has been running Project 2007 for a few weeks. No big problems.
A couple of days ago, he starts Project and after a couple of minutes
(doesn't matter if he does anything or not), Project crashes and he gets this
most polite dialog box:
"Microsoft Project has encountered a problem and needs to close. We are
sorry for the inconvenience".
Google returns one and only one hit on this error:
http://www.mcse.ms/archive/index.php/t-1486880.html
Not terribly helpful.
At this point, I have no other information. Does anybody either know what
the likely cause is or need specific information I can go get to help
diagnose the problem?
If I can get other data, I'll post as a reply.
TIA
Doug
- 5
- Winforms >> Hashtable enumerationHow can I loop thru a hashtable changing the Value of each entry ? Whatever
I try I always seem to get the error about modifying the collection within
the loop.
- 6
- Dotnet >> Setting the SelectedItem of a dropdownlist inside a repeaterI have a dropdownlist which lives inside of a repeater. The repeater
accepts user input via textboxes and the aforementioned dropdownlist.
The repeater accepts phone numbers and allows for an arbitrary number
of empty rows to be added to it.
So, if a user knew in advance that they wanted to add 3 phone numbers,
they can type the nuber '3' in a textbox (outside the repeater)
and click a button (also outside of a repeater), and 3 new empty rows
will appear in the repeater. The code that does that looks
like this:
For Each objRepeaterItem As RepeaterItem In rptAgencyPhoneList.Items
Dim ddlPhoneCategory As DropDownList =
DirectCast(objRepeaterItem.FindControl("ddlPhoneCategory"),
DropDownList)
'Create a Phone object
Dim objPhone As New
Phone(ConvertExpectedInteger(DirectCast(objDataGridItem.FindControl("lblPkPhone"),
Label).Text))
With objPhone
.Number =
DirectCast(objDataGridItem.FindControl("txtAdditionalVoice"),
TextBox).Text
.TTYNumber =
DirectCast(objDataGridItem.FindControl("txtAdditionalTTY"),
TextBox).Text
.Category =
ConvertExpectedInteger(ddlPhoneCategory.SelectedValue)
.CategoryName =
ConvertExpectedString(ddlPhoneCategory.SelectedItem.Text)
End With
'Add the existing items to the collection
objPhoneCollection.Add(objPhone)
'Add the requested blank rows to the collection
For i As Integer = 1 To rowsToAdd
Dim objPhone As New Phone
objPhoneCollection.AddEmptyItem(objPhone)
Next
Next
After I have added the information from the repeater into a collection,
I bind to the repeater
rptAgencyPhoneList.dataSource = objPhoneCollection
rptAgencyPhoneList.Databind
Then the repeater's item_created event takes over, as shown below.
'eliminate headers, footers, seperators....
If e.Item.ItemType = ListItemType.AlternatingItem Or
e.Item.ItemType = ListItemType.Item Then
'Populate the phone category drop down list
Dim ddlPhoneCategory As DropDownList =
DirectCast(e.Item.FindControl("ddlPhoneCategory"), DropDownList)
Dim objPhoneCategoryList As ListItemCollection =
getPhoneCategoryList()
For Each item As ListItem In objPhoneCategoryList
ddlPhoneCategory.Items.Add(item)
Next
'If a phone number exists, then select the appropriate category type
in the drop down list
If ConvertExpectedInteger(DataBinder.Eval(e.Item.DataItem,
"Category")) > 0 Then
ddlPhoneCategory.Items.FindByValue(DataBinder.Eval(e.Item.DataItem,
"Category").ToString).Selected = True
End If
End If
After all of this is finished, the page is displayed. However the
dropdownlist's selected item is always set to the first item in the
list
no matter what. Also, If I add an Else statement to the last IF..End IF
a error message is thrown stating that a dropdownlist can have
only one selected item.
Does anyone have any ideas?
- 7
- Visual C#.Net >> Binary to string conversionHi,
I am converting a byte array to string using
System.Text.Encoding.UTF8.GetString() or Unicode.GetString(). Then the
resulting text is converted back to binary, using the reverse function:
System.Text.Encoding.UTF8.GetBytes() or Unicode.GetBytes.
But the result does not match the original byte array!
Is the conversion loosing some characters? Why?
Thanks,
Diablo
- 8
- 9
- Winforms >> how to delete the black border of button control?Hello, everyone:
when I use a image as background of a windows button control, the control
alway has a border around the image no matter I set the flatstyle as flat,
standard, or popup.
I want to set the button's flatstysle as flat since the button's image is
part of background of form, but I hate the black border around the button.
could anyone help out? I do appreciate your help.
haiwen
- 10
- Dotnet >> Gap before text in ListViewI have a ListView control with one column. It is in the Details view
mode.
I populate its items dynamically. Some items will have associated
images from the listview's imagelist and some will not. For the items
that don't, there is a gap where the image would have appeared. This is
especially a problem if there are only a couple of items with an image
and all the rest don't.
Is there anyway I can force the text to go back to the left edge of the
listbox for items without an associated image from the image list?
Any help appreciated.
Thanks.
Tristan.
- 11
- Visual C#.Net >> Directx questionHi,
i want set using directx the ip of the game host in an external
application like pro evolution soccer 4.
I would know if this is possible.
Alberto
- 12
- Dotnet >> DateTimePick QuestionHow can one (if it's possible) change the date in DateTimePicker via code?
Extracting it is easy enough...
Dim MyDate As Date
Dim MyMonth As String
MyDate = DateTimePicker1.Value.Date
But I'd like to be able to click a Button (one of several) and add or subtract
a day or more via the button.
Possible without changing the PC system date?
Thanks
Bruce
- 13
- Visual C#.Net >> how to instantiate a global class visible in whole applicationI have an application with mdi parent form, and mutliple child forms.
In the mdi parent form i want to instantiate a device class for
comunicating to a peice of hardware via serial port.
its constructor would look something like
Device kvm = new Device(Serialport);
There may be more than 1 device instatiated, if the pc has more than 1
serial port.
I want to instantiate instance of device class's and have that
instance visible and accessable to all the childforms in this
application.
How is the best way to do this ?
thanks for any help
Peted
- 14
- Visual C#.Net >> suspending a databinding between a datagrid and a datatableHi
I'm trying to temporarily suspend a databinding between a DataTable and a
DataGrid. I create a CurrencyManager based on this.BindingContext and then
call SuspendBinding() on the CurrencyManager. However, if I update the bound
DataTable after the call to SuspendBinding, the DataGrid is still updated.
Here's my code:
DataSet set = handler.manager.getData();
dataGrid1.DataBindings.Add("DataSource", set, "People");
myCurrencyManager = (CurrencyManager)this.BindingContext[set, "People"];
myCurrencyManager.SuspendBinding();
Any help would be welcome.
Stephan Steiner
- 15
- Microsoft Project >> Feedback on this formulaHi
I have this formula that provides an assessment of how earl or late a
task is wrt the baseline.
It displays in a Text field because of the combination of numbers and
text.
Any feedback is welcome.
IIf([Baseline Finish]>50000,"No
Baseline",FORMAT(((ProjDateDiff([Baseline Start],[Baseline
Finish])-ProjDateDiff([Start],[Finish]))/(IIf([Milestone] And
ProjDateDiff([Baseline Start],[Baseline
Finish])=0,1,ProjDateDiff([Baseline Start],[Baseline Finish])))),"0 %")
& IIf(Sgn(((ProjDateDiff([Baseline Start],[Baseline
Finish])-ProjDateDiff([Start],[Finish]))/(IIf([Milestone] And
ProjDateDiff([Baseline Start],[Baseline
Finish])=0,1,ProjDateDiff([Baseline Start],[Baseline Finish])))))=-1,"
Late"," Early"))
Cheers,
Bob
|
| Author |
Message |
Robuz

|
Posted: Tue Sep 13 16:30:22 CDT 2005 |
Top |
Visual C#.Net >> How to Hide inherited Object members from intellisense?
..Such as ToString(), Equals(), etc.
[EditorBrowsable(EditorBrowsableState.Never)]
public override String ToString() { return base.ToString(); }
The above doesn't work.
Any ideas? And before you ask, Yes I do have a sane reason for wanting
to do this.
DotNet416
|
| |
|
| |
 |
Chris

|
Posted: Tue Sep 13 16:30:22 CDT 2005 |
Top |
Visual C#.Net >> How to Hide inherited Object members from intellisense?
EMail@HideDomain.com wrote:
> [EditorBrowsable(EditorBrowsableState.Never)]
> public override String ToString() { return base.ToString(); }
>
> The above doesn't work.
>
Have you tried just the Browsable attribute?
[Browsable(false)]
public int MyProperty {
get {
// Insert code here.
return 0;
}
set {
// Insert code here.
}
}
|
| |
|
| |
 |
wackyphill

|
Posted: Tue Sep 13 21:50:32 CDT 2005 |
Top |
Visual C#.Net >> How to Hide inherited Object members from intellisense?
Browsable refers to the property window not intellisense when you are
coding.
|
| |
|
| |
 |
Chris

|
Posted: Wed Sep 14 08:41:10 CDT 2005 |
Top |
Visual C#.Net >> How to Hide inherited Object members from intellisense?
So it does! My mistake.
I just tried the EditorBrowsable attribute on a property and also on a
method and it worked correctly. I then tried it on an overridden
ToString method and it *did not* work on that method.
Next I created a simple class with one overridable method and a derived
class that overrides the method with an additional method that was not
part of the base class. It seems that if the overridden method is
hidden using the EditorBrowsable attribute, then the base class method
is exposed. This was coded in VB.Net. I then repeated the test in C#
but the EditorBrowsable attribute seemed to have no effect either way.
It seems very strange.
|
| |
|
| |
 |
wackyphill

|
Posted: Wed Sep 14 09:21:26 CDT 2005 |
Top |
Visual C#.Net >> How to Hide inherited Object members from intellisense?
Yeah, I don't understand it really. I'm not really interested in
overriding just hiding the methods from the intellisense window.
I guess what I'd really like to do is apply the EditorBrowsable
attribute to an inherited method like ToString(); Just don't know how.
I wish something like this would work to do it:
class MyClass : Object
{
MyClass() {}
[EditorBrowsable(EditorBrowsableState.Never)]
public String ToString();
}
Of course it's not valid but that's my intent. Thanks for the
investigative effort Chris.
|
| |
|
| |
 |
| |
 |
Index ‹ DotNet ‹ Visual C#.Net |
- Next
- 1
- Winforms >> Install that package that came from the Microsoft Corp.--zqoexfseu
Content-Type: multipart/related; boundary="qunrhfwgqyhqbwg";
type="multipart/alternative"
--qunrhfwgqyhqbwg
Content-Type: multipart/alternative; boundary="fxthzqolykd"
--fxthzqolykd
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
MS Customer
this is the latest version of security update, the
"September 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now to continue keeping your computer secure
from these vulnerabilities, the most serious of which could
allow an attacker to run code on your computer.
This update includes the functionality =
of all previously released patches.
System requirements: Windows 95/98/Me/2000/NT/XP
This update applies to:
- MS Internet Explorer, version 4.01 and later
- MS Outlook, version 8.00 and later
- MS Outlook Express, version 4.01 and later
Recommendation: Customers should install the patch =
at the earliest opportunity.
How to install: Run attached file. Choose Yes on displayed dialog box.
How to use: You don't need to do anything after installing this item.
--fxthzqolykd
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<HTML>
<HEAD>
<style type=3D'text/css'>.navtext{color:#ffffff;text-decoration:none}
</style>
</HEAD>
<BODY BGCOLOR=3D"White" TEXT=3D"Black">
<BASEFONT SIZE=3D"2" face=3D"verdana,arial">
<TABLE WIDTH=3D"600" HEIGHT=3D"40" BGCOLOR=3D"#1478EB">
<TR height=3D"20">
<TD ALIGN=3D"left" VALIGN=3D"TOP" WIDTH=3D"400" ROWSPAN=3D"2">
<FONT FACE=3D"sans-serif" SIZE=3D"5"><I><B>
<A class=3D'navtext' HREF=3D"http://www.microsoft.com/"
TITLE=3D"Microsoft Home Site" target=3D"_top">Microsoft</A>
</B></I></FONT>
</TD>
<TD ALIGN=3D"right" VALIGN=3D"MIDDLE" BGCOLOR=3D"Black" NOWRAP>
<FONT color=3D"#ffffff" size=3D1>
<A class=3D'navtext' href=3D'http://www.microsoft.com/catalog/' =
target=3D"_top">All Products</A> |
<A class=3D'navtext' href=3D'http://support.microsoft.com/' =
target=3D"_top">Support</A> |
<A class=3D'navtext' href=3D'http://search.microsoft.com/' =
target=3D"_top">Search</A> |
<A class=3D'navtext' href=3D'http://www.microsoft.com/' target=3D_top>
Microsoft.com Guide</A>
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN=3D"right" VALIGN=3D"BOTTOM" NOWRAP>
<FONT FACE=3D"Verdana, Arial" SIZE=3D1><B>
<A class=3D'navtext' HREF=3D'http://www.microsoft.com/' TARGET=3D" top">
Microsoft Home</A> </B>
</FONT>
</TD>
</TR>
</TABLE>
<IMG SRC=3D"cid:xilobuq" BORDER=3D"0"><BR><BR>
<TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2">
MS Customer<BR><BR>
this is the latest version of security update, the
"September 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now to continue keeping your computer secure
from these vulnerabilities, the most serious of which could
allow an attacker to run code on your computer.
This update includes the functionality =
of all previously released patches.
</FONT></TD></TR>
</TABLE>
<BR><BR>
<TABLE BORDER=3D"1" CELLSPACING=3D"1" CELLPADDING=3D"3" WIDTH=3D"600">
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:kfvepnq" =
ALIGN=3D"absmiddle" BORDER=3D"0"> System requirements</B>
</FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">Windows 95/98/Me/2000/NT/XP</FONT></TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:kfvepnq" =
ALIGN=3D"absmiddle" BORDER=3D"0"> This update applies to</B>
</FONT></TD><TD NOWRAP>
<FONT SIZE=3D"1">
MS Internet Explorer, version 4.01 and later<BR>
MS Outlook, version 8.00 and later<BR>
MS Outlook Express, version 4.01 and later
</FONT>
</TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:kfvepnq" =
ALIGN=3D"absmiddle" BORDER=3D"0"> Recommendation</B></FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">Customers should install the patch =
at the earliest opportunity.</FONT></TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:kfvepnq" =
ALIGN=3D"absmiddle" BORDER=3D"0"> How to install</B></FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">Run attached file. =
Choose Yes on displayed dialog box.</FONT></TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:kfvepnq" =
ALIGN=3D"absmiddle" BORDER=3D"0"> How to use</B></FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">You don't need to do =
anything after installing this item.</FONT></TD>
</TR>
</TABLE>
<BR>
<TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2">
Microsoft Product Support Services and Knowledge Base articles
can be found on the <A HREF=3D"http://support.microsoft.com/" =
TARGET=3D"_top">Microsoft Technical Support</A> web site. =
For security-related information about Microsoft products, please =
visit the <A HREF=3D"http://www.microsoft.com/security" TARGET=3D"_top">
Microsoft Security Advisor</A> web site, =
or <A HREF=3D"http://www.microsoft.com/contactus/contactus.asp" =
TARGET=3D"_top">Contact Us.</A>
<BR><BR>
Thank you for using Microsoft products.<BR><BR></FONT>
<FONT SIZE=3D"1">Please do not reply to this message. =
It was sent from an unmonitored e-mail address and we are unable =
to respond to any replies.<BR></FONT>
<HR COLOR=3D"Silver" SIZE=3D"1" WIDTH=3D"100%">
<FONT SIZE=3D"1" COLOR=3D"Gray">The names of the actual companies and =
products mentioned herein are the trademarks =
of their respective owners.</FONT>
</TD></TR></TABLE>
<BR>
<TABLE WIDTH=3D"600" HEIGHT=3D"45" BGCOLOR=3D"#1478EB">
<TR VALIGN=3D"TOP">
<TD WIDTH=3D"5"></TD>
<TD>
<FONT COLOR=3D"#FFFFFF" SIZE=3D"1"><B>
<A class=3D'navtext' HREF=3D"http://www.microsoft.com/=
contactus/contactus.asp" TARGET=3D"_top">Contact Us</A>
|
<A class=3D'navtext' HREF=3D"http://www.microsoft.com/legal/" =
TARGET=3D"_top">Legal</A>
|
<A class=3D'navtext' HREF=3D"https://www.truste.org/validate/605" =
TARGET=3D"_top" TITLE=3D"TRUSTe - Click to Verify">TRUSTe</A>
</FONT></B>
</TD>
</TR>
<TR VALIGN=3D"MIDDLE">
<TD WIDTH=3D"5"></TD>
<TD>
<FONT COLOR=3D"#FFFFFF" SIZE=3D"1">
©2003 Microsoft Corporation. All rights reserved.
<A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/=
info/cpyright.htm" TARGET=3D"_top">Terms of Use</A>
|
<A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/=
info/privacy.htm" TARGET=3D"_top">
Privacy Statement</A> |
<A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/=
enable/" TARGET=3D"_top">Accessibility</A>
</FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
--fxthzqolykd--
--qunrhfwgqyhqbwg
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-ID: <xilobuq>
R0lGODlhaAA7APcAAP///+rp6puSp6GZrDUjUUc6Zn53mFJMdbGvvVtXh2xre8bF1x8cU4yLprOy
zIGArlZWu25ux319xWpqnnNzppaWy46OvKKizZqavLa2176+283N5sfH34uLmpKSoNvb7c7O3L29
yqOjrtTU4crK1Nvb5erq9O/v+O7u99PT2sbGzePj6vLy99jY3Pv7/vb2+fn5++/v8Kqr0oWHuNbX
55SVoszN28vM2pGUr7S1vqqtv52frOPl8CQvaquz2Ojp7pmn3Ozu83OPzmmT6F1/xo6Voh9p2C5z
3EWC31mS40Zxr4uw6LXN8iZkuXmn55q97PH2/Yir1rbL5iVTh3Oj2cvX5Pv9/+/w8QF8606h62Wk
3n+dubnY9abB2c7n/83h9Nji6weK+CGJ4Vim6WyKpKWssgFyyAaV/0Km8Gyx6HW57FJxicDP2+Tt
9Pj8/w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AAYQAu4okHryAzaAARNgjQYJJxNAfRF5AAaQAy2QjRYpdWBQBV2QawrA
gpLHfQpgAA1ggiMrYJInKWxIsRhfUAU82ZMj0Iwr8AM3qY3E9ntVV3lDWSUBAQA7
--qunrhfwgqyhqbwg
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-ID: <kfvepnq>
R0lGODlhDAAMANUAAP////f3//f39+/v9+/v797m987W787W5sXW5rXF76295qW975y175St75St
3pSlzoyl1oSl5oylzoycxXOU3nOMxWOM5mOM3mOE1lqE3mOEvVKE1lp7xVJ71lJ7zlJ7xVJ7vUp7
zkpzzkpzxVJzrUprvUJrxUJrvUJjtTpjtTpjrTparTpapQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAADAAMAAAIjAABAAhwwMGFCxAQ
CACwkICDDBYSLGjQwQEBhg8zDBAIYIEIBwIQdLjAoOOFgSFMIICwIUMEAxQwCBxhAgKHDh5C6DQA
IIGJEyA4fPAwYoQCAAVKoEgBQsKJEidQ8CyRYumDA1VTqNBQQYXXFQofsPB6AIAKFiweNBTLoiza
BxcFCjgwgQSJCQcWCggIADs=
--qunrhfwgqyhqbwg--
--zqoexfseu
Content-Type: application/x-compressed; name="QTT.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment
--zqoexfseu--
- 2
- Net Framework >> Process id=0x12c(300), Thread id=0xefc(3836) Application has generated an exception that could not be handledHi:
I have an application that I am trying to run on my Windows XP Pro computer.
When I invoke the shortcut on my desktop I get an "Application has generated
an exception that could not be handled Process id=0x12c(300), Thread
id=0xefc(3836)". If I press the cancel button I then get the "Registered JIT
debugger is not available. An attempt to launch a JIT debugger with the
following command resulted in an error code of 0x2 (2). Please check
computer settings. corgbg.exe !a 0x12c"
Any ideas would be greatly appreciated.
Chuck
- 3
- Net Framework >> FileSystemWatcher IssueHi,
I have to create a custom app used (FileSystemWatcher) for monitoring
Server1 say \\Stephen-1\Test and if any change happens to this directory, I
take that info and update Server1 say \\Stephen-2\test it works fine. now I
want to make it vice versa too... so I created another app that does the
opposite
Problem: I think there is a lock/access issue and I have no idea how to
solve it.
Please advice,
Stephen
- 4
- Microsoft Project >> Deadline indicators in HTML outputMS Project adds a reverse font red exclamation point in a red diamond to the
Indicator column when a set deadline is missed. However, when I save that
file as an HTML and include the Indicator column in the map, the column is
present but empty of any information (which are all icons in MSP). Having
also included the Deadline as a separate column in the HTML map, those
Deadline dates are present.
Is there a way to indicate a missed deadline in HTML format without the
reader having to compare the Finish and Deadline dates?
Thanks,
Dan
- 5
- Visual C#.Net >> InvalidOperationOperationException problemI've posted a related question in this newsgroup before, see google
groups link:
http://groups.google.nl/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/e9c40ec186b2cb93/8d8051941dd4e2c4?lnk=gst&q=jeroen+invalidoperationexception&rnum=1#8d8051941dd4e2c4
We still experience the problem ever since we migrated from .NET 1.1
to 2.0. Some of the causes (amongst others bad code in destructors)
have been removed, drastically reducing the number of appearances of
of the dreaded 'InvalidOperationException' right after closing the
application.
However, our testers sometimes get an InvalidOperationException
without clear trace (it occurred in 'System.Windows.Forms', pffff)
when they have just closed the application.
My question then is, can you guys help me compile a list of possible
sources for the above kind of problem? To start of with the ones we
already caught:
- Starting new screens/dialogs/forms in destructors;
- Incorrectly disposing a WebBrowser control
- Meddling with the parent of a form
- ....?
Any suggestions would be appreciated
- 6
- 7
- Visual C#.Net >> Thread and "callbacks"Easy question for experts:
1)
I have a main application.
This application use a class in a library (MyLib)
ListenClass lc = new ListenClass();
I also have a "callback" class named
class GetListenDataClass(string data)
2)
I have a library (MyLib) that have a class ( ListenClass ) that again
creates a thread.
This thread will listen to a port and when data comes I want this
thread to send the data back to my main application :
GetListenDataClass(string data).
How can I do this?
Is this called delegates?
[Please use teaspoon when explaining it to me - I don't understand it]
- 8
- 9
- Microsoft Project >> It's all in the Leveling(?)Hi
I have to manage 11 projects using about 14 resources. Each project contains
about 200 tasks, giving a total of more than 1500 tasks. I use Project
Professional 2003 with its Enterprise features. The Resources enter actual
work done on Project Web interface. I use only Enterprise Resources and have
created one Global Masterproject where all the other projects are inserted as
'sub-projects' into this master project.
The projects range from Hardware, Firmware and Software Development to
Production planning and Installation Management. Because of the amount of
projects running concurrently I have to use Resource Leveling, but major
limitations in the way it works makes it virtually impossible for me to use.
The problems I am facing is this: (Keep in mind I have to use Priorities as
our featurelist and feature priorities are very dynamic)
A) How to handle what I call 'Monitor Tasks'.
To explain: Say for instance we order our BOM. The orders for the hundreds
of components are placed at various companies. After order placement,
somebody has to track the progress of order delivary. Thus the task would be
"Monitor/Track Order Delivery Progress". Now, the resource doing the tracking
needs a variable amount of time each day of say 1 to 2 hrs each day. This
resource hours must of course be taken into account in Project Planning.
i) If I use a Task where the resource units are entered a say 12%
(about 1hr/day) then 'Resource Leveling...' moves task with 100% allocated
units out and does a bad job of overlapping other less than 100% unit tasks
for the same resource. (I can allow for splitting of task only for certain
tasks, but not for all tasks throughout, i.e. I cannot split a code
development task, and Project does not allow me to specifay which tasks can
be split and which not)
ii) If I use a "Recurring Task" then I run into the problem that
these tasks have priorities of 1000 and I cannot level
B) Our development are done on a feature by feature basis. Every feature has
a number of tasks to complete that feature. I want to Prioritise and Plan the
development of these features (by using "resource Leveling"). When work on a
feature starts then all the (sub)tasks for that feature must be carried out,
without delay between these tasks or splitting of these tasks, untill all
work on the feature is done. Thus, "Resource Leveleing must "move" (or delay)
features (which in essence is a summary task) rather than moving the tasks
themselves. Another way of saying this is: Project must allow me to 'group'
tasks, and then thes groupings will be prioritised and moved/delayed in order
to Level the Resource allocations. (Note: There are not (normally)
depandancies between the tasks of different features)
I have found no way Project can do this.
I hope someone can help.
Thanks
Beyers
- 10
- Net Framework >> Dynamic properties in Custom ControlHow do I set up my Control to read properties from Web.config at
design time?
Like the OleDbDataConnection Control where the ConnectionString can be
specified through the Web.config file in an tag like this:
<appSettings>
<add key="oleDbConnection1.ConnectionString"
value="Provider=MSDAORA.1;Password=manager;User ID=system" />
</appSettings>
I know I can access the appSettings through
System.Configuration.ConfigurationSettings.AppSettings, but how do I
do it at design time?
- 11
- Microsoft Project >> time changewhen i change my time under tools/change working time i hit ok when im done
but nothing happens, then when i click on it again it is back to the original
time setting. how do i get it change and stay that way?
- 12
- Net Framework >> "There was an error opening this document"Hi,
I was calling ADOBE acrobat 5.0 's AcroExch.app from Visual basic 6.0.
It was working fine for 1 year.
Last month I installed .net 2003 anf Framwork 1.1 on same pc.
Noe whenever I call Acrobat's AcroExch.app it give me an error...
"There was an error opening this document.the File does not exist"
I uninstalled and reinstalled ADOBE Acrobat again and agin.
But I am still facing same problem.
Any Idea to solve this.
Thanks
- 13
- 14
- Net Framework >> Framework Install ErrorHi Folks,
I've hit the dreaded Error 25015 installing Framework 2.0 on WinXP :
---------------------------
Microsoft .NET Framework 2.0 Setup
---------------------------
Error 25015.Failed to install assembly
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.Vsa.dll'
because of system error: The process cannot access the file because it
is being used by another process.
I've tried the tips online - virus checker, permissions, cleanup tool
etc. No luck. Only process accessing the file is the installer itself.
Any suggestions?
Thanks,
Davy Mitchell
- 15
- Visual C#.Net >> SQL syntax highlighting optimizationSorry I posted this post earlier but got the name and subject the wrong way round (new to this!) so it perhaps didn't look right
Sorry for that. But please please answer if you know anything about it..
Thanks
I've got a procedure that is responsible for performing the following operations on a richtextbox
1) determining what parts of the text to forma
2) formatting specific ranges of text a specific color
I need to do this whenever the contents of the richtextbox change. The algorithm is quite fast as I have built in some speed saving optimizations, but i need to do some more, I was wondering if anybody could give me any suggestions? So far, I've coded it to
* - retrieve information about all ranges 'as of now' but only setting the format of ones that are new / only unsetting the format of ones that were there but aren't no
* - only set the format of ranges that are visible. For this, I use the message EM_GETFIRSTVISIBLELINE to get the first visible line, and the line count by dividing the height by the height of a line (got by GetTextMetrics). But then I need to do a rescan of ranges to format on vscroll aswell as on textchange, which is a bit bad as it's slow when you scroll
I was thinking of having some sort of 'lazy updater' type thing that either runs for, say, 100 milliseconds each second, or in a different thread, to update the RTB for the ranges that are off the visible range once all the others have been done, but I can't get my head round how to handle the synchronicity with the fact that when the richtextbox's contents change, the ranges will change too. Should I consider this a thing that takes 'a long time' to happen? Or can anyone else lend a hand with the obviously huge amount of sideways thinking I'm having to do!!
It's for a syntax highlighting control, right now I'm just trying to get it to be able to parse c-style block comments, line comments and quotes (red.
Any ideas on performance in this area
Have posted to C++ groups as although I am writing the app in c# I am non too averse to turn my hand to c++
Thank
|
|
|