VS 2005 AcroPDF Not Loading Properly?

Nov 11, 2009

I have a desktop application that shows a list of pdfs, and when the user selects one it shows it to him/her. I use the AcroPDF control for this, and it seems to work, but if the user goes back and forth between viewing the file and viewing the list, then the control randomly decides not to show the file (showing a blank page instead).

View 4 Replies


ADVERTISEMENT

Loading File Info Properly?

Dec 27, 2009

I have setup a file that is comma delimited:

{object name,text,object name,text...}

I have loaded the file, split the delimited text into to separate arrays. One array is for the' object name', the other for its corresponding text.The text is no issue. My issue is that the 'object name' would look something like "form1.label1, form1.label2..." This loads fine, but I can not figure out how to get the 'object name' to be used as an object.I dimensioned the array for 'object name' as an object, but this won't work:

objectname(i).text = "..."

Looking at the values of the 'object name' array, after each listing it says {string}I need this to work this way because the file is loaded with the idea that it could be in any order, longer or shorter then another, etcetera.

View 2 Replies

Site Not Loading Properly In IE 8 For First Few Seconds

Nov 4, 2009

I am using ASP.NET 3.5 and we are having a problem with our website www.s1.com

Also go to other links in the page if you dont see it on the home page.

When you open the site in IE 8 the top menu at first gets displayed like this.

And then the rest of the website loads. What can this be? Maybe a setting on the Server or in IIS?

View 3 Replies

VS 2005 Now() Not Resulting Properly?

Nov 23, 2010

vb.net
"Button_Click event"] Dim dt As Date
dt = Now
Select Case cmdUserSave.Tag

[Code]....

my problem is : when i am trying to save data in sql server management studio 2005 then data will be saved but with some garbage date. date is not saving properly.

View 13 Replies

VS 2005 - Counter Not Incrementing Properly?

Apr 7, 2010

why my counter is not working properly. It starts by counting all of the files in a directory and everything is set to 0 initially at the start of the program. For some reason when I debug it in certain places the counter increments correctly but with no debugging and once it reaches my DoSql function the counter is not set to the correct number of files anymore.. Below is my code, filesRemaining should be initially set to the number of files then decrement everytime.. when I debug this method itself it works fine but say I put a debug point elsewhere or don't debug at all the counter is not right.

'Declare global variables
Dim fileNumber As Integer = 1
Dim arrayPosition As Integer = 0
Dim changeType As Integer = 0

[code]....

View 1 Replies

VS 2005 Application Doesn't Run Properly On Win 7

Jul 22, 2011

I have an application that runs perfectly on XP. When I run in on Win 7, it works perfectly when I run it in the IDE but when I deploy it, the application starts OK but some of the functions don't work as they should. I know it could be anything but does anything stand out?

View 1 Replies

VS 2005 Handling Currency Properly?

Feb 9, 2009

VS 2005 Handling currency properly

View 1 Replies

VS 2005 Properly Handle All The Windows?

Apr 9, 2009

The app Im working on is dunning on an embedded xp machine. It recieves input from the serial port from an industrial process, and then a backgroundworker class calculates and updates the single form GUI with the results from the process. Very simple.Now, the customer want to allow automatic download of log files by an USB memory. The process should work like this:

1)User plug in an usb memory

2)SHow a virtual keypad (touch screen) where the user enter a security code

3)If code ok, show a 3 choice screen, if not ok show error message and allow the user to try again.

4) If user choose the "export all" button, this choose form will close and i display another form with a progress bar that show how all files are copied to the usb memory. When this process is complete, I will display teh form that says "remove the usb memory and press ok to restart the application.

As you see here lots of forms are created and disposed based on user choices. My biggest issue here is that I have no clear design pattern to work from.For example.. should I have this "chain" in the main gui form, or should I let each form create the next form. For example on the "select action" form, when I press export, should this form create and show the "copy progress" form, or should all forms be created and destroyed from the main gui form?

Also, such an issue like with the password. I put it as a constant on the main form, to avoid "magic numbers" in the code. And then I ran into problem because the "keypad" form is created on another thread and I can't access the costant on the main form, so I got a cross thread exception.Everything starts when an USB memory is connected. And the OnConnected eventhandler is running on a different thread than the main UI thread. how to design this chain of window creation/deletion is greatly appreciated. I show all forms with the SHowDialog because I dont want the user to be able to close the form unless he/she presses a button. And not by accident press somewhere else.

View 2 Replies

VS 2005 Appliction Settings Not Working Properly?

Mar 29, 2010

I am using VB.NET 2005 and running non embedded crystal reports from the SQL server and have following variables database name, server name, user name and password in the application settings editor and given the default values.

