Create A Separate Form To Put The Viewer?

Mar 30, 2009

I have a windows form with a textbox bound to a data table and a PDF Viewer both in the same form. I could change the text on the textbox and the Viewer would show whatever is linked to the textbox. I am trying to create a separate form to put the viewer in but at a loss on how to link it to the textbox on the first form.

View 4 Replies


ADVERTISEMENT

Create New Form On Separate Thread?

Jan 10, 2010

I would like my application to do something (in one form) and while form is doing that i would like to show another form to the user. Code is:

Private Sub blaa()
Dim a As New Working() 'working is another form
a.Show()
'Do some stuff
a.Close()
End Sub

But when i make new form i find it is on the same (main thread) and therefore new form also frozes. How to make new form on separate thread?

View 4 Replies

Multi-threading Forms - Open A Separate Form As A Separate UI Thread From The Start Up Form

Oct 27, 2011

I have a few forms that have a lot of really intensive updating along with a great deal of user interface (text boxes, button clicking etc) Is it possible to open a separate form as a separate UI thread from the start up form that called it to "show" or open or whatever the new method might be?

View 6 Replies

Create Separate Object Instances For New Objects In Separate TabPages?

Sep 17, 2010

I have a TabControl object on my form with many tabs created in code (TabPages) and my problem is that the same objects that are in the initial TabPage needs to be in the other TabPages created in code, I have this done in code when the user clicks the 'New Tab' menu option, however the same code is used for any new tabs created. The problem created here is that I have an event against one of the objects that appear in the other TabPages, but because the same code is used to create any new tab pages, the event will only work on the newest tab page, if that makes sense? By the way these objects that appear on the other TabPages are properties at the top so events can be handled against them in the respective subroutine.

[Code]...

View 5 Replies

IDE :: MODI Viewer - Add A "Microsoft Office Document Imaging Viewer Control 12.0" Control To A Form

Mar 29, 2009

I try to add a "Microsoft Office Document Imaging Viewer Control 12.0" control to a form and i'm getting the next exeption: An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) I have try to register the next files which throws an exeption when I try to do it:

[Code]...

View 4 Replies

Asp.net - Create A Gantt Chart Using .net Report Viewer?

Mar 21, 2012

I am using visual studio 2010 to create a VB reporting website. I found a blog which tells me how to use range bar chart to create a gantt chart. But I got some problems with how to group the bars(tasks) on task names.

My database structrue is shown below:

Taskname StartTime EndTime
task1 2012-03-01 8:00 2012-03-01 10:00
task2 2012-03-01 9:00 2012-03-01 14:00
task1 2012-03-01 17:00 2012-03-01 18:00
task2 2012-03-03 18:00 2012-03-03 19:30

I would like use the above data to generate a gantt chart like this:

task1 task1
----- ---
task 2 task 2
------------------------- -------

In visual studio's report designer, I first added a range bar chart. Then dropped the taskname filed to the category fileds. So my understanding is the range bars will be grouped by task name. For the data fields, I dropped starttime(start value) and endtime(top value). I also set the 'draw side by side' property to false. But when I run my website, I could only see one task for each task type in the gantt chart( one task1 and one task 2) . It didn't show me all the tasks. So my incorrect result is shown below:

task1
------
task 2
-------------------------

No matter how many records are there in my database, the gantt chart only shows the first record for each task type.

View 1 Replies

Create A Schedule Viewer, Pretty Much A Table?

Apr 7, 2011

I have never used table layout, and not sure if it the best way to go.Here is my objective. I need to create a Schedule Viewer, pretty much a table. The columns would be "Station Names", Station1, Station2, etc. And the Rows would be time of day. At the intersect of the row and column would either be OPEN of the time for that station is open, or the last name of the user who has that stationed booked.I have all of this data in my database. I just need to display it. I don't think I can use a traditional datagrid because the columns are data too.

I also need to build this grid programmable, because every client will have a different amount of stations and different times available.

View 2 Replies

Load The Main Form Of A WPF So That A Separate Thread Goes And Gets Data From The Database While The Form Is In An Apartmentstate?

May 15, 2012

How do i load the Main form of a WPF so that a seperate thread goes and gets data from the database while the form is in an apartmentstate? (drag-able / movable) I Know this is possible with opening a new window from your main form like this :

Private Sub openOrderWindow()
Dim OrderWindow As Orders = New Orders
OrderWindow.ShowDialog()
End Sub

[code]....

