| adding Textboxes dynamically into a winform (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hello I want to add some dynamic control in the win form when i press a button I write the following line of code. But the problem is instead of displaying 10 textbox it display 9 textboxes.But it display another textbox when i hit the button again. Can any one pls give me any solution of it. Anyother alternative solution is appriciable as well. Thanks private void btnProcessNow Click(object sende... |
|
| Addition - Help! (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| What's wrong? I am trying to add 2 radiobuttonvalues. Any idea? %@LANGUAGE "VBSCRIPT" CODEPAGE "1252"% !DOCTYPE HTML PUBLIC " //W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" html head script language "vb" runat "server" Sub rbl1b OnSelectedIndexChanged(sender As Object, e As EventArgs) Dim Int1a as integer Dim Int1b as integer Dim RadioButtonListla as integer Dim Radi... |
|
| Additional Repeater questions for Steven Cheng (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I am trying to use a Pagable Repeater with checkboxes in ASP.Net, I cannot seem to associate the checkbox with a particular database record so I lose the checked state from page to page. Below is a sample 1 page ASP.Net apllication built to run against the SQL pubs database. There are contents of 2 files 1. ASPX, 2. ASPX.VB If there is anyway you can help, I'd really appreciate it. Thank you, Mark... |
|
| AddressOf/Delegate question clarified - VB6.0, .NET question (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| OK, I've managed to clarify my question (whew). I'll show two blocks of code one in VB6.0 and one in VB.NET. The VB6.0 code manages to execute the callback function, the VB.NET does not. The question is "how do I get the .NET code to execute the callback function?" (Note the declared function works to expose IRQs for a digital input/output card. Not relevant, but worth knowing if you were curious.... |
|
| adjusting datagrid column width (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.datagridcontrol |
| Hi, I want to know what are all the ways with which we can precisely control the width of the datagrid columns. Iam facing problems in controlling the width of the datagrid columns. Thanks |
|
| ado .net , sql server connection (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| i have a sql server and asp .net application on the same box. The sql server instance name is cdcrs204\NETSDK. tThe following connect string works fine in the application on the server. Me.SqlConnection1.ConnectionString "data source 52.99.20.25\NetSDK;initial catalog sac;persist secu" & "rity info True;user id sa;packet size 4096;Network Library dbmssocn" But this gives following exception when I... |
|
| ADO recordset inside of .Net (VIP replies) |
| microsoft.public.dotnet.general |
| Does anyone have an example of how to use an ADOdb recordset inside of .Net? I am trying to interface with a VB application that uses the ADOdb recordset. Here is my code: string DBConnection ""; DBConnection "Provider 'HOleDB.1';DataSource 'DEV5\\ENERPRISE';Henwood App ID 10;InitialCatalog 'NPC RSM5 Trading';"; // sql statment string SQL "SELECT *, PeriodName AS TOD, 'RiskGroup HWANG .@04 Mar 23 ... |
|
| ADO.NET doesn't "feed back" a data error to the program (?) (VIP replies) |
| microsoft.public.dotnet.languages.vb.data |
| I set up a form with a single bound field (numeric) to a numeric field in a table. I change the value, then Update the dataAdapter, no problem. Then I put alpha characters into the textbox and performed the update. It didn't update the database, but it also didn't give me back any error. I was expecting an error so that ADO.NET could help me with field validation. Any idea WHO "ate" the error? TIA... |
|
| Advise on Real-Time update to column control (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I am not much of a GUI person and am looking for some insight. I need to have a control that is multi column and will allow for real time updating. Any thoughts on controls, general steps or an example would be appreciated. Thanks, Dave |
|
| after .doc (word) creation it downloads the file but i want it to be opened (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| On my dev PC the website that i wrote auto creates a word document and it auto opens in my webbrowser. Whenever i visit the site with another PC the website ask if the user wants to download the .doc document of open it. Why is this and how can i make sure it opens in the browser only. my code: Sub butMaakWord OnClick(Sender as Object, e as EventArgs) Dim myConnection As OleDBConnection New OleDBC... |
|
| After form Load event (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| How can I execute a sub after a form has completely loaded. I'm currently doing in the load event, and the sub updates progress fields on the form, but I'm not seeing the form until the sub is completed. In powerbuilder I used postevent (x) which would execute after the completing the form load, is there an equivalent in vb.net Any help would be appreciated. |
|
| After insert a row to a table, the comboBox connected to the table didn't release focus. (VIP replies) |
| microsoft.public.dotnet.general |
| I am working on a staff management project. Every staff has an entry in STAFF table, and every staff works for a facility. The S PRMR FCLT column in STAFF table stored facility number for which staff worked. All facility info was stored at FACILITY table. I bound SelectedValue of the comboBox to a S PRMR FCLT of STAFF, and I set FACILITY as the DataSource of the comboBox. If I use InsertAt to put ... |
|
| An embarrassingly single question (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, still learning VB.Net and have this very simple question. Why does my console debug window never display "TestOnPaint" ? Chris Public Class Form1 Inherits System.Windows.Forms.Form '[ ] Windows Form Designer generated code Private Class SCListBox Inherits ListBox Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs) Debug.WriteLine("TestOnPaint") MyBase.OnPaint(e) End... |
|
| Anonymous use of events (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Perhaps this is a dumb question, but I've tried Google and the newsgroups, and can't figure out a satisfactory answer yet. I'd like to make publish/subscribe scenario where the publishing object is a couple of layers removed from the subscriber. The publisher fires an event and doesn't know who (if anyone) is listening. The subscriber, on the other hand, wants the information, but doesn't want to ... |
|
| Any event? (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Is there an event that fires globally for application whenever some window is showing? I want to know about any window displaying in my application ... |
|
| Anyone using the OpenNETCF CommunicationsManager successfully? (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| I've been having significant trouble with the CommunicationsManager, and I'd like to know whether or not it's just me. In particular, it doesn't reflect the current connection state very well at all, often claiming to be disconnected when in fact it's connected, etc. I suspect this *may* be the PocketPC API itself being rubbish (certainly there are difficulties here turning the phone on programati... |
|
| Anyway to AutoTab a text box? (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| Is there any way to auto tab to the next control when the max number of characters has been entered into a text box? Thanks David Laub |
|
| API Problem (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| HI I have a application which is developed using VB.6.0 The application contains a Frame and Button. when the user click the button then the existing powerpoint(path hot coded) will open and fit into the frame Its working perfectly. i have given the code. but when i convert to .net (both C# and VB.net) the power point application not fit into the frame(groupbox or panel) herewith i am giving the b... |
|
| appconfig (VIP replies) |
| microsoft.public.dotnet.framework |
| I have no idea why I get error message An unhandled exception of type 'System.Configuration.ConfigurationException' occured in system.dll Additional information: Unrecognised configuration section AppSettings Here is the App.Config files details ?xml version "1.0" encoding "utf 8" ? configuration AppSettings Key "connectionstring" value "server (local);Trusted Connection yes; database Northwind"/ ... |
|
| appending pages to tiff files (VIP replies) |
| microsoft.public.dotnet.framework.drawing |
| Is there a way to append "pages" to existing tiff files? I've tried using File.Append method from System.IO, and the resulting file is indeed twice as big, but when displayed only the pages from the original file can be accessed. Any help, pointers, etc would be greatly appreciated. TIA! |
|
| Application Time out (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, how can i implement an application timeout?? If the app has no messages for a pre configured time, i want to pop up a modal box asking for the password. I tried the Idle event of the application. But it didn't seem to work. Any other ideas ?? TIA :) |
|
| Application Timeout Required (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, My windows application needs a time out functionality. After a specified time interval (say 20 mins) of inactivity, I need to show the enter password screen. I tried the Application Idle event but that didn't work out well. Could somebody give any suggestions ? TIA :) |
|
| Application.Error event (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I need help figuring out why the Application Error event on my global.asax is not working. When I run my web application, I do get an error on the screen but no log file/record is created. Here is the code I have for the Application Error in my global.asax: Sub Application Error(ByVal sender As Object, ByVal e As EventArgs) Dim unhandledException As Exception Server.GetLastError().InnerException I... |
|
| Application.Exit() did not exist the application. (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I used System.Windows.Forms.Application.DoEvents() in a loop to handle user click close button . Private Sub btnclose Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnclose.Click Me.Close() System.Windows.Forms.Application.Exit End Sub However, the application continues to run when user click close, thought the form did close. Is there anything I miss out? Thanks. |
|
| Application.idle (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Anyone knows how to add an Application.Idle handler in VB .Net Private WithEvents ?????????? As ???????? Public Sub IdleEvent(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Application.Idle Application.DoEvents() End Sub Thanks |
|