| Can't Display Data in DataGrid (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hello, I have a Windows Form that I am trying to use to display data in a DataGrid object from an Access Database. I have created an OleDbCommand Object (with the appropriate Connection string) to Select the appropriate data. I then use a OleDbDataAdapater to Fill a DataSet object. My problem is that I can't seem to show the results of the query on my datagrid object. Here is Code: private void bt... |
|
| Can't find object reference (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Okay here are four classes for a pocket pc program: Input, fpositional, ComboBoxArray and TextBoxArray. The "input" class is the form. I use the fpositional class to handle most of the functions for the objects on the form, in addition the The objects are created in the fpositional class and affixed to the Input form through the fpositional constructor which takes the form as an argument. The Comb... |
|
| Can't get any of the button click calls to work with webproject... (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| These don't work with system.web.ui.webcontrols.button: Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click, Button2.Click .... End Sub or... Button1.PerformClick() or... Me.Button1 Click(Button1, New EventArgs()) Any help is appreciated. Thanks, Trint .Net programmer trintsmith@hotmail.com *** Sent via Developersdex http://www.developersdex.... |
|
| can't navigate to last row (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| Hi, I have navigate buttons for jumping to first, previous, next, and last rows in a dataset . I was able to use them perfectly fine until recently I replaced the source table in my sql server database with an updated table with similar name (renamed the original table by suffix OLD). Now I can use other navigate buttons fine except for the LAST button. I can not go to last row. I have not touched... |
|
| can't navigate to last row (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I have navigate buttons for jumping to first, previous, next, and last rows in a dataset . I was able to use them perfectly fine until recently I replaced the source table in my sql server database with an updated table with similar name (renamed the original table by suffix OLD). Now I can use other navigate buttons fine except for the LAST button. I can not go to last row. I have not touched... |
|
| can't navigate to last row (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, I have navigate buttons for jumping to first, previous, next, and last rows in a dataset . I was able to use them perfectly fine until recently I replaced the source table in my sql server database with an updated table with similar name (renamed the original table by suffix OLD). Now I can use other navigate buttons fine except for the LAST button. I can not go to last row. I have not touched... |
|
| Can't read cookies from within a web control (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| Hi, I'm trying to read and write cookies from within a web control. I can create them fine, but I cannot read them. I know they are getting created because the cookie file appears in the IE cache, and I can read the cookie using Javascript. However, when I try to read the cookie in my control, Request.Cookies is always empty. Neither my cookie nor the ASP.NET session cookie are in the collection. ... |
|
| Can't release Excel from Memory! (VIP replies) |
| microsoft.public.dotnet.framework.interop |
| I'm trying to handle when my app opens Excel and the user closes it instead of my app. Excel will remain in memory until a reboot. To demonstrate, create a CSharp WinForms app with one button. Here is the button click code: private void button1 Click(object sender, System.EventArgs e) { // create the Excel app and show it to the user Excel.Application app new Excel.ApplicationClass(); app.Visible ... |
|
| Can't resolve error (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| BEGIN PGP SIGNED MESSAGE Hash: SHA1 Hi All, When I run my app in Debug, it works great. When I deploy it, and then run the app from the start menu, it works great... except when I click on Help in the Help menu. It should open a form and display the contents of the help.txt file. I get an error message: ...Cannot find a part of the path "D:\Program Files\App Folder\Resources\Help.txt"... When I cl... |
|
| can't run classic asp code in header of aspx file (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I'm trying to do some ASP date formatting in a separate include file on my .aspx page, but I keep getting "Statement cannot appear within method body, expected end of statement" error when running this page. The header code begins as: %@ Page Language "VB" debug "true"% %@ Import Namespace "System.Data" % %@ Import Namespace "System.Data.SQLClient" % ! #include file dayofweekparse.asp script langu... |
|
| can't run classic asp code in header of aspx file (VIP replies) |
| microsoft.public.dotnet.general |
| I'm trying to do some ASP date formatting in a separate include file on my .aspx page, but I keep getting "Statement cannot appear within method body, expected end of statement" error when running this page. The header code begins as: %@ Page Language "VB" debug "true"% %@ Import Namespace "System.Data" % %@ Import Namespace "System.Data.SQLClient" % ! #include file dayofweekparse.asp script langu... |
|
| Can't StretchBlt an image loaded from my hard drive (VIP replies) |
| microsoft.public.dotnet.framework.drawing |
| I can't seem to figure out why I can't StretchBlt an image that I have loaded from my hard drive. There are two button events below. The first button event, btnFormStretch Click, works fine, but the second one, btnStretch Click, does not. The only difference seems to be the way that I get the source graphic object. The first method uses the forms graphic object whereas the second uses the Graphics... |
|
| Can't update datarow (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I think this is the right group to post to, so here goes. My problem is this, I cannot update the datarow to save my life. Been on this for 2 days now, and still am no closer to figuring it out than I was before. I'm basicly taking date from some text boxes, trying to put them into a datarow and using that datarow to update the database, but its not working. The btn update is where I am sending th... |
|
| cancel request (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I have built an ASP.Net (VB.Net) application. When the user clicks to go to a certain page, I need the ability to cancel the request to view the page (on occasions) or at least redirect back to the previous (current page) How do I do this? Many Thanks |
|
| Cannot add custom control to toolbox - why not? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| Hello, I am creating a custom vb.net web control. This control is a timer that will automatically postback to the server (see http://www.eggheadcafe.com/articles/20021006.asp for C# source that I am trying to translate to vb) Every time I try to add the control to the toolbox (using add/remove items then browsing to the DLL on my test web server) in a new web project I get an error which says that... |
|
| cannot Add New Rows (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| I've been running this same problem for a week now my first VB/NET app using VS.NET but it now hurts! Building a web add, wanting to add data from an online form to a SQL database. I've created the connection/data adapter/data set on the page, created the lines of code of newRow etc code which should add a new row in the database. However, using the debug options, I added a break point at the page... |
|
| Cannot bind an event handler to the 'Click' event because it is read only. (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| What is the proper way of declaring an override on a button click event for a base form. I am getting " Cannot bind an event handler to the 'Click' event because it is read only." listed in the events. It works but should I be getting this message. Base form: Protected Overridable Sub btnSave Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click 'Override this fun... |
|
| cannot connect sql server with sqlDataAdapter (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| when i have tried connect local or remote server i have give below error message. An unhandled exceptin of type 'System.Data.SqlClient.SqlException' occured in system.data.dll Additional information: System Error i use below command Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Wind... |
|
| Cannot deploy - Class not registered - Library not registered. (VIP replies) |
| microsoft.public.dotnet.academic |
| Have fully operational software package developed on VB.NET that worked until Jan 1 2003, with early stage deployments on Oct 10, Oct 23, Nov 11, Dec 12 and Dec 30. When attempted final deployment on Jan 2, 2004 got following messages and errors... I reset everything and tried several times agian. Then erased the setup project and tried to rebuild a new one with the same errors. PLease note... ALL... |
|
| Cannot execute EXE from .Net (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Here is my code; Dim psi As New System.Diagnostics.ProcessStartInfo psi.UseShellExecute True psi.FileName "C:\WinProg.exe" System.Diagnostics.Process.Start(psi) Have tested WinProg.exe and works., However, when called from .Net, EXE doesn't execute. Any help would be appreciated. |
|
| Cannot Find Row Index after using row filter (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.datagridcontrol |
| I have a datagrid that works great and edits/updates just fine. So I decided to add rowfilter via a textbox search. This works great, however when I click edit the values in the row all change to values in another row. This is confusing to the users.. How do I take advantage of the rowfilter and editcommand at the same time. Troutbum |
|
| cannot fire up dropdownlist's SelectedIndexChanged (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Is there any other way can override this event, like javascript onchange added to the attribute of this dropdownlist? Thanks |
|
| Cannot open derived form in design view if the base form is marked 'abstract'. (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi folks! I have a BaseForm class that inherits System.Windows.Forms.Form. It has a property, whose value I need supplied by the class that inherits it. The BaseForm usees the value supplied into this property in its Load event. So, I gave the BaseForm and the property 'abstract' modifier, and put the implementation of the property in the inherited class; say MyForm. However, when I did this, I no... |
|
| Cannot Print more than two pages (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, All: I have a problem with print preview. Even though I set e.HasMorePages true, it still cannot print 2 pages, I mean content of page 2 is printed in page 1. How do I solve this problem? Thanks, Dennis Huang some codes private void PrintCalendar(object sender, System.EventArgs e) { this.pagesPrinted 0; PrintPreviewDialog ppd new PrintPreviewDialog(); ppd.Width this.Width; ppd.Height this.Heig... |
|
| Cannot terminate an excel process using VB.NET (VIP replies) |
| microsoft.public.dotnet.framework.interop |
| I hope someone can help me with this. I am opening an excel object using the: XlApp GetObject(, "excel.Application") syntax. Excel, itself, is being called from a browser control. I have tried microsofts suggestion http://support.microsoft.com/default.aspx?scid kb%3Ben us%3B317109 to no avail. If anyone knows of anyway to terminate the excel process under these circumstances, please help. Thank Yo... |
|