|
Sounds like you need to do an uninstall then - and this still isn't the right forum. There is a Visual Studio forum you know.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Please point me to the visual studio forum as I do not find it.
|
|
|
|
|
|
arkiboys wrote: Please point me to the visual studio forum as I do not find it
That is poor
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
to his defense, in the forums list Visual Studio is in the "General Discussions" group and not in the "General Programming" group.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
ahhh... the trickery of the scroll bar has claimed yet another victim
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
|
Hi,
I wrote a C# program which takes photos from "Nikon digital camera" using WIA. Now I want to write a generalised program which can work on different PTP compatible cameras.I notoced that Nikon creates a folder like "0000\\Root\\DSCN",
Fuji creates a folder like "0000\\Root\\DSCF", Sony creates a folder like "0000\\Root\\DSCS".
I want to know is there any way in C#, I can find out what kind of folder will be created when the camera is connected.
public Device wiaDevice;
I have proper events registered.
foreach (IDeviceInfo deviceInfo in wiaDeviceManager.DeviceInfos)
{wiaDevice = deviceInfo.Connect();}
private Item pictureTaken;
pictureTaken = wiaDevice.ExecuteCommand(CommandID.wiaCommandTakePicture);
string name = pictureTaken.ItemID;
The string "name" is the pictureFile created by Camera.
I know wiaDevice object has some properties. I don't know how to iterate thro' those properties. Is there any wiaDevice property which decides the name of pictureFile created.
Any help will be greatly appreciated.
Thanks,
veena
|
|
|
|
|
I am working on a program that will be distributed on a USB stick (thumbdrive, flashdrive, whatever they're called these days). It's a critical application and must be up and running within 2 minutes of putting the drive in the machine. Unfortunately, the 2 minute requirement didn't get to me until late (yeah, I know.... but let's talk about the programming, not the project management ).
I timed the installation of .NET 2.0 in a virtual machine today and it took about 8-10 minutes for it to install. My client's not gonna go for that. So I'm wondering if I can just copy all the DLLs that are referenced in my program to the ouput location and distribute those with the application?
If not, is there some way I can build a .NET installer that installs only the stuff I've actually used? I was watching the .NET installation and there's a lot of stuff in there that I just don't use in my program.
Any hints you can give would be greatly appreciated.
Denise "Hypermommy" Duggan
|
|
|
|
|
Can't be done at an affordable price.
Tell your customer for fast launch Vista/Win7 is required, it comes with .NET preinstalled.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
I don't think it can be done. Even if you copy all the registry settings and files and manage to register it all in a new machine in a small time, you still risk having something which won't work properly, and the cost of keeping this "custom installer" updated would be big.
The best way to get that result is not using .NET (or any similar framework), so you can build a standalone executable and have it up and running in seconds.
However, since I guess your app is already developed and it would be too expensive to re-build it from scratch, the other options might be using a virtual machine. You can set up a virtual machine with the operating system, .NET and your app installed and configured. But still you would have to install vmware - unless you demand it to be installed on all machines before you setup your app.
But in this case, you can simply demand that .NET is installed prior to using your app, it shouldn't be too much of a problem. I think this is the best way to solve your problem without dropping .NET.
Good luck.
2+2=5 for very large amounts of 2
(always loved that one hehe!)
|
|
|
|
|
Thanks both of you... unfortunately the problem isn't American computers. I'm guessing most of them will probably already have the framework installed. But if someone's in another country and needs to use this I don't know how prevalent .net is elsewhere.
Yeah, now that I'm thinking about it I probably shoudl have used something else. But I'm not even sure I'd know where to begin. This is the only hammer I have right now so everything does look like a nail. For my future learning, what other language would you use for this type of thing?
Denise "Hypermommy" Duggan
|
|
|
|
|
C++ sure does the trick.
Delphi is probably the best choice for stepping down from .NET since it offers a great visual designer and a fat library of objects and functions, but now its future is not that sure anymore, so I don't know if I would bet on it for a project you'll have to maintain in the next few years.
As for how prevalent .NET is in other countries, I can only speak for Italy, and it's definitely prevalent here.
2+2=5 for very large amounts of 2
(always loved that one hehe!)
|
|
|
|
|
IMO if one can get hold of a recent Windows PC, one can install .NET, no matter where.
And I would not consider for a moment developing for Windows without .NET; Microsoft has taken a long time to come up with a decent framework, I am not going to ignore it for the cause of some fraction of the market not having it installed yet.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
I understand what you're saying and for the most part I'd agree with you. I can't really imagine how difficult it must have been to come up with some of these things pre-.NET. The problem here is that the 10-15 minutes it takes to install .NET 2.0 is just too long. I can't really say why because of an NDA but it really does have to be as fast as it possibly can.
Denise "Hypermommy" Duggan
|
|
|
|
|
The NDA raises the threshold for affordability which I mentioned in my first reply.
Now have a look at Xenocode as Pete suggested, it has been mentioned often in these forums, although I don't recall anyone actually using it.
Don't forget to buy a huge USB stick.
FWIW: the specs being late, was the NDA in time?
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Sorry I missed this the first time. LOL re the specs and the NDA and the timing.
Yeah, I sure wish I'd known this to start with. But I guess you learn what questions to ask as you go.
I'll give xenocode a look-see. Thanks!
Denise "Hypermommy" Duggan
|
|
|
|
|
Don't hesitate to post on any progress, Xenocode, U3 or otherwise.
Good luck.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
You might want to look into an option where the framework elements you need are compiled into your application. These are generally fairly expensive though, but they might be just what you want. Take a look at things like Thinstall[^] or Xenocode[^].
|
|
|
|
|
Just wanted to come back and thank everyone for the help. I believe we're going to be going with a Xenocode solution. I'm trying to compare their Virtual Application Suite and their PostBuild products right now but I have a feeling I'll be going with VAS. It has the snapshotting capability (take a snapshot of your system before and after and the delta is what needs to be virtualized). But the obfuscation of PostBuild is tempting.
Anyway.... thanks to everyone for all the help and pointing me in the right direction!
Denise "Hypermommy" Duggan
|
|
|
|
|
I generally agree with what other people have being saying here. I doubt this is actually achievable with .net, and the best thing is to somehow get it agreed that .net is already on the PC. Second to that would be to use one of the various app virtualisation packages, but they don't come cheap.
One thing that might be worth trying though is the .net client profile[^]. It's a cut down version of the framework that only includes the basics and the winforms/wpf/client stuff and not any of the asp.net/web stuff. I've never used it so I can't comment on it's install speed, but it's cut down so it may be faster.
Simon
|
|
|
|
|
I realize that I am late to the party, but.
Is this a run-only-once app?
If not, then the Framework Install only happens once. Thereafter loading times would be normal.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Well, it's a record keeping app so the owner would probably run it several times but it might be used only one time in an emergency location and that's when it has to run fast and that's also when the host machine probably isn't going to allow anything else to be installed. I know I'm being vague but I have to be careful with the NDA I signed.
It looks like VMWare's Thinstall does exactly what we need it to but the price is sooooo high. Anyone know of something out there that does the same thing but for less money? I know... but a girl can dream, can't she?
Denise "Hypermommy" Duggan
|
|
|
|
|
I don't know if this is possible, but what about the U3 enabled USB Sticks. Programs can be run directly from them. Is there one with sufficient capacity to hold your app and an installation of the framework?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
What's a U3 enabled USB stick? At this point I'm in the mood to try just about anything.
Denise "Hypermommy" Duggan
|
|
|
|