|
The CR Engine is a managed library that is referenced in your project. Most client computers that dont have the .NET SDK will lack these .dll's, which is why you need the merge module. 26mb sounds about right. You can create an installer just to install the merge module, then have your end users download it only if they experience problems.
To do that, just create a setup project, then in the solution panel right click and select add merge module. Browse to the CR_2005 merge module and select it. This will install the merge module only. Note, as I said before, your clients will need to have admin access to install.
If you need anything else, just let me know.
Aaron
|
|
|
|
|
I am reading this book, called MCAD/MCSD.NET Developing and Implementing Windows-Based Applications with Microsoft Visual
C# .NET and Microsoft Visual Studio .NET, the program ends on page 230. This code is from the book, and I have no clue what is going on. Do you have a clue to what might be the problem?
|
|
|
|
|
the problem is, that the compiler can not find the class rtbText inside the "known" namespaces. you will have to locate the line(s) where this error appears and modify them as required. Since i don't know the rtbText class i'm not able to tell you how to edit the code exactly. In general you should make yourself a bit more familiar to oop and .net
I've been googling for rtbText and found some examplecode which looks like rtbText were an object of RichTextBox class. If it is the same in your case, you probably are using rtbText as a type in a declaration or something similar.
Just review the code and maybe post the line where the error appears.
Good luck,
mik
|
|
|
|
|
Hello
1- Right Click on the field name that's causing the problem -you'd see a blue zigzag line beneath it- and see if there is a resolve MenuItem to the top of the ContextMenu that appears. If so, click on the solution in it. The problem was that you're missing a using directive.
2- If not check the references of your project and compare them to the ones in the book. You are missing a reference to a library.
Regards
|
|
|
|
|
Hi
Can anyone tell me how to embbeded C++ code in CSharp in application?
Can anyone help me in this matter.
Hoping for a favorable reply
From
Phijo Mathew Philip.
|
|
|
|
|
what do you mean?
if you want to use pointers in c# you must write the code in a unsafe block like this :
unsafe
{
int *i;
}
but in first you must set the option of your vs.net to use unsafe blocks in
Compiler Option .
i hope this be useful.
|
|
|
|
|
Hello
C++ is called unmanaged code, while C# is managed. They are two different languages despite the similarity in names. C++ compile to machine language while C# compile to IL language then to machine language at runtime. That's among other differences.
Whatever you want to do in C++ -excpet very few cases like inline assembly-, you still cane do with C#. For example:
1- You can make P/Invoke callse to old C++ libraries and Windows API functions
2- You can use pointers as Erfi showed you
3- You can include a C++ dll project in your solution and reference to it. Write your C++ code in that library.
4- you can reference to COM objects written in C++.
Regards
|
|
|
|
|
hi,
i want to send/receive some commands to one hardware device through GPIB card(one end is connected to System(USB port) one end is connected to device) in c#.net .
i wnat to know in which way i can communicate the device and what r requried fields to access the hardware through GPIB card.
plz send sample code for that .
it's very usefull to in my application.
Thanks
prem
Hi,
Thanks, if u think it's good.
otherwise sorry.
|
|
|
|
|
Hello
To access any port -Serial, LPT, USB, etc...- or device -eg. modem- in C3 you follow these steps:
1- Call Windows API CreateFile() function with the device name as the filename. ie. CreateFile("usb0001") for example.
2- Get The handle of the created file.
3- Supply that handle to the constructor of a FileStream object.
4- Use that FileStream object to read and write from/to the port/device.
And no, you can't construct a FileStream from the port directly. Sorry!
Regards
|
|
|
|
|
d
modified 22-Dec-14 16:57pm.
|
|
|
|
|
It is the class instance destructor
|
|
|
|
|
It's a destructor for the class. It will be called when the garbage collector is about to remove the object.
Generally you should only use a destructor in a class that implements IDisposable.
---
b { font-weight: normal; }
|
|
|
|
|
It is commonly referred to as a destructor and borrowed the syntax from C++. In actuality, it is a shorthand notation for the compiler to generate a Finalize method. It should really only be used if you are implementing IDisposable.
See Implementing IDisposable and the Dispose Pattern Properly[^] for a more detailed explanation.
|
|
|
|
|
I have a panel in which I have to Assign a image at run-time, which should be stretched.
but when I am assigning an image it is not stretched
and the image left and top is not 0.
what should be done
please help.
|
|
|
|
|
Hi,
I would place a PictureBox on the Panel, setting the Dock and SizeMode properties to Fill and AutoStretch.
Regards
|
|
|
|
|
Right, I dont know how much of you guys are experts in the cellphone programming indutry but I need help. My employer want me to write a program that will activate a irrigation sytem in a certain field when messaged by a cellphone. I have a general idea of what to do but what would be the best way. The irrigation System is allready controlled by a computer program. I would just like to know ho to call these methods via cellphone. I can program cellphones in Java and C#.
-- modified at 9:02 Wednesday 6th September, 2006
Oliekrokenosterpikkelikkeastrysvoel
|
|
|
|
|
Hmmm smells a little bit like a programming question
If you have smart-phone or pocket-pc phone you can install .NET compact framework, so you can deploy C# apps on it (and call web services etc).
"For fifty bucks I'd put my face in their soup and blow." - George Costanza ~ Web SQL Utility: query Access, SQL server, MySQL. Stores history, favourites.
|
|
|
|
|
Hmm. Sounds like you need an SMS feed into a PC, that then decodes the messages (possibly checking the sender's number) and then communicates with the irrigation controller.
[Aside: Can the cellphone communicate (bluetooth?) with a PC under your control?]
And it does sound like a programming question...
Steve S
Developer for hire
|
|
|
|
|
Sending an e-mail from the cellphone to a mailbox, then have a program read new e-mails from that box and call the control programs?
|
|
|
|
|
Hi
If you want to activate this using the SMS then You have to take a device by which you can connect SIM card to your Irrigation system's server. Then you can send SMS to that SIM number. As soon as the SMS is came to SIM that device has some interface which read that SMS from SIM and transfer it to the Server's port, then You have to write a bridge program which reads the SIM message from the interface given by the device and Pass certain command to your Irrigation system.
Let me knoe if you want any more help.
Regards
Tushar kothari
|
|
|
|
|
I read Bill Pierce's article (Lat Lays Flat) where it explains how to use GMap Control in web pages. However, I'd like to know if it's useful to create a similar map within a standard C# application (.EXE) and not only a web browser like Firefox or Explorer. For example, invokating Gmap in a picturebox.
Thanks
Kurtz
|
|
|
|
|
If they still require you to use a Google API key, it won't be possible.
|
|
|
|
|
Thanks, but, could I manage it (the key) in my application?
Kurtz
|
|
|
|
|
What they do is check where the request comes from and if it matches the URL of the key; this means that you won't be able to implement a pure windows application.
What you could do is have a web application and the windows one will use web pages from it.
|
|
|
|
|