473,569 Members | 2,870 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to access the resource file and assign it to a Resourcetype?

1 New Member
Expand|Select|Wrap|Line Numbers
  1. Public Shared Equipment As ResourceType = New ResourceType(New Guid("66EF5552-FA1A-4816-BC45-2414F1BFB653"), GetGlobalResourceObject("Resource", "Equipment").ToString())
I'm getting an error on the GetGlobalResour ceObject line, how should I code it?
Dec 10 '14 #1
0 1017

Sign in to post your reply or Sign up for a free account.

Similar topics

7
6899
by: Dan H. | last post by:
Hello, What is the equivalent "string resource file" in c#? And, is there a way to create a beep in C#? Thanks, Dan
1
8972
by: Tim Mulholland | last post by:
I can't find a good solid example on how to access strings from a resource file. I know i need to create a ResourceManager object, and then call the GetString method on it. My problem is that if i try to access anything from a resource file other than one of the ones connected with a Form, it can never find it. So can someone just point me...
6
2626
by: martin | last post by:
Hi, I have noticed that every aspx page that I created (and ascx file) has an assosiated resource file aspx.resx. However what I would like to do is have a single global resource file for the site. The resources in this global resource file will possibly change quite often, there I guess this rules out using web.config as every time...
3
3324
by: al | last post by:
Hi, I use a resource file (.resx) to store user's settings such as language and other strings. The problem i'm facing is that when the user changes one of the strings in the resource file, those changes are shown by VB.NET untill after the user reloads the app. Is there any work-around for this behavior so changes can appear without...
11
1956
by: Alan T | last post by:
I added a resource file into my project, to store the caption of buttons and labels.. How do I make use of this resource file to dynamically assign to the buttons and labels ?
2
1471
by: lavu | last post by:
I have included a text file as a resource file in my VS 2003 c++ project. Hexedit of my .exe files showed the resource file as it is i.e as a straight text file while the rest of the exe was binary code. I connect to the database using ODBC using this script in this exe and could change my sql statement in hexedit to cause damage to the ...
13
3532
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains some javascript code that calls window.open. I pass the resource url of page B to Page A's window.open call. Page B is then loaded and executed but...
6
5433
by: =?Utf-8?B?RGljaw==?= | last post by:
Please can you tell me how to assign a namespace to a resource file in a Visual Basic project? In C# such resources file inherit their namespace based upon the folder hierarchy in which they are stored but in Visual Basic all such resources appear in the project's default namespace. This is fine when there are just a few resources but...
13
4550
DOSrelic
by: DOSrelic | last post by:
I have an assignment program that uses an array of images that are created from a supporting resource folder but I wish to incorporate them into the final exe file so how do I make an array from the Resources.resx file please? Also, one of the images in the resx file is incorrect and should be removed. How can I remove that please? Every time...
0
1667
by: paulnamroud | last post by:
Hello, I'm building a generic Class Library that I will use it in all my projects. As for now, I can do the following where I have only one Resource file Resources.resx: LibPublic.Properties.Resources.ResourceManager.GetString("RecordType_Missing").ToString() where LibPublic is the name of my Class Library. I have already worked on a...
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7926
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3657
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2117
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1228
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
946
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.