| Creating a macro to export Gantt view in MS PPT template |
|
 |
Index ‹ DotNet ‹ Microsoft Project
|
- Previous
- 1
- 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....
- 2
- ADO >> DataSet diffecencesHello,
is there a simple method to get Rows which differ in their values between
two different DataSets?
Ondra.
- 3
- 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
- 4
- 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
- 5
- 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?
- 6
- 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
- 7
- 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
- 8
- Microsoft Project >> Percent Work CompleteWhat 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.
- 9
- 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();
- 10
- 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
- 11
- 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
- 12
- 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
- 13
- 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.
- 14
- 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!
- 15
- 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
|
| Author |
Message |
thad05

|
Posted: Fri Apr 08 11:43:58 CDT 2005 |
Top |
Microsoft Project >> Creating a macro to export Gantt view in MS PPT template
What source info is out there to guide my efforts? I am not a developer.
Bottom line, we would take various pictures of project tasks and export to
slides in a MS PPT template?
DotNet19
|
| |
|
| |
 |
John

|
Posted: Fri Apr 08 11:43:58 CDT 2005 |
Top |
Microsoft Project >> Creating a macro to export Gantt view in MS PPT template
In article <EMail@HideDomain.com>,
Sydrae <EMail@HideDomain.com> wrote:
> What source info is out there to guide my efforts? I am not a developer.
> Bottom line, we would take various pictures of project tasks and export to
> slides in a MS PPT template?
Sydrae,
VBA code can certainly be written to do what you want but I am not aware
of any existing code in the public domain. It is possible that
somebody's has it (that's just a guess) but I haven't a clue as to where
you could search.
However there are other options. First, have you tried using the "Copy
Picture" (little camera icon on the Standard toolbar) utility? If you
only have a few task pictures to export, it might be all you need.
You might also want to take a look at the MVP website at:
http://www.mvps.org/project/faqs.htm
Look at FAQ 16 - Project Viewer
Some of the various options presented may provide a transition to
getting the Project graphic data into PowerPoint.
Another option is to write your own macro or have someone write it for
you. If you don't have VBA experience but would like to learn, take a
look at another MVP web link at:
http://www.mvps.org/project/links.htm
Go to the bottom of the page and look for "Project 98 Visual Basic
Environment Training Materials". Even though it says it is for Project
98, it is equally applicable to all current versions of Project. If you
are not interested in writing the code yourself, you could post a
request on microsoft.public.project.developer stating what you need.
Hope this helps.
John
Project MVP
|
| |
|
| |
 |
| |
 |
Index ‹ DotNet ‹ Microsoft Project |
- Next
- 1
- 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.
- 2
- 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;
}
- 3
- 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.
- 4
- 5
- 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
- 6
- 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
- 7
- 8
- 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
{
}
- 9
- 10
- 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.
- 11
- 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
- 12
- 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.
- 13
- Winforms >> ComboBox.SelectedValue returns nullIn the code below, m_list.SelectedValue returns null in
MainForm.valueChanged regardless of which value is selected. Is this
expected behaviour? However, SelectedItem *does* return the correct
value.
[code]
using System;
using System.Windows.Forms;
class Attr { // a simple name value class
string m_name;
string m_value;
public Attr(string name, string value){ m_name = name; m_value
=
value; }
public string Name { get { return m_name; } }
public string Value { get { return m_value; } }
}
public class MainForm : Form {
public static void Main(string[] args){
Application.Run(new MainForm());
}
ComboBox m_list;
public MainForm(){
m_list = new ComboBox();
Controls.Add(m_list);
m_list.DisplayMember = "Name";
m_list.ValueMember = "Value";
m_list.Items.Add(new Attr("one", "1"));
m_list.Items.Add(new Attr("two", "2"));
m_list.Items.Add(new Attr("three", "3"));
m_list.SelectedValueChanged += new
EventHandler(valueChanged);
}
public void valueChanged(object sender, EventArgs args){
if(m_list.SelectedIndex != -1)
Text = m_list.SelectedValue.ToString();
}
}
[/code]
- 14
- 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
- 15
|
|
|