I have several projects that have an item listed in the taks list that says
"Invalid parameter used". It points to the first line of a class definition,
"Public Class pPreview", but doesn't cause an error or give me any
indication of what the problem could be.
The class is defined by:
Public Class pPreview
Inherits System.Windows.Forms.Form
' other stuff here
End Class
Thanks in advance for your help
Dave 7 1228
Hi Dave,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you are getting a "Invalid parameter
used" prompt in the task list. If there is any misunderstanding, please
feel free to let me know.
Based on the code you have provided, I didn't see anything wrong. So I
suggest you try to rebuild the project to see if the prompt message in the
task list goes away. Does it cause any compile time error?
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
No compile errors Kevin. And you have it right. When I double click the item
in the task list it sends me to the beginning of the line that contains
Public Class pPreview.
Doesn't seem to cause any trouble but I can't get rid of it.
Dave
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> wrote in message
news:l2**************@TK2MSFTNGXA02.phx.gbl... Hi Dave,
First of all, I would like to confirm my understanding of your issue. From your description, I understand that you are getting a "Invalid parameter used" prompt in the task list. If there is any misunderstanding, please feel free to let me know.
Based on the code you have provided, I didn't see anything wrong. So I suggest you try to rebuild the project to see if the prompt message in the task list goes away. Does it cause any compile time error?
Kevin Yu ======= "This posting is provided "AS IS" with no warranties, and confers no rights."
Hi Dave,
This tast might be a user created task. You can try the following steps to
show the build errors only.
1. Right click on the Tast list.
2. Select Show tasks/Build Errors
Does it get away after doing so?
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
Still there Kevin. Is it possible that I've done something 'within' the
class definition that would cause this?
Dave
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> wrote in message
news:lF**************@TK2MSFTNGXA03.phx.gbl... Hi Dave,
This tast might be a user created task. You can try the following steps to show the build errors only.
1. Right click on the Tast list. 2. Select Show tasks/Build Errors
Does it get away after doing so?
Kevin Yu ======= "This posting is provided "AS IS" with no warranties, and confers no rights."
Hi Dave,
Did you see any error or warning messages that might be associated with
this task? It's weird that the task remains there if there is no error or
warning messages. You can also try to check if the project has been built
during the whole build process by right clicking on the solution in the
solution explorer and select properties. In the left pane, select
Configuration Properties/Configuration. In the right pane, check the build
checkbox of the project that generates the task.
It's hard to troubleshoot on this issue, since I cannot repro it on my
machine. So I suggest you just leave as it is, if it doesn't affect the
building process.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
Ok Kevin, thanks for your help. I'll check the configuration properties and
if I can't get rid of it after that I won't worry too much about it. It's
not really causing me any trouble that I'm aware of.
Dave
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> wrote in message
news:aC*************@TK2MSFTNGXA03.phx.gbl... Hi Dave,
Did you see any error or warning messages that might be associated with this task? It's weird that the task remains there if there is no error or warning messages. You can also try to check if the project has been built during the whole build process by right clicking on the solution in the solution explorer and select properties. In the left pane, select Configuration Properties/Configuration. In the right pane, check the build checkbox of the project that generates the task.
It's hard to troubleshoot on this issue, since I cannot repro it on my machine. So I suggest you just leave as it is, if it doesn't affect the building process.
Kevin Yu ======= "This posting is provided "AS IS" with no warranties, and confers no rights."
You're welcome, Dave. Thanks for sharing your experience with all the
people here. If you have any questions, please feel free to post them in
the community.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights." This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Wally |
last post by:
I am trying to display images from an Access 2000 database and I get an error
"Invalid Parameter Used" when I execute the code line
"picBLOB.Image = Image.FromStream(stmBLOBData)" in my Visual...
|
by: Owen Jenkins |
last post by:
Hello.
For years I've been using the DBEngine.CompactDatabase code to make
backups of backend databases. But now I've struck a baffling problem
where I get an Invalid Argument error. This...
|
by: CroDude |
last post by:
Hi all!
I have problems when writting bitmap to a byte array and after reading it
back form byte to Bitmap object.
What I do is this: First I throw Bitmap to a memory-stream and then I write
it...
|
by: halise |
last post by:
Hi,
i am in trouble with an exception in .net platform with c#.
The exception thrown is exactly as follows:
System.ArgumentException: Invalid parameter used.
at...
|
by: David Veeneman |
last post by:
This post is for the Google archive and does not require a reply.
I received an 'Invalid parameter used' error when trying to do
double-buffering with the .Net SetStyles method. I used this code...
| |
by: Hifni Shahzard |
last post by:
Hi,
I got a stored procedure, where it returns a value. But if I execute it. It
gives an error as "Invalid cast from System.Int32 to System.Byte.". To make
clear how do I execute this, below I'm...
|
by: Arnold |
last post by:
I am having problem loading the image from the database. It gives this error:
"Invalid parameter used."
This is my source code:
Private abyt() As Byte
Private fo As New OpenFileDialog
Private sf...
|
by: Tom John |
last post by:
Hi
I am storing images in an access database, based on an MSDN article.
The code i use to store is as follows:
<code>
'Create the command object
Dim command As New...
|
by: escristian |
last post by:
Hello.
I'm trying to create an Image so I use something like this:
Image newImage = Image.FromFile(filename);
Now when it's a bmp file and certain .gif files it gives me an
exception that...
|
by: jaffar |
last post by:
Hi
I am storing images in an access database, based on an MSDN article.
The code i use to store is as follows:
<code>
'Create the command object
Dim command As New...
|
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,...
| |
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...
|
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,...
|
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...
|
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...
|
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...
|
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...
| |
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |