Sabi's Q&A profile
Windows Forms Releasin Resources
I have a control on which I have a picture box and I draw it from a Bitmap (a TIFF file). I then determine how many pages (frames) the TIFF file has and create each frame as a file in a temp directory. 0.tif, 1.tif, 2.tif,&n ...Show All
Visual Studio Tools for Office VSTO Outlook Addin - Why doesn't my Property Page show up?
When I click Tools|Options here's what happens: 1. The following event handler executes: void ThisApplication_OptionsPagesAdd(Outlook.PropertyPages pages) { pages.Add(new ViewPoint.PropertyTab(), ""); } 2. bool m_Dirty = false; OK, class is obviously initializing... 3. Then InitializeComponent(); OK, class is obviously initializing... But then, that's it! No call into the TabCaption method as I would expect, to get the tab caption f ...Show All
Visual Studio Deployment - I can't find the template
Hi, I am a DSL - newbie! I just made the walkthrough 'Deploying a Domain-Specific Language'. I tried it several times but after the installation (no errors so far) the template does not appear under Templates in the Visual C# node. Maybe I made a mistake in the InstallerDefinition.dslsetup <installerDefinition xmlns="http://schemas.microsoft.com/dsltools/dslsetup" productUrl="InsertProductUrlHere" defaultDirectoryName=& ...Show All
SQL Server Combining text data rows
I am working with a database derived from text documents. One of the tables (TEXT001) contains the text of the documents with each paragraph of each document assigned to its own row with a paragraph number in a SectionNo column. I want the entire text of each document in a single row with its own unique number (so that I can do a full text search with SQL Server 2005 that will search and return the entire document as a result). How do I comb ...Show All
SQL Server Report Model - int fields missing from model yet they are in Data View. How do i add a new field?
I have a dat amodel derived from the Team Foundation Server data warehouse database (TFSWarehouse). I added the [Current Work Items] table to the data view, and then clicked the button to "Add Related Tables". This included the [Microsoft VSTS Common Priority] table. After auto-generating the report model, I find that the Priority field is missing from the model. Only the aggregate expressions are included. It seem ...Show All
Windows Forms Help.ShowHelp does not always work
We have found an odd situation. It appears to us as though Help.ShowHelp does not always work, with the two biggest factors being what chm file is called and if a FileDialog has been called before the call to Help.ShowHelp. As long as a&n ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Pixel shader Texture problem
I try to access the texture coordinate in my Pixel Shader My Input Structure read the Texture without problem so this In.TextureUV is a correct float2 value But I want to get the U and V coordinate so I can draw my own output color Is there a way to access this U coordinate And how... //-------------------------------------------------------------------------------------- // Pixel shader output structure //------------- ...Show All
SQL Server copying data to SQL Server from an Oracle database
What is the most straightforward way to copy tables and views from an oracle database into a sql server 2005 database thanks for any suggestions. Marilyn Mount your Oracle server and database as a linked database in your SQLServer environment. Then perform a standard insert-select (or select into). If you also must make data transformations you should use DTS (or what's the name nowadays is). Best r ...Show All
.NET Development Type Initializer therw an exception
I am new to this forum. i am facing an error in my asp.net web applicaiton when ever in my application i call any method which is defined in Module namely Common. the Error is "Type initiliazer for "AccSoft.common" therw an exception" please help me out form that error. It worked fine localy and on the porduction server. at Https: but when i copy the virtuall directory to an other virtual dir. on the same production s ...Show All
Visual Basic graph sin curve with following curve? Help
I am using the following to graph a cardiod in polar coordinates but am trying to figure out how to graph a sin curve which is not in polar coordinates. How could I change the following code to make it graph in rectangular coordinates Private Sub DrawCardiod(ByVal g As Graphics) ' Drawing an Cardiod Dim x As Double Dim y As Double Dim old_x As Double Dim old_y As Double Dim r As Double Dim t As Double Dim dt As D ...Show All
Windows Forms Expose DataSet within Component
I have a control with a public property(DataSetA) of type DataSet. When the control is placed on a form, I can set the DataSetA property in the Properties window using the drop-down list. The drop-down list is automatically populated with all ...Show All
Visual Basic I need a little help
I want to create an option in my project where you can check and download updates for it. How would this work Thanks After doing My .Application.Deployment.Update(), is there a simple way to restart the app for the user In the past, I'd create a batch file that includes a time delay before starting the app, to give time for the current instance to close completely. Right now, if there's an update available, I sim ...Show All
Windows Forms Is a seperate DLL required for Designer support
Hello- Some simple WinForms questions. 1) Whats the difference in the Toolbox between the "Components" and "Windows Forms" sections 2) If I Derive a simple class from the DataGrid and wish to have it display somewhere in the Toolbox and edita ...Show All
Visual Basic Help with Timer
I am developing a parenting educational course with specific requirenments regarding how much time the student needs to spend on each particular lesson. I am looking for a timer code that: 1. Track and display how much time they have spend on the current lesson. 2. Makes a button (or a link to a new form) available after 40 minutes has passed on the current lesson to jump to the next section 3. The hardest one ( I think) Stores time they have al ...Show All
Visual Studio Tools for Office New line without bullet
I'm trying to insert a text in a bookmark placed in a list. When I try to insert a new line (vbcrlf) I get a new bullet but I just want a new line without a bullet. How can be done it I want to do something like "shift + intro" objWord.Selection.TypeText(UCase(dr("company")) & vbcrlf) objWord.Selection.TypeText(UCase(dr("name"))) Thanks Try using Chr(11), as follows: objWord.Selection.TypeText( "Company" ...Show All