I've tried putting MyBase.ShowDialog() and .Show() and .9000+ other things The only benefit I've got out of using a seperate thread to load from the databse is i can see the screen right away (as oppose to it being a transparent box until it loads) but i cannot move it around or minimize it?is there any way to make it Movable while it loads?

View 1 Replies

Create A Separate File With Different Procedures?

Jan 16, 2011

I am playing around with VB 2010, and I want to create a separate file with different procedures etc so that I can call a proceedure etc from this file I have a simple form with a single label on it, and a seperate file called filelib.vb.In the filelib.vb is a proceedure called LogicalDriveTypes

Public Function QueryLogicalDriversNames() As String()
Try
Dim Totalstring As String
Dim ds As Int32

[code]....

In my form1_load I have Label1.Text = filelib.LogicalDriveTypes and I get "reference to a non-shared memner requires object reference. How where / what do I do to access the proceedures / functions in this other file any time I need to from this form ?

View 1 Replies

Create Separate Files Within A Project?

Dec 22, 2011

How do I create separate files in a VB Express 2010 project?[code]...

Query 1: When creating class files, the VB Book by Loffelmann & Purohit (p 172) says, put the class in a class file that has the same name as the class. However, as shown, I want to have two or more related classes in this file. Do I need a separate file for each class? That would get cumbersome!

Query 2: Can I create a file similar to MyOutput.vb so that both MyModule and MyClass can include statements like[code]...

View 2 Replies

Create A Timer To Execute On A Separate Thread?

Jan 23, 2012

Currently I'm creating a task that runs a hardware i/o loop for the duration of my program.i.e. it's a task that's created at the program's start and runs a loop that is only broken at the programs termination. Each loop cycle communicates via ethernet to hardware.depending on time outs each cycle takes 30-300 msec)I've noticed that if the loop runs with out any break that the program really slows down... to counter act that I placed a thread.sleep(x) in the loop

View 6 Replies

Create Separate Classes For The Timesheets And Invoices?

Oct 19, 2010

I have a class called FileInfo. It has properties for stuff like FileNumber, Vessel, OpenedDate etc.

Now for a file I need to have Timesheets and Invoices.

My question is, do I create seperate classes for the Timesheets and Invoices?

View 5 Replies

Have The Report Viewer Control On A Form?

Dec 22, 2011

I'm creating a Windows Service that needs to print a report. Obviously a service app does not have a user interface. Is there a way I can print my report definition (RDLC) programatically or do I absolutely have to have the Report Viewer control on a form?

View 9 Replies

Create A Separate File That Records And Adds Favorites?

Jun 9, 2009

How do you create a separate file that records and adds the favorites to so you dont lose them ect

View 4 Replies

Forms :: Create Separate Parts/winforms Of The Same Application?

Sep 19, 2011

is it a bad idea to create separate parts/winforms of the same application (using the same SQL Server DB) in different executable files. For example for a School IS: A Receptionist App, A Teacher App, A Principal App and so on.

View 2 Replies

Keep Each Module Separate And Call EXE's Or Should Create One Large Project?

Dec 15, 2009

The company I work for has a VB6 project that is using an ACCESS database.The project consists of seperate modules such as Accounts Payable, Payroll, General Ledger, and Inventory.At the current time each module is a seperate project in VB6 and the EXE files are called when needed.In total there are about 1300 forms in the project.We are moving from ACCESS to Sql Server and from VB6 to VB2008.The question that I (we) have is as follows; Should we continue to keep each module seperate and call the EXE's or should we create one large project?What are the pros and cons for each way?Is there something written that explains the advantages of either?

View 5 Replies

Place The Crystal Report Viewer On The Form?

Nov 10, 2010

Am Using VB.NET and could not place the Crystal Report Viewer on the Form. The Viewer can be seen at the bottom and even the properties can be changed. But its not being displayed on the form..

View 1 Replies

Embed Instance Of Powerpoint Viewer 2007 On A Form

Jul 23, 2008

how to embed and control an instance of POwerpoint Viewer 2007 on my VB.net form ?I am trying to display powerpoint slides on a form when ms-powerpoint is not available on end users system.

View 11 Replies

Form With Crystal Report Viewer Not Showing DataSet

Jul 19, 2011

Imports System.Data
Imports System.Data.SqlClient
Imports System.Text
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports CrystalDecisions.ReportSource
[Code] .....
When I run this code my form with crystalreportviewer not show dataset

View 1 Replies

Create A Textbox Which Will List Down One Column Of Datas From Textfile Which Is Separate By Delimiters?

Jul 13, 2010

