Click here to Skip to main content
15,888,803 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Editor for classy looking forms? Pin
badgrs27-Feb-07 5:32
badgrs27-Feb-07 5:32 
QuestionAfter uploading: URL file-access is disabled ... Pin
hiral_shah23-Feb-07 20:31
hiral_shah23-Feb-07 20:31 
AnswerRe: After uploading: URL file-access is disabled ... Pin
Michael Sync23-Feb-07 21:39
Michael Sync23-Feb-07 21:39 
GeneralRe: After uploading: URL file-access is disabled ... Pin
hiral_shah23-Feb-07 21:53
hiral_shah23-Feb-07 21:53 
GeneralRe: After uploading: URL file-access is disabled ... Pin
hiral_shah23-Feb-07 23:17
hiral_shah23-Feb-07 23:17 
QuestionCan someone please tell me how to get the URI of the current browser using java? Pin
Malini Nair23-Feb-07 19:57
Malini Nair23-Feb-07 19:57 
AnswerRe: Can someone please tell me how to get the URI of the current browser using java? Pin
Michael Sync23-Feb-07 21:38
Michael Sync23-Feb-07 21:38 
QuestionC# ASP.NET Sectioning Pin
Expert Coming23-Feb-07 11:22
Expert Coming23-Feb-07 11:22 
AnswerRe: C# ASP.NET Sectioning Pin
Christian Graus23-Feb-07 22:57
protectorChristian Graus23-Feb-07 22:57 
GeneralRe: C# ASP.NET Sectioning Pin
Expert Coming23-Feb-07 23:00
Expert Coming23-Feb-07 23:00 
Questionhttp/1.0 425 http Error Pin
LCI23-Feb-07 9:57
LCI23-Feb-07 9:57 
QuestionDir Function - Network drive Pin
No-e23-Feb-07 5:40
No-e23-Feb-07 5:40 
AnswerRe: Dir Function - Network drive Pin
kubben23-Feb-07 5:44
kubben23-Feb-07 5:44 
GeneralRe: Dir Function - Network drive Pin
No-e23-Feb-07 7:38
No-e23-Feb-07 7:38 
GeneralRe: Dir Function - Network drive Pin
kubben23-Feb-07 7:57
kubben23-Feb-07 7:57 
GeneralRe: Dir Function - Network drive Pin
No-e23-Feb-07 8:37
No-e23-Feb-07 8:37 
GeneralRe: Dir Function - Network drive Pin
kubben23-Feb-07 8:56
kubben23-Feb-07 8:56 
QuestionHow to show 2 gif files as one in a aspx file Pin
Member 385807123-Feb-07 4:46
Member 385807123-Feb-07 4:46 
AnswerRe: How to show 2 gif files as one in a aspx file Pin
Guffa23-Feb-07 5:52
Guffa23-Feb-07 5:52 
AnswerRe: How to show 2 gif files as one in a aspx file Pin
badgrs23-Feb-07 5:55
badgrs23-Feb-07 5:55 
QuestionHow to compute absolute x, y coordinate of a HTML element using Java Script? Pin
balu chettri23-Feb-07 4:44
balu chettri23-Feb-07 4:44 
Questionhow can send a video on a mobile using asp.net Pin
Atif Ali Bhatti23-Feb-07 1:45
Atif Ali Bhatti23-Feb-07 1:45 
QuestionResource problem after converting from ASP.NET 1.1 to ASP.NET 2.0 Pin
MD1222-Feb-07 18:56
MD1222-Feb-07 18:56 
:(I'm having problems with my resource manager in ASP.NET 2.0 after conversion
from ASP.NET 1.1.

Here is a background:

In ASP.NET 1.1
All my user controls and aspx pages inherit from base classes. A base class
includes this property (among others...):

Private m_rscResources As System.Resources.ResourceManager

Public ReadOnly Property rscResource() As System.Resources.ResourceManager
Get
If m_rscResources Is Nothing Then
m_rscResources = New
System.Resources.ResourceManager("MyPortalNamespac e.Strings",
System.Reflection.Assembly.GetExecutingAssembly)
Return m_rscResources
Else
Return m_rscResources
End If
End Get
End Property

In my application root folder I have two files. One strings.resx and one
strings.sv.resx. When I call the rscResource.GetString method I simply use
the tag name to get the translation.

Label1.Text = rscResource.GetString("First name")

In 1.1 this works absolutely fine. However, In 2.0 (after conversion), it's
not working. The error message I get from .NET is:

System.Resources.MissingManifestResourceException was unhandled by user code
Message="Could not find any resources appropriate for the specified
culture or the neutral culture. Make sure
"MyPortalNamespace.Strings.resources" was correctly embedded or linked into
assembly "App_Code.lkep0udn" at compile time, or that all the satellite
assemblies required are loadable and fully signed."

I've tried to dynamically get the current executing assembly name like this:

m_rscResources = New
System.Resources.ResourceManager(System.Reflection .Assembly.GetExecutingAssembly.GetName.Name
& ".Strings", System.Reflection.Assembly.GetExecutingAssembly)

Same error message (but 'MyPortalNamespace' is replaced).

I've tried a number of things to work around this, but I still get this
error message. I've tried placing the resource files into different
directories including App_Code, App_GlobalResources, application root etc.
None is making it better.

So, here I stand...

I want to clarify that I know how you can use resources in 2.0, but that's
from scratch. I have hundreds and hundreds of places where I use
rscResource.GetString("MyKey") and I really don't feel I want to change all
that now. p
please suggest me how to make it possible
QuestionCalling external DLL methods Pin
earlgraham22-Feb-07 11:58
earlgraham22-Feb-07 11:58 
AnswerRe: Calling external DLL methods Pin
pHysiX22-Feb-07 12:05
pHysiX22-Feb-07 12:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.