Problem with database tool kit, and MS Office Tool kit.
One of my programmer's who has the Office tool kit noticed this on Monday, and we haven't been able to find the problem yet.
We use the database connectivity reads and writes to a MS Access database. This program reads the data from a Symbol Scanner, and then inputs it into the database. He then has a query that to create a data table to pump into the MS Toolkit to build a MS World file (This is for a Bill of Lading).
What we found it that it works really well the first time, and on any further runs it will not update the database with any new data. It starts working again if we do a restart on the computer. It seems like something is not freeing up the database. He is freeing all the tables and closing the DB connection at each process, and everything else seems to be doing everything else right. I think the problem is that it goes into this MS Toolkit to make the table that goes on the Bill of Lading.
I did a modification that makes it read from an excel file on my desktop, and I found that it is doing the same thing. I deleted the report generator part of the program, and found that it will update the database properly. I have no clue.
here is the machine specs:
labview 8.6
Database connectivity toolkit 1.0.2
Report generator toolkit MS Office 1.1.3
MS Office 2007, the file is a Office 2003 format,
Given that the code still fails when talking to a excel file it sounds like this isn't really related to the database. Can you post a bit of your that shows the problem. Beyond that, be looking for things in the code that change between subsequent interations -- things like shift registers, globals, etc.
On the other hand, the fact that you have to restart the computer would tend to indicate that there is something going on with the MS Office side of things. To be clear: shutting down and restarting LV is NOT sufficient to clear the problem?
When the problem is occurring, if you shut down LV and open the Task Manager do you see (on the Processes tab) any MS Office components still running?
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Similar Messages
-
Big problems with AA8.1.2 and XP/Office 2007
I've had so many problems with AA8.1.2 since I got this new laptop that I'm about to trash the entire machine :^(
Everytime I start any Office product, Windows Explorer or anything that seems to be using the shell, AA launches in to the installer then aborts with ERROR 1606 Could Not Access Network Location \Startup. I'd just as soon uninstall AA altogether at this point but it even fails its own uninstall with the same error. With the Office products, I get the following error on top of the Error 1606 which says Compile Error In Hidden Module: DISTMON. I get this when the product (Excel, Word, etc.) starts up and when it exits.
Can somebody help me here? I've searched the KB and the only article I find is no solution; following its instructions didn't help a bit. I can't even install any AA updates (that I hope might solve the problem) because of the same installation error.
Thanks.I get the same message whenever I try to install Adobe 8.1.0 (received from Adobe last week) on a new computer running Vista Ultimate. I have completed all the actions in MS KB 886549 to no avail. I also copied the complete Adobe folder from the CD to the Desktop and ran the install program and the .msi program as an Administrator and had the same results. I spent a little over a half hour yesterday on the phone with Tech Support and still have the same problem. A search on the error message on the Internet shows that there are a lot of other people having this same problem. I hope someone comes up with a solution soon or it is back to the old computer (XP with SP3 and Adobe 7).
-
Problem with Automatic Replies or Out of Office
Hi mates!
I´ve just finished migration Exchange 2003 to Exchange 2010.
Today I´ve removed Exchange 2003.
I have a problem with Automatic Replies or Out of Office. When the user active Automatic Replies in Outlook 2010, He has this Error:
Your Out of Office settings cannot be displayed, because the server is currently unavailable. Try again later.
If I logged into OWA, (Options > Set Automatic Replies) I could set it up and it worked fine.
I run Test E-mail AutoConfiguration command to see if AutoDiscover has been configured and the OOF URL is correct:
https://mail.domain.com/ews/exchange.asmx
I try to browse the OOF URL from IE, It works fine.
Authentication Permission for EWS Virtual Directory is:
Anonymous – Enabled (For IUSER)
Basic – Enabled
Windows – Enabled
Other authentication methods are disabled.
WebServicesVirtualDirectory configuration for URL:
InternalNLBBypassUrl :
https://Server1.domain.local/ews/exchange.asmx
InternalUrl
: https://mail.domain.local/EWS/Exchange.asmx
ExternalUrl
: https://mail.domain.com/EWS/Exchange.asmx
InternalNLBBypassUrl : https:// Server2.domain.local /ews/exchange.asmx
InternalUrl
: https:// mail.domain.local /EWS/Exchange.asmx
ExternalUrl
: https:// mail.domain.com /EWS/Exchange.asmx
I use a certificate for Server HUB/CAS from my CA (Active Directory).
In EMC I have this error for certificate:
The certificate status could not be determinated because the revocation check failed.
But when I generated in the past, this status of this certificate was This certificate is valid for Microsoft Exchange.
I need help, because I don´t know I do…
Thanks.Hi MAS,
As soon as possible I will install this kb in a PC with Outlook 2010.
Yes, I reset IIS, with the same result.
I check this URL, and I run this command: TestOutlookWebServices -identity user01 with this result:
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1019
Type : Information
Message : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://mail.domain.local/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1006
Type : Information
Message : Contacted the Autodiscover service at https://mail.domain.local/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1016
Type : Information
Message : [EXCH] The AS service is configured for this user in the Autodiscover response received from https://mail.domain.local/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1015
Type : Information
Message : [EXCH] The OAB service is configured for this user in the Autodiscover response received from https://mail.domain.local/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1014
Type : Information
Message : [EXCH] The UM service is configured for this user in the Autodiscover response received from https://mail.domain.local/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1016
Type : Information
Message : [EXPR] The AS service is configured for this user in the Autodiscover response received from https://mail.domain.local/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1015
Type : Information
Message : [EXPR] The OAB service is configured for this user in the Autodiscover response received from https://mail.domain.local/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1014
Type : Information
Message : [EXPR] The UM service is configured for this user in the Autodiscover response received from https://mail.domain.local/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1022
Type : Success
Message : Autodiscover was tested successfully.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1106
Type : Information
Message : Contacted the Autodiscover service at https://SERVER1.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1116
Type : Information
Message : [EXCH] The AS service is configured for this user in the Autodiscover response received from https://SERVER1.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1115
Type : Information
Message : [EXCH] The OAB service is configured for this user in the Autodiscover response received from https://SERVER1.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1114
Type : Information
Message : [EXCH] The UM service is configured for this user in the Autodiscover response received from https://SERVER1.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1116
Type : Information
Message : [EXPR] The AS service is configured for this user in the Autodiscover response received from https://SERVER1.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1115
Type : Information
Message : [EXPR] The OAB service is configured for this user in the Autodiscover response received from https://SERVER1.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1114
Type : Information
Message : [EXPR] The UM service is configured for this user in the Autodiscover response received from https://SERVER1.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1122
Type : Success
Message : Autodiscover was tested successfully.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1013
Type : Error
Message : When contacting https://mail.domain.local/EWS/Exchange.asmx received the error The request failed withHTTP status 401: Authorization Required.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1025
Type : Error
Message : [EXCH] Error contacting the AS service at https://mail.domain.local/EWS/Exchange.asmx. Elapsed time was694 milliseconds.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1026
Type : Success
Message : [EXCH] Successfully contacted the UM service at https://mail.domain.local/EWS/Exchange.asmx. The elapsed time was 31 milliseconds.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1013
Type : Error
Message : When contacting https://mail.domain.com/EWS/Exchange.asmx received the error The request failed withHTTP status 401: Authorization Required.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1025
Type : Error
Message : [EXPR] Error contacting the AS service at https://mail.domain.com/EWS/Exchange.asmx. Elapsed time was15 milliseconds.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1026
Type : Success
Message : [EXPR] Successfully contacted the UM service at https://mail.domain.com/EWS/Exchange.asmx. The elapsed time was 31 milliseconds.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1124
Type : Success
Message : [Server] Successfully contacted the AS service at https://SERVER1.domain.local/ews/exchange.asmx. The elapsed time was 934 milliseconds.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1126
Type : Success
Message : [Server] Successfully contacted the UM service at https://SERVER1.domain.local/ews/exchange.asmx. The elapsed time was 93 milliseconds.
All ok, but with these errors:
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1013
Type : Error
Message : When contacting https://mail.domain.local/EWS/Exchange.asmx received the error The request failed withHTTP status 401: Authorization Required.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1025
Type : Error
Message : [EXCH] Error contacting the AS service at https://mail.domain.local/EWS/Exchange.asmx. Elapsed time was694 milliseconds.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1013
Type : Error
Message : When contacting https://mail.domain.com/EWS/Exchange.asmx received the error The request failed withHTTP status 401: Authorization Required.
RunspaceId : 1a13d412-b75d-48b5-8938-72ad53f11cb7
Id : 1025
Type : Error
Message : [EXPR] Error contacting the AS service at https://mail.domain.com/EWS/Exchange.asmx. Elapsed time was15 milliseconds.
In IIS for EWS has this method Authentication:
- Anonymous
- Basic
- Windows
For SSL Settings in EWS has this configuration:
- Require SSL
- Client Certificate: Ignore
For Default Website in IIS, SSL Settings:
- Require SSL
- Client Certificate: Ignore
I don´t have ISA/TMG. I use HLB KEMP for publishing OWA... -
I'm having problems with CS2 (mainly illustrator and photoshop
I'm having problems with CS2 (mainly illustrator and photoshop ) randomly shutting down while trying to save a file. Reformatted my laptop for fear of a virus and reloaded... I have gotten nowhere.
Please Help!CS3 still had issues with the preferences becoming corrupt, so a possible workaround would be to reset the preferences.
The file is called AIPrefs and is located under 'Documents and Settings/User/Application Data/Adobe/Adobe Illustrator CS3 Settings'. It is a hidden file. Delete it with Illustrator closed and when you launch the program again the file will be rebuilt.
May be it is also sounds like you need more memory for your computer. If you can navigate to your computer's memory controls, and allow your operating system to use a portion of your hard disk drive (HDD) as RAM (maybe 2Gb or so) it may solve your issue.
How is about: http://www.filerepairforum.com/forum/adobe/adobe-aa/illustrator/383-%E2%80%8Bcorrupted-fon ts-in-illustrator-file-urgent-help-need – resource has non-commercial specialty
Third party software Illustrator Repair Kit also must be good solution
It has free demo version at:- http://www.illustrator.repair/
Hope this will be helpful. -
Problem with database schema objects in the entity object wizard
Hi All,
When creating a new entity object, I am facing a problem with database schema objects in the entity object wizard, database schema objects (check boxes for tables,synonyms...) are disabled. Actually I am using a synonym but I am not able to select the synonym check box.
Can any of you folks tell me how to enable the database schema objects (check boxes for tables,synonyms...).
Thanks in Advance.
Raja.MMake sure your using rite version of jdeveloper..
Make sure your using apps schema and check whether your able perform DML operations in the schema vis sql developer.
--Prasanna -
Strange problem with SQLPLUS when client and server on the same box
Hi,
I have the problem with SQLPLUS when clinet and server on the same machine.
With client and server on the same machine i am running the command
sqlplus -l username/password@connect_identifier as SYSDBA.
With this command, even if you pass in wrong username or wrong password or both as wrong you can able to connect to database and execute queries.
Once Connect_identifier is correct and trying to log in as SYSDBA ,sqlplus will log in to DB with any username and password.
How to get rid of this behaviour. Is there any way to do this.
I am running this command by creating a process in C#
Edited by: user11000236 on Jun 16, 2009 10:31 AMuser11000236 wrote:
Thanks for the info.
How does Oracle/SQLPLUS allows any username or password to log in to DB with SYSDBA Privillages? What is the concept behind this.?
This is explainted in the above mentioned link:
Operating system authentication takes precedence over password file authentication. If you meet the requirements for operating system authentication, then even if you use a password file, you will be authenticated by operating system authentication. -
Strange problem with Database LInk
Hi Everyone,
I have strange problem with Database Link in Oracle 11g Express Edition;
There are two computers: computer-server and computer-client. Tnsnames.ora are the same on both computers ie.
CT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = XE)
I created database link :
Create database link zdalny
Connect to <user_id> identified by <password>
using ‘CT’;
Client can’t connect with server when I am using above command. But when I change “using” for using ‘krzysztof:1521’ or using ‘krzysztof’ or using ‘server IP:1521’ – everything is ok.
Why I am asking. Because in all materials which I am reading about Oracle command with using ‘CT’ should be working correct. But there is not. Do you know, why?
Thanks in advance and apologize for my English.
Rgds
KrzysztofKrzysztof Szymaniak wrote:
Thanks for all replies.
Below is server's tnsnames.ora
CT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
12154. 00000 - "TNS:could not resolve the connect identifier specifie
Rgds
Krzysztof
PS. I tried with using 'XE' - not working.Assuming that is the correct tnsnames, of course XE is not working. You don't have a tnsnames entry for 'XE'.
You need to be aware that when using a dblink, the client is the db in which the link is defined, not the desktop from which you connect to that database.
I think you need to start here:
http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/
http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ (Help! I can’t connect to my database )
http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ (Help! I can’t connect to my database (part duex) )
The fact that your client (db link) is a database doesn't change anything taught in the above. -
Problems with Cocoon 2.03 and Weblogic 6.1 SP3
I am having problems with Cocoon 2.03 and Weblogic 6.1 SP3, when I try to deploy
the cocoon.war.
Cocoon works fine when I unpack the cocoon.war into ...\mydomain\applications
(after I changed cocoon.xconf to use the following transformer factory: org.apache.xalan.processor.TransformerFactoryImpl).
However, when I deploy the cocoon.war through the weblogic console and try to
invoke cocoon (http://localhost:7001/cocoon/) I get the following error:
ERROR (2002-09-26) 11:28.40:859 [sitemap] (/cocoon/) ExecuteThread: '7' for
queue: 'default'/Handler: Error compiling sitemap
java.util.zip.ZipException: The system cannot find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:110)
at java.util.zip.ZipFile.<init>(ZipFile.java:125)
at weblogic.utils.zip.ZipURLConnection.getInputStream(Handler.java:49)
at org.apache.cocoon.components.source.URLSource.getInputStream(URLSource.java:151)
at org.apache.cocoon.components.source.URLSource.getInputSource(URLSource.java:223)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:318)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:282)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:196)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:228)
at java.lang.Thread.run(Thread.java:484)
I understood that there were problems when the cocoon.war file that did occur
when you unpacked the war, but I believed that these problems did not occur with
WLS6.1 SP3.
Has anyone else encountered this problem and solved it? Any help would be greatly
appreciated.
Thanks in advance.
PaulThis how I got Cocoon 2.04 up and running on WLS 6.1.4
Download the Cocoon source from http://xml.apache.org/cocoon/dist/
Remove all but the following JARs from lib/optional:
commons-jxpath-1.0.jar
jing-20020724.jar
resolver-20020130.jar
servlet_2_2.jar
commons-logging-1.0.jar
jtidy-04aug2000r7-dev.jar
rhino-1.5r3.jar
xt-19991105.jar
Update lib/jars.xml to reflect these changes
Issue build commands:
./build.sh clean (Note: Always clean first!)
./build.sh -Dinclude.webapp.libs=yes -Dexclude.webapp.samples=yes -Dexclude.webapp.documenation=yes
-Dexclude.webapp.javadocs=yes webapp
Copy the following JARs to your WLS instance’s lib directory:
xercesImpl-2.0.0.jar
xml-apis.jar
xalan-2.3.1.jar
xt-19991105.jar
java/lib/tools.jar
Sample of config/SERVER_NAME.setenv
LIB=/path/to/lib
JARS=$LIB/xercesImpl-2.0.0.jar:$LIB/xml-apis.jar:$LIB/xalan-2.3.1.jar:$LIB/xt-19991105.jar:/opt/java1.3/lib/tools.jar
JAVACLASSPATH=$JARS:.:$JAVACLASSPATH
JAVA_HOME=/opt/java1.3
Deploy the resluting cocoon.war and you should have a Cocoon up and running that
can do the XML->HTML Hello World sample. The status page works fine too.
My advice is to launch this stripped configuration first and if needed add more
features later by adding the JARs of your choice to the class path (or add the
to your webapp-build if you are confident that WLS are capable of handling their
manifests).
Good luck
/Peter
"Paul Petley" <[email protected]> wrote:
>
>
I am having problems with Cocoon 2.03 and Weblogic 6.1 SP3, when I try
to deploy
the cocoon.war.
Cocoon works fine when I unpack the cocoon.war into ...\mydomain\applications
(after I changed cocoon.xconf to use the following transformer factory:
org.apache.xalan.processor.TransformerFactoryImpl).
However, when I deploy the cocoon.war through the weblogic console and
try to
invoke cocoon (http://localhost:7001/cocoon/) I get the following error:
ERROR (2002-09-26) 11:28.40:859 [sitemap] (/cocoon/) ExecuteThread:
'7' for
queue: 'default'/Handler: Error compiling sitemap
java.util.zip.ZipException: The system cannot find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:110)
at java.util.zip.ZipFile.<init>(ZipFile.java:125)
at weblogic.utils.zip.ZipURLConnection.getInputStream(Handler.java:49)
at org.apache.cocoon.components.source.URLSource.getInputStream(URLSource.java:151)
at org.apache.cocoon.components.source.URLSource.getInputSource(URLSource.java:223)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:318)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:282)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:196)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:228)
at java.lang.Thread.run(Thread.java:484)
I understood that there were problems when the cocoon.war file that did
occur
when you unpacked the war, but I believed that these problems did not
occur with
WLS6.1 SP3.
Has anyone else encountered this problem and solved it? Any help would
be greatly
appreciated.
Thanks in advance.
Paul -
I downloaded a new version of firefox. It said it had problems with my norton toolbar and now it doesn't feature it in the window. I'm not that comp savvy. How do I either get the Norton toolbar up or go back to the old firefox? Thank you.
Please authorize ADE 3 with same credentials that you used with older version of ADE
-
After having yet another problem with my MacBook Pro and having to wipe the drive, I am now unable to sync my iPhones etc without erasing all the music on them. Is there a way around this? I have no other library!
iTunes is a mess! It couldn't find it's own libraries and I was forced to create a new one. Now I don't know where my music is or if any's missing.columbus new boy wrote:
How crap is that?
It's not crap at all.
It's not that simple. For example, I've 3500 songs on my MacBook but don't want them all on my phone, so I have to manually select each song again???
There has to be a solution.
Why not simply make a playlist with the songs you want on the iPhone?
and maintain a current backup of your computer. -
I tried downloading a free app and it asked for my billing information and when I entered it, it said that there was a billing problem with a previous purchase and I have to update it. I keep updating it and it wont let me verify it and I cant get any apps even if they are free, and I just Deleted some apps to make room for my new upate!
The message says: "The payment method has been denied, try another method"
I'm living in the same country and city since I was born, so I don't think the location is the problem.
And yes, I paid with the card a meal in Burguer King today. And nothing more. -
I have been trying to download apps from the app store and every time it tells me there is a problem with my previous billing and direct me to put in new billing information and every time i do that it still will not let me download any apps.
Have a look here > http://support.apple.com/kb/TS1646
-
Communication problem with Adobe 9.0 and HP Printer when I scan
I'm having a problem getting a .pdf file to come up when I scan from a HP 5610 All-in-one printer. Have uninstalled and reinstalled HP software three times but when I scan and want a pdf file it won't communicate with Adobe 9.0 reader for some reason. Is there a setting in Adobe reader that's a problem?
Thanks.Thanks...found out that an HP5610xi All-in-One will not completely communicate with Adobe 9.0 Had to go to Adobe 6.0
Date: Thu, 17 Dec 2009 03:19:49 -0700
From: [email protected]
To: [email protected]
Subject: Communication problem with Adobe 9.0 and HP Printer when I scan
May be that the HP software doesn't support Adobe Reader 9.
> -
Problem with java swing button and loop
Problem with java swing button and loop
I�m using VAJ 4.0. and I�m doing normal GUI application. I have next problem.
I have in the same class two jswing buttons named start (ivjGStart) and stop (ivjGStop) and private static int field named Status where initial value is 0. This buttons should work something like this:
When I click on start button it must do next:
Start button must set disenabled and Stop button must set enabled and selected. Field status is set to 1, because this is a condition in next procedure in some loop. And then procedure named IzvajajNeprekinjeno() is invoked.
And when I click on stop button it must do next:
Start button must set enabled and selected and Stop button must set disenabled.
Field status is set to 0.
This works everything fine without loop �do .. while� inside the procedure IzvajajNeprekinjeno(). But when used this loop the start button all the time stay (like) pressed. And this means that a can�t stop my loop.
There is java code, so you can get better picture:
/** start button */
public void gStart_ActionEvents() {
try {
ivjGStart.setEnabled(false);
ivjGStop.setEnabled(true);
ivjGStop.setSelected(true);
getJTextPane1().setText("Program is running ...");
Status = 1;
} catch (Exception e) {}
/** stop button */
public void gStop_ActionEvents() {
try {
ivjGStart.setEnabled(true);
ivjGStart.setSelected(true);
ivjGStop.setEnabled(false);
getJTextPane1().setText("Program is NOT running ...");
Status = 0;
} catch (Exception e) {
/** procedure IzvajajNeprekinjeno() */
public void IzvajajNeprekinjeno() { //RunLoop
try {
int zamik = 2000; //delay
do {
Thread.sleep(zamik);
PreberiDat(); //procedure
} while (Status == 1);
} catch (Exception e) {
So, I'm asking what I have to do, that start button will not all the time stay pressed? Or some other aspect of solving this problem.
Any help will be appreciated.
Best regards,
TomiThis is a multi thread problem. When you start the gui, it is running in one thread. Lets call that GUI_Thread so we know what we are talking about.
Since java is task-based this will happen if you do like this:
1. Button "Start" is pressed. Thread running: GUI_Thread
2. Event gStart_ActionEvents() called. Thread running: GUI_Thread
3. Method IzvajajNeprekinjeno() called. Thread running: GUI_Thread
4. Sleep in method IzvajajNeprekinjeno() on thread GUI_Thread
5. Call PreberiDat(). Thread running: GUI_Thread
6. Check status. If == 1, go tho 4. Thread running: GUI_Thread.
Since the method IzvajajNeprekinjeno() (what does that mean?) and the GUI is running in the same thread and the event that the Start button has thrown isn't done yet, the program will go on in the IzvajajNeprekinjeno() method forever and never let you press the Stop-button.
What you have to do is do put either the GUI in a thread of its own or start a new thread that will do the task of the IzvajajNeprekinjeno() method.
http://java.sun.com/docs/books/tutorial/uiswing/index.html
This tutorial explains how to build a multi threaded gui.
/Lime -
Memory Problem With 4gb Crucial Ballistix and Asus M4A785TD-V EVO
motherBoard: ASUS M4A785TD-V EVO
bios Version :2005
Video: amd hd5750
Processor: AMD PHENON II X2 550 3.100MHZ
Memory: Crucial
Modele Memory: blt4g3d1608dt1tx0
Capacity: 4GB
greetings to all
i have asus m4a785td-v evo mobo. i ve bought 4 gb crucial ballistix ram today. it says on product its 1600 mhz and cl8 but it shows on my pc 1333 mhz and cl9. when i was searching for this problem i came across this topic: http://forum.crucial.com/t5/Crucial-Ballistix-gaming-memory/Memory-Probleme-With-8GO-Crucial-Ballistix-and-Asus-M4A785TD-V/td-p/9464 can i apply the same settings? how can i fix that? is it possible via bios settings? thx in advance and sry for my bad english. here is some screenshots:I am not good at RAM setting but the 'Timings Table' shows there is XMP-1600 profile available so I believe it would be enough to turn on that memory profile in BIOS.
Maybe you are looking for
-
I removed SkyDrive for Business and installed OneDrive for Business on my laptop. After that, I had problems opening a Word and Excel document in a SharePoint site (SP2013). After installing Service Pack2 from Office2010, this problem is solved. But
-
Short code is not working after new firmware updat...
I am in USA on T-mobile network. I recently updtated my N80 to the latest firmware 4.07.XXX. Everything worked fined especially VoIP features. However, I used short cut code for example like #MIN# to get my min usage status for my acct. It sends the
-
Confusion on v2 of PDK install
All, Pardon me for stumbling here; Im converting from Microsoft to Oracle :) So much of this is foreign to me. I have successfully downloaded the most recent 9iAS v2 release dated August 25th I believe. Ive installed the infrastructure and the enterp
-
Iphone3GS + iOS4 problems with Camera picture names.
I use Image Capture to import all my images since i bought my iphone3GS more than a year ago with the delete after import option. Now, with iOS4, I take 10 pictures then i import & delete and my images come with name IMG_0001.jpg to IMG_0010.jpg so n
-
How do with change table cells from staticText1 to button1 in run time?
I have two question: first: I think change table's cells from staticText to button in run time? how do? second: I think change table column's order in run time?how do? ex: =============change before=========== name age wtu 22 =============chnage afte