VB Multiple Document Interface?

Feb 1, 2010

I am trying to set-up a mutiple choice test and I only want the questions to show up on one form and not multiple forms. How do I do this? I want the user to answer the questions and then click a continue button and the next question will appear on the same form.

View 9 Replies


ADVERTISEMENT

.net - Making A Visual Studio-alike Interface Document Tabs?

Dec 1, 2011

I'm currently making an dynamic interface using the latest version of DevExpress. I finished making the DockManager with multiple DockPanel in it but there's only one problem.If you look on screenshot #1 you'll notice that in the center of Visual Studio, there's no DockPanel (screenshot #2) container for those document tabs. Also, those document tabs CAN'T dock inside side panels, but side panels CAN dock inside document panels (see screenshot #3)

That is what I'm trying to do. You can see how far I am right now on screenshot #4.

So here's a summary of my questions

1) How could I make some kind of main document panels that are filling the blank space between my side DockPanel?

FOUND! Using DevX's DocumentManager as the MDI.

2) How could I make those panel undockable inside side DockPanel but make the opposite possible?

FOUND! Using DevX's DocumentManager as the MDI.

3) How to make the panels "maximizable" like this (see screenshot #5) when outside the main window ?

4) By default, the tabs are located at the bottom of a stack of DockPanel, but I would like them to be ALWAYS located at the top, would it be possible?

FOUND! Using DevX's DocumentManager as the MDI.

[Code]...

View 1 Replies

.net - Encrypting Multiple Elements Of One Xml Document?

Aug 25, 2010

I managed encrypting an xml document by encrypting an element and then replacing the element with the encrypted data. A shown in the sample code below. Public Shared Sub Encrypt(ByVal textReader As TextReader, ByVal textWriter As TextWriter, ByVal certificateName As String)

[Code]...

View 1 Replies

Extracting Multiple Strings From An Xml Document?

May 26, 2010

i have an xml file that i drag drop onto a picture box and i would like to use the information in the xml file to draw a table. the values for the column widths, heights and what goes in which box are in the xml file.the table is split into three sections the title part, a header and then a body.the first challange is finding asking how i can expand what i have to withdraw all the info for the same "sections" of the table as these are contained within different parent nodes.what i have is

Dim reader As Xml.XmlReader
reader = XmlReader.Create(dragFil(0))
reader.ReadToFollowing("tgroup")[code]....

View 4 Replies

How To Print Multiple WPF Pages In One Document

Apr 13, 2012

I want to create a document with several pages and with one wpf window depicted on each page. I managed to print one window using PrintDialog and PrintVisual. However this seem to only work with one single page? How I can build a document with several pages and print the complete set. Can I insert that visual (referred in code) and insert it as a page in a document and print it after that?

Sub Print (Dim ele As FrameWorkElement)
Dim margin As Double = 30
Dim titlePadding As Double = 10
Dim printDlg As PrintDialog = New PrintDialog()
[Code] .....

View 1 Replies

.net Multiple Inheritance In An Interface?

Apr 15, 2011

I'm facing a problem regarding multiple inheritance in VB.net:As far as I know VB.net does not support multiple inheritance in general but you can reach a kind of multiple inheritance by working with interfaces (using "Implements" instead of "Inherits"):

Public Class ClassName
Implements BaseInterface1, BaseInterface2
End Class

That works fine for classes but I'd like to have an interface inheriting some base interfaces. Something like that:

[Code]...

View 3 Replies

COM Interface From Multiple Classes

Sep 10, 2009

I downloaded a .net component that I would like to make consumable by COM clients. This component allows one to create a DXF file (Cad drawing). The problem is that the component is composed of quite a few class files, some inherit another. All the examples I found only show one file no namespaces etc. [Code]

View 1 Replies

Interface Of Multiple Delegates?

Nov 29, 2009

is there a way to create an interface of delegates? Sub dostuff(byval arg1 as dele1)works, problem is that i have 8 delegates, so i will have to give it 8 signatures. that isn't so bad, but the problem is that when there are various combinations of signatures it gets real real bad.

