|
Hello,
I'm deploying an application in windows 98. My application uses some crystal reports. I'm using NON-EMBEDED reports in my application and have included rpt files separately in setup project. My application is running fine but throws axception (load report failed) when i try to open report. I already have included Merge Modules in my Setup project for Crystal Report with License Key. Same application is opening crystal reports fine when i deploy in Windows 2000 or XP. But why is it not Loading report in Windows 98.
If anyone has an idea, what else i need to open report after deployment in Windows 98, please reply.
thanks.
|
|
|
|
|
You might need to distribute updated MSVCRT merge modules (and related MSMs). The managed Crystal Reports are completely managed and do depend on somewhat newer VC++ libraries. Win98 might now have these, depending on what programs are installed. Including them won't hurt, though, besides making the MSI slightly larger (not much).
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
I would like to develop editor. This editor needs to open a HTML file and edit the content and save it. If the user needs to see HTML command then editor will able to see it.
Could you advise any one which is the good idea and how to finish faster way?
Thanks in advance
baski
|
|
|
|
|
You can use the WebBrowser control, often refered to as Internet Explorer. There is a property that puts the WebBrowser control in design-mode. This (or MSHTML, which the WebBrowser control hosts but doesn't provide as rich an API) is often what WYSIWYG editors use like FrontPage, VS.NET, and several others. You can also create interop assemblies for other interfaces that aren't in Microsoft.mshtml.dll to better control things, like drawing grips/anchors for controls and what-not.
There are some articles dealing with that topic here on CP as well as on the 'net:
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
Hi,
Thanks for your information. I would like to clarify something, Actually I have windows forms (like notepad), this notepad able to open a HTML file then user will able to see the text only but source documents , where to reside? Actually, If the user need to see source document, they able to see. Could you give me which one is better idea and finish it faster?
Thanks in advance!!
bask
|
|
|
|
|
There's two questions you need to ask yourself:- Do your clients even know how to write HTML?
- Do your clients want to write HTML?
Using the way I mentioned gives you a WYSIWYG editor where users can drag and drop pictures, type paragraphs easily, etc. You can also provide buttons and use either the OLE commands or manipulate the DOM directly (I recommend the first method, for which there is documentation in the links I gave you).
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
How to create a policy deployment package ensure my .NET program(*.exe) could run in IE, needn't adjust Zone Security at user's computer one by one.
wraps a security policy level into a Windows Installer Package (.msi file) that can then be distributed.
all user get the Windows Installer Package (.msi file) can run my program directly,needn't to adjust Zone Security?
|
|
|
|
|
If you open the Microsoft .NET Framework Configuration snap-in in Administrative Tools and right-click on the root node, you can create an MSI from a policy that you choose. This might overwrite the entire policy, though, so you'll definitely want to test that because you don't want to overwrite any code groups the user or administrator has set up.
Another way - which is what I do in our install and preserves what's there - is to create a custom Installer class that programmatically adds the code group (checking first to see if one with the same name already exists) and removes it upon uninstallation. See the System.Security.Policy namespace for details.
You can then use VS.NET's installer project to add the assembly containing the installer. Add a custom action that for the assembly and tweak the command line (if you want to handle command-line parameters in the Installer class.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
|
What kind of question is this? Of course I meant what I said. What is your question even in regard to?
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
Hello,
I would like to learn C#. I am an intermediate level C++ programmer. Currently I am looking at these books that I heard good things about:
Programming C#, Third Edition by Jesse Liberty
(I am planning on purchasing this book to learn C#. Is there a better one?)
Programming Windows with C# (Core Reference) by Charles Petzold
Windows Forms Programming with C# by Erik Brown
I want to buy one of the above two books (either Petzold or Brown) to learn C# with .NET. Has anyone read either of these books and can make a recommendation?
Any other good books that anyone can suggest?
Thanx for the help.
-Flack
|
|
|
|
|
Gosh... You really are doing the rounds. It looks like your going to have a lot of reading to do!
I've not read the book by Jesse Liberty so I cannot comment to much on it.
The book by Petzold is really a reference book and only really spends the first chapter on C#, the remainder of this very thick (1290 page) book is the .NET Framework in regard to Windows Forms programming. I highly recommend this book for your library if you are going to do Windows Forms applications.
I good introduction to C# is "Microsoft Visual C#.NET Step by Step" as it goes through all aspects of the language and gives a little introduction to many parts of the framework (including ADO.NET, Windows Forms and Web Applications). This book is especially good because there are a lot of keywords that exist in C++ and C# but mean different things. You don't really get that in the other books mentioned.
--Colin Mackay--
"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)
Enumerators in .NET: See how to customise foreach loops with C#
|
|
|
|
|
I've just gotten "Inside C#, second Edition", by Tom Archer, and it's every bit as good as they said it is.
"if you vote me down, I shall become more powerful than you can possibly imagine" - Michael P. Butler.
Support Bone
|
|
|
|
|
I happen to have all three of these books (What can I say? I'm a bookaholic).
Programming Windows with C# by Petzold is quite good, but most of it is not specific to C# (though all the examples are in C#). He alternates chapters between Windows Forms controls and GDI+. If that's what you're after, you won't be disappointed.
I was given the other two by my dad, who also uses C#.
Programming C# by Liberty (I have the 2nd edition) was very helpful to me. He starts right from the beginning and manages to cover a good number of interesting topics. He assumes the reader has some knowledge of programming and makes direct comparisons between C# and C++.
Windows Forms Programming with C# by Brown was not my cup of tea. (Keep in mind that I don't drink tea, but still...) There seemed to be quite a bit of hand holding, but that's not to say it's a bad book or doesn't contain useful information; It's just not a style of writing I care for.
Charlie
if(!curlies){ return; }
|
|
|
|
|
hi
i making a program to make dial-up connection with c# and connecting to the
net ,i dial with numbers stored in database , i use win32 API
like(InternetDial() ,InternetHangUp()), but i have two problems
1)InternetDial is dialing with default network connection on pc.
i need to make it taking numbers from database.?????
2) i want to create a new dial-up connection on pc, idont now what
function i can use
thank u for advanced help
send me on hz_csharp@hotmail.com
|
|
|
|
|
QUIT POSTING THIS QUESTION!!!
You have asked it about a dozen times now. I'm the only one that's replied, implying that no one really knows the answer SO YOU HAVE TO FIND IT YOURSELF! I've given you pointers and now you have to complete the research. POSTING THE QUESTION OVER AND OVER WILL NOT GET YOU AN ANSWER!!!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
Is there any particular reason?
I was under the belief that BOOL was cast to bool.
Wouldn't they take up different spaces in memory?
Cheers
Cata
|
|
|
|
|
BOOL is not a type, its a typedef.
Only any normal person using C would define BOOL as char, not int.
In Windows headers BOOL is defined as an int, blame MS.
leppie::AllocCPArticle("Zee blog"); Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.
|
|
|
|
|
I'm guessing but suspect that a Bool is an int because an int is 32 bits and that is the size that a 32 bit machine can handle with the most efficiency.
It would take more instructions to deal with the Bool if it were a byte.
I work on an embedded project using a Motorola 68K (16bit) and a Bool is defined as an int that is also 16 bits. On 8 bit controllers a Bool, if defined at all, is a char or 8 bits. On a few controllers such as the 8051 types where memory is very limited, they have memory locations that only consist of single bits and can be read or written in a single instruction. In that case a Bool is defined as a bit.
Ken Galer
Electrical Engineer
Preferred Utilities Corp.
Danbury, CT 06810
|
|
|
|
|
I have found the EnumFORMATETC method for IDataObject, and they appear to have nothing in common. How does this:
HRESULT EnumFormatEtc(
DWORD dwDirection, //Specifies a value from the enumeration
// DATADIR
IEnumFORMATETC ** ppenumFormatetc
//Address of output variable that receives the
// IEnumFORMATETC interface pointer
);
Get turned into this:
IEnumFORMATETC OleEnumFormatEtc([in] int dwDirection);
i'm very fuzzy on this.
Cheers
Cata
|
|
|
|
|
By inspaceing the COM interfaces as per defined by the IDL interface.
leppie::AllocCPArticle("Zee blog"); Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.
|
|
|
|
|
Trying to find articles on it, but not having any luck.
Looking through MSDN atm, but do you have any other links?
Cheers
Cata
|
|
|
|
|
HRESULT EnumFormatEtc(
DWORD dwDirection, //Specifies a value from the enumeration
// DATADIR
IEnumFORMATETC ** ppenumFormatetc
//Address of output variable that receives the
// IEnumFORMATETC interface pointer
);
the way I see it, this should tranclate to:
<br />
int EnumFormatEtc(<br />
int dwDirection,<br />
out IEnumFORMATETC[] ppenumFormatetc<br />
)
the method is expected to return an int that deffines the state of the equasion, not a structure. How can it run? Every other method I have looked at translates:
XXX ** type
into an out array.
Could someone explain this to me?
Gratz
Cata
|
|
|
|
|
I'm sorry I dont know COM, I suggest you ask this in the COM forum.
leppie::AllocCPArticle("Zee blog"); Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.
|
|
|
|
|
I'm not entirely sure on this, while I have encountered it before.
I'm just looking for clarification
in: Just put the variable in
out: public void mymethod(out int X);
in/out: use ref?
Cheers
Cata
|
|
|
|