I have created a form that allows these settings to be changed by the user and the probem that I am having is that, the reports are still running with incorrect credentials. The following code runs when the user modifes the values and clicks OK button

[Code]...

View 3 Replies

2005 - Horizontal Scroll Event Not Working Properly

Jan 7, 2011

I am developing windows application in visual basic .net 2005. I am using datagridview and i want to handle its horizontal scroll event. i was using code below,

[Code]...

View 6 Replies

VS 2005 Data Grid Coding Not Working Properly?

Jul 17, 2009

I did this Imports System.Data Imports System.Data.OleDb Public Class Form1 Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code]...

View 11 Replies

How To Properly Open A Image Using Bitmap Class And Dispose It Properly

Jun 22, 2010

I am looking for a code snippet which opens a image, creates a clone of this bitmap in memory disposes this opened image so that all handles are closed.

Usually we can open a bitmap using this[code...]

the following code however keeps the Image File locked until the application is running, any suggestions how to dispose it properly. (So that no handle is left open )

Things i already tried: use dispose method of bitmap <= doesnt work (need to write implementation)
Using Block also doesnt work.

View 2 Replies

VS 2005 Variant - Values Coming Back From The Function Is Not Getting Converted To Object Type Properly

Jun 8, 2011

I have some ActiveX that was written for VB6. They all seem to return Variant types. Ex.

[Code]....

In this case the GetPosition control is returning a robot axis position. It looks to me like the values coming back from the function is not getting converted to object type properly.

View 2 Replies

VS 2005 - Runtime DLL Loading

Jun 2, 2009

I am using a DLL in my application that will probably be experiencing frequent updates. I want the DLL to detect the new version (I know how to do this), load the new version of the DLL into memory, and continue running. Is this even possible? So I need to know how to: Unload the current DLL. Load the new DLL. If possible, do this from the DLL in question. Is this even possible? If not, how close can I get to this?

View 6 Replies

VS 2005 Loading Forms

Mar 29, 2012

i have a problem with loading forms in VB and i was hoping someone can help me. this is the code i made:1st form.form name: formload.vb [code]now the thing is whenever the loginform appears when i successfully entered the accounts the form the userinterface will appear and the loginform disappears for a few seconds then reappears again.i wanted the loginform to disappear the only form that is visible is the userinterface.how to make database of accounts where the login form depends on?

View 4 Replies

VS 2005 - Loading From A Database - Too Slow

May 6, 2009

I've got a database that's 13,000 lines long and I'm trying to load this into a string array when the program loads but it takes approx 5-6 minutes for it to load it.I've got a MS Access database or an Excel file that I can load this information from, each has two rows: SVONo, Description This is my current MS Access

[code]...

Does anyone have any idea of how to make it faster? Or does anyone have a better way?I did have the idea of loading it by letting the user select the first letter and then only loading the ones that begin with that letter but I've got 4000-5000 'S' ones and it still takes about 2-3 minutes to load it All I want is to load the data from the database or the excel file and then put the products into 'cboProducts' and the 'cboProducts AutoCompleSourceList' and the descriptions into the 'txtDescriptions' AutoCompleteSourceList and a string array.Then when the user selects a product using 'cboProducts' the description will automatically be put into 'txtDescription'.

View 12 Replies

VS 2005 3d Arrays- Saving And Loading?

Apr 2, 2012

I am doing a project for part of my coursework which involves the creation of a series circuit designer.

I am having some trouble with the saving and loading functions; I had intended to save them to a text file with commas separating the component name and the value (if any) attributed with it.

Grid(xcoord, ycoord, 0) contains the component name. Grid(xcoord, ycoord, 1) contains the attached value (resistance or voltage- components such as wires have a value here of 0)

Once the save button is pressed, the text file contains 50 rows of "0".

P.S. Let me know if any other parts of my program are required.

Dim comp(maxsize) as ccircuits[globally declared]
Const maxsize = 50
Structure ccircuits

[Code]....

View 2 Replies

VS 2005 : Loading Two Modal Forms?

Aug 15, 2009

I have a main form when loaded will display a login form. I want that when the main from loads, the login form and another form will be loaded side by side.How do I show two modal forms?

View 2 Replies

VS 2005 Loading A Crystal Report?

Nov 25, 2009

Instead of loading a crsytal report from a path like this:myCrystalReport1.Load("C:Program FilesAstec IndustriesPlantDailyShiftReport.rpt")Is it possible to include the crystal report in the solution and load it from there? I've used this is asp:

Dim myPath As String = (Server.MapPath("PlantDailyShiftReport.rpt"))
myCrystalReport1.Load(myPath)

View 1 Replies

VS 2005 Loading And Hiding A Form?

Jan 28, 2010

