|
|
Thanks.. 
|
|
|
|
|
hi.I had a question about using vb and c# in one solution. assume i have 2 projects in one solution one in vb and the other one in c# and i want to call one of these projects in another one is it possible?
thanks.
|
|
|
|
|
yes thats why Microsoft developed CLR
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 know why Microsoft developed CLR.my question was another thing , i want to know what should i write in my project which is in vb to call a function in another project which is in c#?
if u help me that is very kind of u.
|
|
|
|
|
just use as normal, add reference of c# project in the vb project and all goes same
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
|
|
|
|
|
|
Hi all,
I am looking to process images (acquired from video) in C#, and am in need for "set of tools" to let me do it. I need to process image - basically to some contrast and smoothing operations, edge detection, blob analysis, etc. I looked at AForge, and while it's nice and easy to use in C#, it doesn't necessarily fit the bill.
What else is out there? It needs to be comprehensive, well documented, preferably there is some kind of support for it, and does not need to be freeware.
While it would be nice that solution is C# library, it doesn't have to be - as long as I can interface it with C# (API, etc.) it will do.
Thanks a lot!
|
|
|
|
|
|
I wrote a series of image processing articles to create a C# library, it's right here on code project. There's at least one other image processing article, that seeks to teach less, but does more than mine did, so you should check both.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi all,
How could I transform
\"C:\\Documents and Settings\\Administrator\\Local Settings\\Temp\\image0.jpg\" to
"C:\Documents and Settings\Administrator\Local Settings\Temp\image0.jpg"
P.S This is a string inside of tag. The \\ in file path made it failed to locate the .jpg file.
Thanks,
modified on Wednesday, February 25, 2009 12:12 AM
|
|
|
|
|
If its a string then you can use replace command.
1. Replace \\ with \
2. Replace \" with "
i hope it will work in most of the cases.
|
|
|
|
|
Thanks for the reply.
aaCog wrote: 1. Replace \\ with \
The question is how should I represent
\\ in
string.replace("\\", '\' )
without escape sequence? Same thing with \"
|
|
|
|
|
LiYS wrote: string.replace("\\", '\' )
it wont work, either both params are type of string or char. No way for one string and another char
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
|
|
|
|
|
string saves \ as \\, so I dont think you can change it in a string variable however if you gonna write in text file or displaying in textbox or anyother control then you can try with string.Replace("\\\\", "\\")
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
|
|
|
|
|
Xmen wrote: string.Replace("\\\\", "\\")
That's another approach I've tried with no luck. The .replace() seems don't take \\\\ as \\
|
|
|
|
|
It would be nice if you explain your main requirement
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
|
|
|
|
|
It's a string inside of tag. The \\ in file path made it failed to locate the .jpg file.
|
|
|
|
|
like this ? code
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
|
|
|
|
|
Xmen wrote: like this ? code
Exactly!
|
|
|
|
|
Its hard to tell, because I dont know how you setting this path in src Attribute...
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
|
|
|
|
|
Xmen wrote: Its hard to tell, because I dont know how you setting this path in src Attribute...
Like this:
imageNode.SetAttributeValue("src", strpath);
where "strpath" is "C:\Documents and Settings\Administrator\Local Settings\Temp\image0.jpg"
|
|
|
|
|
try this
imageNode = document.createElement('img');
imageNode.src = strpath;
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 dunno what your application is doing,
but try using "/" instead of "\".
See if it works.
|
|
|
|
|
Perhaps try in your declaration using the @ char before the string ? e.g.
string _fileUrl = @"C:\\Documents and Settings\\Administrator\\Local Settings\\Temp\\image0.jpg\";
|
|
|
|