| How to use "session_start" (VIP replies) |
| microsoft.public.dotnet.general |
| Hi, I'm a newbie. I was trying to figure out how to use the Session start method? The reference books I'm reading say that a session STARTS when "session start" is called. But ... in their sample code... I never see that explicitly called. Is it supposed to be called from the Global.asa file (still not sure what that is...) Is "session start" a server side scripting thing? Or a client side scripti... |
|
| how to use asp.net page to send an email? (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| how to use asp.net page to send an email? Posted via Newsfeed.Com Unlimited Uncensored Secure Usenet News http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups 19 East/West Coast Specialized Servers Total Privacy via Encryption |
|
| How to use control 'Invoke()' from second thread - 'Catch 22' (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| I seem to run into a Catch 22 problem updating forms from a second thread. I have only been able to get the Invoke() function to work when the form was displayed using Application.Run(TheForm). When using ShowDialog() to display the form the Invoke() function does not return until the form closes. However, The application loses focus if I use Application.Run(TheNextForm) after the first one is clo... |
|
| How to use control 'Invoke()' from second thread - 'Catch 22' (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I seem to run into a Catch 22 problem updating forms from a second thread. I have only been able to get the Invoke() function to work when the form was displayed using Application.Run(TheForm). When using ShowDialog() to display the form the Invoke() function does not return until the form closes. However, The application loses focus if I use Application.Run(TheNextForm) after the first one is clo... |
|
| How to use enumerable (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I'm still very new to vb.net. I created a class, TableList, that inherits collections.base. I'd like to do a "for each" in another class that instantiates a TableList. I think I need to implement IEnumerable. The things that I know that I don't know are: If I implement IEnumerable are there any particular methods that I have to create i my TableList Class. When I do my "for each", it will be s... |
|
| how to use old INPUT tags (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I want to see posted values from old school INPUT tags, but when I do this: form id "Form1" method "post" runat "server" input type text id "test1" value "hello" asp:Button ID "btnSubmit" Text "Submit" Runat "server" /asp:Button /form in the btnSubmit Clicked callback I do not see a key for "test1" in the Request.Forms collection as I would expect. How/where can I see such submitted values? I do n... |
|
| How to use QBColor in VB.NET? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, In VB6, on every click on Command1, to change the Form background color dynamically, I use: Private Sub Command1 Click() Me.BackColor QBColor(Rnd * 14) End Sub How can I achieve the same in .NET? When I am using QBColor() function in .NET, it is giving the the following error: Value of type 'Integer' cannot be converted to 'System.Drawing.Color'. Regards, Kamlesh |
|
| How to use ResXResourceReader (VIP replies) |
| microsoft.public.dotnet.internationalization |
| Hi all, I am getting an error myApp.WebForm1.ResXResourceReader' denotes a 'field' where a 'class' was expected I am trying to read file with .resx and to view its key and value pairs from a asp.net page. What would be the problem in refrencing the ResXResourceReader class. Code using System; using System.Collections; using System.Resources; using System.Diagnostics; public class WebForm1 : System... |
|
| How to use shell32.dll functions (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I've referenced the shell32.dll but can't seen to use it. Could someone give an example of using any function in it? Something like: Dim ShellQAs New Shell32.ShellClass Dim shellFolder As Shell32.Folder ShellQ.NameSpace(Shell32.ShellSpecialFolderConstants.ssfDESKTOPDIRECTORY) Thanks for any help |
|
| How to use SQLBinary? (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| I have a varbinary field in my table. (It has the potential of being rather large.) I need to read this value, change it and write it back. I have gotten as far as using the GetSQLBinary method of the SqlDataReader. What I don't know is what do I actually have at that point. I would assume that somewhere this information is going to be presented as an array of something or perhaps as a BitArray? H... |
|
| How to xml serialize arraylist of objects? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I would like to serialize an arraylist of objects to xml so I can store the xml in a database column. How would I code the serializing and deserializing? Below is a (overly) simple, incomplete example of what I'd want to accomplish. Thanks Brad Example ' This object will be used in an arraylist Public Class MyObject Private name as string Public Property Name as string Get Return name as string En... |
|
| How would I find out to which control a given control is docked against... (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on the left and the panel2 is the second one docked against panel1. I want to be able to find out to which control/form the specified panel. I wish, Microsoft had provided a feature similar to the following. Sys... |
|
| How would I find out to which control a given control is docked against... (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on the left and the panel2 is the second one docked against panel1. I want to be able to find out to which control/form the specified panel. I wish, Microsoft had provided a feature similar to the following. Sys... |
|
| How would I find out to which control a given control is docked against... (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.designtime |
| Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on the left and the panel2 is the second one docked against panel1. I want to be able to find out to which control/form the specified panel. I wish, Microsoft had provided a feature similar to the following. Sys... |
|
| How would I find out to which control a given control is docked against... (VIP replies) |
| microsoft.public.dotnet.general |
| Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on the left and the panel2 is the second one docked against panel1. I want to be able to find out to which control/form the specified panel. I wish, Microsoft had provided a feature similar to the following. Sys... |
|
| How would I find out to which control a given control is docked against... (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on the left and the panel2 is the second one docked against panel1. I want to be able to find out to which control/form the specified panel. I wish, Microsoft had provided a feature similar to the following. Sys... |
|
| How-To Dynamically Create Nested DataTables (VIP replies) |
| microsoft.public.dotnet.xml |
| I can create this: ?xml version "1.0" standalone "yes" ? ConfigOpt record Field 1 Text # 1 /Field 1 Field 2 Text # 2 /Field 2 /record /ConfigOpt I want to create this: ?xml version "1.0" standalone "yes" ? ConfigOpt settings record Field 1 Text # 1 /Field 1 Field 2 Text # 2 /Field 2 /record record Field 1 Text # 3 /Field 1 Field 2 Text # 4 /Field 2 /record record Field 1 Text # 5 /Field 1 Field 2 ... |
|
| Howto discard changes and revert? (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.databinding |
| I have a form bound to a specific row in a table in a dataset. I am trying to implement Save and Discard buttons. I have the Save button working using the DataRowView.EndEdit method. For the Discard button I call DataRowView.CancelEdit. The changes really are canceled, but the user input is still there. I can't figure out how to get the Textbox to revert to the previous value. What's the trick? He... |
|
| HowTo Get Window Handle or Control object for Edit part of ComboBox (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I'm trying to get Control object of Edit part of ComboBox. WinSpy shows that edit window is a child of combo, but HasChildren property of combo returns false and components collection is empty. I also tried to get the Control object with FromHandle method(using window handle got from Spy) but it returns null. I found that Edit part of Combo is kind of "Edit" class and usual .NET edit control i... |
|
| Howto? Create a multithreaded class library (VIP replies) |
| microsoft.public.dotnet.general |
| Is there anyone who can point me to a good tutorial on how to create a multithreaded class library? Class A is a controller that starts up a number of threads of code in Class B. Class B raises events back to Class A. I want the code in the eventhandlers of Class A to run on the thread that created the object. In a Windows.Forms control this is easy by calling Control.BeginInvoke, but how do I do ... |
|
| Html i think (VIP replies) |
| ASPFriends.com 'ngfx-io' list |
| Moved from [aspngfreeforall] to [ngfx io] by Marcie Jones marciejones@yahoo.com !DOCTYPE HTML PUBLIC " //W3C//DTD HTML 3.2//EN" HTML HEAD META HTTP EQUIV 3D"Content Type" CONTENT 3D"text/html; charset 3Dus ascii" META NAME 3D"Generator" CONTENT 3D"MS Exchange Server version 5.5.2652.35" TITLE Html i think /TITLE /HEAD BODY P FONT SIZE 3D2 Hi all, /FONT /P P FONT SIZE 3D2 I have some code that retr... |
|
| Html InputFile control regarding (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi! I'm working on ASP.NET using C#. I'm using Html InputFile Control in webform to download file.I've two buttons,namely,"Import" and "Show summary".I'll hav to click "Show Summary" to see the details of the file to be downloaded before clicking "Import" button.But when I click "Show Summary",the filepath in inputFile control is lost,as result I'm unable to download the file(on clicking "Import")... |
|
| HTMLInputFile control and validation. (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Newbee to aspx needs direction. We are using an INPUT type "file" tag to upload a file. We also have a text field for the user to enter a description for the file which the user must enter. Server side validation was being done for the description field having length and if not an appropriate message was written back to the client. However, in the process, the filename the user enters is not persi... |
|
| HTTP download of assemblies (VIP replies) |
| microsoft.public.dotnet.distributed_apps |
| I am trying to instantiate a windows form from a webform. I have a command button on my web form with the following code in the on click. Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim frmTemp As Form Dim SimpAsm As [Assembly] SimpAsm [Assembly].LoadFrom ("http://jgrundy1/autodeploy/ClassLibrary1.dll") frmTemp CType(SimpAsm.CreateIns... |
|
| http file uploads using HttpWebResponse (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, I am trying to implement an http file upload solution from a c# windows application to an asp.net page (I would have prefered FTP but HTTP support is built in so I'm using that). I need to be able to resume uploads so I'm looking for functionality a little more low level than that provided by the WebClient class. The server will be IIS on windows 2003 server and the client will be a c# applica... |
|