|
by: Kendall Gifford |
last post by:
Greetings.
While trying to get a simple app working, I've been forced to delve into
embedded and/or linked resources a bit. I read all the reference for the
System.Resources namespace as well as all the material within the
"Resources and Localization..." tutorial. While I'm confident I now know
completely how to accomplish my original, simple task of embedding some
icons into my assembly and use of the same at runtime, I realize I've a...
|
by: the fuzz |
last post by:
yeah g'day..... is it somehow possible to not include the version & public
key token in the call to Type.GetType(string)
ie something like
Type.GetType("System.Windows.Forms.ListView, System.Windows.Forms");
instead of
Type.GetType("System.Windows.Forms.TextBox,
|
by: Sean |
last post by:
Hello,
I have a function in C# that accepts a stored proc name and an array of parameters, and then returns a dataset, which works just fine.
I have converted the function to VB:
Public Shared Function GetDataSet(ByVal storedProcedure As String, ByRef parameterArray As Object()) As DataSet
|
by: tshad |
last post by:
The error I am getting is:
*******************************************************************
Exception Details: System.InvalidCastException: Cast from type 'DBNull' to
type 'String' is not valid.
Source Error:
Line 144: firstName.text = ClientReader("firstName")
Line 145: lastName.text = ClientReader("lastName")
|
by: Sparky Arbuckle |
last post by:
I am looping through a listbox collection to build a SQL string that
will be used to delete items from a database. I have tried many
variances of the code below but have had no luck. The code below gives
an error:
Cast from type 'ListItem' to type 'String' is not valid.
When i do a response.write(s) the item at the top row displays
correctly. Here is the code I am using:
|
|
by: baret bonden |
last post by:
I get :Value of type 'String' cannot be converted to '1-dimensional array
of String' refering to curitem
Dim curItem As String
curItem = ListBox1.SelectedItem
TextBox1.Text = curItem
vcar = curItem
|
by: Ben |
last post by:
Hello,
I'm not a developper, so sorry if it's a stupid question...
I'm trying to develop an application in vb.net and I have the following
problem:
I have some information in an array: sdist(i). The information is a string.
When I run the application, I don"t have problem for compilation but during
te execution, I have the error Cast from type 'Object()' to type 'String' is
not valid on the line: sdistinguishedname = Sdist(i). Or...
|
by: Jason Chan |
last post by:
in asp.net 2.0, Page.RegisterClientScriptBlock is replaced by
Client.RegisterClientScriptBlock
function signature:
Client.RegisterClientScriptBlock(Type, String, String)
what should i put on the Type?
|
by: Sky |
last post by:
I have been looking for a more powerful version of GetType(string) that will
find the Type no matter what, and will work even if only supplied
"{TypeName}", not the full "{TypeName},{AssemblyName}"
As far as I know yet -- hence this question -- there is no 'one solution
fits all', but instead there are several parts that have to be put together
to check.
What I have so far is, and would like as much feedback as possible to ensure
I've...
|
by: Martin Eckart |
last post by:
Hi folks,
Who can explain me why the following expression does not result in getting
the correct type, but null:
Type t = Type.GetType("System.Xml.XmlReader");
For "System.String" it works as well as for "System.IO.Stream" or
"System.Globalization.CultureInfo". Does that related to the constructor of
XmlReader being not public?
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|