I have to create a textbox which will list down one column of datas from textfile which is separate by delimiters.But as I have to filter alt.Row from the text file, what can i do?

View 9 Replies

Pass Parameter From .NET Windows Form To Cyrstal Report Viewer?

Sep 10, 2010

FormA contain a textbox for user to enter their name and a button. When the user click the button, it will show the FormB which contain the CrystalReportViewer. I would like to to display the name which the user enter in the textbox on FormA on the CyrstalReportViewer.

The question is, how do I pass the textbox value to the Crystal Report Viewer The secondary question is how I am going to display the value on the Crystal Report Viewer.For you information, I am using VB.net.

View 1 Replies

String Manipulation - Separate Three Fields Of The Phone Number And Display In Three Separate Text Boxes?

Feb 23, 2012

I created a telephone number form where the user enters the telephone number in a text box as (nnn) nnn-nnnn. The first 3 digits in parenthesis are the ISD code, the next three are the area code and the last four are the local number. I need to separate out these three fields of the phone number and display in three separate text boxes labeled appropriately. Now, suppose the user enters the phone number in a text box as a continuous string of 10 digits, where the first three represent the ISD code, the next three represent the area code and the last four represent the local number. I'm lost as how to change this string into the form (nnn) nnn-nnnn. This is what I have

[code]...

View 3 Replies

Possible To Have Separate Combo Boxes That Will Give Separate ID Values But Using Same Table?

Apr 30, 2010

I'll get straight to my problem - I'm currently coding in Visual Studio.I have a table (countries) with the columns ID | Name. The table is filled with around 28 records.I also have a form with 4 combo boxes (set up as 1,2,3 & 4) that I want the user to select. These combo boxes will display the names from the table countries. I then want to use the selected names in the combo boxes to Insert into their corresponding ID into another table. For example England would have the ID 1, USA the ID 2 etc.So, is it possible to have separate combo boxes that will give separate ID values but using the same table? At the moment I can't seem to find a solution.Eventually the form will have more than 4 combo boxes so I don't want to use separate bindingsources for each combo box.

View 5 Replies

Access To A TextFields In A Separate Form

Apr 30, 2009

In an application with multitab on a user Form after collecting some information I will plug it into an access database and collect data and disply it with another "Second" User form.On the second user form I make a selection from 1-10 selection on the second user form, and again I will read the access database using the selected data by the user and would like to plug in to the First user form and close second user form.Somehow my textfield is not accessible and I get the yellow tip of "PLName is not member of 'Windows.System.Forms.Form'"[code]

View 4 Replies

Detecting Victory In Separate Form?

Feb 24, 2009

In a project I'm working on, I have 3 separate mazes, a Splash Screen, and a Module for my global variable(gWin, to detect wins on the mazes). When you finish a maze, I'd like to get it so that it does not allow you to go back and redo a maze, to prevent cheating as I want a final screen to appear when they complete all 3 of the mazes. Is there a way that I can make a variable or something to be able to check if a maze was already completed then cause that maze to have it's .Enabled property set to false?

View 8 Replies

Dock A Separate Process In Form?

Mar 9, 2010

I'm just wondering if there is any way to dock a separate process in my form? For example, Firefox.

View 2 Replies

Have TextBox On A Form In Separate Answer's

Feb 4, 2011

I Have a textBox on a form to give me my IP address (but I have 3 anwser's going into 1 textBox) When I use a button to revile The anwser's,all in one Textbox .How can I seperate Each anwser's with a space. Code Below: (TextBox5 is the TextBox I need to seperate the Answers) [code]

View 12 Replies

IDE :: Get The Toolbox To Be To The Left And Separate From The Form?

Jan 17, 2011

when I open an application to make changes, and I open the toolbox, it appears in the work area with my form. How can I get the toolbox to be to the left and separate from the form?

View 2 Replies

Start Separate Exe Specific Form?

Jan 6, 2011

This may sound silly but is it possible to run a separate exe and call a specific form to load?

For example:

Let's say I have two exes one that checks licensing and then once that is done it calls another separate exe to load a specific form based on the type of license selected?

It sounds doable but can anyone share a snip it of code that may do the trick?

View 16 Replies

Update A Form From A Separate Thread?

May 9, 2010

I've looked at the on line doc over and over, and I can't seem to figure out why this won't work. This code runs the thread, and the thread seems to execute the code in the 'threadsafe' sub, however neither the progress bar is updated or the button click performed.

Imports System.Threading
Public Class VisNotify
Inherits Form

[Code].....

View 4 Replies







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