|
hi,
try to add through the reference folder which is avilable in your application.
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
Please clarify what do u mean by the reference folder, do u mean the folder which is present along with the installer while building from which installer program picks up the files and creates the MSI. If yes, then i did add the dlls from that folder, actually all other dlls work fine, its just a problem with mfc70.dll.
Thanks for the prompt reply.
|
|
|
|
|
hi,
tell me how u are adding mfc70.dll file in your application.
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
I add all the files, whether dlls or other files to a folder named "Application" and keep it in the same directory as the setup project. Then in the setup project, i add the files to the application folder, by right clicking on the Application Folder->Add->File and then browse to the Application folder and add the mfc70.dll and other files from there. Am i doing something wrong? I have also made a hierarchy of folders inside application folder, and i add the files to the folders with the same method.
Thanks for your response.
|
|
|
|
|
hi,
ya ya i got everything. Forget about application folder in your setup program. What i am asking is How did you add that .dll file in your project(source project(solution)).
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
hi,
don't feel bad sure i will help you out.
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
i just copied the file from the c:\winnt\system32 folder into my project
|
|
|
|
|
hi,
Is that file is a valid assemly or component ?. What is the real use of that .dll file ?
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
hi,
Is that file is a valid assemly or component ?. What is the real use of that .dll file ?
If you see a your solution explorer you can see a References(lite brown color) folder. Please try to add your file in that folder.
Right Click and choose Add reference option. then try to browse the location of your .dll file( c:\winnt\system32) and click on open button.
Then tell me it is added properly or give you any error message.
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
You do not include MFC. You use a merge module for that, and it should never be registered from a directory other than the [SystemFolder] . Merge modules take care of this for you.
Besides, mfc70.dll - or any MFC library - does not export DllRegisterServer so it is not registerable.
System DLLs should only be added via merge modules, and just about all of them are. This makes sure that DLLs are installed and uninstalled (if applicable) correctly.
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Sustained Engineering
Microsoft
[My Articles]
|
|
|
|
|
Hi,
How do we get the exe name and location of a console/window application in C# ?
Any help will be greatly appreciated.
Thanx
saleem
|
|
|
|
|
Take a look at the Application class which provides some static methods to retrieve the information you want.
www.troschuetz.de
|
|
|
|
|
See System.Diagnostics namespace Process class etc. which lets you get all kind of data regarding the process. You will also be able to iterate through the collection of all the processes running on the system.
|
|
|
|
|
you can use
AppDomain.CurrentDomain.SetupInformation.ApplicationBase
and
AppDomain.CurrentDomain.SetupInformation.ApplicationName
to determine your applications location and name.
|
|
|
|
|
there are two pictures,i want make ALPHA ,how can i do?
i want a sample. thanks!
|
|
|
|
|
|
|
HI .
I have a Web Page , i want to access an IP and Port through this Web page . I want to send and recive data on that IP and Port.
1... Is ASP.NET is better for Web page writting.
2... IS i need a web service that Connect to that IP and Port. and send and recive data.
if yes then how can i handle soockets in Web Service.
or is there any otehr way to connect through web page .
my Client is written in VC++ 6 ,with which Web page will connect .
thanx
Regards.
|
|
|
|
|
(1) I am not sure whether or not an asp.net page will let you have native code to connect to a socket. I think it should. Anyway, you can always have call to an external COM object or a .net library which will encapsulate the socket part.
(2) asp.net will offer better performance and faster development for complex web pages. For a simple web page it will hardly make any difference what platform you are using.
(3) You can handle sockets by using the Socket class in .net class library (or CSocket in MFC). Read on MSDN or several articles on Code Project about how to use sockets.
Best of luck !
|
|
|
|
|
Hello,
can anyone help me in solving this issue.
I have a string like
"76/78NagdeviSt2ndFlrNagdeviM3" using regular expressions
I would like to change it to
"76/78 Nagdevi St 2nd Flr Nagdevi M3"
Thanks in advance.
Regards,
Abraham
|
|
|
|
|
First can I suggest you get hold of Expresso or one of the other tools that lets you play with Regexes so you get the correct one.
I believe you are trying to insert a space in front of every upperCase character, so the simplest Regex is ([A-Z]) . Unfortunately however you cannot just Replace these as then you would end up with 76/78 agdevi t2nd lr agdevi 3
<br />
Regex regex = new Regex("([A-Z])");<br />
input = regex.Replace("76/78NagdeviSt2ndFlrNagdeviM3"," ");<br />
Instead use a MatchEvaluator. This example demonstrates named targets, which is not the simplest way to achieve what you require, but does scale better with more complex Regexes.
<br />
private string UpperEvaluator(Match match)<br />
{<br />
return " "+match.Groups["upper"].Value;<br />
}<br />
<br />
public string AddSpaces(string input)<br />
{<br />
Regex regex = new Regex("(?'upper'([A-Z]))");<br />
return regex.Replace(input, new MatchEvaluator(this.HtmlStripEvaluator));<br />
}
|
|
|
|
|
dear all,
i need to write a program (.dll or .other) in C#,
i'll use to make a query to a database (MS Access) through IE (Web)
1. I Have a database (MS Access)
2. My friend will use my site to take a string from database using parameter e.g http://mysite/grade.something?id=bryan
3. i'll use the parameter bryan to make a query to database
4. the result will be sent to my friend (he'll use get method)
5. the result must be free from HTML tags (only the result)
anyone can help me...
i realy have no clue on this
i need to write it in ASP.NET (C #)
thanks...
Alit Atmaja
|
|
|
|
|
Perhaps you should ask this question in the ASP.NET forum, then?
Seems to be a more appropriate place.
Regards,
mav
|
|
|
|
|
Yes Alit, please use asp.net forum for such queries. For this time I have the following reply:
Any Web Server based response would contain some amount of HTML irrespective of whether you are working with IIS, Apache, a .net Web Service or whatever… So you can’t have that condition.
But with asp (or asp.net) you will have enough luck, to custom format your returning HTML. So you can embed your answer in any HTML tag of your choice and let your friend know the tag name to parse for getting the answer. The rest of the HTML can be ignored.
|
|
|
|
|
Is there anyone willing to help me figure out how to get a basic restaurant program working? it uses a microsoft access database and has basic things such as showing a menu, showing an order etc. If anyone will let me email them the files so they can take a look to see where i have gone wrong it would be much appreciated.
Thanks!
|
|
|
|