473,396 Members | 1,982 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

VB2008 Exr problem using resx resource

I'm not using Cultures so I just want to pull strings out of a Resource dll.

In References there is a reference to the CDS80Eng.dll

Partial code in a module
---------------
Public Function GetResource() As Boolean
Public clsRes As CDS80Eng.CDS80Eng

Public Function GetResource() As Boolean

Select Case gLangBas
Case 0
clsRes = New CDS80Eng.CDS80Eng
End Select

sMsg1 = clsRes.LoadResStgA(305)
----------------------

sMsg1 returns "Nothing" and should return "Error #"

Here's the code of the CDS80Eng class DLL
-------------------
Public Class CDS80Eng
ReadOnly Property LoadResStgA(ByVal intline As Short) As String
Get
LoadResStgA = My.Resources.ResourceManager.GetString("str" &
CStr(intline + 3000))

End Get
End Property

ReadOnly Property LoadResStgB(ByVal intline As Short) As String
Get
LoadResStgB = My.Resources.ResourceManager.GetString("str" &
CStr(intline))

End Get
End Property

Private Sub Class_Terminate_Renamed()
On Error Resume Next

End Sub
Protected Overrides Sub Finalize()
Class_Terminate_Renamed()
MyBase.Finalize()
End Sub

End Class
------------------------------

Here's the line in the resx file of the DLL

str3305 Error #

At the line sMsg1 = clsRes.LoadResStgA(305) it does step through the DLL
properly.

Any suggestions.

Galen
Jun 27 '08 #1
0 888

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Cindy | last post by:
I'm trying to create a satellite assembly for my winform project but the resource.dll that gets created with the assembly linker (al.exe) doesn't get used when the language is specified. However,...
0
by: Bill | last post by:
Hi Everyone, I am having some difficulty in using the Windows Resource Localization Editor (WinRes.exe) on several Visual Basic .NET forms (.resx files) in two different projects. The editor...
0
by: qh0st | last post by:
Hi all. I have a frustrating issue that I can't seem to figure out. EXPERTS please help me~! Deadline is coming up soon~! My task is to localize a winform application. The .Net Designer...
6
by: Hans Kesting | last post by:
Hi, When I add a webform, VS generates three files: WebForm1.aspx WebForm1.aspx.cs (could also be "WebForm1.aspx.vb" I guess) WebForm1.aspx.resx What is that last file for? How can I use...
2
by: Paul | last post by:
I have plugged the ExceptionManagement app block into our framework and have a question about resource files. ExceptionManagerText.resx is one of resource files in the project. When you look at...
5
by: Franck | last post by:
Hello, I've just moved to visual developper 2005 to do so, I also had to use the convert assistant. what it did; moving my file resx files that i had in a diresctory called resx to a new...
6
by: FBS | last post by:
Hello I'm currently working on a winform project that must be in 3 languages (French, English et Polish). I know that I have to work with *.resx files, (1 for each language, 1 for the...
3
by: Shimon Sim | last post by:
I just started trying localization for my web application. I have class library as part of solution so I need to globalize / localize this component too. I created resource file in the assembly...
2
by: Daniel | last post by:
I am just investigating on .resx and .resource files using asp.net. I am attempting to develop a webpage in Dreamweaver on an asp.net webserver. As i read around the net, using a .resource file...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.