I took sample code to implement the IReportServerCredentials to send the login information to retrieve a report remotely but for some reason the implementation is error prone.
I took sample code to implement the IReportServerCredentials to send the login information to retrieve a report remotely but for some reason the implementation is error prone.
First of all my trying to implement a adblocker to my project. I know there is a working version for Firefox,IE, W.e but I want one that I can implement to vb.net.What should I be looking to implement ad block or is there a snippet I can take a look at.
I have a web service created with vb.net in vs 2010. Here is a look at my property
Public Class MyClass Inherits ConfigurationSection Protected _score As Integer
[code].....
When I try to add this as a service to a web app, also done in vs2010 with vb.net, I get the error in the title. Please help with this. I am not sure what is needed in order to implement a default accessor.
I need another (dozen) pair of eyes on this. The following code:
Interface iRuleEntity Function GetRuleViolations() As List(Of RuleViolation) End Interface Partial Public Class Feedback
[code]....
is giving me this error:'Feedback' must implement 'Function GetRuleViolations() As System.Collections.Generic.List(Of RuleViolation)' for interface 'iRuleEntity'.
I am creating a simple shape editor, much like the Visual Studio form designer. You can create shapes, select them and move/resize them using drag handles just like in Visual Studio or most other applications (Visio, etc).
I have run into some problems trying to implement a MinimumSize property for the shapes.First of all, this is how I'm resizing the shapes. Each shape has a Resize method, accepting two integers (dx and dy) that represent how much the shape must resize by, and one 'HitStatus', which determines in which direction the resize must take place (for example, from the TopLeft, or Bottom, or BottomRight, etc..)
What it does basically is use a large Select Case statement for the hit status. In each case, it changes the Bounds property of the shape (which determines the location and size), so that it is resized:
trying to get my hands wet on vs 2010 and i downloaded samples from ms site but when i tried to run some of the DB samples i received this sql error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) any ideas how to get around on this?
I've spent quite a bit of time reading up on generics, covariance, etc., and I am failing to understand why I get the aforementioned compiler error in this type of codeLet's say I have a base "Bill" class made up of a collection of Lines..
Public Class Bill(Of L As Line) Private _lines As List(Of L) Public Property Lines() As List(Of L)
I have the below lines of code :I am getting the error as mentioned in the Title above.This error has come after converting a C# Code to VB.NET Code which is mentioned below:
C#: public override IChannelListener<TChannel> BuildChannelListener<TChannel>(BindingContext context) { if (context == null)
I'm getting an error in this block and I'm still confused about the debugger after 6 weeks in class. I'm not asking for homework to be done simply asking where's the error in this? Full Source Code provided below
I know the error is within this code
CODE:
Scenerio:This program will implement a "List Builder", which repeatedly obtains two data elements from the user (Name and Age) and builds a list in a sequential file. The main form of the program should be similar to the following (but use your design creativity as much as desired):
#The program should have the following characteristics:
* 2 text boxes in which the user can input a name and an age. Your program should fully validate the data entered: the name should contain only letters and spaces, and the age should only contain numbers and have a reasonable range of values (let's say from 1 to 120, without decimals.)
* A Write button, which writes the data inputted into the text boxes to a sequential file. Once that data is written to the file, the textboxes should be appropriately readied for the next input.
* A File menu, with options Write and Exit. There should be a separator between the two submenu options. The submenu options should perform the same logic as the buttons with the same name.
* It is required that you use the Try..Catch statement block for every file I/O operation, so as to protect your program from unexpected run-time errors.
* A second command button that exits the application.
* As noted in the Lecture, please do not use the WriteAllText() nor ReadAllText() methods to develop your program. Instead, use the object variables and open/close methods we have been discussing in class.
# The file with the list should be saved in the default location used by VB (i.e., the "bin/Debug" folder of the solution.)
# Upon entering the program for the first time and trying to open the file, if the file already exists, the program should show a message similar to the following, and then take the appropriate action. If the file does not exist, then no message is produced. This message should be produced only once per program run (that is, not after each record is processed), and before showing the main form of the program. (Hint: consider using the form's "Load" event to accomplish this.)
I am facing another error "An error occurred trying to load the page. Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND) )" performing the following scenario:- Opened a sample VS 2010 WPF project that I receiveved from a co-worker (Project compiles, and run on his machine)I tried to open project properties (Project --> Properties)The project properties panel/window didn't open, all it had was an error symbol (red/white X) and the error message above(HRESULT: 0x80020003).I am unable to view niether the designer window nor the code window (no messages are reported) but the pane where the code/design shoud display is empty, all you can see is the background color.
this is my very first posting and I must say I am desperate. I have a VB assignment due in 2 days and I am so lost. I have written a code to draw some graphic, just a basic house, tree, sun etc. I have also written a code to magnify said graphics which were all the specifications of my Assignment 1 part A. Now for Part B I am being asked to extend my program so that: A - My graphic can be drawn using different colour schemes designed by me but chosen by the user B - My graphic or an appropriate part of it can be animated around the picture box if the user chooses to do so. C - Error checking is included.
Syntax error (missing operator) in query expression '''system time'''.this is the error that appears
this is my code:
Dim sqlCmd As String Dim x As Date x = Format(Now(), "General Date")
[code].....
the fields in the tables are all text fields.is there any way to fix this error? perhaps it is in my query but i really cant find a solution.is there an alternative to get what i want my program to do?it is basically entering an ID number and finding the record with the same idnumber and putting the system time on the timein field for that record.
I get the following error when trying to compile the simplest prpgram. Error 1 Class 'CLSID_CorSymWriter' could not be created: System Error &H80040154& After looking at other stuff on the net I removed VB 2010, VB 2008, any C or C++ runtimes and any .NET Framework programs I could find, and then re-installed VB 2010, but the problem still persists.
I've just finished installing VS2010 on my computer. I have a project I built in 2003 that I'm trying to open in 2010. It went through the conversion process and generated this error: System.SystemException - The type library importer encountered an error during type verification. Try importing without class members. : System.MissingMethodException - Method not found: 'Void
We have a vb.net application where we have implemented multithreading. We determined that we need to either implement .net remoting or WCF. After researching remoting in .NET on MSDN, Microsoft considers remoting legacy for .NET framework 4.0 and recommends using WCF instead. My question is: can we implement WCF functionality into our VB.NET application or do we need to rewrite the app from the ground up in WCF?
I am using Visual Studio 2010 Ultimate, I developed an application in Visual Basic and that is running successfully when I copy this application to other system then it does not run and .Net framework is installed on other system.
I am studying HND software developement, in this course we use VB6, I have managed to run it just fine for a few months, now all of a sudden I get this error. No one in my class is able to help, not even the teachers. error while trying to run project: unable to start debugging the version of clr.dll in the target does not match the one mscordacwks.dll was built for.
I've got problems while printing a document.I've got a program that have a small form with options for printing two diferent pages.Here's the There is a Button for printing named Imprimir and two checkboxes for selecting what king of display I want to send to printer.At first time, there are no problems, the printer prints what I want, the form closes and it seems all is allright. The problem is when I try to print again, even the same layout, I call the print form again and I get the error in the picture...Why the same routine executes without problem at first instance and gives this error at second instant?
I am a fresh graduate and I am working now as a developer By the way, I am not the one who developed this tool, it's the previous programmer and they gave the project to me to update it however, when I try to run the application in my local computer I am getting this error:
Argument not specified for parameter 'XLSFile' of 'Public Sub New(XMLFile As String, XLSFile As String)'.
The error points to the code below in bold letter: Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Zym.ConnectionString =
Apparently this is a rather common issue but after 3+ hours of searching I still couldnt figure it out...After publishing my application when I try to run it, an error occurs wherein it can't locate my database.