i am hiding a form and showing another form by this bit of

form1.show()
form2.hide()
form 2 contains of a dgv and by the form1 i am editing the contents of the dgv present in the form 2.......

after making the changes when again i show the form2 and hide the form1,then the changes made did not appears in the form2............

i have this bit of code at the form load of the form2:

con = New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;Data Source=LibraryManagement.mdb")
con.Open()

[Code]....

now when i close my application and again reload it then then changes that i made appears in the dgv of the form2........

if i am showing the hidden form then at the time of showing it,does the form load event of the hidden form is raised?

or,

the hidden form is already loaded and there is NO form load event and only the form is shown and hidden...

View 3 Replies

VS 2005 Loading Master Data?

Aug 26, 2009

I have been given the below form but here i cant understand the use of this checkbox named LoanCredit card number.I am told that when user checks it then all master data will be displayed. does it mean that when i am entering some data in the database then the data will not not appear in the dropdownlist of the creditcard no. combobox automatically,on checking the checkbox the creditcard no. which is saved in the database will be added in its dropdown list? again when i uncheck it then again the dropdownlist of the combobox will become empty?

View 3 Replies

VS 2005 Loading Two Modal Forms

Aug 22, 2010

I have a main form when loaded will display a login form. I want that when the main from loads, the login form and another form will be loaded side by side.How do I show two modal forms?

View 19 Replies

[2005] Dynamic Add-on Component Loading?

Mar 16, 2009

I am currently developing an application that will be the "base" for several components (business reporting systems, order management, etc). The idea is that our customers will install this "mother application", and we will offer components that will slot into it, expanding the functionality.

Now, here's my idea for how to make this work. I have some of this basic functionality down, but I want to get other people's opinions, ideas and experiences with this sort of thing before I move too far in a direction that might not be the best way to go:

[Code]....

View 11 Replies

[2005] Loading A XML File Into XMLDocument?

Mar 2, 2009

I am currently trying to load an XML file into my app. However, it keeps throwing an exception error (InvalidOperationException - Object reference not set to an instance of an object) and I can't work out why. have a look at the code below and see if you can spot the error? I'm still very much a beginner so i'm sure it will be something simple..

Public Class FrmXMLReaderTest
Inherits Form
Friend WithEvents txtOutput As TextBox

[Code].....

View 7 Replies

VS 2005 - Form Loading Takes Time

Aug 17, 2010

Why my form loads takes time the first time I clicked the menu to load it (I even see not responding on the title bar), but when it is already loaded, I will close it and clicked the menu to load it again then it load fast already....

Here is what I have in my declaration section
Private cnn As New SqlConnection(My.Settings.MyConnectionString)
Dim cmdLocked As New SqlCommand
Dim daGrade As New SqlDataAdapter
Dim daLocked As New SqlDataAdapter
Dim builder As New SqlCommandBuilder
[Code] .....

View 13 Replies

VS 2005 - Showing Message On Loading Form

Aug 19, 2010

I have a menu which when clicked will load form which take quite sometimes (although not very long) but the user keeps on clicking the menu and so the "not responding" message appears on the title bar of the app. I am thinking of displaying "Loading....Please Wait" so that users will stop clicking the menu or will wait until the loading of the form is completed. I tried these code but the form is still displayed even if form has loaded completely. [Code] I like to use the same concept also when the user clicked the save button, to tell the user to wait while changes are being saved.

View 36 Replies

VS 2005 : Get Information From An MP3/WMA Without Loading It In A WindowsMediaPlayer Control?

Jan 9, 2010

Get information from an MP3/WMA without loading it in a WindowsMediaPlayer control?

View 4 Replies

VS 2005 Get Message Box To Stop Loading New Form?

Nov 25, 2009

How do I get message box to stop loading new form I have the following code on a button that loads new form

h
If Me.File_Name.Text = "" Then
MessageBox.Show("No DataFile Has Been Selected", "Please Select a DataFile", MessageBoxButtons.OK)

I want to stop loading the form is the message box appears

View 4 Replies

VS 2005 Listview Hang Up While Loading Data On It?

Apr 27, 2009

i have a listview and everytime I load a 10,000 data my listview hang up. Is there any alternative on how to load data to listview that will not hang up.

View 10 Replies

VS 2005 Loading All Data In An Excel Worksheet?

Jun 23, 2009

am trying to load data from an excel worksheet & its really giving me headache. A particular column contains both string and numeric data. its picking only the numeric data & loading the string data as blank entries. I tried checking what may be wrong, i think i saw a documentation that says Excel scans the first 8 rows of a column & determines it data type.plz, how can i load everything on the sheet (i can get everything as string, but i dont want to lose any entry)

View 3 Replies







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