Hi buddys,
I have the followinf Bug.........
when i run my application "NotSupportedEx ception was un handled" in "System.Drawing .Icon"
for the following designer code....
Me.picImgMain.I mage = CType(resources .GetObject("pic ImgMain.Image") , System.Drawing. Image)
can u give any idea
3 5543
Hi buddys,
I have the followinf Bug.........
when i run my application "NotSupportedEx ception was un handled" in "System.Drawing .Icon"
for the following designer code....
Me.picImgMain.I mage = CType(resources .GetObject("pic ImgMain.Image") , System.Drawing. Image)
can u give any idea
I take it you have dropped a picture onto a form or added a picturebox to a form and added a picture to it?
What is the type of file that you are trying to add to the form?
i.e. .png, .gif, .jpg etc?
Mark
Hi mark,
Thanks for ur reply
I just drag one picture box and load image at design time, It is
".PNG" type image.
and one more thing, it ran successfully before one hour, The bug was raised when i add new form to my project .........
Hi mark,
Thanks for ur reply
I just drag one picture box and load image at design time, It is
".PNG" type image.
and one more thing, it ran successfully before one hour, The bug was raised when i add new form to my project .........
So it worked fine, then you added a new, different form and then the original form has stopped working. Have you tried deleting the image and compiling to see if that works? then adding it again and compiling?
Mark
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Colin |
last post by:
Hi there,
I have wrote a simple console app in C# to get the
dimensions for a jpeg file
/***
Image img = Image.FromFile(@"C:\TEMP\PvFile\1036437.jpg",
true);
LogEvent("Height = " + img.Height.ToString() + "; Width
= " + img.Width.ToString());
|
by: Paul Steele |
last post by:
I often use the following code to check if a program is already running:
if
(Process.GetProcessesByName(Process.GetCurrentProcess().ProcessName).Length
> 1) ...
This works find on all of my systems, but a student using one of my programs
reported that he was getting an "Unhandled Exception" trying to load my
program. This is even stranger since the code in question is in a try/catch
block. I took a look at the student's system but...
|
by: Peter Steele |
last post by:
We have an application that when it runs in the IDE in debug mode an
unhandled exception is occurring in a system header file associated with STL
stirngs. The actual statement that crashes is
return ::memcmp(_First1, _First2, _Count);
On inspecting these variables, the strings are in fact equal when the
exception occurs and _Count is the right size. As a test I replaced this
code in the system include file with a for loop to do the...
|
by: mammucion |
last post by:
Trying to automate processing 80,000 data sets through 15 web pages.
Application URL creates a new IE instance in which runs first a login form
and then runs the rest of the pages in the new window.
I can connect to a running Excel instance and obtain information from the
Excel DOM. I cannot do the same with Internet Explorer. However, I can
successfully create an new IE instance and manipulate it. Using an
application that has its own...
|
by: hzgt9b |
last post by:
I'm building a dataset that writes out a Point type value.
Here's the code that I've got:
1 Dim dsContent As DataSet = New DataSet("content")
2 Dim dtAsset As DataTable = New DataTable("asset")
3 Dim dcPk(0) As DataColumn
4 dcPk(0) = _
5 dtAsset.Columns.Add("fullName", Type.GetType("System.String"))
6 dtAsset.Columns.Add("videoLocation",
Type.GetType("System.Drawing.Point"))
| |
by: whiskers |
last post by:
I'm debugging some code and I have to admit that I don't know yet how
it works.
But I ran into a problem I can't explain
The program is a DLL that retrieves raw data from a camera, builds
histograms based on the pixel values, and displays them on the screen;
here's a small excerpt:
VOID CHistogramContainer::appendFrameData(WORD *pdwRawData, int nWidth,
int nHeight)
{
|
by: RSH |
last post by:
Hi,
I am building a Win Forms application that I would like to feed a function a
collection of strings (button text) that the program will go through and
generate and save the generated buttons.
The issue Im having is that I cant find any tutorials on how to do the
following:
I have three graphics the Right End Cap the center (which I want to tile to
|
by: rmcpherson |
last post by:
Can someone please help with this problem? I'm trying to go to the last record, make a new record, and save it the database. It just gives me "OleDbException was unhandled" error at da.Update(ds, "Phone") line. Thanks in advance.
Public Class PhoneReport
Inherits System.Windows.Forms.Form
Dim inc As Integer
Dim con As New OleDb.OleDbConnection
Dim ds As New DataSet
Dim da As OleDb.OleDbDataAdapter
Dim sql As...
|
by: joedeene |
last post by:
Hello there, I am having a problem and it is frustrating me because I've been trying to figure it out, and I've even modified the code a few times but the same exception occurs: " 'StackOverflowExcepton' was unhandled "
Project Details:
Ok, I am creating a text file that will store database information of some customers of mine and I'm using the StreamReader and StreamWriter Class. I can successfully get the information and customer data...
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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: 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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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...
| |