| Get current Line and char offsett in vs.net (VIP replies) |
| microsoft.public.vsnet.ide |
| I need to know how get retrieve the current Line and character offset for the active code document in visual studio.net for example if i wanted to keep track of exactly what point the caret is at inside a document. Basically I want to keep track of every character the user typins into the code document as they type it. Here is some ~example~ code to give you an idea of what I am trying to do. Priv... |
|
| get data from query? (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi How do I get data from an MS Access QUERY rather than a table? Below works OK for a table ... Dim myFeedersTable As DataTable myFeedersDS.Tables("Network Data Feeder") Tried a few things, but no go. Thanks Graeme |
|
| Get ID/Value in one Sub handling multiple SelectedIndexChanged events? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| Please pardon my ignorance if this is an obvious question to you more experienced .Netters! I'm sure it only has to do with referencing the right class (or containing object?), but I've been unsuccessful thus far. I have a single subroutine that handles multiple SelectedIndexChanged events: Private Sub SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ddlEmpl... |
|
| Get reference to open instance of excel doesn't work (VIP replies) |
| microsoft.public.dotnet.framework.interop |
| Can anyone tell me why I get this error when try to instantiate an instance of excel? I have tried this in a test WinForms app and it works fine, its only not working from the web app. Exception Details: System.Runtime.InteropServices.COMException: Operation unavailable Source Error: Line 63: Excel.Application excel; Line 64: // Get a reference to Excel.Application from ROT (Running Object Table).... |
|
| get selected column (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.datagridcontrol |
| hello ng, how can I get the selected column index from a datagrid? thanxs simon g. |
|
| Get the component's form (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.designtime |
| Hi, I have a component witch have to execute some tasks when the form is loading but i can't tell my component to do this because i don't know how to eventhandler the load event form. Can you help me ? Regards Nelson FANECO France |
|
| Get The Outlook Sender address (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi there, I'm using c# to retrieve mail messages from outlook. However, i have a problem of getting the sender's e mail address. At present i can get the sender's name but not e mail address. below is the code i'm using. can somebody please explain how to get the sender's address? Thanks James private void button1 Click(object sender, System.EventArgs e) { Outlook.Application oApp new Outlook.Appl... |
|
| Get the same selected date from the calendar two consecutive times (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| When I click any date in System.Web.UI.WebControls.Calendar (C# WebForm), the SelectionChanged event handler fires. If I next click on the same date again, this event handler does not fire, so I can't get the selected date directly from the calendar on two successive attempts. How can I get this same selected date from the calendar on two successive attempts. Storing the value obtained on the firs... |
|
| Get the same selected date from the calendar two consecutive times (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| When I click any date in System.Web.UI.WebControls.Calendar (C# WebForm), the SelectionChanged event handler fires. If I next click on the same date again, this event handler does not fire, so I can't get the selected date directly from the calendar on two successive attempts. How can I get this same selected date from the calendar on two successive attempts. Storing the value obtained on the firs... |
|
| Get top number of rows in the Dataview (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| How can I get the top 100 rows of a Dataset. I tried setting the RowFilter of a dataview "TOP 100" but that does not work. Is there any other way to do this? I need to bind the top 100 records to a grid that is why i tried the DataView object. thanks... |
|
| Get True Type Fonts (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi, I'm trying to populate a dropdownlist with all the available True Type Fonts on the webserver. Anyone know how to do this? |
|
| get url (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Please, I have dropdownlist on my webform. I would like to get web page on certain url adress automaticly when I select an item in dropdown list. I have put AutoPostBack property of dropdownlist to true. I only know how to reach some web page using hyperlink.NavigateUrl . Is there any way to get url adress by using normal buttons or, like in this case, list controls, instead using hyperlink ? Than... |
|
| Get value from Datagrid? (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hello I've managed to list data from a database and present with a datagrid like this: ProductID Productname 65 A 34 B 11 C problem now is that when I doubleclick on a row i need to pass the value for selected ProductID to a function that shows a form like this ProductID [ 65 ] (textbox) Productname [ A ] (textbox) now how do i get value 65 if i doubleclick anywhere on that row so i can populate a... |
|
| get which panel clicked in statusbar? (VIP replies) |
| microsoft.public.dotnet.languages.vb.controls |
| How does one find out which panel was clicked ? Have a couple of raised panels and would like to know which was clicked to take corresponding action. Private Sub sbrBar Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles sbrBar.Click ??? End Sub Thks, GW |
|
| GetDesignTimeHTML doesn't fire for PanelDesigner. (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.buildingcontrols |
| I have a custom web control that inherits from System.Web.UI.WebControls.Panel What I want is for developers to be able to drag controls from the toolbox, into my control, and have them appear as they would on the finished page. My control renders a table around the outside of its child controls, and puts a special header row at the beginning of this table. for example: cc1:myctl id myctl1 runat s... |
|
| GetHelpKeyword Problem (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Probably a stupid question, but I'm just learning C# and .Net. I'm trying to create a "What's This" button on my form next to input box the user is supposed to fill in. I have the question mark up top working, but am trying to make the form as user friendly as possible. The code segment is as follows for the button: private void button1 click(object sender, System.EventArgs e) { this.hpTimeTracker... |
|
| GetHitTest + Vs.net Selection of Control (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.designtime |
| I have a case (custom Tab control that acutally works instead of the mess in ..net right now) where I need to handle a mouse click on the control (i.e. changing tabs) at design time. So I implimented a designer and overrode the GetHitTest() function. All is well, except if I return True from that function, the control isn't selected in vs.net as well. This causes problems because there is nowhere ... |
|
| Geting error in MobileUserControl when redirecting (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.mobile |
| Im not able to find RedirectToMobilePage() method in MobileUserControl. How can i redirect via Command control in .ascx to other mobile page. When im using HttpContent.Current.Response() it redirects nowhere; When using : MobilePage pg new MabilePage(); pg.RedirectToMobilePage(url); the same result. |
|
| getSystemPowerStatus (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| Can anyone tells me that how can I get SystemPowerStatus from OpenNetCF ? I can find Stucture SystemPowerStatus from Win32.Core but I cannot find the getSystemPowerStatus. And I cant' use the BatteryMonitor an dBatteryLife since the device I have cannot detect battery life. It always says battery remaining is 0%. In fact, I tried use the coredll myself but it does not work, here is the code: Priva... |
|
| Getting a subcontrol to work in a repeater (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.buildingcontrols |
| Hi all, I have a component that contains the following code: asp:repeater id "MyRepeater" Runat "server" ItemTemplate asp:HyperLink Text ' %# DataBinder.Eval(Container.DataItem, "Name")% ' NavigateUrl ' %# DataBinder.Eval(Container.DataItem, "Path")% ' runat "server"/ MyTag:MyControl Name ' %# DataBinder.Eval(Container.DataItem, "Name")% ' Title ' %# DataBinder.Eval(Container.DataItem, "Title")% '... |
|
| Getting a value out of StringDictionary (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi! I have a StringDictionary itialized as follows: private void frmICUCalculations Activated(object sender, System.EventArgs e) { StringDictionary dataDict new StringDictionary(); dataDict.Add("Item1", "2001" ); dataDict.Add( "Item2", "2002" ); dataDict.Add( "Item3", "2003" ); } Now, I want to 'extract' the Value associated with the Key, as follows: string myValue dataDict.Item( "Item3" ); This d... |
|
| Getting compiler error C2653 and don't know why. (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi All, I am using Visual C .Net to create a windows forms application and I am getting the following errors when I do a MessageBox::Show in my Form1.cpp file: Form1.cpp(19): error C2653: 'MessageBoxA' : is not a class or namespace name Form1.cpp(19): error C2660: 'System::Windows::Forms::Control::Show' : function does not take 1 arguments If I move the MessageBox::Show line into the Form1.h file,... |
|
| Getting compiler error C2653 and don't know why. (VIP replies) |
| microsoft.public.dotnet.languages.vc |
| Hi All, I am using Visual C .Net to create a windows forms application and I am getting the following errors when I do a MessageBox::Show in my Form1.cpp file: Form1.cpp(19): error C2653: 'MessageBoxA' : is not a class or namespace name Form1.cpp(19): error C2660: 'System::Windows::Forms::Control::Show' : function does not take 1 arguments If I move the MessageBox::Show line into the Form1.h file,... |
|
| Getting file properties programatically (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi All, I'm trying to programatically (using c#) read the file properties (Title, Summary, Author, Comments etc.... The stuff that shows up on the Summary tab when you see the properties of a file). FileInfo and FileSystemInfo classes expose only the standard properties (create time, mod time etc..). Any pointers would be greatly appreciated. Thanks, Ram Thiru |
|
| Getting id's of composite controls (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| I can't seem to get the id of the child controls of my composite control. I can get the unique id but the id when I try to access it via the controls collection comes back null. Do I need to add a form tag within the control rather than on aspx parent page. Any ideas? Regards, Chris. |
|