| Getting L&H voices in VB.NET (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| How can I with the TTS Control(Direct speech control) speak a paragraph with any of this Languages using the control properties?.I am not able to do it. |
|
| Getting Named Color Names and values? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| How can I get value pairs of named colors and the color they represent? I want to easily get these colornames and then their associated color values into a file so I can add to the list and offer this list in an owner drawn listbox for the user to choose colors. thanks, Shane |
|
| Getting rid of the cursor in a DataGrid selection (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| Hi all, I have a readonly DataGrid. It currently contains one column, though it will contain several eventually. The user clicks on a colunn and I'd like the column to show up "selected", catch the event, and enable or disable some other buttons on the form depending upon the info in the column selected. I catch the CurrentCellChanged event to grab the info. It works well other than the left overs... |
|
| Getting system Error all the time. (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hello there, I am using the VB.NET Standart Edition compiler and I would like to know if this is not supported on this edition. This is just a testing code from a book that I'm trying here and it builds with no problem, but when I run it I get and error. This is the code snipet; Dim xml Reader as XmlReader xml Reader m SqlCommand.ExecuteXmlReader() This is the piece of code that always gets trappe... |
|
| Getting te ID of a Selected Item in a dropdownlist. (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi all, Can anyone tell me how to retrieve the ID of a selected item from a DropDownList. My query brings back the ID and value and I cycle through the .Read Method to add items to the DropDownList. e.g. While dr.Read DDL.Items.Add(dr("value")) End While I can do it if I use this method: DDL.DataSource dr DDL.DataTextField "value" DDL.DataValueField "id" DDL.DataBind() and then refer the the DataV... |
|
| getting the last control in focus (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hello there Is there a way to get the last control that was in focus before the current control? please note that I don't want the next or previous control in the tab order, I need the last one used by the user. Thanks in advance. Regards Sameh |
|
| getting the repeater to work (VIP replies) |
| ASPFriends.com 'aspngstart' list |
| ok, i keep trying but it just wont work. all it keeps spitting out is: System.Data.Common.DbDataRecord 20 here's what i've got: oh yeah, i'm using c# on the aspx and code behind thanks ahead for help // aspx asp:Repeater id 3D"Repeater1" runat 3D"server" ItemTemplate %# Container.DataItem % /ItemTemplate /asp:Repeater and // code behind private void Page Load(object sender, System.EventArgs e) { i... |
|
| getting those built in error pages (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I am wanting to get those cool html error pages that ms produces when I hit an error in asp.net. For instance, when I get a compilation error I get an html error page that shows me the Description: Compiler Error Message: Source Error: Source File: The main thing I want is the Source Error. This give me a few lines of the code with line numbers. The other thing is the Compiler Error. This gives me... |
|
| Getting value from one form to another in Windows Forms (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I have 3 forms in my application. Form1 which is a MDI form calling Form2 & Form3. Form2 has a textbox "TextBox1" and Form3 has a CommandButton "Button1". I will show both Form1 & Form2 as MDI Child from Form1. Now when i click on the Button1 in Form3, I want to access the TextBox1 value of Form2. How to achieve this... in VB6 is was very simple as I can use Form2.TextBox1 but how in VB.Net or... |
|
| Global Change to DataGrid (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| In my app, I get all the info/data that I want from an Access data base. In one place I've the information displayed on a ListView. I let a user click on any line and then an 'edit' button. This picks the info from the line and displays the data in a DataGrid for editing. The information displayed is 1 to 7 lines. What I want to do is to change some text in a column ("description") that is the sam... |
|
| Global Functions accessible to all classes in C# (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| I have created control array classes for buttons and textboxes and affixed them to a form class. In VB I can easily create a module with fuctions that can be accessed from any class. How can I do the same in C#? When I use the 'Static' keyword I get an error. For example when I try to change the BackColor of an instance of a TextBox object on the form from a ButtonArray class event handler functio... |
|
| global variable (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| I would like to have a global Variable where it can be accessed like this. when the form loads i want: string path "c:\\ComboValues.txt"; StreamReader sr new StreamReader(path); while (sr.Peek() 0) and in the cmobobox I want the items from the list to load { cmbBox.Items.Add(sr.ReadLine()); } cmbBox.SelectedIndex 0; I get a referense not found in 'sr' |
|
| global.asax and function in vb.module (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I have a web project with vb module that has a public function GetConnectionstring which returns a string value. I am trying to set an application variable in the global.asax file using this function and retrieve it from my web page, but everytime I run the project I get this error: Object reference not set to an instance of an object. Can someone please help me out with this. Here is the code for... |
|
| global.aspx logout not working... (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I have the following within my global.aspx.vb but it never fires..(worked fine in global.asp) Any ideas? Thanks, Chris Sub Session End(ByVal sender As Object, ByVal e As EventArgs) ' Fires when the session ends If Session("ID") Then Dim conn Server.CreateObject("ADODB.Connection") conn.open(Application("SQLSERVERconn")) Dim sSql "UPDATE EmployeeActivity SET Status 'I', Logout '" & Now & "' WHERE E... |
|
| Going nuts with Viewstate (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi guys Till now i thougt I understood ViewState but as I was trying write my LoadViewState method i am sort of confused with what this ViewState is and what is its use. I have my LoadViewState method , i was curious to know wheres the state of Various controls getting set on Post back. So I tried viewing the ViewState but it doesnot show any controls and their values. I also had to implement Save... |
|
| GotFocus event (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Hi, I have a Dialog with a button. When you click the button a new dialog opens. Why does the GotFocus event happens when the dialog is created(see code below)? /Mats. /// summary /// addItemButton click event /// /summary /// definition [C#] /// private void addItemButton Click( /// object sender, /// System.EventArgs e /// ) /// /definition /// created 2003 03 27 /created /// author MBo /author ... |
|
| GotFocus vs MouseDown events (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi! everybody, I want my control to have different behavior if it got focus by mouse click from by keyboard (i.e. Tab or Shift Tab). I found that GotFocus event always comes before MouseDown even the I click the control directly. My problem is that I don't know whether I should do something which is exclusive for keyboard only under GotFocus event since I don't know how the control got focus. On M... |
|
| GPRS Connection status (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Dear All, Can any one tell me how can I get the GPRS connection status using C#. I have tried to get the status using Connection Manager API in C and it works. But when I use same method in C# using pinvoke it fails. Do any of you have any clue? Thank you. |
|
| GPS problem (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Dear all, I am using VB .NET to write a GPS application. However, what I get from the serial port is something like "$???????" instead of the standard data format string. I guess it may due to the encoding problem since GPS data is ASCII but the Default encoding for VB .NET is Unicode. Is there anyway to change the default encoding? Kempton |
|
| Grabing the FormLoad Message from the Message Queue (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I have written a Custom Message Filter. And want to trace the Form Load or similar Message and write this to console. Can Anybody help me here. Public Function PreFilterMessage(ByRef m As System.Windows.Forms.Message) As Boolean Implements System.Windows.Forms.IMessageFilter.PreFilterMessage If m.Msg ??? Then Console.WriteLine("Form Loaded") End Sub Its urgent.. Saurabh |
|
| Grade Point Average (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| My code won't work, can someone help me? |
|
| Granting ASP.NET write access to a file (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi, I'm trying to create a web form that will print a MS Word doc from the web form. I'm using VB.net. This is the code example: Dim WordApp As New Word.Applicatio Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim thisDoc As New Word.Document thisDoc WordApp.Documents.Add With thisDoc .Range.InsertAfter("Printing with Word") .Paragraphs... |
|
| Grid Line Color (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.datagridcontrol |
| How does one change the color of the lines between items in a datagrid? I've played with every css style I can find and nothing works. Brett |
|
| Handler question (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I have several textboxes and I want one dbl click handler to be used for all of the textboxes. How do I get all of the text boxes to use the same dbl click handler? Kim |
|
| Handling events (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I have an object that I want to have a PictureBox as a member of, and I want to be able handle the on click event for that member PictureBox. How do I do it? Right now, the PictureBox is declared: Friend WithEvents f PictureBox As System.Windows.Forms.PictureBox Private Sub PictureBox Clicked(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles f PictureBox.Click But it doesn't exce... |
|