Sub dostuff(byval arg1 as [Delegate])works, but it allows me to accept delegates beyond the 8 that i wanted (it's like declarign arguments with base Object)could i be able to do this:

Sub dostuff(byval arg1 as Idele1to8)

View 1 Replies

How To Add Multiple Documents Into A Single Word Document

Sep 9, 2008

I have written the following code:

Dim cmdString As
String = "Select x from abc where s='Y'"

[code].....

View 1 Replies

VS 2010 Adding Multiple Nodes To An XML Document?

Oct 24, 2011

I know how to add a single node to a top level node in an XML document, but I cant figure out how to add multiple (nested) nodes to another node. For example, I want to add this node structure to node called "PaymentInformation":

<Prepaid>
<BillShipper>
<AccountNumber></AccountNumber>
</BillShipper>
</Prepaid>

Do I have to add each node separately or can I add them all at once?

View 3 Replies

C# - Merge Multiple <Body> (xml) Word Documents To 1 Document?

Aug 31, 2010

I have multiple <body> tags from an word document. I do this with the open xml sdk. So the new document should generated with openxml The body's comes from

WordprocessingDocument.Open("C:TempTest.docx").MainDocumentPart.Document.Body.OuterXml

I have so different body's in a list. With al different values. Changed some text in the xml. And saved them in a new list. Now must that list in an new word document. How can i do that? I tried altChunk. But my word document is always corrupt.

View 1 Replies

Scan Multiple Pages From Automatic Document Feeder?

Jan 4, 2010

I recently found the benifits of using the WIA APIs for scanning a page from a scanner. However, I am unable to get the scanned images from an ADF. I am using a Brother MFC Multi function printer that has an ADF on top. When I call the Transer() function, the printer scans all the pages...and then the program saves the returned image to a file, but when I open the image file up....only the last scanned page is there. How to scan multiple pages, and receive all the scanned images, from an ADF?

View 7 Replies

C# - Access The List Of Words Of A Word Document From Multiple Threads?

Mar 18, 2011

I recently had some problems with the performance of the Word object model. In an add-in that I wrote for Word I need to parse through all the words of a document and replace some of them or ask the user for the ones that have multiple replacements. I know that it is faster to ask Word for all of the document text content at once and then process it and put it back all at once again, but this is not suitable for my add-in because I need to have access to the range objects that represent the words that have multiple replacements so that I can somehow mark them in the document and present the user with a tool tip from which he can select the replacement he wants.

So for the moment the single great speed improvement that came in my head was multithreading since most people already have dual core or better. The problem is that all the things you find on Google say that multithreading in Office is a very bad thing to do.

So is there any one who managed to do this in a manner that worked in most of its usage? By this I mean if it also worked on other PCs then the development one?

View 1 Replies

VS 2010 - Naming Document Using Multiple Input Text Instance?

Jul 22, 2010

I am using this:
Dim oFile As System.IO.File
Dim oWrite As System.IO.StreamWriter
oWrite = oFile.CreateText("e: est.txt")
oWrite.WriteLine("TEST")
oWrite.Close()
Which works, but I would like to have it so instead of creating test.txt it names the document using multiple input text instance.

View 2 Replies

Any Real Example Of Using Interface Related To Multiple Inheritance

Dec 18, 2009

I m trying to understand Interfaces so that I can implement them in my programs but I m not able to imagine how should i use them.Also give me some eg of using them with multiple inheritance in C#

View 9 Replies

Interface And Graphics :: Getting Multiple Monitor Screenshot?

Feb 12, 2009

I'm working on a small app that takes a series of screenshots to analyze a graph. The problem I'm having is that, on my 3-monitor setup, the screenshot works fine on the primary monitor, but when I drag my app to either of the other monitors, the screenshot is black. I've also tried taking screenshots of the other monitors while the app is in the primary monitor by feeding the coordinates into the CopyFromScreen call directly, and that works, but as soon as I drag my app to one of the other monitors, all my screenshots are black. Also, and I'm pretty sure this will be important later, my primary monitor is attached to the on-board video, whereas the other two are attached to a separate video card. Both the on-board and installed cards are ATI Radeons.

Here's the screenshot code I'm using:

Code:

Namespace ScreenShot
'/ Provides functions to capture the screen, in whole or part
Public Class ScreenCapture

[code]....

View 2 Replies

Interface And Graphics :: Multiple Images To One Gif Animation?

Nov 16, 2010

I have multiple bitmaps(i) in arrays, and I want to know if I can save each of these bitmaps into on animated gif file. I thought about using image.saveadd() but i'm not sure if that will work.

View 2 Replies

Interface And Graphics :: TabControl And Multiple DataGridviews?

Apr 8, 2011

I have a strange problem; on my form there is a TabControl, and every tab contains a DataGridView.I set all DataGridViews Autosize column property to DataGridViewAutoSizeColumnsMode.Fill and then I set for every column the width with FillWeight, using the same set of values for every DataGridView.Although all these DataGridViews should look the same, the one on the first TAB looks different, it looks like I used different FillWeight values.All others DataGridViews on subsequent tabs looks the same, only the one on the first tab looks different..

View 2 Replies

Interface And Graphics :: Working With Multiple Combobox?

Oct 4, 2009

How to work with multiple combobox. I have several combobox. I it to have same itemlist and set a default value for this.I used to do:

Code:
Dim MyItemToBox(3) as System.Object
For i as integer = 0 to 3
MyItemToBox(i) = "A" & i
Next

[code].....

View 1 Replies

Interfaces - Implementing Interface For Multiple Class

Oct 21, 2009

I'm dealing a problem in implementing interface for multiple class.

Assuming I have a class named Class Unu .

I created an interface called Test for those 2 classes.

The first class Unu has 2 data members(i=12 and j=12.17). When you run the program it stores the result on screen 24.17

The second class called Doi has 2 data members(a=20 and b=32.17).

What I want now is to do the same thing for data members a and b so that it stores on screen 20+32.17=52.17

My problem is that I want to be displayed also the result for the 2 data members for the second class on my screen. I implemented the interface on class Doi but I cannot see why he isn't displaying me the second result 52.17.

What I must add to my code to do that?

Here's the full code:

CODE:

View 6 Replies

Populate Same Data Captured Via User Form On Multiple Locations Of A Document?

Feb 28, 2009

On a word document I would like to populate same data captured via User Form on multiple locations of a document... i.e. LastName I would like to appear on salutation paragraph and also in the body of the letter... I used REF LastName on the document when using VBA but it seems the same document when it is being populated via a VB application this skim does not work and instead "Error! Reference source not found." appears where ever the REF LastName has been used..

View 3 Replies

VSTO Powerpoint 2010 Shared ToggleButton On Multiple Document Windows?

Jan 4, 2012

Create a simple VSTO Powerpoint 2010 AddIn with 1 toggle button inside the Ribbon.Open several presentations, then clik on the toggle button.he checked state of the toggle button is shared between all document.

View 1 Replies

.net - LINQ To SQL: Using Multiple Data Contexts Easily With An Interface

Feb 17, 2012

I have a program that is accessing many similar tables using a linq to sql datacontext. Do linq to sql tables implement a common interface? I would like to write methods that could work with any of the similar tables, so it would be great to do something like

Dim myTable as ILinqDataTable
If switch = "TableA" then myTable=myDataContext.TableA Else myTable=myDataContext.TableB

[Code]...

View 1 Replies

Interface And Graphics :: Accessing Controls Using Multiple Forms?

Aug 28, 2008

I don't know the best way to use multiple forms in VB, but I have created a problem and I'm not sure where it came from or how to fix it.

Background: I start the program at Sub Main. This is the main function:

Code:
Module modFunctions
Dim frmD As frmDAQ
Dim frmT As frmTrendView

[Code].....

it works, but I don't want to have to change the entire project.

View 1 Replies

Interface And Graphics :: ComboBox With Multiple Images Per Line?

Feb 16, 2009

insert images in a combobox. I understood the code, but what I'm asking is how do I add multiple images per line of the combobox?? I mean the way, the smileys are displayed in dropdown grid in Yahoo! messenger or the sort when you click on the smiley button..

I'm using Microsoft Visual Basic 2008 Express Edition with .NET Framework 3.5

View 1 Replies

Amend Notepad Assignment To Support MDI Interface Multiple Concurrent Files?

Jun 8, 2010

How do i amend my Notepad assignment to support MDI interface multiple concurrent files

View 1 Replies

Interface And Graphics :: Special Characters In Multiple Text Boxes Via Buttons

Nov 14, 2008

I need to be able to add (specific) special characters to text boxes. Problem is, there are five of them spread across two forms and three tabpages. What I'd like to do is bring up a form when the user presses something like "F2" while the text boxes are focused, then on that form would be a grid of buttons. When the user pushes a button, the character is added to the box. How do I get this form to reference the box that called it without passing a global variable or calling a public function? I tried Form3.Parent.Name, but that always seems to refer to nothing. Also, once this is done how can I get it to just insert a character where the cursor on the calling box is? It probably shouldn't even be on a form either since that will take the focus when it's called (which I don't want)

