|
ok Manas, thank you for your concern, i'll try the scrollToRow class taht you gave me.hope it works
thank you
|
|
|
|
|
On Console Application
Write a function to copy files from one folder to another (XCopy). The function will have multiple versions. Each version should build on the previous version.
HINT: Look at classes DirectoryInfo, Directory, FileInfo, Path
Version 1.
The function should have the following parameters:
Source path
Desitnation path
Assumption in this version:
The destination path does not exist.
Sub-folders are not processed.
Version 2.
The function should have the following parameters:
Source path
Destination path
Assumption in this version:
Sub-folders are processed.
The destination paths does not exist.
Version 3.
The function should have the following parameters:
Source path
Destination path
Assumption in this version:
Sub-folders are processed.
The destination paths may exist. There may be files in the destination folders. These files should be overwritten if the files at the destination are older than files at source.
Version 4.
An overloaded function should have the following parameters:
Source path
Destination path
File name filter
Assumption in this version:
(same as Version 3)
Version 5.
An overloaded function should have the following parameters:
Source path
Destination path
Multiple file name filters (string array)
Assumption in this version:
(same as Version 4)
|
|
|
|
|
WE DO NOT DO YOUR HOMEWORK FOR YOU!!!
|
|
|
|
|
What about mine? will you do mine for me?
A train leaves London at 9:00 and travels at 40 mph towards Exeter.
A second train leaves Exeter for London at 10:00 and travels at 60 mph.
If the distance is 250 miles, what time should I go to the pub today?
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
I would suggest you buy a 4 pack before the trip, but seeing that it is illegal now to drink on public transport, I deem the problem non-NP complete, and thus not solvable in real time.
|
|
|
|
|
There's no restriction on getting bladdered on a train, it's only on London transport. However, I'm not overly concerned about being on either train. I just wanna go to the Pub.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
O great! Buy a case then!
|
|
|
|
|
That's a shame. I have some GIS code I need writing - could you knock it up for me?
|
|
|
|
|
Pete O'Hanlon wrote: could you knock it up for me?
Sorry, I dont do sloppy seconds
|
|
|
|
|
leppie wrote: Sorry, I dont do sloppy seconds
That's not what the rumours say.
|
|
|
|
|
V.Mahajan wrote: Plz Help me on this...
This is very vague subject...
V.Mahajan wrote: Write a function to copy files from one folder to another (XCopy). The function will have multiple versions. Each version should build on the previous version.
HINT: Look at classes DirectoryInfo, Directory, FileInfo, Path
Most(All except some people like you) of the programmers call them as overloaded functions.
Now, where is the question/problem?
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Ok - what do you want? I see no question here.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I can't write code for you but here is a hint:
Look at classes DirectoryInfo, Directory, FileInfo, Path
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
Hi, I am new to C#
I want to know how to resize smoothly the AxShockwaveFlashObjects control with form using mouse where the flash control dock style is fill and form border sytle is none.
Thanks in advance
|
|
|
|
|
I don't think there's a way. There's no property available in the control that makes the control resize itself to the client area.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Is there any workaround I mean some other way to do that. Is that possible that I can put a transparent layer over AxShockwaveFlashObjects control and resize the transparent layer along with AxShockwaveFlashObjects control
|
|
|
|
|
Nope, not like that. I suppose you could try to use the mouse is moving event and see if the form is being re-sized. I don't know the specifics, or even if it will work, but that should give you enough to get started.
The way we addressed it in our app was to simply re-size the control when we detected a form re-size, but only after the mouse button had been released. If I'm not mistaken, you want to re-size the control as the form is being re-sized.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Thanks for replying. Yes, you are right that I want to resize the control as the form being resized but in my case the form is tranparent and borderless (border style is none) and flash control dock style is fill. Therefore i cannot resize the form.
I have tried to capture the mouse event of control using WndProc method. but it didnt help in resizing control with form smoothly.
Can you guide some direction where I can look to solve this issue?
Sorry I forget to tell that I am working in C#
Thanks again
|
|
|
|
|
Hi All, i am new with C#,
i need to use win32 DEVMODE Structure for printer settings in c# application.
can anybody suggest me, how to use it in C#....
Thanks
Bankey
|
|
|
|
|
Have a look here[^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
when i tried to do run the below program i got the error as
Retrieving the COM class factory for component with CLSID {DA6AF009-59A1-4B29-BDF8-0E09AE17C122} failed due to the following error: 80040154.
// this the program.............
using System;
using System.Collections.Generic;
using System.Text;
using WINIDEAAUTOLib;
namespace consoleIDEA
{
class Program
{
static void Main(string[] args)
{
WinIdeaAutoSvrClass we;
string strValue = "";
we = new WinIdeaAutoSvrClass();
try
{
we.Connect();
we.DebugRunControl(WINIDEAAUTOLib.RunControlFlags.rStepHigh, 0, 0);
we.DebugEvaluateString(0, "iCounter", ref strValue);
Console.WriteLine("iCounter: " + strValue);
we.Disconnect();
}
catch (Exception)
{
Console.WriteLine("Error.");
}
finally
{
Console.WriteLine("Done.");
}
}
}
}
|
|
|
|
|
So, tell me, did you bother to lookup what error code 80040154 means? I did, and the answer is pretty self-explanatory...
|
|
|
|
|
// Search Operations
// I am trying to search a textbox entry in a linkedlist queue implementation such that if the entry is there in the recorded queue then I get a message that it is actually there.
Thanks
---------------------------------------------------------------------
public int indexOf(Object o) {
int index = 0;
if (o==null) {
for (Entry e = header.next; e != header; e = e.next) {
if (e.element==null)
return index;
index++;
}
} else {
for (Entry e = header.next; e != header; e = e.next) {
if (o.equals(e.element))
return index;
index++;
}
}
return -1;
}
|
|
|
|
|
Why don't you implement the in built Binary search method, if you use ArrayList class.
“You will never be a leader unless you first learn to follow and be led.”
–Tiorio
"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford
modified on Wednesday, September 10, 2008 4:48 AM
|
|
|
|
|