|
Hi there,
When building a WinForms project, im getting this error :
Unable to create a manifest resource name for "Forms\MainForm.resx". Could not find file xxxxxxx
I checked and i saw that the file MainForm.resx is not missing. Can anyone tell me what's the problem here?
Thank you.
|
|
|
|
|
What file is file 'xxxxxxxx'?
|
|
|
|
|
that is the one missing, according to the error message.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
modified on Friday, June 10, 2011 11:32 AM
|
|
|
|
|
*grumble* whats the file *grumble*
coffee anyone?
|
|
|
|
|
I can't tell what it is about, it is missing after all, and the name isn't telling us anything, is it?
BTW: too much coffee isn't good for your nerves.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
modified on Friday, June 10, 2011 11:33 AM
|
|
|
|
|
Maybe it is a bit, maybe his source files where moved around, it is looking in a folder called Forms isn't it..?
|
|
|
|
|
How to create a wap browser,It can visit the wap web site.
which one has the source code?
|
|
|
|
|
Member 4709907 wrote:
How to create a wap browser,It can visit the wap web site.
which one has the source code?
[sarcasm] Do you want to create it yourself, or do want me to send the codez? [/sarcasm]
|
|
|
|
|
Both,if you are willing to help
|
|
|
|
|
I've copied and used code to impersonate a user with success from the following site:
http://support.microsoft.com/kb/306158[^]
Impersonating a normal user account with a password works well.. but I want to impersonate the SYSTEM account. What should I put in as a password? User="SYSTEM" Domain="." Password= ????
Thanks in advance,
Dan
|
|
|
|
|
Hi all i am new in .Net world i want to create simple Window Form project and i want make its trial version only for 10 days or 30 days..
please reply me if anybody know
thanks in advance
|
|
|
|
|
Use third party tool, try .Net Reactor
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Well if its just simple then store the first use date in the registry and check that with each load of the aplication
Not secure thou.
You want something secure you should probably look into 3rd party apps, but they will most likely cost you money.
Or encrypt something somewhere yourself, but given that you posted this question, prob best to avoid that approach for now
My opinion is... If someone has already posted an answer, dont post the SAME answer
|
|
|
|
|
will this code leak the memory :
public class ABC
{
static Image aimage1;
static Image aimage2;
static Image aimage3;
public static Image AImage1
{
get{ return aimage1;}
set{ aimage1 = value;}
}
public static Image AImage2
{
get{ return aimage2;}
set{ aimage2 = value;}
}
public static Image AImage3
{
get{ return aimage3;}
set{ aimage3 = value;}
}
public static void Load()
{
AImage1 = Image.FromFile("C:\a.png");
AImage2 = Image.FromFile("C:\b.png");
AImage3 = Image.FromFile("C:\c.png");
}
}
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I dont think so, but not sure.
Thou using image.fromfile() makes that files readonly and can be a pain when doing any deleting functions. i usually find it best to create the image from a stream
My opinion is... If someone has already posted an answer, dont post the SAME answer
|
|
|
|
|
musefan wrote: Thou using image.fromfile() makes that files readonly and can be a pain when doing any deleting functions
what do you mean ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I fount that having code such as
Image image = Image.FromFile("C:\\pic.png");
meant that while that image was in memory, the file could not be deleted. Appears to be a reference to the actually file (or something)
Maybe im mistaken but im pretty sure that was an issue
My opinion is... If someone has already posted an answer, dont post the SAME answer
|
|
|
|
|
musefan wrote: Maybe im mistaken but im pretty sure that was an issue
No your not mistaken.
Image.fromfile keeps the file locked until the object is disposed off.
Ran into this when I was displaying an image in a picture box with this function. Ended up using the stream method like you said.
|
|
|
|
|
Thank you for the good, simple explaination of what i was trying to get at
My opinion is... If someone has already posted an answer, dont post the SAME answer
|
|
|
|
|
musefan wrote: Appears to be a reference to the actually file
hehe no, I think it does the same thing as stream. Will you tell what was the thing that made you think that ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I found:
using .FromFile() causes problems and
using .FromStream() did not cause problems
what more can i say, i didnt need to look into it anymore
My opinion is... If someone has already posted an answer, dont post the SAME answer
|
|
|
|
|
okay, see that was just a little part of my class. Actually im reading the images like this
BL = new Bitmap(new MemoryStream(tmp_br.ReadBytes(tmp_br.ReadInt32())));
Since i wrote that code(in first post) in CodeProject, so i thought to write Image.FromFile()
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
No it won't leak as such. You have to try pretty hard to get .NET to leak properly.
Image is disposable though, so you might want to dispose of images when you're done with them otherwise they might hang around longer than you want. (that'd release the file too).
Regards,
Rob Philpott.
|
|
|
|
|
yeah i went down the dispose route at first when using .FromFile() but found it more hassle then creating one function that returns an Image from a stream by passing the filepath
My opinion is... If someone has already posted an answer, dont post the SAME answer
|
|
|
|
|
yes
http://www.codeproject.com/script/Forums/View.aspx?fid=1649&msg=2912374
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|