|
Try this configuration
YourProject
|--Bin
|----Debug
|--Convert.exe
|--Files used by convert.exe
|--Directories used by convert.exe
|
|
|
|
|
You need to specify the COMPLETE path to your convert.exe, otherwise
the File System Conversion Utility (convert.exe) in Windows
is started.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
Thanks that solved it
I wonder why in the command line it calls the right convert.exe and not the file system conversion utility.
|
|
|
|
|
thestonefox wrote: I wonder why in the command line it calls the right convert.exe and not the file system conversion utility.
That's a mystery only you can solve by examining your PATH
environment variables in the different scenarios
Cheers,
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hello,
I'm trying to select only scanner and want to set the DPI to 100 and automatically scan without showing the scan dialog.
Any idea?
Thanks
jugal
|
|
|
|
|
Hi! I want to know something if anyone can help me. I want to create folder during the installation of the app, and I want the user to be able to select the folder during the installation. Also, I want to have an option for the user, if she wants, to be able to change the selected folder, after the installation is finished. Any help?? Thanks in advance
|
|
|
|
|
You can't do this with an msi, as far as I know. You'd do better to just have your program ask them the first time it is run.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
OK. Thx. Just one simple question, I guess. If I want to have like a window what I need to run just the first time when the user will start the app, and after that to have the main window running, how I can do that, cause I haven't done anything similar so far. Thx in advance
|
|
|
|
|
hi
In Fact you can do some post/pre/during install operations when you are creating your MSI with visual studio (currently i have VS 2005)
It's called a Custom Action
You can call a custom action When Installing, Validating , Reparing installation or Uninstalling
So You can attach an executable file to do some work (e.g creating folder, cleaning etc.)
This is a sample from the msdn web site :
http://msdn.microsoft.com/en-us/library/9cdb5eda.aspx[^]
|
|
|
|
|
A custom action sounds like a good idea. The other way is to store something in the registry to tell you that you're been run and performed the action before.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
hi all...i have a hyperlink in a datagrid...the hyperlink navigate url is set in the code behind when a user clicks on a record in the datagrid...i want to know if there is a way to remove the redirect pages menubar and scrollbars from the navigate url?
living life on the flip side
|
|
|
|
|
I have an existing solution which I would like to add class files to or update the files.
The solution has numerous projects in it, and would like to add more classes to it as the code progresses, but use a code generator to do so (adding new tables and fields etc). Is this possible?
|
|
|
|
|
Of course. You can add code to your solution whenever you like, from what ever source you like.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Maybe I did not make myself clear.
I want to create a code generator, which will parse an existing solution, parse the projects and add or update a class in the project (such as to add fields from a database to a list of field constants in an existing class).
|
|
|
|
|
OK, sounds like a lot of work, I'd look into existing ORM frameworks, which do that stuff for you, and already exist.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
hi friends
i want to design an application that user can input his/her favorite c# commands and after press execute button his/her entered command(s) execute.
i dont want to design a c# compiler.
i have a form that on this form has one textbox and one button.
user input his/her c# command on textbox and press button. now i want to execute and compile his/her c# command dynamically.
i hope you understand what i need.
thank you
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
|
Have a look at Microsoft.CSharp.CSharpCodeProvider
----------------------------------
Be excellent to each other
|
|
|
|
|
There are basically two options that I think both previous responses have covered, and those are either:
a) Scripting, using a C#-like scripting implementation (I have heard of at least two, probably more)
b) Dynamic compilation, which allows you to actually use the built-in (and supported) C# compiler to compile true C# into miniature in-memory assemblies
And if you want to consider it a third, there is actually one of those scripting languages that compiles, combining the two ideas.
This is something I've been wanting to look into so I've been keeping my eye out for stuff, but haven't actually tried anything out yet.
Let me know how your search goes!
Logan
“Time and space can be a bitch.”
–Gushie, Quantum Leap
{o,o}.oO( Looking for a great RSS reader? Try FeedBeast! )
|)””’) Built with home-grown CodeProject components!
-”-”-
|
|
|
|
|
Hey guys...
I've got a problem, a few months back i wrote a console app to communicate with fingerprint scanners using the manufacturers SDK(C++ & .Net wrapper) for use with our older clarion software.
Its been live a while now and hasn't had any problems, until a customer with vista tried using it! I get the error "CLR error 80004005, Program will now terminate" on start up.
The OS is Vista Business, target framework is .Net 3.5(yes it is installed on that machine), build was release and not debug.
<update>
i tried recompiling the app to target .Net 2.0 and 3.0 and the problem persists. From what ive read on the net vista is shipped with .Net 2.0 and 3.0 built in, so somehow this must be screwing around.
ive also tried sfc /scannow from cmd running as admin which scanned the system and found no problems.
im at a loss, i dont know what else to try accept install my dev environment on that machine, but it that somehow fixes the problem im screwd cuz i cant go around installing VS2008 on client machines.
</update<
Any ideas how this can be fixed?
Thanx
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.passion != Programming)
modified on Wednesday, August 20, 2008 8:23 AM
|
|
|
|
|
From a search from Google, it may appear there are some beta software left over.
Do you get any more info? Can you attach a debugger to the app?
|
|
|
|
|
what do you mean by beta software?
i get nothing else than CLR error 80004005, i also googled and saw there might be compatibility mode issues.I disabled it, tried Win 98, XP sp2, server 2003 compatibility but still getting the same thing. Tried running as admin aswell.
im going to install my dev stuff(VS 2008 etc) on that machine now and see if i can debug it...
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.passion != Programming)
|
|
|
|
|
suppose i have a range of 3*3 cells then in only two cells have data, is there any method in vsto using c# such that out of the 9 cells the method returns only 2 cells which have data in an array.
“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
|
|
|
|
|
hello,
I just want to use datagridviewlinkcolumn in datagridview for edit ,dalete but there i can't find the event for this . what can i do for this please give me solution for this problem..
|
|
|
|
|