|
Hello experts!!
I am importing two projects into my main project.Now i want to publish it.But after running setup my that two outside project forms doesnt work.i set all preferences and depencies of projects.What to do????
tel me way for deploying such project into one setup.
|
|
|
|
|
There is no way for us to tell with the description you've given.
But, the general checklist would include making sure that both outputs end up in the installer and that your .EXE's/.DLL's end up in the proper directory during the install. If you have one project that outputs an .EXE and the other outputs a .DLL, and the .EXE uses the .DLL, then it's assumed that your design requires the .DLL to be in the same directory as the .EXE. All you have to do is make sure your installer arranges the files to do this.
|
|
|
|
|
I created Public Assembly by providing strong name, then what is that use still i need to give reference of that assembly. Then what is the use of Global assembly ? How i utilize i know how to make the Assembly as Global but i don't know how to use, can u please any body tell me
|
|
|
|
|
Shaik Haneef wrote: I created Public Assembly by providing strong name, then what is that use still i need to give reference of that assembly.
How else is your code going to know where to look when it needs to call something in that assembly?
Shaik Haneef wrote: Then what is the use of Global assembly ?
If you have a common assembly that lots of projects use then instead of installing it many times for the many applications that use it you can install it once and all applications that need it can share the version in the GAC.
Man who stand on hill with mouth open wait long time for roast duck to drop in
|
|
|
|
|
I created Public Assembly by providing strong name, then what is that use still i need to give reference of that assembly. Then what is the use of Global assembly ? How i utilize i know how to make the Assembly as Global but i don't know how to use, can u please any body tell me
|
|
|
|
|
Hi to all,
I have a 'Child' class as follows,
public class Child<br />
{<br />
public string FirstName, MiddleName, LastName;<br />
public string Sex;<br />
public DateTime DOB;<br />
public string EducationDetails;<br />
public string Health;<br />
}
In my application, I am having multiple objects of 'Child' class storing information of each Child.
Using those objects, I want to generate Crystal Reports for each child showing his details. And then I will convert those reports to PDF files.
How to do this? How to generate multiple crystal reports from multiple objects of 'Child' class or any class?
Please help.
I appreciate any and all comments and suggestions.
Thanks & Regards,
Aniket A. Salunkhe
|
|
|
|
|
I am working on a RAT (Remote Administration Tool)... Below is an explanation and the question... If you'd like you can skip the rest and read the question
[Program Explanation]
A program working on the Admin-side sends a command to the Client-side program (through TCP/IP), and after interpreting the instruction, it does the requested action.
For example, if the Admin-side sends "list drives", the Client-side program interprets the command and sends a string[] back to the Admin as a byte[]... The admin-side would convert the byte[] to a string[] That's no big deal...
[End of Program Explanation]
[Question]
The question is... Can I send multiple Network Streams at one time, and each are separately recognized by the receiving-end? This is important if more than one task are performed at one time - such as getting a file and keyboard logs... (Since the conversion at the receiving-end needs to be made for the relevant response...
Last I tried, I sent two different Network Streams exactly after each other and the receiving end had thought that it was the same stream!! - It resulted in total chaos
[End of Question]
[Program Coding]
To send a command, there are two important methods
public byte[] Serialize(object oSerialize)
{
ms = new MemoryStream();
bf = new BinaryFormatter();
bf.Serialize(ms, oSerialize);
return ms.ToArray();
}
public byte[] Serialize(object oSerialize)
{
ms = new MemoryStream();
bf = new BinaryFormatter();
bf.Serialize(ms, oSerialize);
return ms.ToArray();
}
On the receiving end, a similar system is used, being Receive and DeSerialize...
[End of Program Coding]
|
|
|
|
|
You can never be sure that the message sent is recieved as one piece at the client.
To be sure, you may use some Start and End indentifier for each message you send. At the client side, write a function which
makes sure that stream is completely recieved and if not retrieve the remaining message from the next received.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
How to create a Pipe through the API createNamedPipe in c#, and how to do the send a message from one exe to other using callNamedPipe in c#?
|
|
|
|
|
|
how can access other controls such as button, textbox etc. in an other application from C#. For example I want to design a form that has a combo box with some data in it, and by choosing an Item from the combo box, that item will be copied to the search box of Internet Explorer (for example).
|
|
|
|
|
Member 6289976 wrote: how can access other controls such as button, textbox etc. in an other application from C#.
With extreme difficulty.
Controlling another appication requires you to use Win32 API functions to search for windows, then search those windows for other windows, representing buttons and other controls, to find the one you want, get it's window handle, craft an appropriate window message to send to it and then send the message. There is also no guarantee that the control you're "talking" to will respond to the message you send.
IE complicates this even further, because now you have to use an entirely different method, using IE's Document Object Model, to get at the controls on a web form.
|
|
|
|
|
SO that's possible...... but a little hard as you say. can you mention some basic information for solving this problem. I mean what background should I have to do this.
and thank you very much for your reply.
|
|
|
|
|
You need the Win32 API functions FindWindowEx and SendMessage at a minimum. You've got enough to Google with and find examples on how to use them.
|
|
|
|
|
Hi,
FWIW, you could tackle your particular example in quite some different ways:
1.
for Google, you can come up with the URL that specifies your search (just try it manually and see what URL Google generates when you hit the Search button; now use Process.Start(searchURL) to launch your default web browser and have it search right away.
2.
or put a WebBrowser Control on your Form and give it a Navigate() command.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
thank you luc. but I just meant an example. my question was general, I mean what if I want to access a button in photoshop for example, to make a little plugin for myself...
thank you again.
|
|
|
|
|
Then you'd use the SDK for PhotoShop to create the plugin. Not some screwed up method of "remote controlling" another application.
|
|
|
|
|
hay can you help me
i saw code here : http://www.codeproject.com/KB/IP/ListNetworkComputers.aspx
can somebody help me to make software which turns off comp on the network
i mean when i run it i select comp. and turn it off
|
|
|
|
|
If I read your question right, you want to
1) Scan your network, and find all computers on it.
2) Select a computer from this list.
3) Power down this computer, as if you were sat in front of it and gave the "shut down windows" command.
Is this correct?
Why would you want to do that?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Don't know. But I could have some fun at work with that....
Regards,
Rob Philpott.
|
|
|
|
|
I'm already having some fun myself. I'm not shutting down the "targets" workstation, but locking it while he's using it is turning out to be very funny!
|
|
|
|
|
Dave, you're a bad guy.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
So you liked it too?
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
You mean - you liked it too? Great minds and all that, Luc...
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Try this code[^] - I haven't tested it myself.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|