greekTowner's Q&A profile
.NET Development Error while calling MS-Word from ASP.NET
Hi All, I am using MS-Word from my ASP.NET Application using VBA. It opens a Word document and saves as a copy with some other name and finds and replaces some data. For this I have used "tlbimp" tool and imported some Office.dll, Word.dll, VBIDE.dll from MSWORD9.OLB. Following is the code. Dim wdApp As New Word.Application Dim wdDoc As Word.Document It is giving the following error while executing the first line ( while creating application object). System.Runtime.InteropServices.COMException (0x800A13E9): There is insufficient memory. Save the document now. at Word.Documents.Open(Obje ...Show All
Smart Device Development How to Assign the Context Menu to WebBrowser Control
Hi coders, I am using VS.NET 2005, my application type is Device Application. In this my Form1 I placed the WebBrowser Control. I created one Context menu(with 3 menu items) for webBrowser Control. I added this.ContextMenu = this.myContextMenu; my problem is browser (default) context menu is displaying instead of my context menu. I found that webBrowser control is not having webBrowser1.ContextMenu Property. I need compulsary context menu on webBrowser control. How to get this any body any ideas, help me appritiated. Sorry for the self promotion, but my HTMLVie ...Show All
Visual Studio Team System WebRecorder / Fiddlertool and its limitations - Best way for recording IE's 'non-navigational' events
What is the current recommended way for recording requests into webtests when IE does not recognize as 'navigation' I am assuming that the WebRecorder relies on IE's NavigateComplete events (or something similar) and records those requests into the webtests (probably the same reason it doesn't record redirects, but not relevant here). However, as people know, there are limitations to this approach. IE has a limited notion of navigation - e.g. AJAX (and if I had to give a example, it would be the *ahem* Google Maps), and one suggested workaround was to use the Fiddlertool(proxy) to record things at the HTTP level so that it captures ...Show All
Visual Studio Express Editions User Input
Is there a VB2005 equivalent of the VB6 input box control Hi, Are you refering to the inputbox in VB6 which prompts the user of an input If so, Try This: Interaction.InputBox("Enter a Value:", "Input Box Sample") Here's the docs for that. cheers, Paul June A. Domag ...Show All
Windows Forms System.ArgumentException when extending ToolStripMenuItem
Hi, i made a custom control extending ToolStripMenuItem and i'm overriding the OnPaint method, but on the OnPaint method if i write graphics.Dispose() in the end every time the class is intanciated for the second time it throws an System.ArgumentException: System.ArgumentException was unhandled Message="Parameter is not valid." Source="System.Drawing" StackTrace: at System.Drawing.Graphics.set_TextRenderingHint(TextRenderingHint value) at WinSketch.Teste.SampleControl.OnPaint(PaintEventArgs e) in C:\Documents and Settings\Nelson\Desktop\WinSketch\WinSketch\Teste\SampleControl.cs:line 36 at System.Windows.For ...Show All
Visual Studio Error:Load Report Failed
Hello ! i just finished .msi setup package for my project and installed in to client machine. every thing is working fine except crystal reports. im getting the Error: "Load Report Failed". i already added prerequisites of crystal reports for .Net frame work 2.0,frame work 2.0,MDAC 2.8. there is no prblem when installing but im getting this error. do i have to add visual C++ runtime libraries(x86) . is this something to do with registry key permission if so how can i do that __Regards___ Faizal hi ! i resolved the prob. the reason for me was i tested my installation on xp system where VS2003 ...Show All
Windows Forms beta2 deploy web application
I am using Beta 2 IDE environment. I build the code successfully and now I am ready to deploy the code to another server. I am using aspnet_compiler.exe utility to precompile my code. However, I get below error everytime I try to do this. Can you please help error ASPRUNTIME: Object reference not set to an instance of an object. Hi, to upload your pages on a server you just have to copie your files onto a asp.net server and it works. Can you post some code where you get this error while "precompiling". ...Show All
Software Development for Windows Vista How to bring up Infopath form on a task of the workflow
Hi, I want to know how to show an infopath form when a task is edited in a workflow. Please let me know what steps to follow to do the same. Regards, Ketaki Hi, I have sloved this problem. Regards, Ketaki ...Show All
SQL Server Data flow failure in a loop
Hi, I design a data flow which extracts, transforms ans loads (the main goals than an ETL...) data from an Oracle DB to a SQL server 2005 DB. I run my dataflows on several oracle instances which are not in the same servers. I set one data source for all these instances ans use a loop to execute the dataflow for each of them . The matter is that if a loop fails, the other loops won't go on. Then I would have collected only datas from the servers before the failure and not the one after the failed connection server. Is there a way for my loops to go on after the failure of one of them Regards. ...Show All
Visual Basic HElp on how to open a form through VB.Net
Hello, I'm using VB.Net 2003, I createad a main menu (Form1.vb) and then created options for every menu (ex Form2.vb) now, how do I link it. Let's say I double click on an option of the main menu and the code windows opens, what code should I insert to make it open Form2.vb when pressed. I have used VB before but I had always used only one window (Form) I would appreciate any help. Thank you. Hi, I did not get your point completly but I think I know what you mean. You want to write code into a buttons eventhandler to show an form. You just need the following 2 lines: Dim myForm As New Form2() myForm.ShowDialog() But naming you ...Show All
.NET Development XSD: Reading string in ROOT of XML
Hi all, I posted this question in: MSDN SQL Server SQL Server XML XSD: Reading string in ROOT of XML But sadly enough with no results. I wonder if there is anyone here that might help me. Original post: I am making a import from XML to SQL. I have chosen to do this via a XSD file, but I have a problem with the ROOT file of the XML XML: <Dogs bulkmode="0" xmlns=" http://scheme01.isp.com "> <UnderDogs> ... </UnderDogs> </Dogs> XSD: <xsd:element name="Dogs bulkmode="0" xmlns=" http://scheme01.isp.com "" sql:is-constant="1"> Unfortunately this does not work. If I (for test ...Show All
Visual Basic Flusing mouse input ??
Hello all, I'm writing a multi-form VB.NET 2003 application. I have forms A, B, and C (alongside a module that holds handles to the three forms). The app takes the user from Form A to Form B when a MouseMove event happens, it takes the user from Form B to Form C when he/she clicks a button on Form B, and finally takes the user from Form C back to Form A if a timer times out. My problem is in the last transition. When a timer in Form C times out, I close Form C and reinstantiate Form A (newFormA= new FormA then FormA.Show()), however, as soon as I show Form A, the app takes me to Form B. Debugging shows that as soon as Form A is loaded, ...Show All
Visual Studio Team System How to validate row data in a table on a page ?
It is regarding webtest in team systems I have web page with a table like dispaly with rows and cols. Let us say the table has 10 rows and 4 cols. How can I validate the data in the first row of every col Any help will be greatly appriciated Thanks Usha This would likely require a custom validation rule. Here are instructions for creating a custom validation rule. http://msdn2.microsoft.com/en-us/library/ms182556(d=ide).aspx Here're instructions for adding a validation rule to a request. http://msdn2.microsoft.com/en-us/library/ms182544(d=ide).aspx In the custom validation rule you will be supplied with ...Show All
Visual Studio 2008 (Pre-release) Getting ListView to do things other than text
I'm having trouble customizing the ListView for my application's needs. What it needs to do is: a) Allow multiple rows for each item bound, not just one. b) Support things other than just text for binding (DisplayMemberPath). As an example, I want a listview with four columns. Each ListViewItem is bound to a strongly-typed class and will require two rows: For example, take a look at this mockup , which represents a ListViewItem. The lines are grid lines (it's easy to see the required two rows). I need a Date/Time field bound to the top left cell, a text field in the top middle left, and a decimal in both top rig ...Show All
Windows Forms How to: part of the form is opaque, and the rest may have a 50% opacity
Dear All, After I saw a screen shot of Longhorn, I started wondering current .net framework offered feature for us to implement that style of forms. This is true. We have implemented a TranslucentWindow class in VG.net. With this class you can use various VG.net Pictures, which are like windowless controls, but it is not possible to use true windows forms controls in them. However it is still a lot of fun! ...Show All
