|
It's waiting for you to enter the data to send. That's what the > prompt means. Enter the data then use ^Z to end the input. It should then execute the command, display a return status and return to the waiting for next command state
JudyBe wary of strong drink. It can make you shoot at tax collectors - and miss.
Lazarus Long, "Time Enough For Love" by Robert A. Heinlein
|
|
|
|
|
Hello Friends
I am using visual Studio 2008 .net for creating c++ application on windowsXP but now I have to migrate our project in Linux.
Can u Please suggest me that which enviorement is suitable and professional to run application in Linux.
I saw on Internet and they suggest "Use the Visual Studio .NET IDE and Grasshopper to Deploy .NET Apps on Linux!" I hv no idea abt even GrassHopper and Is tht much for professionals?
Please suggest me something so I can proceed.
Thanks In Advance.
Regards
Yogesh Sikri
|
|
|
|
|
Such a self-contradictory post. Are you writing a C++ program or a .NET program (No, C++/CLI does not count as C++). If you're using C++, you could use one of the many cross-platform IDEs available.
See this link for a comparison of cross platform C/C++ IDEs: http://en.wikipedia.org/wiki/Comparison_of_integrated_development_environments#C.2FC.2B.2B[^]
By providing that link, I'm assuming that you've written portable code. For example, if you've used something like MFC, it is not portable to another OS. You should have used C++ and any of those libraries that are cross-platform.
If you're using C++/CLI, post your query in the C++/CLI forum.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
|
Thanks A Lot Guys.
Yogesh
|
|
|
|
|
If you are still interested in the .Net framework, i think Monodevelop is a good idea.
<a href="http://monodevelop.com/">http://monodevelop.com/</a>[<a href="http://monodevelop.com/" target="_blank" title="New Window">^</a>]
Hope it helps.Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.
|
|
|
|
|
MonoDevelop 2.2 is a good choice.
Hope it can help you.
modified 27-May-14 4:52am.
|
|
|
|
|
Hello!
I have an older C++ application that uses the Word.Application object to create and open a Word document from a template.
I have installed my application on a new server running Windows server 2008 (32bit) and now the Word-connection gives me trubble, Word starts an instance but no document is created and I recieve the error:
5151 Word was unable to read this document. It may be corrupt. Try one or more of the following:
* Open and Repair the file.
* Open the file with the Text Recovery converter.
The application works fine when I run it on my computor (XP 32bit) as well as on a Win 2008 64bit server (and various Win 2003 32-bit servers). I think there is some problem when creating and loading the Normal.dotm-file but there is no problem opening the template in Word nor opening the Normal.dotm-file that is created.
I tried Repair as well as uninstalling and reinstalling Office 2007.
Any ideas?
Thanks!
|
|
|
|
|
Are you using an #import directive with a specific version of Word?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
From what I can tell there is no connection to a specific version of Word. The same version of Word is running on the server where I get the error as on my computer and on the other server where I don't get the error...
|
|
|
|
|
By the way - the application can create and open Excel-documents without problems on the same server and the application is run interactively by a logged on user. The error occurs no matter whether the user has administrator rights or just "normal" user rights to the server.modified on Monday, February 22, 2010 10:11 AM
|
|
|
|
|
After placing a number of printouts down in the class using the Word.Application objekt I found out that the error occured doing Documents.Add(@"\\path\OurTemplate"), there seems to be some filetype association missing on the server which is in place on the other servers where the same code works fine. Changing to Documents.Add(@"\\path\OurTemplate.dot"), i.e. explicitly specifying the file suffix solved the problem. Why the suffix was not supplier from the begining I can't say - this code was written long before my time here...
|
|
|
|
|
Hi
I Planned to Start an SDI(Windows Explorer View) and then Dialog Boxes for my project.
Kindly provide some examples to start with..
Regards
Gany
|
|
|
|
|
Use the MFC Wizard of Visual Studio to create a new project.
Follow each step of the wizard carefully.
-- Modified Sunday, February 21, 2010 11:48 PM
|
|
|
|
|
HI
I need some tutorial to go with ..
|
|
|
|
|
|
Hi All
I am using ListControl for my application in Report View.
Can Any One have idea of maximum number of datas that can be viewable in list control.
Regards
Ganesh.P
|
|
|
|
|
More than enough I would say.
If not, you need to change you're UI design.
Anyway that will also depend on how many columns you're going to have.
The index is stored as an integer.
So you definitely cannot store more items than the capacity of an integer variable.
-- Modified Sunday, February 21, 2010 11:48 PM
|
|
|
|
|
If we look at the MSDN details of LVM_INSERTITEM message, the item index is a zero-based integer value. So, I guess List control is designed to support up to INT_MAX + 1 items.
|
|
|
|
|
You may insert many, many items (i.e. millions?) in a list view. However you'll quicky find that flooding the list view will slow down the UI to unacceptable levels (and will make you consider using the Virtual List-View Style].
Why don't you perform a test?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
hellogany wrote: Can Any One have idea of maximum number of datas that can be viewable in list control.
That's governed by the height of the control."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
Hi,
I have a simple program that uses WIN32_FIND_DATA with the usual GetFirstFile() GetNextFile() etc.
What I need to be able to do is find out if the directories I pass through are Indexed or not.
I cannot see an Indexed Attribute in WIN32_FIND_DATA, so that it obviously not the place to look.
Also, is there some way to programmatically set a Directory as Indexed?
Visual Studio 2008, Vista 64 Bit.
Thanks for any advice,
Bryan.modified on Sunday, February 21, 2010 4:10 PM
|
|
|
|
|
Now assuming that the target system is using NTFS, the Indexing service is running and that the folder you are interrogating is included in the list of items the service will index THEN the file attribute FILE_ATTRIBUTE_NOT_CONTENT_INDEXED[^] is your best bet.
Check Win32_ServerFeature in WMI for ID
71 Indexing Service
Then look at ISearchCrawlScopeManager[^] at ways to query the indexing service.
Hope this helps.Alan
|
|
|
|
|
Hi Alan,
looks like there is a bit more to this Indexing Service than just getting an attribute bit...
It seems to me that the FILE_ATTRIBUTE_NOT_CONTENT_INDEXED is saying that the associated file is to be excluded from Indexing, so is not too useful for my purposes.
I have been looking at the OLE DB Provider and its interaction with the Indexing Service, but this "simple" project is not going to be as easy as I had hoped.
So I will leave this one on the back-burner for now.
Thanks,
Bryan.
|
|
|
|
|
Bryan Anslow wrote: It seems to me that the FILE_ATTRIBUTE_NOT_CONTENT_INDEXED is saying that the associated file is to be excluded from Indexing, so is not too useful for my purposes.
Wouldn't the lack of the FILE_ATTRIBUTE_NOT_CONTENT_INDEXED bit being set indicate this it is being indexed?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|