|
Hi
I am looking to read my Program's process memory. So I dump with taskmanager in *.dmp and but I don't know how to read in my own Visual C# program.
My task is to search into memory of program to find the strings
So i am looking open dump file similiar to "WinHex" program and then search into strings.
Regards
Simran
|
|
|
|
|
Pick one forum and stick with it. Posting to multiple forums will just get you ignored
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
hi
i search from programmer
thank you
|
|
|
|
|
I have a Windows Service written in c# that run on LocalSystem Account, and i need to check if in a network shared folder of a Server in my network exist a file...
With a File.Exist() method i can't do it because i haven't permission with LocalSystem account .
Is there a way to access to a network share with c# Service with LocalSystem Account ?
Is there some windows API that allow to do that ?
Thanks.
|
|
|
|
|
You service cannot run under the Local System account if you want to use network resources that require authentication, such as Shares. You service must run under an account setup for access to the share.
|
|
|
|
|
And what about impersonation? Do you think that would fail with a service?
|
|
|
|
|
Honestly, what's the difference? Either way, you're still using an account that has access to the network resource. I fail to see the point of going through the hassle of impersonation when you can just run the service as the same user.
|
|
|
|
|
when i m accessing database from my Default.aspx page exception raises i:e
Cannot open database "MyDatabase" requested by the login. The login failed. Login failed for user '[Computer Name/ASPNET]'.
any idea how to solve this?
|
|
|
|
|
Couple of options:
-Add the asp.net user account as a login to the Database Server (not very secure, probalby a bad option)
-Connect to the database using a connection string that uses a login account already configured on the database server.
|
|
|
|
|
and how to configure user to databse server?
i am using SQL Express 2005
my connection string is
string connString = @"server = .\sqlexpress; integrated security = true; database = MyDatabase";
|
|
|
|
|
Change your connection string to something like that, must make sure the user id is a user configured on the server and specify its password.
Data Source=.\sqlexpress;integrated security = true;database =MyDatabase;User Id=myUsername;Password=myPassword;
|
|
|
|
|
how to configure user to database
i am using SQL Express 2005
|
|
|
|
|
i am connecting though SQL Client
|
|
|
|
|
|
It is bad manners to post the same question to multiple forums
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Using a forum as your primary learning tool is not a good idea. Read the manual (Book On Line), learn to use Google to do some research[^]
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
|
Ok what I am doing is calling a web service (C#) with javascript. I use the .innerHTML to get all the html within a certain div (this works fine). I then pass that data over to the webservice (which accepts a string array)..
First I make a javascript array (first contains the path to write the file, second position contains the .innherHTML).
When that gets passed for some reason it doesn't like all the HTML coding. It gives an error. If I just use PLAIN text (I.E. no < > / \) it works perfect.
Web service:
[WebMethod(Description = "Creates a file. First string in the array is the path and second string is the data.")]
public string Update(string[] html)
{
if (html.Length > 0)
{
try
{
string path = String.Format(@"{0}", html[0]);
using (FileStream fs = new FileStream(path, FileMode.Create, FileAccess.Write))
{
using (StreamWriter sw = new StreamWriter(fs))
{
sw.WriteLine(html[1], Encoding.ASCII);
sw.Close();
}
fs.Close();
return "Updated situation report.";
}
}
catch (Exception ex)
{
return "Error: " + ex.Message;
}
}
else
return "Incorrect parameter lengths.";
}
I'm guessing the streamwriter cannot write those types of charactesr to tmy file? How would I fix this?
In casey ou are wondering this is what should be in the string:
THIS IS MY DOCUMENT<br>
<span style="color: red"> IT CONTAINS COLORS </span><br>
AND OTHER CRAP
modified on Thursday, March 25, 2010 12:59 PM
|
|
|
|
|
The problem was the < > signs and such. I used a replace function on the javascript side. It seems in the code behind on the web service it went ahead and converted them to the actual symbols itself
|
|
|
|
|
Hi All,
I would like to provide secured licensing mechanism to my windows application setup. I tried with Visual studio and Installsheild. I found the list of installation tools in the below link. I found its hard to conclude which software gives the best way to provide secured licensing mechanism. Please suggest me the software which satisfies the requirement.
http://en.wikipedia.org/wiki/List_of_installation_software[^]
Thanks alot in advance.
|
|
|
|
|
What are you looking for? those are installation software. not licensing software.
|
|
|
|
|
I'm new to provide licensing to the windows application. I think, license will be provided while we are creating setup. Are there any licensing softwares which provide license? If they are, how to integrate secured licensing mechanism to the setup. Please let me know if you require more clarification. Thank you.
|
|
|
|
|
use the search feature in CodeProject to see some articles. Trust me...
the best way to learn is to start learning.
|
|
|
|
|
Hello,
I am searching for BPM (Beat per Minute) Library. I want to use it in my robot, using c# only.
I found "adionsoft.net" but it's not good.
Any Help.
Tx.
|
|
|
|
|
What do you need to do? Get BPM from an audio file, parse a MIDI file for tempo data or MTC, generate beats for a given tempo...
All of these things (maybe with an exception of the first) are reasonably trivial to code from scratch and I don't know of any library for any of these.
DaveIf this helped, please vote & accept answer!
Binging is like googling, it just feels dirtier. (Pete O'Hanlon)
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
|
|
|
|