Topics
-
-
- *Experts*
- 3 replies
- 9.1k views
:confused: I have 2 mdi childforms which are database input forms. Each form has the usual add/delete/edit/save buttons and a few textboxes. I capture the keypress events on the textboxes to allow only numbers and I also capture the Enter key to move focus to the next control. The forms work fine if only one form is opened. If both forms are opened and I then switch to the form that was opened first the keypress event does not capture the enter key but the the other characters work. The keypreview property is set to true for all forms. Note that all fields are disabled when the form is loaded and enabled only when the add/edit buttons are clicked. …
Last reply by jag711, -
-
- 1 reply
- 2.5k views
Does anyone know why the crystal viewer loads so slow the first time it is called. The second, third, fourth, etc.... time it is called it loads like a champ but the first time sure is slow. The folks at business objects are some pretty smart people so I'm sure it's something I'm not doing. Any ideas sure would be appreciated.
Last reply by barski, -
- 2 replies
- 927 views
I have a specific situation. We have many asp.net applications (projects) situated on one web server. Along with it, there is one "wrapper" application, handling the login and user rights. What it does is, when a user logs in into this application, it sets a cookie, so that all other applications on that server can read it and allow users to see them. (It also builds a tree with links to pages a user can see.) But, what if I want to allow some asp.net or php pages on other web servers (within the same intranet) to be handled by the same "wrapper" application? Can I do this? That means, a user logs in server1 wrapper application, that forms a tree that, among others, ha…
Last reply by michael_hk, -
- 18 replies
- 3.3k views
Hi All I'm able to deply my app over the top of a previous version, but i've recently noticed that I'm leaving multiple entries in the add and remove software list. Can any one suggest what I'm doing wrong? Any suggestions appreciated. Thanks
Last reply by Lanc1988, -
-
- Administrators
- 1 reply
- 1.2k views
I was wondering if anyone could convert this code which is in VB6 to .Net for me. It is code to shut down windows. Private Const EWX_SHUTDOWN As Long = 1 Private Declare Function ExitWindowsEx Lib "user32" (ByVal dwOptions As Long, ByVal dwReserved As Long) As Long 'shut down the computer lngResult = ExitWindowsEx(EWX_SHUTDOWN, 0&)
Last reply by PlausiblyDamp, -
-
- 1 reply
- 1k views
I am trying to populating a datagrid using a dataset. Problem is that this dataset is getting populated from another thread. once the dataset is populated.. i'm doing a raiseevent to send the dataset teh event handler. in the handler i do a datagrid1.datasource=ds. if I leave it at that.. the datagrid is populated, but there is a plus sign in the grid..i click on that select the name of the table and there is my data. in the past when not using a thread I would put a datagrid1.datamemeber="tablename" and it would display the data in the grid without having to hit the plus key. does anyone know of a way around this. I want the grid to be displaying all the data with…
Last reply by jvcoach23, -
- 1 reply
- 1.1k views
its possible to create an crystal report object in vb.net instead of using crystal report component attached in vb.net??
Last reply by Rothariger, -
-
- *Experts*
- 2 replies
- 1.3k views
I am about to start on a Visual Basic.NET course and they say I need windows XP Professional. My system is Windows Home Edition. Can someone tell me if I am going to have any problems? Cheers
Last reply by Benato, -
-
i would like to update my dataset record, but i dunno what the mistake i made, it cant display the output i want. can anyone point out the mistake for me , thank Dim display As String Dim ds As DataSet = New DataSet Dim myconnection as SqlConnection display = "SELECT * FROM Student WHERE Stdcode='ST01'" Dim myDataAdapter As SqlDataAdapter = New SqlDataAdapter(display, myconnection) myDataAdapter.Fill(ds, "Student")
Last reply by cyclonebri, -
- 1 reply
- 980 views
Hi I recently downloaded a checkbox component for the datagrid from http://www.metabuilders.com/. The component allows you to place a row of checkboxes in a datagrid from which the user can then select as many as they wish/ or none at all. A problem arises when you introduce paging to the datagrid, i.e. if i select 3 of the checkboxes on page 1 of my datagrid and then move to page 2, my selections are automatically deleted. Therefore I have created a Session variable that stores a dataset. I have created a datatable, myTable that has 2 columns "Member_ID" and "Value". I run through my datagrid just before I do the paging and select all checked rows into the ta…
Last reply by mike55, -
-
- Leaders
- 2 replies
- 1.7k views
Hello All, If I have a MessageBox with an 'Ok' and a 'Cancel', how do I create a function (or method) for each of these buttons? e.g. If I press 'Ok' it will access the new form and if I press 'Cancel' it remains in the form from which the button was originally pressed. Any help will be very much appreciated. Thanks, Harold Clements
Last reply by snarfblam, -
-
-
- Leaders
- 11 replies
- 1.5k views
--Using [VS ASP.NET]-- This is a really simple question... How do you make a message box that has a YES/NO and returns a boolean depending on the users response. Specifically I want to prompt the user to confirm if he wants to delete the seletected item. So like if (messagebox.response) then XXX else YYY type of Pseudo-code. I am sure this is rather trivial just couldn't find any clear examples. Thanks,
Last reply by kahlua001, -
-
- 2 replies
- 1.9k views
I have written most of the functionality for a program - I have just included a "Settings" form. I have now decided to make the main form a splash screen which will load all data and check that settings are there. While this is being done, a simple status text will tell the user what is happening... eg: "Checking FTP Settings...", "Loading Main Program..." etc. So the splash screen will start. on load, it will check to see if the settings file is there. If not, it means the program is running for the first time, or the file has been deleted, so i need to force the user to enter the settings again. The splash screen must still be in the background, with my settings f…
Last reply by david7777, -
- 1 reply
- 1.8k views
How would I go about getting my setup project (during the uninstall) to remove registry entries created by my software?
Last reply by PaulZ, -
-
- Leaders
- 3 replies
- 1.7k views
How can I run my software after its instalation is finished?
Last reply by PaulZ, -
-
- 6 replies
- 1.1k views
Hi, Am trying to do paging at the moment, here is the code that I am using: Sub page_Datagrid(ByVal o As Object, ByVal e As DataGridPageChangedEventArgs) dgMembers.CurrentPageIndex = e.NewPageIndex dgMembers.DataSource = dsDataset.Tables("Members") dgMembers.DataBind() End Sub In the Html section of my data grid I have added the following OnPageIndexChanged="page_Datagrid" However when I select a new page on the datagrid, the grid simple disappears. Any suggestions on what is causing this problem?? Mike55
Last reply by mike55, -
- 0 replies
- 1.3k views
Hi all. Question :) I'd like to add to my user control a property DataSource like other standard .Net controls. Now, DataSource is defined as object. How can I: - Test if an object can be a valid DataSource? (for the set property). - Read datarow from a generic DataSource? (to fill my control's lines). ??? Thanks!
Last reply by neodatatype, -
- 2 replies
- 993 views
It's my first time i want to write a cotum validator but it doesn't seem to work. In de page i've put this validator: <asp:CustomValidator id="CVFBeginDate" OnServerValidate="CVFBeginDate_ServerValidate" runat="server" ErrorMessage="Please fill in a valid date as startdate" ControlToValidate="TxtBeginDate">*</asp:CustomValidator> in de codebehindpage i have created this sub: Protected Sub CVFBeginDate_ServerValidate(ByVal source As System.Object, ByVal args As System.Web.UI.WebControls.ServerValidateEventArgs) Handles CVFBeginDate.ServerValidate Try tmp = args.Value.Split("/") testDate = New Date(tmp(2).ToString…
Last reply by RTT, -
- 1 reply
- 3.4k views
I tried to write client-script code in ASP.NET code behind (as shown in bold below) using Visual Studio.NET, but somehow it keeps on telling me that either RegisterClientScriptBlock or IsStartupScriptRegistered are not members of System.Web.UI.Page. Could anyone please help me with this? Thank you. ========================================================== Public Class LaborDistributionDownload Inherits System.Web.UI.Page #Region " Web Form Designer Generated Code " 'This call is required by the Web Form Designer. <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() End Sub Protected WithEvents Form2 As S…
Last reply by wessamzeidan, -
- 0 replies
- 1.3k views
On a pocket pc under Settings\Connection there is the possibility to add a new modem connection. When do you want to add a new modem connection ? Is it when you have a SD card , CF card ? or is it required when you want to have serial communication to for example a SD card or CF card ?
Last reply by Jedhi,
-
Who's Online 0 Members, 0 Anonymous, 90 Guests (See full list)
- There are no registered users currently online