 |
 |
Index ‹ DotNet ‹ Microsoft Project
|
- Previous
- 1
- 2
- 3
- Microsoft Project >> SharePoint link to affected TaskHi,
At the moment I am making a report in reporting services, where I want
to join information from the SharePoint Database in SQL with
information from the Project Server. To link an issue with a task I
think I need "Uniqueidentifier1" from the table "UserData", but I can
not find this uniqueidentifier1 anywhere else. Can anyone clarify for
me, how to make the link between SharePoint data and the affected task
on the Project Server?
Much appreciated!
Willem
- 4
- Visual C#.Net >> List of enumerators?Hi,
I have various lists I want to go through, at different paces and I
want to control that with a list of enumerators.
I have the following:
List<List<DataEntry>> mydata = new List<List<Data>>();
List<List<DataEntry>.Enumerator> myenums = news
List<List<Data>.Enumertor>();
I do
myenums.Add(mydata[0].GetEnumerator());
then
myenums[0].MoveNext();
well it seems that doesn't work... like myenums[0] is a temporary copy
of the enumerator... I don't know but when I do that, myenums[0]
desn't actually move.
e = myenums[0];
e.MoveNext();
works though, meaning e moves, but it doesn't change myenums[0]
( !?? )
Can someone explain me the rational here and a good way to do what I
am trying to achieve?
Thanks!
- 5
- 6
- Dotnet >> When to throw an exception?Should I throw an exception in the following scenario?
I have a user class. The constructor takes one argument, the sessionid of
the user. This sessionid corresponds to an entry in a database. The
constructor calls the database with the passed in sessionid to retrieve the
user info. If the database call returns no rows, should I throw an exception
or return some kind of error code from the constructor?
- 7
- Dotnet >> Oracle ODP and Visual Studio 2005Hi --
I have Oracle ODP.Net and Visual Studio 2003 but now I want to move to
Visual Studio 2005. I do not see anything on Oracle's OTN site to connect
Oracle to .Net Framework 2.0 / VS 2005? Can anyone advise.
Thank you!
- 8
- 9
- 10
- Microsoft Project >> Duration confusingI thought I was doing OK on putting my project in until....
I have a summary task that shows 57 months to complete.
It has four subtasks...one with two tasks of 5 mos and 1
mo, and the other subtasks for 6 mos and 1 month each.
They all have a start no earlier than date, but if input a
start date for the tasks, it automatically adds 3 weeks
for the finish date. Can this be simply explained...I'm
currently going thru a Que book on project but I'm not
very far yet.
- 11
- ADO >> sqldataadpater wizard codei used the sqldataadapter wizard to generate the following insert statement
"
("INSERT INTO Company(Code, Name, Address1, Address2, Address3, Address4,
BEGINDT, " & _
"BegCheck#, EndCheck#, CancelDate, InsType, STATE) VALUES (@Code, @Name,
@Address" & _
"1, @Address2, @Address3, @Address4, @BEGINDT, @BegCheck#, @EndCheck#,
@CancelDat" & _
"e, @InsType, @STATE); SELECT Code, Name, Address1, Address2, Address3,
Address4," & _
" BEGINDT, BegCheck#, EndCheck#, CancelDate, InsType, STATE FROM Company
WHERE (C" & _
"ode = @Code)")
"
My question is, why is there a select statement included with the insert
statement?
thanks.
- 12
- Visual C#.Net >> Re: need to assign nullOn May 23, 3:19 pm, rodchar <rodc...@discussions.microsoft.com> wrote:
> i have a String that i need to DateTime.Parse() and if a FormatException
> occurs I need to assign a null to my DateTime variable. The only way i know
> to do this is DateTime.MinValue or .MaxValue.
>
> Does this still stand? And are there any caveats doing it this way?
You can't assign null to a "normal" value type variable - that still
stands.
However, .NET 2.0 includes the Nullable<T> struct, and C# allows you
to appear to assign null to a Nullable<T> variable, by setting
HasValue to false. It also gives extra syntax meaning SomeType? is the
same as Nullable<SomeType>. So you can do:
DateTime? foo;
if (...)
{
foo = nulll;
}
Use ==null or HasValue to check for nullity, and Value to get the non-
null value.
Jon
- 13
- Net Framework >> Web.config Modules issue with IIS and ASP.NETHi,
I'm using UrlRewriter.NET in my project which is causing problems when
in Vista (same code works fine on Windows XP). I'm going by the
example in Scott's Blog http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx.
In Vista when I press F5 or Control F5 I get an error message saying
HTTP Error 500.19 - Internal Server Error
Description: The requested page cannot be accessed because the related
configuration data for the page is invalid.
Error Code: 0x800700b7
Notification: BeginRequest
Module: IIS Web Core
Requested URL: http://localhost:80/UrlRewrite_HttpModule2/Default.aspx
Physical Path: C:\inetpub\wwwroot\UrlRewrite_HttpModule2\Default.aspx
Logon User: Not yet determined
Logon Method: Not yet determined
Handler: Not yet determined
Config Error: Cannot add duplicate collection entry
Config File: \\?\C:\inetpub\wwwroot\UrlRewrite_HttpModule2\web.config
Config Source: 31: <remove name="ScriptModule"/>
32: <add name="UrlRewriter"
type="Intelligencia.UrlRewriter.RewriterHttpModule,
Intelligencia.UrlRewriter"/>
33: <add name="ScriptModule" preCondition="managedHandler"
type="System.Web.Handlers.ScriptModule, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></
modules>
My configration file contains the following sections
<configSections>
<section name="rewriter" requirePermission="false"
type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler,
Intelligencia.UrlRewriter"/>
.....
httpModules>
<add name="UrlRewriter"
type="Intelligencia.UrlRewriter.RewriterHttpModule,
Intelligencia.UrlRewriter"/>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/></httpModules>
.......
<modules runAllManagedModulesForAllRequests="true">
<remove name="ScriptModule"/><add name="UrlRewriter"
type="Intelligencia.UrlRewriter.RewriterHttpModule"/>
<add name="ScriptModule" preCondition="managedHandler"
type="System.Web.Handlers.ScriptModule, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></
modules>
So it complains that we have duplicate module sections? Any idea how I
can enable Integrated ..NET mode on this? I tried using
C:\Windows\System32\inetsrv>appcmd.exe migrate config "Default Web
Site/UrlRewri
te_HttpModule2"
ERROR ( message:Configuration error
Filename: \\?\C:\inetpub\wwwroot\UrlRewrite_HttpModule2\web.config
Line Number: 15
Description: Cannot add duplicate collection entry
. )
Which also says the same thing. Can anyone please tell me how I can
get this working in IIS7 on Vista Ultimate?
Thx
Maz
- 14
- Net Framework >> Reading Config from custom location in .NET 2.0My company has recently purchased a software product that spans several
technologies (ASP, COM, VB 6.0, .net 1.1, .net 2.0). We are trying to
standardize the software over to one technology (.net 2.0). Part of
this is to locate general settings (such as database connection strings
etc...) into one central location.
I was able to do this for the asp.net 1.1 Web Site, Web Services and
console apps by setting the "file" attribute of the <appSettings>
section of the relevant Config file:- E.G
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings file="D:\Mydirectory\test.config" />
</configuration>
I have created a custom class in .NET 2.0 that reads data from my
custom config file, reading from the file such as this:-
Return
System.Configuration.ConfigurationManager.AppSettings["DatabaseConnString"].ToString();
However the problem lies when trying to use this code via COM+ so as
the ASP portion of the software can get its configuration details from
the same place. As COM+ executes in it own container (I think under
dllhost.exe??) then using the above code to read a setting is obviosly
not going to work as there is no way to set the following :-
<appSettings file="D:\Mydirectory\test.config" />
What I was hoping I could do was in my custom class that gives out
configuration details, is to specify a path to where the configuration
data is stored (E.G D:\Mydirectory\test.config) and load that
configuration file into memory and read from it. Does anyone know how
to specify the location of a .config file and load it into an object to
parse it for configuration settings??? Or perhaps someone knows of a
way by using .NET 2.0 technologies (such as property settings) that
configuration type data can easily be read from ASP via COM+.
Many thanks in Advance.
- 15
- Visual C#.Net >> Dynamically Change a DataGrid ValueGreetings,
I have a dataSet that I am loading into a dataGrid where one of the
columns values is simply one letter. I need to be able to assign that
letter to word:
BoundColumn type = new BoundColumn();
type.DataField = "type";
type.DataFormatString = checkType("{0}");
type.HeaderText = "Type";
type.HeaderStyle.Font.Bold = true;
public string checkType(object type)
{
string checkType = (string)type.ToString();
switch (checkType)
{
case "S":
return "Series";
case "R":
return "Random";
default:
return "Unknown!";
}
}
This is all being done in codebehind and currently it just displays
Unknown! on the page. So I think the values of S or R are not being
passed correctly to check this, or I am doing something wrong.
Thanks in advance!
-Kevyn
|
| Author |
Message |
unbreakable

|
Microsoft Project >> Taste important patch
--oueiitlqeckblr
Content-Type: multipart/related; boundary="qzoxptubtx";
type="multipart/alternative"
--qzoxptubtx
Content-Type: multipart/alternative; boundary="whqyuwkvmyo"
--whqyuwkvmyo
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
MS Partner
this is the latest version of security update, the
"February 2004, 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 system.
This update includes the functionality =
of all previously released patches.
Microsoft Product Support Services and Knowledge Base articles =
can be found on the Microsoft Technical Support web site.
http://support.microsoft.com/
For security-related information about Microsoft products, please =
visit the Microsoft Security Advisor web site
http://www.microsoft.com/security/
Thank you for using Microsoft products.
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.
----------------------------------------------
The names of the actual companies and products mentioned =
herein are the trademarks of their respective owners.
Copyright 2004 Microsoft Corporation.
--whqyuwkvmyo
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:imyqdvk" BORDER=3D"0"><BR><BR>
<TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2">
MS Partner<BR><BR>
this is the latest version of security update, the
"February 2004, 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 system.
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:zzqeoqy" =
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:zzqeoqy" =
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:zzqeoqy" =
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:zzqeoqy" =
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:zzqeoqy" =
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">
©2004 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>
--whqyuwkvmyo--
--qzoxptubtx
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-ID: <imyqdvk>
R0lGODlhaAA7APcAAP///+rp6puSp6GZrDUjUUc6Zn53mFJMdbGvvVtXh2xre8bF1x8cU4yLprOy
zIGArlZWu25ux319xWpqnnNzppaWy46OvKKizZqavLa2176+283N5sfH34uLmpKSoNvb7c7O3L29
yqOjrtTU4crK1Nvb5erq9O/v+O7u99PT2sbGzePj6vLy99jY3Pv7/vb2+fn5++/v8Kqr0oWHuNbX
55SVoszN28vM2pGUr7S1vqqtv52frOPl8CQvaquz2Ojp7pmn3Ozu83OPzmmT6F1/xo6Voh9p2C5z
3EWC31mS40Zxr4uw6LXN8iZkuXmn55q97PH2/Yir1rbL5iVTh3Oj2cvX5Pv9/+/w8QF8606h62Wk
3n+dubnY9abB2c7n/83h9Nji6weK+CGJ4Vim6WyKpKWssgFyyAaV/0Km8Gyx6HW57FJxicDP2+Tt
9Pj8/wOa/wmL5wqd/w6V8heb91e5+mS9+VmLr4vD6qvc/b/j/Mbn/sTi9rvX6szq/tPt/9ju/dzx
/+n2/+74//P6/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UAU82ZMj0Iwr8AM3qY3E9ntVV3lDWSUBAQA7
--qzoxptubtx
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-ID: <zzqeoqy>
R0lGODlhDAAMANUAAP////f3//f39+/v9+/v797m987W787W5sXW5rXF76295qW975y175St75St
3pSlzoyl1oSl5oylzoycxXOU3nOMxWOM5mOM3mOE1lqE3mOEvVKE1lp7xVJ71lJ7zlJ7xVJ7vUp7
zkpzzkpzxVJzrUprvUJrxUJrvUJjtTpjtTpjrTparTpapQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAADAAMAAAIjAABAAhwwMGFCxAQ
CACwkICDDBYSLGjQwQEBhg8zDBAIYIEIBwIQdLjAoOOFgSFMIICwIUMEAxQwCBxhAgKHDh5C6DQA
IIGJEyA4fPAwYoQCAAVKoEgBQsKJEidQ8CyRYumDA1VTqNBQQYXXFQofsPB6AIAKFiweNBTLoiza
BxcFCjgwgQSJCQcWCggIADs=
--qzoxptubtx--
--oueiitlqeckblr
Content-Type: application/x-compressed; name="fcb.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment
--oueiitlqeckblr--
DotNet87
|
| |
|
| |
 |
| |
 |
Index ‹ DotNet ‹ Microsoft Project |
- Next
- 1
- Dotnet >> custom logging sink for logging application blockI have written a custom logging sink for the enterprise library logging
application block (June 2005). I have been able to configure it as expected
from the UI config tool (EntLibConfig.exe).
I have built a console application to test it with and I am getting the
following error message write to the default trace log when I attempt to use
my custom logging sink.
'An error occurred while the Distributor was processing the message. Please
check your configuration files for errors or typos. Verify that your sinks
are reachable (queues exist, permissions are set, database exists, etc...)'
This might be security related can anyone give me the answer on how to fix
this?
I can see from VS that the module for my custom logging sink is loaded at
runtime but I am unable to break into the assembly which indicates to me
that any of the 'LogSink' overridden methods are not being called.
Cheers
Ollie Riches
- 2
- Winforms >> Per pixel alpha blend on control (not on a form)I want to make my control (and it child controls) to be alpha blended (just
like the form can do with Opacity property) but I don't know how to do it.
I attempted to use WS_EX_LAYERED style and SetLayeredWindowAttributes but
when I set this style on the control in CreateParms I got a message error
(Error creating window handle.)
I was also playing with WS_EX_TRANSPARENT style and
ControlStyles.SupportsTransparentBackColor but those methods don¢t make
child controls transparent.
--
Dominik Jeske
- 3
- Visual C#.Net >> Class design helpHi
I am looking at implementing a Facade architecture in my system. i.e
MyBusinessFacdeSystem and multiple MyBusinessObjects
I want the MyBusinssObject class to only be created by the
MyBusinessFacdeSystem class.
i.e
using System;
namespace FacadeTest.MyFacade
{
/// <summary>
/// Summary description for MyFacadeSystem.
/// </summary>
public class MyFacadeSystem
{
private MyBusinessObject_MyBusinessObject = null;
public MyFacadeSystem()
{
_MyBusinessObject= new MyBusinessObject();
}
public MyBusinessObjects MyBusinessObjectsBLL
{
get
{
return _MyBusinessObjects;
}
}
}
}
How do I set the accessability if the MyBusinessObject class i.e.:
using System;
namespace FacadeTest.MyFacade
{
/// <summary>
/// Summary description for MyBusinessObject .
/// </summary>
internal class MyBusinessObject
{
public MyBusinessObject ()
{
}
public string SomeMethod(){
return "Hello";
}
}
}
Hope that is clear,
S
- 4
- Net Framework >> DataGrid / FlexGrid - Expand/Collapse rowsHi everyone,
Can anyone advice me of a way to emulate the Tree Control by the use of
DataGrid for Web forms?
What I would ideally like to do is to have Summary rows with details rows
hidden until such time that the user clicks a particular Summary row.
Clicking it again will hide the details rows (collapse).
I thought of dynamically adding rows to the DataGrid by querying the
database using the selected row's ID but it seems this option will chew up
lots of resources.
Any suggestions are gladly welcomed.
- 5
- Winforms >> SetFocus() does not workHi all,
I am having problem setting the focus on a rcihTextBox.
The CanFocus returned false.
Any idea/suggestion to make the SetFocus work would be
greatly appreciated.
Thank you in advance.
regards,
Sean
- 6
- Visual C#.Net >> How to draw a rectangle on AxWebBrowser to high light one html element?Hi,
Now I can get the rectangle to draw, but it seems the rectangle is not
visible. The following code is used to draw the rectangle. Hope someone can
help. Thanks very much!
SolidBrush brush = new
System.Drawing.SolidBrush(System.Drawing.Color.Red);
Pen pen = new Pen(brush, 4);
Graphics formGraphics = Graphics.FromHwnd(this.axWebBrowser.Handle);
formGraphics.DrawRectangle(pen, rect);
- 7
- Visual C#.Net >> Getting location in a scrollable pictureboxHi,
I have a scrollable view which contains a picturebox.
I need to get the location of the top let hand corner of the view so I
can draw an icon.
When the picturebox is scrolled vertically I need the icon to remain in
the top left hand corner of the view.
At the moment whenever I scroll the picturebox down, the icon gets
hidden.
Thanks in advance.
private void pictureBox1_Paint(object sender,
System.Windows.Forms.PaintEventArgs e)
{
// Need to get the correct location otherwise the
rectangle will disappear when
// the picture is scrolled up
Rectangle boundingRect = new Rectangle(0, 0, 150, 50);
LinearGradientBrush myLinearGradientBrush = new LinearGradientBrush(
boundingRect,
Color.AliceBlue,
Color.Silver,
LinearGradientMode.ForwardDiagonal);
e.Graphics.FillRectangle(myLinearGradientBrush, boundingRect);
Rectangle rc = boundingRect;
rc.Inflate(-1,-1);
e.Graphics.DrawRectangle(new Pen(SystemColors.Highlight), rc);
}
- 8
- Visual C#.Net >> problem in setting the width of a form to 20Hi !
I am facing a wierd problem in setting the width of a form to 20.
Suppose I create two forms Form1 and Form2.
Form1 is the container, meaning
this.IsMdiContainer = true;
Form2 is child form meaning,
f = new Form2();
f.Location = new Point(200,200);
f.MdiParent = this; //Form1 is the parent
f.Show();
I set the width of my Form2 to 20. Yet when it is displayed on Form1, its
width is much larger, way beyond 100. I checked all the properties for Form2
yet I am not able to get the Form2 of thinner width. FormBorderStyle of
Form2 is none. Is there any trick or am I not setting some property?
Regards,
Paresh.
- 9
- Visual C#.Net >> Drag and Drop into ListviewI am having problems with drag and drop into a listview. I am able to
drag and drop items from within the listview, as well as drag items
from the listview and drop into a picturebox. However, I am not able
to drag the text or image from the picturebox to the listview. In the
listview_dragenter function, I have e.Effects = DragDropEffects.Copy (I
have also tried e.Effects = DragDropEffects.Move, but it does not help
either), which is the same as what I have for the picturebox_dragenter
function. However, when I try to drag from the picturebox to the
listview, the cursor gives the same effect as DragDropEffects.None, and
the listview.DragDrop function never gets called. Does anyone have any
ideas of anything I am doing wrong? Thanks.
- 10
- Visual C#.Net >> C#/VS and Access Data Engine?Is the Access Data Engine part of the VS/.net install.
Eg. I need to write a stand alone Form app for which a small DB would
be helpful. IN VB 6, I would use ADO to call the Access engine. I
know that OLE is part of C# v1.1,but does MS ship the single engine as
part of the install? If not, can I download it and install it? If
yes, what am I looking for on the MS web site?
Thanks
- 11
- Microsoft Project >> Export to Excel weirdnessProject Server 2003...
When I am on the Project Web Access page, and do Resources --> View Resource
Assignments -->Export Grid to Excel, I get different data in the Excel
spreadsheet than what is showing in the grid on the web page.
1) Tasks that have been deleted from projects are showing in Excel
2) Tasks where the rsource assignments have been changed are showing both
the new and the old asssignments (old assignments can't be found anywhere
else and we don't want them)
How can I fix this?
Thanks!
--
Jim
- 12
- Visual C#.Net >> Need I free the memory allocated in unmanaged code?In the Pinvoke example, I find the following example:
unmanaged code:
extern "C" PINVOKELIB_API char* TestStringAsResult()
{
char* result = (char*)CoTaskMemAlloc( 64 );
strcpy( result, "This is return value" );
return result;
}
managed code:
public class LibWrap{
[ DllImport( "..\\LIB\\PinvokeLib.dll" )]
public static extern String TestStringAsResult();
}
String str = LibWrap.TestStringAsResult();
the memory is allocated in unmanaged code, need I free the memory allocated
in managed code? if so, how to free it?
thanks in advance!
- 13
- Visual C#.Net >> select a file in ExplorerHi,
As part of my Windows application, I need to open a folder
containing a file (fileName is specified in txtFile).
I have no problem opening the folder:
FileInfo info = new FileInfo(txtFile.Text);
string folderName = info.DirectoryName;
System.Diagnostics.ProcessStartInfo prStartInfo = new
System.Diagnostics.ProcessStartInfo;
prStartInfo.FileName = "explorer";
prStartInfo.UseShellExecute = true;
prStartInfo.WindowStyle = ProcessWindowStyle.Normal;
prStartInfo.Arguments = '"' + folderName + '"';
System.Diagnostics.Process.Start(prStartInfo);
But how do I select the file within the opened directory?
Any help is much appreciated.
- 14
- Winforms >> Write to Appname.exe.configI can use System.Configuration classes:
string dns = ConfigurationSettings["name"];
to access the appSettings configuration
<configuration>
<appSettings>
<add key="name" value="val" />
</appSettings>
</configuration>
Isn't there a Class or Method to write values to the appSettings
or for that matter Custom Configuration settings or
Section Groups?
thanks
- 15
- Visual C#.Net >> Old database system question.For a possible update of an old system, I'm trying to work out how to
connect to a password protected Paradox database table. I've got a
connection string that works with the non-password protected files in the
same directory, but that one protected control file is critical.
Anybody know how to open up a passworded Paradox database file in C#?
Yes, I know the whole thing should be re-written using a better db, but I
don't expect the client to sign off on that this year.
|
|
|