| Open Browse (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, Can anyone tell me if I can open a WebForm inside a WinForm? How? Give me examples, please. I have a winform application and I want that in some items opens a browser inside. Can you help? Programming ASP.NET with VB.NET Thank's (if you try to help me) Hope this help you (if I try to help you) ruca |
|
| Open Excel form an aspx page (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I want to open Excel from an aspx page, put some records in there, format them and close the excel file. I can't open the Excel application. It says Cannot create ActiveX component. Here is the code: Imports Excel Microsoft.Office.Interop.Excel Public Class MG Inherits System.Web.UI.Page Private Sub Page Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim oExce... |
|
| Open Help File (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I have seen many Post about the same issues....But i put the code (I think that is right) and i doesn't do anothing... I use a button to open a help file and it doesn't do nothing...Can somebody tell me what is wrong with my code? Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Help.ShowHelp(Me, "C:\Help\Help.Chm") End Sub Thanks.... |
|
| OpenFileDialog changes Environment.CurrentDirectory path (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| Hi All, i have strange problem: After i use a OpenFileDialog for choosing a file from my FileSystem, the "Environment.CurrentDirectory" changes to the OpenFileDialog.FileName, Thus i can't access to files with relative path using Environment.CurrentDirectory. Anyone knows this happening and how can i solve it? Thanks, Erez |
|
| OpenFileDialog interaction with FileStream (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| has anyone experienced problems with interactions between OpenFileDialog and FileStream? When I select "open" from an OpenFileDialog the subsequent calls to FileStream do not create a file. If I do anything else, eg, navigate to other folders, and then press "cancel" the file is created. This occurrs just with the simple code below. Any ideas? private void button1 Click(object sender, System.Event... |
|
| OpenFileDialog.InitialDirectory (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| I have one "Smart Device Application"(for my Pocket PC) written in C#. After I click my "chooseMsg" button and show the OpenFileDialog ,it doesn't show me the files under the "\\Program Files\\PDAClient\\" directory. Plz help me..thx protected void chooseMsg Click(object sender, System.EventArgs e) { Stream myStream; OpenFileDialog openFileDialog1 new OpenFileDialog(); openFileDialog1.InitialDirec... |
|
| Opening form invisible (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi Is there a way to open a form hidden/invisible while it is populating its controls, and then make it visible once it is done? I am using the following code but the form remains visible. cform New frmClients cform.Visible False ' this does not seem to make form hidden (not visible) cform.TopLevel False Me.FormsPanel.Controls.Add(cform) 'Me is a main/parent form cform.Show() cform.BringToFront() ... |
|
| Opening form invisible (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi Is there a way to open a form hidden/invisible while it is populating its controls, and then make it visible once it is done? I am using the following code but the form remains visible. cform New frmClients cform.Visible False ' this does not seem to make form hidden (not visible) cform.TopLevel False Me.FormsPanel.Controls.Add(cform) 'Me is a main/parent form cform.Show() cform.BringToFront() ... |
|
| OpenMutex fails with ERROR_ACCESS_DENIED (using VB.NET) (VIP replies) |
| microsoft.public.dotnet.framework.interop |
| Accepting the fact that .NET 1.x is lacking support for named events, and windows security manipulation, we end up using interop and the platform SDK, and functions like CreateMutex and OpenMutex. And it's with OpenMutex that I'm having a problem. In summary: I'm creating a mutex and then trying to 'open' it. I always get ERROR ACCESS DENIED which seems odd as the same process just created it mome... |
|
| OpenNetCF.NET.dll, TypeLoadException / MissingMethodException (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| I have a VB.net project, for PPC 2003 on the XDA II. I am trying to add functionality in my application to automatically reconnect GPRS if it disconnects, and monitor it's state, etc. I am trying to use a reference to OpenNETCF's connection manager. I've managed to add a reference to the OpenNETCF.Net.dll, and my project works with the added references (openNETCF.Net.dll and mscorlib). However, I ... |
|
| OpenNETCF.Notification can not get return value... (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| I try the exemple in the topic http://www.opennetcf.org/Forums/topic.asp?TOPIC ID 389 but if a do a break point in the Event, the e.ID is nothing and the e.Link 0 too. this is my code. int NotifyID 100; Notification notTest; NotificationEngine oEngine; private void Form Load(object sender, System.EventArgs e) { oEngine new NotificationEngine(new Guid()); oEngine.NotificationSelect new Notification... |
|
| Option Strict On Question (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| VB.Net Standard 2003, Win2k Pro The following code generates the late binding msg "Option Strict On disallows late binding". How do I correct this and still have Strict On? Thanks, GG Option Strict On ~ ~ code ~ Private Sub AxWebBrowser1 DownloadComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxWebBrowser1.DownloadComplete 'rtbHTML is a richtextbox on a form rtbHTML.Text AxWe... |
|
| OracleException (VIP replies) |
| microsoft.public.dotnet.general |
| When we do remote calls to a component that throws a System.Data.OracleClient.OracleException, we see a SerializationException when the original OracleException is being deserialized on the client. Any ideas? 22 Apr 2004 10:05:46 System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. System.Runtime.Serialization.SerializationException: Member message... |
|
| order of execution of page_load in a base and derived classes (VIP replies) |
| microsoft.public.dotnet.framework.sdk |
| Hi, i have a class that is derived from System.Web.UI.Page, and this is the class i use in my application as PageBase. all other page classes are deriverd from my PageBase instead of the original System.Web.UI.Page in order to have common checks in the page base. i make securirty checks in the page base page load event. if the security fails, i can do whatever i want before the "real" / derived pa... |
|
| order of execution of page_load in a base and derived classes (VIP replies) |
| microsoft.public.dotnet.framework |
| Hi, i have a class that is derived from System.Web.UI.Page, and this is the class i use in my application as PageBase. all other page classes are deriverd from my PageBase instead of the original System.Web.UI.Page in order to have common checks in the page base. i make securirty checks in the page base page load event. if the security fails, i can do whatever i want before the "real" / derived pa... |
|
| Other ways of displaying a webpage in VB.Net? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi. Is there any other ways of displaying a webpage in an VB.Net form other then using the "Microsoft Web Browser" object? Any third party? /Johan Ch |
|
| Other ways of displaying a webpage in VB.Net? (VIP replies) |
| microsoft.public.dotnet.languages.vb.controls |
| Hi. Is there any other ways of displaying a webpage in an VB.Net form other then using the "Microsoft Web Browser" object? Any third party? /Johan Ch |
|
| Outlook addin + .net + COM (VIP replies) |
| microsoft.public.dotnet.general |
| Hi All This is the error i am getting when i try to install my addin in some other machine and works fine in development machine. I checked the ..net framework version it is 1.1 in developement and installation machine. Also the outlook version is Outlook 2002 in both development and installation machines. I ma using a listview to populate the mails in this form. lvwDetails is listview. frmIn is t... |
|
| Outlook addin + .net + COM (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi All This is the error i am getting when i try to install my addin in some other machine and works fine in development machine. I checked the ..net framework version it is 1.1 in developement and installation machine. Also the outlook version is Outlook 2002 in both development and installation machines. I ma using a listview to populate the mails in this form. lvwDetails is listview. frmIn is t... |
|
| Outlook Automation using VB.Net (VIP replies) |
| microsoft.public.dotnet.framework.interop |
| Hello and thanks for the Help in advance. I am trying to move code from VB to VB.Net and having some trouble with the Restrict method. I have attached the VB6 code as well as the VB.Net code I have started. What I am trying to do is I have a program which displays information based on a Job. On the Job card is shows who the contractor for this Job. I can find via a SQL Function the current contrac... |
|
| Output literal to documents HEAD and BODY tags. (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Is there any way to, from the page class, send literal output to the HEAD of te page, or within the BODY onload "('theFunctionIAddedToTheHead');" ? I need to do this in a class that inherrits from PAGE, but is an abstract class for the pages of my site. I.E. System.Web.UI.Page myBasePage All pages in the site inherit from myBasePage, and will be able to use funciton is myBasePage to modify content... |
|
| OutputCache does not seem to work (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.caching |
| Hi, I can't seem to get the OutputCache directive to work. Is there some switch in the webconfig, or somewhere that I am unaware of, to turn this on? Every refresh seems to just recompile the page, and give me the current time, instead of waiting two minutes before fetching a fresh page. Argh. Here is some sample code: %@ Page language C# % %@ OutputCache Duration "120" VaryByParam "none" % %@ Imp... |
|
| Overriding the Click event (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I am using the VbPowerPack that was released recently. One of the controls provided is the ImageButton. On this control the Click event has no parameters, i.e. there is no (ByVal sender as Object, ByVal e as EventArgs) that you would normally expect to see. I was thinking of inheriting from the ImageButton class and providing my own implementation of the Click() event to provide these argument... |
|
| Owner Draw Listbox - Performance? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hello, I am creating an owner draw listbox for a windows application. It is all working, except the performance is significantly slower than the standard listbox. Basically what I have done is added two new properties (full source below): ChangeBackgroundMember a bound data field which contains a boolean as to whether this record should get a special background color ChangeBackgroundColor the colo... |
|
| OwnerDraw listbox does not redraw correctly when resized (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I have a listbox set to OwnerDrawFixed. I anchored the listbox to the left and right side of the form, so the listbox resizes when the form resizes. I also set the StringFormat to use EllipsisWord trimming when the contents of a listbox item is too long to fit. I have added 2 long strings to the listbox, so that by default, they are trimmed (the entire string is not visible in the listbox). The pr... |
|