ngapulay's Q&A profile
Windows Forms VB.NET 2005 *ERROR* DESIGNER LOADER DID NOT PROVIDE ROOT COMPONENT
I am getting an error with the VB.NET 2005 in the Design stage of my application. The Exact error message occurs after I double click on a control to enter some VERY simple Code. One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. The designer loader did not provide a root component but ...Show All
Visual Basic generic error occured in GDI+ (drawline)
I've just converted my program from VB 6 to VB 2005. There is a lot of graphics involved, drawing lots of lines to make models. The lines were all formerly drawn with the Line command on the forms, but now that that is gone i have run into problems switching to the new commands. My program is fairly large with many forms and modules so I was unsure about some of the things i did. I declared all the graphics in one module as follows: "Public ...Show All
Visual Studio Express Editions Command Button Problem
I have recently downloaded Microsoft Visual Basic 2005 Express Edition and I need to add a "command button" for a simple project. In all of my toolbox, I could not find one, however I found "button" and named it cmdBeep. When I added it to my form, switched to the code view and tried to select it so i could add Beep (to make button beep), it automatically changed back to frmFirstCode, the name of my form. ...Show All
SQL Server DataReader Source and Column Types
Is there a way to control the types for output columns of a DataReader Source It appears that any System.String will always come out as DT_WSTR. As I have my own managed provider, and I know what went in, I can say that really it should be DT_STR. The GetSchemaTable call from my provider will always say System.String as it does not have much choice, but GetSchemaTable does contain a ProviderType which is different for my DT_STR vs DT_WSTR, or ra ...Show All
SQL Server Create objects from a configuration file
Anyone think this is a good idea http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx feedbackid=42c20106-de27-4fb8-88e4-1bf13598c4e1 -Jamie Hello Jamie, How far would you go If I choose to export a whole package worth of configurations are you saying that I should be able to take this to a blank package, point it at the config file and it would at "Just Before Runtime" create everything for me You can i ...Show All
.NET Development XML deserialization problems with invalid hex characters
Hello, In the document at [1], I am experiencing the problem described under the heading "Deserializing Invalid XML". I am receiving XML documents that contain escaped characters that are technically invalid in the XML spec. I am using WSE 2.0 Service Pack 3, so I have no control over deserialization myself (or at least not without writing a input filter of some kind). I do have control over which strings are serialized (I also write the client) ...Show All
Visual Basic Print an image
Hi, I have created a picturebox and drawn some lines in it to build a grid : Dim bit As New Bitmap(570, 400) Dim g As Graphics = Graphics.FromImage(bit) Dim i As Integer g.DrawLine( New Pen(Color.Black, 2), 5, 5, 5, 395) g.DrawLine( New Pen(Color.Black, 2), 5, 395 ...Show All
SQL Server Error message "Interface not registered"
Hi I got the following error message when I make a new integration service project Failed to save package file "C:\Documents and Settings\Administrator\Local Settings\Temp\1\tmp2B.tmp" with error 0x80040155 "Interface not registered". Can someone help Me Quote 'I would recommend reformatting and reinstalling this machine and avoiding this antispyware program in the future.' If I had to re-format every time some ...Show All
Visual Studio Team System BisService.exe error.... have logs to help developers help me :)
Error 32000. The Commandline '"c:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIIDIR\sdk\bin\BisSubscribe.exe" http://<myserver>:8080/Currituck/BisService.asmx' returned non-zero value: 1. TFSScheduler.log: ----------------------------- 2005-06-21T09:30:08:328 (main) Microsoft.VisualStudio.ELead.Common.Exceptions.ELeadException: Unable to connect to BIS service. ---> System.Security.SecurityException: You don't ...Show All
Visual Studio Express Editions Online Search Failure with VB Express
Just installed Visual Studio Express 2005 (the C++ option). Tried to use the Document Explorer to search online using the Search tab for the string "Simple2D". Got the following error message. I understand what it says, but I'm wondering how to resolve it. The Explorer seems to know how to talk to other parts of msdn fine. X Search failed The request failed with the error message: -- <html><head><title>Object moved</ti ...Show All
Windows Forms How to insert, update, delete using DataGrid ?
Hi I am develoing a C# and MS Access application in which I have to display table rows and columns in a DataGrid AND in the same form I have to perform insert, update, delete operations. Displaying the table's contents is not a problem but I need help in implementing insert, update and delete operations. Thanx. Hi, Implementing a Delete, Insert and Update operations you must have a DataAdapter and define its De ...Show All
Windows Forms Problem localizing MenuStrip
I'm trying to apply locatization to my application. I've set the form's Localizable property to true and Language to French (Canada). I'm able to change everything, but when I test the changes, the MenuStrip control isn't working. It's works in one language, but not the other. The other form I have on the form is working just fine. By any chance, is this issue a known issue (I'm using VS2005 Beta 2) Richard ...Show All
Smart Device Development Error when run the app on the device
Hi, I develop application for WM5 CF2, all the development process was against emulator and without special problem. Today I got the device (2125), but when I deploy my app and trie to run it, I got this error: “Error This application <app name> requires a newer version of the Microsoft .NET compact Framework...” what am I doing wrong... thanks in advance, Oren. That probably mean ...Show All
Visual C# Can I use MS's images in articles?
Sorry that I don't know where to ask this question, but I am writing c#. I sometimes need to write documentations about company's applications and the application's brochures which may need to pass to our customer. I see many of the images(like PC, Server...etc) in Microsoft's articles very useful. Can I use it in my documentation Thanks. Hi Kennon2005, Please read the following post. This question has already been anw ...Show All
SQL Server Killer problem with Scheduled Reports
I'm running on SQL 2000 with SRS. Standard install ( I think, it was all set up by IT) I have reports that run fine in the Report Manager but when they are run through a schedule (email) some of them (albeit most) "rsProcessingAborted" because of a report error. Looking at the logs it seems generally based around comparison failure because of datatypes, eg (from the logs): Microsoft.ReportingServices.ReportProcessing.Rep ...Show All
