tendim's Q&A profile
.NET Development ERROR [07002] [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
Hi all, I had created a simple log in screen with Employee ID and Password. But once I execute the code, it will give me an error as shown above at the ExecuteReader section. My code is as follow . Can anyone please help private void button1_Click( object sender, EventArgs e) { string test = "" ; bool boolReturnValue = false ; string UserName=txtEmpID.Text; string Password=mtxtPwd.Text; ...Show All
Visual Studio Tools for Office Word: text range to boundary rect
Hi, If I have got the Range of some text, say "word", in a Word document, how can I get or calculate the boundary rectangle of the text Thanks. Hello Apurva, I am also trying to retrieve the bounds of a text range in window coordinates I have taken a look at the Borders class, but it seems to me that it only represents the Border style of the text, and does not provide any geometrical information. Hav ...Show All
Visual Studio Express Editions Visual Basic 2005 Express Edition Not Installing
I downloaded the ISO images of Visual Web Developer 2005 Express Edition, Visual Basic 2005 Express Edition, and Visual C# 2005 Express Edition. Burned each to a CD. Practiced installing each on a DEV PC. After witnessing that each installed correctly and without problems, I began to install each on my PROD PC. #1 Visual Web Developer 2005 Express Edition installed without a problem. #2 Visual Basic 2005 Express Edition will not start ...Show All
Visual FoxPro Encryption Questions
I have written two Functions one for encryption and one for Decryption (using _crypt.vcx), I would like to encrypt all data in my app . I have a few Questions… 1) When creating my tables what do I use for datatypes 2) What about indexing Do I index on Decypt(field1). 3) What about SQL Do I do Select Decypt(field1), Decypt(field2)… 4) What about select * . Is it supposed to be this big of a pain or am I just going ...Show All
SQL Server Unable to get all records
Hi Everyone, Hope everyone is doing good. I have problem while running the report, it returns only one record but it has many records . I am using stored procedure and parameter for running the report. If you have any suggestion I will apperciate you. Thanks in advance. Are you sure there is more than one page You may have messed up on the grouping if you used the wizard. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. NullReferenceException
I keep getting NullReferenceException when I create a spirte. It only happens when I close the application, but strangely not the first time I run the application, only after that. I must not be disposing of the texture properly. Can anyone help Here is some of my code: private void OnDeviceLost(object sender, EventArgs e) { & ...Show All
Visual Basic Selecting a record from Data Grid
I have a data grid that displays records. I would like to be able to click on any one of those records and have another form popup to display all the information attributed to that record. How do I reference the row that I have selected Thanks in advance One way of doing this would be that when you click on the row in the datagrid you get the key field value and with this you can set a property on the sub ...Show All
Visual Studio no data displays
Private Sub reportviewer_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim rpt As New ReportDocument Dim ds As New DataSet Dim rptpath As String = Application.StartupPath & "\report.xml" ds.ReadXml(rptpath) rpt.Load("report.rpt") rpt.SetDataSource(ds) crv.ReportSource = rpt End Sub The report.xml file has confirm ...Show All
Visual Studio Express Editions How do I convert a Url to a String to be used in a text box?
i keep getting this message: InvalidOperationException Was Unhandled An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object. here is the code that causes the problem on the program: Private Sub WebBrowser1_LocationChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles WebBrowser1.LocationChan ...Show All
Windows Forms Icon of the Application Reference in the Start menu
The icon of the Application Reference in the Start menu is a default icon (white and blue empty window icon), not the actual icon of the .exe file for my application. How can I fix that The icon for my application is stored in a Win32 resource embedded in my .exe file (that's option "Resource File" in the Application tab of the project properties). I chose to do that because it was an easy way to pack several icons to implement a fi ...Show All
SQL Server Package Migration Wizard error -- Index was out of range
I am unable to migrate any DTS packages, from a SQL Server 2000 package, from a structured storage file, or from a DTS package imported into SQL2005 (Developer Edition, 32 bit). Running the Package Migration Wizard, every time I get to the List Package screen, i get the error below. I haven't found any other mention of this so far. Anyone else seen this error or have suggestions "Index was out of range. Must be non-negative and ...Show All
Visual Studio Team System Team System product State
Hi, I'd like to now which is the state of the product Is it in RC or the product was finally released Thanks a lot ...Show All
Visual Basic Why does my form close after the form.show
In my program I want to open my form from the SUB Main. I am trying to use the form.show() method but the form opens for a split second then closes. What am I doing incorrectly Or: Dim S As String="12.34" Dim D As Double=Double.Parse(S) ...Show All
SQL Server Can't Deploy AdventureWorks AS Database using Instances of SQL and AS
Hi all, Have just installed June CTP on a new laptop build and am having problems getting the AdventureWorks AS database deployed. Using a named instance of SQL Server 2005 (which houses the AdventureWorksDW database) and a named instance of Analysis Services 2005 (which should be getting the deployed database). After opening the sample solution in BIDS, I changed the data source definition to point to my SQL Server 2005 instance (lap ...Show All
Windows Forms Printing from a Datagrid in VB.Net
I'm trying to print the contents of a Datagrid, any ideas on how i do this I've looked at the other threads to do with this and none of these actually answer the question, or they are in C#. Thanks Thanks, i managed&nbs ...Show All