View 3 Replies

Interface And Graphics :: Adding Multiple Checkboxes On FormLoad Depending On Amount Of Items In Database

Oct 20, 2008

The Title says it all Adding Multiple Checkboxes on FormLoad Depending on Amount of Items In Database. [code]

View 4 Replies

Interface And Graphics :: Dynamicaly Center Multiple DrawText "Labels"?

Feb 23, 2010

I've drawn a graph where each gridline represents 15 minutes. (Every 4, 1 hour of time)The resolution is 100 dpi per inch. Each column is 12 DPI. (Not very big)Each gridline can have zero to multiple "Lines of data" which must be centered under the associated gridline using a vertical transform. (Each drawtext label represents an event that happened at that point in time)This I can figure out. The problem is that there can be 3 labels at 3:00AM, then another 2 labels at 3:15 AM with more labels as time progresses through the day. If each "label takes up 24 dpi of space, I need to center 120 dpi of data under 12 dpi of space.(Drawing the lines from the gridline to the associated data should not be an issue depending on how the "label is centered)How can I center all 5 labels at runtime. I've considered an array but each time a "label" is added, I would have to recaculate each labels position. Besides that, how can my program recgnize that the data it is coming up to (data is read one line at a time) is a group or how large the group is?

View 17 Replies

2008 What Is The Shortest Method That The System Will Search For The Document Without Placing The Document Address

Feb 25, 2012

i am using VB. net 2008. I am having a hard time using this code: ("L:SWPPPSWPPPBookMerge.doc") what is the shortest method that the system will search for the document without placing the document address.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved