 |
 |
Index ‹ DotNet ‹ Microsoft Project
|
- Previous
- 1
- Net Framework >> rotating pictures on the flyIs there a way in vb.net to, 1) detect if an image has been taken with a
> camera on a vertical axis, and 2) rotate the picture for display - across
> an
> intranet (asp.net), with huge files sizes (2 - 3 MB), that doesn't take
> too long?
> (LOL)
>
> Thanks,
> Jim
- 2
- Visual C#.Net >> Need Help urgentdaer all...
i'm a new comer with C#, but i want to build a mobile application. does any body can tell me, where do i can start ?
what software needed ?
where i can find a good references to learn it ?
i have .Net installed on my PC, but when there is no Mobile Web Application template. Is there some thing missed with it ?
please help.....
best regards....
- 3
- Visual C#.Net >> Help running scriptI am trying to force my machine to run the Cscript engine against a vbs
script file. Why would the two act differently.
When I run the following code it does not execute the vbs script the same
way as the second option.
scriptConsoleProcess = new Process();
scriptConsoleProcess.StartInfo.FileName = "CScript.exe";
scriptConsoleProcess.StartInfo.Arguments = scriptPath;
scriptConsoleProcess.StartInfo.CreateNoWindow = true;
scriptConsoleProcess.Start();
This option works when I have the CScript set as my default engine.
scriptConsoleProcess = new Process();
scriptConsoleProcess.StartInfo.FileName = scriptPath;
scriptConsoleProcess.StartInfo.CreateNoWindow = true;
scriptConsoleProcess.Start();
- 4
- Winforms >> Smart Client - IIS errorI'm writing the download stub for a Smart Client, following the QuickStart
samples that come with the Updater Block 2.0.
Tested against my local IIS, the stub works perfectly, but when I deploy it
to a server, I get "The system cannot find the file specified" in my browser.
Local Machine is IIS 6.0, Remote Server is IIS 5.0
Thanks for your help
- 5
- ADO >> assigning null value to the Yes/No field of MS Access database tablehi
I want to assign null value to Yes/No field. So that the value of the field
of MS Access database table is neither YES nor NO. Is this possible? The
field properties show that there is a property called "Allow Null". I have
set it to TRUE. But this does not help.
I thereafter try to access this table from VB.NET and try to read the value
or insert a record with this field value as NULL. But when I read the record
as DBBoolean, I always get value as FALSE.
Can somebody throw some light on the same?
warm regards
Haresh Gujarathi
- 6
- Visual C#.Net >> about inheritanceHello!
Assume I have a base class called Base and a derived class called Sub.
Assume all the property for the Base class can't fit exactly for the Sub
class.
I mean some of the property for the Base class is wrong for the Sub class is
it then allowed
to inherit from class Base.
The main issue when using inheritance is that Sub is a Base.
//Tony
- 7
- Visual C#.Net >> Using C# to create a scheduled jobI need to create an executible that will run on a nightly basis.
The executible is a simple command line statement like:
OSQL -Usa -PmyPasword -n -Q "BACKUP DATABASE msdb TO DISK =
'c:\msdb.dat_bak'"
Is it possible to use C# to create an executible that will run this command
line statement on a scheduled basis?
If so, can anyone give me some general ideas on how to go about this?
- 8
- Winforms >> Please help - how to call a web link in a windows form...Dear Experts,
I am asked to develop a Windows Application that calls to a given web link
(e.g. http://localhost/Test.aspx?id=1234) and catches the returned HTML from
this link (returned from web server of course). I really have no idea on how
to accomplish this. Could you please give me some hints on resolving this or
please indicate any resources/references that I can refer to?
Thanks a lot for your help.
Tigger
--
I am Tigger.
- 9
- Visual C#.Net >> Mouse move eventsHi,
I have an MDI app that allows user to create flowcharts.
User can drag flowchart objects (squares, rectangles,
elipses, etc) from the toolbar and put on a form. They
should be able to move the objects around on the form.
This is where the problem is, I have implemented this
using the mouse_down, mouse_up and mouse_move events of
the form. When user selects a object, I receive the
mouse_down mesg, in which I save the current mouse
coordinates. When user drags the object around I receive
mouse move events, in which I compute the distance that
the mouse has moved and move the object by that distance.
When the object is moved, that itself generates new
mouse_move events in the opposite direction. Why are these
events generated and how can I prevent them?
Thanks,
Suhas
- 10
- Visual C#.Net >> To Mitchell S. Honnerthttp://groups.google.com.pk/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/a28a501a72dce06d?hl=en
Continued from above:
I check out your lib and sample but I was unable to find how to perform
my desired task.:( I would be really thankful to you if you write a
sample code where sound and ID3 tags are synchronized with each other.
Thanks in Advance for ur help.
With best regards
Qumer
- 11
- Net Framework >> updating a shared files using Updater Applicatin BlockHi there,
I have about 20 applications.
There are many dll files that these applications share.
I want to avoid having the duplicated dll files.
Therefore, I crate a folder for these dll files.
Now I want to create an updater system using Updater Application Block.
I know that Updater Application Block is used to individually update
applications.
However, can I update an application along with some dll files in a shared
folder?
I would appreciate your feedback!
- 12
- ADO >> One Has Many relation via Dataset to XML questionHi,
I am trying to import/export XML from a database. For the purpose of
this posting I will keep the datastructures as simple as possible. Just
imagine a table 'User' and a table 'Roles', and then a table
'UserHasRole' that specifies what users have what roles (m:n relation).
The idea is that these tables store information about users and the
roles they have got assigned.
--- Tables start
Table User:
UserId
Name
Table Role:
RoleId
Name
Table UserHasRole:
UserHasRoleId
UserId
RoleId
--- Tables end
Now, what I would like is to export data from a database with the above
table layout to XML, let a (rather experienced) user edit the XML file
and then reimport the modified XML file. (Our system has no notion of
deleting users or roles, which significantly simplifies my task) Ideally
I would like to end up with an XML file similar to the following:
--- sample XML file start
<my_xml_io>
<Users>
<User id="1">
<Name>Foo</Name>
<HasRoles>
<Role id="1"/>
<Role id="3"/>
<Role id="4"/>
</HasRoles>
</User>
<User id="2">
<Name>Bar</Name>
<HasRoles>
<Role id="2"/>
</HasRoles>
</User>
</Users>
<Roles>
<Role id="1">
<Name>Admin</Name>
</Role>
<Role id="2">
<Name>Guest</Name>
</Role>
<Role id="3">
<Name>Developer</Name>
</Role>
<Role id="4">
<Name>Manager</Name>
</Role>
</Roles>
</my_xml_io>
--- sample XML file end
I.e. the m:n relation is represented implicitly in the 'User' element.
Now with all the DataSet automation support in VS.NET my first try,
was to visually design some typed datasets, fill them from the db and
then use 'WriteXML'. But the XML I get looks like this (simplified a bit):
--- generated XML file start
<my_xml_io>
<User id="1">
<Name>Foo</Name>
</User>
<User id="2">
<Name>Bar</Name>
</User>
<Role id="1">
<Name>Admin</Name>
</Role>
<Role id="2">
<Name>Guest</Name>
</Role>
<Role id="3">
<Name>Developer</Name>
</Role>
<Role id="4">
<Name>Manager</Name>
</Role>
<UserHasRole id="1">
<UserId>1</UserId>
<RoleId>1</RoleId>
</UserHasRole>
<UserHasRole id="2">
<UserId>1</UserId>
<RoleId>3</RoleId>
</UserHasRole>
<UserHasRole id="3">
<UserId>1</UserId>
<RoleId>4</RoleId>
</UserHasRole>
<UserHasRole id="4">
<UserId>2</UserId>
<RoleId>2</RoleId>
</UserHasRole>
</my_xml_io>
--- generated XML file end
What is the best way to archive my desired XML representation, instead
of the normalized one I currently get?
many thanks in advance,
Andreas
- 13
- Winforms >> Refresh only the CurrentRow of a DataGridView?I have a DGV that is read only. When selecting a row, the item is edited in
individual controls elsewhere on the form, also bound to the same
bindingsource. The default behavior is that when the value is changed in a
textbox, it only repaints the value in the DGV cell after the textbox commits
the value to the underlying object. I want it to update the DGV cell's
display in real time. To do this, I have code in the textbox's TextChanged
event to update the underlying object's property and refresh the DGV. This
works ok. However, if there are more than a handful of records displayed,
this refresh is slow and distracting.
So two questions:
1) Am I approaching this the correct way? Is there a better way to have the
DGV reflect the changes in real time?
2)If this is the best way, is there any way to refresh/repaint only the
currently selected row?
Thanks for any ideas.
Barry
- 14
- Winforms >> Newbie question: how to set focus to a usercontrolI have a usercontrol that contains another usercontrol,
which in turn contains a PictureBox control.
Under a certain condition, I need to set the input
focus on the outermost usercontrol. But once the PictureBox
control (the outermost usercontrol's grandchild) has got
the input focus, I cannot transfer the focus back to the
outermost usercontrol (at least not by simply invoking its
Focus() member function).
Why is this? What can I do to take away the keyboard input
focus from that grandchild, the PictureBox control, and
transfer it back to the outermost usercontrol? (I have tried
to find information about keyboard focus handling that seems
relevant to this question, but what I have found seems rather
far removed from what I need to understand here...)
Note: My application requires very little keyboard input:
mainly a few keyboard-accelerators, and the copy/paste/
cut/delete key. But the copy/paste/cut/delete key must
go to the right usercontrol, because copy/paste/cut/delete
must be handled differently, depending on which usercontrol
has the input focus (or, rather, should have it, from my
point of view). In essence, I am trying to base input
focus on the position of the mouse pointer: if that grandchild
PictureBox control does not have the mouse pointer within
its bounds, it should not receive keyboard input, i.e.
should not have input focus.
Regards and thanks in advance for any enlightenment on
this question,
Christian
- 15
- ADO >> DataSet diffecencesHello,
is there a simple method to get Rows which differ in their values between
two different DataSets?
Ondra.
|
| Author |
Message |
Joleh

|
Posted: Tue Jun 08 15:16:40 CDT 2004 |
Top |
Microsoft Project >> Percent Work Complete
What is the difference between % Complete and % Work
Complete? I have tasks where the two are wildly different
even though there are resources assigned. I have been
updating the % Complete only. Thanks for any advice.
DotNet441
|
| |
|
| |
 |
Gérard

|
Posted: Tue Jun 08 15:16:40 CDT 2004 |
Top |
Microsoft Project >> Percent Work Complete
Hello Julie
If the assignments are evenly spread along the task, we can expect that %
Complete and % Work Complete are equal.
NB : %Complete is a percentage of the task duration.
If on the first half of the task you assigned a poor resource part time. On
the second half of the task you assigned 5 persons full time. When the
%Complete is 50%, the %Work Complete is only 10%.
Hope this helps,
Gérard Ducouret [Project MVP]
Pragmasoft ® - Paris
"Julie" <EMail@HideDomain.com> a écrit dans le message de
news:19e8701c44d73$982de960$EMail@HideDomain.com...
> What is the difference between % Complete and % Work
> Complete? I have tasks where the two are wildly different
> even though there are resources assigned. I have been
> updating the % Complete only. Thanks for any advice.
|
| |
|
| |
 |
James

|
Posted: Fri Jun 11 07:10:03 CDT 2004 |
Top |
Microsoft Project >> Percent Work Complete
Hi Julie,
Notwithstanding Gerard's answer. % Complete refers to the DURATION of a task. % Work Complete refers to the WORK (hours assigned via resources). Example: A task of 5 days DURATION might contain 40 hours of WORK. For most practical purposes, those hours would be approtioned equally across all 5 days (ie, 8 hrs/day). If at the end of day 1, the resource has only done 4 hrs WORK, then your % Complete is 1/5 days = 20%, and your % Work Complete is 4/40 = 10%. If on day 2, your resource still only does 6 hrs work (lazy git!!), then your % Complete is 2/5 days = 40%, and your % Work Complete is (4+6)/40 = 25%. At the end of day 2, your analysis would read: 40% of the DURATION has elapsed, but only 25% of the WORK has been done. Someone has few long days ahead of them if they want to finish the task on time!!
You do have to be a bit wary, though, owing to the fact that your % Complete does change as you extend or shorten the duraton of the task, and it is also dependent upon your Task Type. Moreover, when amending the task duration, the WORK that you have assigned to that task might also change, depending upon HOW you amend the task duration, in conjunction with the Task Type.
Hope this helps.
James.
"Julie" wrote:
> What is the difference between % Complete and % Work
> Complete? I have tasks where the two are wildly different
> even though there are resources assigned. I have been
> updating the % Complete only. Thanks for any advice.
>
|
| |
|
| |
 |
| |
 |
Index ‹ DotNet ‹ Microsoft Project |
- Next
- 1
- 2
- Visual C#.Net >> How to refresh row background of listview controlHi Friends,
In my application, I have created with listview control with 3 rows
with Green color as row background. By default row 1 is in selected
state. If i want to deselect the row from the listview control by
clicking anywhere above the third row. At that time the deactivation of
the row is applied, but the row background is applied as white. This
could be occured even i rearrange the column of the listview also. How
can i restore back the background color for the listview row after
deselecting the row or rearrange the column?
Please help me to solve this issue.
Regards,
Prakash.
- 3
- Visual C#.Net >> Raise an alert when a Application StartsI need to monitor for when an exe (application) starts. This will
trigger an alert. The application will be one the user starts and
monitoring will be only required on the pc they are logged in on.
Could someone direct me to what the best way to do this is.
Regards
Jeff
- 4
- 5
- Dotnet >> problem with user controlI am having problems setting a asp user control's property from code.
I have an asp.net page and have a user control "page_footer" which has
a property sFooterText. Here is the control:
<%@ Control Language="vb" AutoEventWireup="false"
Codebehind="page_footer.ascx.vb" Inherits="Site1.page_footer"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<script language="VB" runat="server">
Public sFooterText As String = ""
</script>
<table border="0" width="100%" cellSpacing="0" cellPadding="0">
<tr>
<td align="right"><font
class="copy"><%=sFooterText%></font> </td>
</tr>
</table>
The control is defined at the top of my aspx page as so:
<%@ Register TagPrefix="site1" TagName="page_footer"
Src="page_footer.ascx" %>
Everything works great when i set the property explicitly on the page,
such as:
<site1:page_footer id="page_footer_1" runat="server"
sFooterText="Copyright 2004"></site1:page_footer><br>
However if i try to set it from codebehind's Page Load with a line
such as:
page_footer_1.sFooterText = "Copyright 2004"
the "page_footer_1" is underlined in blue, with a message "Name
'page_footer_1 is not declared."
Help me, Obi Wan.
- 6
- Visual C#.Net >> Validating an .exe fileWhen I distribute my .exe assembly, I want to make sure that users get
the correct file. When someone has meddled with the contents, I want the
program to quit with a message. Is there a way to set some kind of
checksum in the .exe itself so that the .exe auto-validates itself? I am
not sure if I express myself clearly
- 7
- Visual C#.Net >> Find dll version numberI'd like to be able to loop through files in a directory and file the
version number of each .dll I find. Does somebody have an example of
how to do this?
Thanks,
JK
- 8
- 9
- Visual C#.Net >> Why I always get 'The operation has timed-out.' exception from some pages?Hi all,
Please help me to look at the following code, I always get a 'The operation
has timed-out.' exception. But the URL can be opened in IE properly. I am
wondering if I missed some code. Any help would appreciate!!
HttpWebRequest httpReq;
HttpWebResponse httpResp;
try
{
httpReq =
(HttpWebRequest)WebRequest.Create("http://safety.live.com);
httpReq.Timeout = 10000;
httpReq.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; .NET CLR 1.0.3705";
httpReq.ContentType = "application/x-www-form-urlencoded";
httpResp = (HttpWebResponse) httpReq.GetResponse();
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}
finally
{
}
- 10
- 11
- 12
- Visual C#.Net >> Beginner Question. What does the > mean? Not greater than.I was looking at this code, and have seen it in other code (like it):
/// <summary>
/// Bitmap font class for XNA
/// </summary>
public class BitmapFont
{
private SpriteBatch m_sb;
private Dictionary<int, BitmapInfo> m_dictBitmapID2BitmapInfo;
and like:
m_dictBitmapID2Texture = new Dictionary<int, Texture2D>(); //what's
the paren mean too?
What does the < > mean? What do I search on to understand what the
angle bracket symbols mean in a context like this? Thank you for any
help.
- 13
- Visual C#.Net >> FTP Accessing ProblemI have one doubt about the following task. My task is download drawings from FTP Server folder.
I reach the task successfully, but it will run only in Local Host. If I am publishing the site means it will displays the following error sir.
Can you help me how can I rectify the problem.
- 14
- Visual C#.Net >> Arrays in structsI need to set up an array in a struct for passing to a win32 api call . How
do I do this please?
("Name" is actually a zero terminated ascii string, so a pointer to a
better way to do this would also be appreciated)
eg
[StructLayout(LayoutKind.Sequential)]
public struct Details
{
public int UniqueID;
public byte[] Name[43]; << wrong here, also should be ascii chars
public eState Status;
}
- 15
- Visual C#.Net >> TLBEXP enum export & name manglingI'm trying to create a drop-in replacement for an existing COM library
in C# 2.0. The original library is unmanaged and my consumers are
customers' VB6 legacy apps, many of which rely on global constants. As
.NET doesn't allow global constants, and I have no member name control
over enums, I'm having problems emitting IDL with constants the VB will
consume without extensive code modification. A C# enum that looks like
this:
namespace MyNS
{
public enum MyEnum
{
ValueOne = 1,
ValueTwo = 2
}
}
gives me this IDL in the DLL and through tlbexp.exe:
typedef [uuid(...), version(1.0), custom({...}, "MyNS.MyEnum")]
enum {
MyEnum_ValueOne = 0,
MyEnum_ValueTwo = 1
} MyEnum;
The COM export docs on MSDN clearly state this is by design to prevent
name collision. My legacy apps are looking for ValueOne, and they're
not finding it because I'm emitting MyEnum_ValueOne.
Has anyone solved this problem?
Thanks,
Stephan
|
|
|