prakasharadhya's Q&A profile
Windows Forms Saveing data Into a Access Table
Hi everyone My quetion is how would I save Data into a Access table. I have a Main Form which holds a TextBox called "TextBox1" and 2 command which are called "CmdView" and "CndSave" it's very simple. "this is a testing Form" &nbs ...Show All
SQL Server Problem trying to compare calculation
SELECT l.CAgency, l.Product, l.OfficerCode, l.AgencyName, l.AgencyID, l.TranCode, l.UserID, l.ReceivedDate, l.PostingDate, l.AccountNumber, l.PaymentAmount, l.PaidUs, l.PaidAgency, ...Show All
Visual C++ Console Applications only work on computer with the IDE
I'm using a text book to learn C++ and am writing my first programs. They compile fine and work the way I want them to, from Visual Studio or Windows Explorer. However, if I move them to another computer (with a disk), they don't work. Something about the configuration of the application. I've tried CLR console apps and Win 32 console apps (with header). I move the entire project, not just the .exe I would really like to be able to give other people my programs, please help me out!! PLEASE! Thank you all, static linking worked. Thank you for your concerns about my program's security, but I figu ...Show All
Windows Forms Need help with VB.net involving Totals
Okay guys, here I am again. I need help on adding totals together. What I want is to have a bsic commission calculator that totals different things and will display them later on. Here's what I have so far, some works, some doesn't. Public Class VBACComCalc Inherits System.Windows.Forms.Form [Windows Form Designer generated code] Const Quota As Integer = 1000D Const CommissionRate As Integer = 0.15D Const BasePay As Integer = 250D Dim SalespersonName As String = txtSalespersonName.Text (When I run the program, this line comes up as an error and says "Object reference not ...Show All
SQL Server OLE DB Source & Excel Destination
Hi, My OLE DB Source and Excel desintation values all will be assigned during the run time but it does work during design time but as on runtime columns are different. That's why it does not work. Here is what I want to accomplish, I have table which contains all my report which needs to dumped to excel at the month end. SQL Task using ADO enumrator read one record(one report), Give that record to For Each contair which Create the Excel file on the fly using one of variable from my table and uses a stored procedure to dump data to excel using Dataflow Task. xlsQuery CREATE TABLE `Sheet1` ( `FiscalYear` Short, `FiscalPeriod` By ...Show All
Visual Basic Movie, TV, DVD Info Program
I'm trying to make a program that will allow the user to type in the name of a movie or TV show, and then have it show them when and where it's playing in theaters, when it's coming out on DVD, or what channel and what time's it playing, depending on what was entered. I need the program to retrieve this information from the Internet. Does anyone know a good way to do this As far as I can tell the most efficient way for the movies and DVDs would be XML RSS feeds, but I don't know how to manipulate these in Visual Basic 2005. And this still doesn't cover TV listings, which I imagine would be more complicated. Anyway, I was just looking for hel ...Show All
SQL Server Server Error in '/WebVisual2' Application
Good Day All I have a web application called WebVisual2 which run under localhost in Windows Server 2003 Std Ed (IIS v6.0 and .NET Framework 1.1 is required and installed) toghether with SQL Server 2000 DB and Analysis Services. At the beginning, when my database roles in Analysis Servers is set to Everyone , all my work run smoothly without any error. However, when I delete the " Everyone " and set 2 roles ( Administrator and two normal user , Enforce on client) inside the Database Roles, my program started to receive the following error : Server Error in '/WebVisual2' Application Database 'salesA' does not exist. Des ...Show All
Windows Forms error in AddEventHandler
I am loading an assembly which rises event "Signal" - in my form I am trying to register for handling that event but I keep on getting erorr "An unhandled exception of type 'System.Reflection.TargetException' occurred in mscorlib.dll Additional information: Object does not match target type." Thats how code looks like: defintion of event in assembly: public delegate ...Show All
Windows Forms TableAdapter Update Error
I made a TableAdapter and use ObjectSource to bind it to GridView, when I insert new rows it works OK, but when I try to Update or Delete it gives me this error: ObjectDataSource 'RegionObject' could not find a non-generic method 'Update' that has parameters: RegionDescription, original_RegionID. Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44 Thanks Alaa Bhr Software Developer Hi Andrew, I followed the steps you suggested but I still got the error. I noticed that under the UpdateCommand , there is a Parameters collection. I opened it and the primary key column ...Show All
Windows Forms richtextbox and treeview problem
i am currently developing an XML editor with a tree view and a richtexbox. The tree view is populated depending on the XML format you typed in the richtextbox. What I wanted to do is everytime I click a node in the tree view, the focus shifts to the richtextbox and the cursor is placed on the node that I just clicked. I'm&nb ...Show All
Visual Studio Express Editions Visual Web Developer
Is just installed the Visual Web Developer to start wit the .net technology. After uploading the included sample site to my 2003 webserver i'l get the following error. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load file or assembly 'file:///C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\94b78f69\1ffd913b\App_Web_default.master.cdcab7d2.wvtcepbs.dll' or one of its dependencies. The system cannot find the ...Show All
Visual Studio Express Editions unable to write to db (visual basic to SQLServer (2005 Express))
Hi, keywords: vb, visual basic, sql server, 2005, express, write, read, only, readonly, insert, update, delete I'm working through Bob Tabor's excellent VB Tutorial for Absolute Beginners. I hit a snag on Lesson09. I can't write to SQL Server 2005 Express. REF: Absolute Beginner’s Video Series at http://msdn.microsoft.com/vstudio/express/vb/learning/ Using my code, Bob's code or auto created code, I can NOT write to the database using any control other than the VB2005Express Database Explorer show table data tool. The controls do populate correctly with data entered via the show table data. But the ...Show All
.NET Development Reset XML Declaration using XmlWriter
I am trying to use XmlWriter to create XML. I need to have the XML Declaration to be < xml version="1.0" encoding="ISO-8859-1" >. I tried to set the Encoding in the XmlWriterSettings to "ISO-8859-1". I see the Encoding changes to “ISO-8859-1” in the setting but no matter what I do the resulting XML Declaration always looks like < xml version="1.0" encoding="utf-16" >. I don’t know if this is a bug or a feature. Here is my code: StringBuilder^ sbXml = gcnew StringBuilder(); XmlWriterSettings^ pXmlSettings = gcnew XmlWriterSettings(); XmlWriter^ w = nullptr; pXmlSettings->Encoding = Encoding:: ...Show All
Software Development for Windows Vista Vista 5308 refuses to activate. Any way to retrieve files?
We upgraded a windows XP machine (non-domain) to Vista 5308 recently. Upon trying to activate we kept getting an activation error 0x8007000 "Data is invalid". It only once came up with an option to activate by phone. However when the form came up, the activation codes that normally appear for you to read to the automated system were blank. We had forgotten about the issue for a few weeks as other development issues had taken precedence. Upon revisiting the machine yesterday, it had said that we had to activate, the period was over. We attempted to activate again and received the same error. "Data is invalid". There is ...Show All
Visual Studio Team System Testing a Web application with Active X Controls
Is testing web applications with ActiveX controls supported, if so how would one go about doing this. The application being tested was not developed in house so we do not have any code just the application. We are trying to load test the application but ran into problems recording due to the Active X controls being used. To save a fiddler recording as a web test use the File->Save->Visual Studio Web Test. Note that you may have to make a selection in the request list to get the menu item to enable. Then add the web test to an exisint Visual Studio test project using "Add Existing I ...Show All
