I'm not able to store the contents of the database in a QString.
Hi all
have I missed something? Here is my piece of code.
QSqlQuery query;
Query.exec ("select * from SavePassword");
Query.Next ();
QString pathFile_Name = query.value (0) m:System.NET.SocketAddress.ToString ();
showMyToast (pathFile_Name);
Where showMyToast is a function that displays a msg of toast.
my pro file looks like this
LIBS += - lbbdata - lbbsystem
QT += sql
And I am able to get the number of records of QSqlQuery and not the content.
Here is a code for my creation of a database of newspaper, with db being a class variable:
QString databaseFileName = QDir::homePath() + QDir::separator() + "logs.db"; db = QSqlDatabase::addDatabase("QSQLITE", "loggerDatabase"); db.setDatabaseName(databaseFileName); if (!db.open()) { printf("Critical: Error opening logs database\n"); }
Tags: BlackBerry Developers
Similar Questions
-
Recover tablespace does not and not able to open the database
Hi all
I use Oracle RAC 11 g R2 in Linux. My database is running in mode NOARHIVELOG.
I'm testing some RMAN scripts.
After having made a scenario below: I think that the problem I used the switch log file!
I'm not able to recover my tablespace users due to the below:RMAN> backup tablespace 'USERS' TAG 'TestBkp_FRA'; RMAN> backup backupset 10 format '/testasm/backup%U' delete input; -- here 10 is the backup set generated in the previous command RMAN> BACKUP INCREMENTAL LEVEL 1 tablespace users; alter system switch logfile;-- many times
and I can't open my database:archived log for thread 1 with sequence 19 is already on disk as file +DATA/orcl/onlinelog/group_1.261.772044543 archived log for thread 1 with sequence 20 is already on disk as file +DATA/orcl/onlinelog/group_2.262.772044547 archived log for thread 2 with sequence 4 is already on disk as file +DATA/orcl/onlinelog/group_4.266.772044919 RMAN-08187: WARNING: media recovery until SCN 1101381 complete Finished recover at 27-MAR-2012 17:21:36
Here is a list of my backupsRMAN> alter database open; RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of alter db command at 03/27/2012 17:26:18 ORA-01113: file 4 needs media recovery ORA-01110: data file 4: '+DATA/orcl/datafile/users.259.772044111'
My database is running in mode NOARCHIVELOG have no full database backup.RMAN> list backup; List of Backup Sets =================== BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ -------------------- 9 Full 1.45M DISK 00:00:02 27-MAR-2012 12:06:47 BP Key: 11 Status: AVAILABLE Compressed: NO Tag: TESTBKP Piece Name: /testasm/backup0an6tvil_1_2 List of Datafiles in backup set 9 File LV Type Ckp SCN Ckp Time Name ---- -- ---- ---------- -------------------- ---- 4 Full 1092418 27-MAR-2012 11:40:06 +DATA/orcl/datafile/users.259.772044111 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ -------------------- 10 Full 1.45M DISK 00:00:04 27-MAR-2012 15:58:54 BP Key: 13 Status: AVAILABLE Compressed: NO Tag: TESTBKP_FRA Piece Name: /testasm/backup0bn6ud5q_1_2 List of Datafiles in backup set 10 File LV Type Ckp SCN Ckp Time Name ---- -- ---- ---------- -------------------- ---- 4 Full 1100603 27-MAR-2012 15:53:40 +DATA/orcl/datafile/users.259.772044111 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ -------------------- 11 Incr 0 1.45M DISK 00:00:05 27-MAR-2012 16:16:59 BP Key: 14 Status: AVAILABLE Compressed: NO Tag: TAG20120327T161652 Piece Name: +FRA/orcl/backupset/2012_03_27/nnndn0_tag20120327t161652_0.261.779041015 List of Datafiles in backup set 11 File LV Type Ckp SCN Ckp Time Name ---- -- ---- ---------- -------------------- ---- 4 0 Incr 1101381 27-MAR-2012 16:13:11 +DATA/orcl/datafile/users.259.772044111 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ -------------------- 12 Full 1.45M DISK 00:00:02 27-MAR-2012 17:00:26 BP Key: 15 Status: AVAILABLE Compressed: NO Tag: TAG20120327T170023 Piece Name: +FRA/orcl/backupset/2012_03_27/nnndf0_tag20120327t170023_0.260.779043625 List of Datafiles in backup set 12 File LV Type Ckp SCN Ckp Time Name ---- -- ---- ---------- -------------------- ---- 4 Full 1101381 27-MAR-2012 16:13:11 +DATA/orcl/datafile/users.259.772044111
How can I start my database. Help, please!You can proceed as below.
SQL > alter database datafile ' C:\APP\SHIVANANDA. RAO\ORADATA\TEST\USERS01. DBF' offline drop;
Database altered.
SQL > alter database open;
Database altered.
Off line file data from the USERS table space, and then open the database. Still, if there is a test database, then only do. Other wise, as mentioned, CKPT contace Oracle Support
-
Not able to download the sims2: great collection on the app store
A few days ago, I decided to buy the sims2 on the App Store (with 50% discount). Unfortunately, I'm not able to buy the game on the App Store because "article is being adjusted. The App Store tells me to try again later, but three days later it still does not work. Someone has the same problem, or would it be a specific problem with my MacBook? OS El Captain 10.11.3.
Thank you!!
OS X on your v10.11.6 Mac update, then try to download Sims2.
Open system preferences > App Store, and then click check now.
This should take you through the update process.
And check the Gatekeeper.
Back to System Preferences > Privacy & security, then select the general tab.
Ensure that: Mac App Store and identified developers is selected.
If the above has not helped, if installed, disable the anti-virus software, and then try to download the app again.
-
Redesign existing external hard disks and still 6 Lightroom able to find existing photos.
I currently store my pictures on and an external hard drive. Lightroom 6 was not able to find the picture momentarily files. I inserted an external Flash DRIVE after removing the hard drive and the computer renamed the stick with the same drive letter that has been designated by Lightroom to store my photos. I could go into my Windows 10 and reset the player to the letter that Lightroom has given at the beginning of the external hard drive. However, I know this can happen again, if I connect any stick USD or another device, while the external hard drive is not connected to my laptop. I found the information that I can do the new designation of the final drive by choosing a letter it is 1/2 way or higher in the alphabet. I would like to turn an external hard drive on a strong letter, warns we hope this previous problem. My question is, if I already have a lot of pictures on this external hardrive with the designation of the current drive, how it becomes a higher letter and have 6 Lightroom recognizes files, now under the new designation of drive letter without having to go to each photo individually and manually force Lightroom 6 find each photo. It would take more time than I'd like to lose. Is there a way to get just 6 Lightroom to recognize the new disk designation has changed and is able to find all of the existing files?
I have read the ADOBE LightRoom 6 manual and seem not to be able to find anything on how to do it.
Any help would be welcome.
Thank you!
So in Windows, you can select a drive like q letter (or any other letter you want only towards the end of the alphabet)
Then in Lightroom, you can reconnect to the photos on q: the following instructions (see specifically 4 Figure and related text)
-
Had to restart the computer and turned on will not go beyond Windows Vista of the screen blue, not able to see the start with all the icons page
Restore point:
Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.
Try a restore of the system once, to choose a Restore Point prior to your problem...
Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If restore work not and you do not have a Vista DVD from Microsoft, do a repair disc to do a Startup Repair:
Download the ISO on the link provided and make a record of repair time it starts.
Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.
At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.
When you have changed that, insert the Bootable disk you did in the drive and reboot.
http://www.bleepingcomputer.com/tutorials/tutorial148.html
Link above shows what the process looks like and a manual, it load the repair options.
NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.
Read all the info on the website on how to create and use:
http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/
ISO Burner: http://www.snapfiles.com/get/active-isoburner.html
It's a very good Vista startup repair disk.
You can do a system restart tool, system, etc it restore.
It is NOT a disc of resettlement.
And the 32-bit is what normally comes on a computer, unless 64-bit.
See you soon.
Mick Murphy - Microsoft partner
-
Hi people
I'm on Windows 8, and in these last days, I get this message
" " Windows Update was not able to verify the new updates for the last 30 days, go to windows update to resolve this problem"
It is on a blue banner that goes directly to the screen and it is very annoying
I get updates through so I do not understand this
Any help would be great
PS I have tryied the restoration of the system, and it's always the same
Lee was soon
Original title: looking for some help please
Hi Lee,.
I had this same problem and it drove me crazy, but I solved it.
I clicked on the link above that 'Shubham Chin"gave, and in this link all the topic, if you click on the topic" my PC is not responding all by searching for the or to install updates.
below that it will then say "try to run windows update convenience store", click on that and it should get rid of this very annoying pop to the top and other problems with your laptop... hope I helped :)
-
Not able to install the application, asking family SMEs of installation
Original title: iam not able to install the app it ask family SMEs of installation
IAM able to install apps it ask some family configuration
Hello
Thanks for posting your query to the Microsoft forum. I will definitely help you with this.
I would like to know;
- What you are trying to install applications?
- You are the administrator of your computer?
You can set up a family safety account or you may be referred by the primary user. For the children of family security controlled, if game Restrictions are lit, depending on the setting you have (lower than 10, teen, mature etc), your child will be able to download applications that meet the coast.
Here's what I suggest, if you wish to:
- Go to https://familysafety.microsoft.com and login as parent
- Check the setting of the game.
You can do two things
- Put out of the game restrictions or
- Change the restriction of adult game
Once your child has downloaded the application, parent go back to the family site, turn on the Restriction of game or set the game side to one appropriate for your child.
For more information:
Use security for the family with the Windows store
Also, in the list of game for your childs account, make sure that the app is in the whitelist if your username already has but gets blocked by parental control due to permissions issue.
Let us know if you need more assistance. We will be happy to help you.
________________
Thank you best regards &,.
Isha Soni
-
Not able to get the value of the type defined in the other program
Hi all
I have create a type in a single package spec (Globally), now I'm using the same type in another package. Simply I'm calling the first package and try to store the value in the Type and use the same type in the second package.
But I'm not able to get the value
Type declaration
Declared in package Spec TYPE t_aa_derive_tbl_type IS TABLE OF xxxx%ROWTYPE; t_aa_derive t_aa_derive_tbl_type;
Package 1
Package1. PROCEDURE name( some parameters); is Cursor c1 is Select * from dual; begin OPEN c_aa_derive; FETCH c_aa_derive BULK COLLECT INTO t_aa_derive; CLOSE c_aa_derive; END get_aa_derive;
In my second package
I'll call you
Package1. PROCEDURE name( some parameters); and then i am trying to for i in 1 .. package1.t_aa_derive.COUNT LOOP .... .... ... end loop;
I can not entered the loop for some reason any.
Could someone guide me if anything I missed.
See you soon,.
San
And what did you like refcursor c_aa_derive in the call to package1.name? Is it returns all rows? If this isn't the case, COUNT will be 0.
SY.
-
Not able to specify the location of file
Dear all
I use PCM 13.1 and we are not able to specify the path to the file by using the PCM admin login page, when I open in the browser and that goes to content management and click on the name of the project, and then Add specifies the location of the folder, I can put the name of the location but when I try to insert in the location of the file that I can't type or the pop-up window does not come to specify the location of the path I checked IE and other browsers but same effect, I also PCM site added to trusted sites and must change is low security, disable all POP-UP blocker. but no results, someone has an idea
I thank in advanceI had the same problem, it is with Java JRE installed on the machine.
I uninstalled Java and installed Version 6 Update 26 and it worked fine -
I would use Yuanti SC police for my web development project. However, my developer is not able to use the file .ttc I extracted from the library of fonts, and .ttf, .otf .woff formats not available anywhere on the web. Please, let me know how can I use this font for my project.
Thank you
Anton
Unless the site you develop is for the Asian market, I don't know why you want to use that particular font. The Basic, standard and digital alphabet punctuation glyphs has sans serif, Roman characters, but the rest is thousands of Kanji characters. While you can use the font .ttf and .otf and web fonts, it would be very unusual to use one so great. Pages should load quickly and 78 MB, with a value of faces to download for those who have connections slow Internet is not fast.
I would take a different font without serifs. There are literally thousands who look identical or virtually identical to Yuanti.
131 free and high quality without font serif to choose here. I'm sure you can find a desired.
-
Hi I am experiencing strange problem for 15 to 20 days and I am not able to change the video quality for you tube. There are only two options 360 and Auto. Help me please if you can because I have a slow internet connection and I want to play video at 240, as it was before. Thanks in advance for your help.
Could check you whether YouTube is to serve its HTML5 player or the player based on Flash? If you right click on the drive, short a context menu should appear. If the full Firefox context menu is displayed, press and release the ALT key to erase that. The last line of the menu short usually indicates which player he is.
I'll assume HTML5 because...
On Windows 7, Firefox should show a wide range of formats in the HTML5 player. However, if some of the features of media are disabled, preventing video MP4 decoding, then YouTube offers only 360 p (with WebM coding).
If you have intentionally disabled Media Foundation and/or DirectShow in topic: config, then perhaps you would prefer to use the YouTube Flash Player? There are a few Add-ons that can force YouTube to serve you a Flash drive. Either of them will do, you don't need both:
-
I bought an iphone6. I registered. On the apple's music. But I'm not able to get the free month trial subscription
What happens when you try?
-
How to use app-specific code for an OS 10.10 application authentication
Terminal to request access code specific app on my iMac OS 10.10 not able to enter the access code
Charles Clark wrote:
How to use app-specific code for an OS 10.10 application authentication
You need to say more. Terminal usually wants your admin psswd.
psswd in terminal will not resonate.
-
Not able to print the PDF with firefox 29,0 Preview pdf plugin. Why?
Not able to print the PDF with firefox 29,0 Preview pdf plugin. Why?
The 29.0.1 firefox solved my problem!
Please check: Firefox-> Preferences-> tab-> applications (option) Portable document Format (PDF)-> Preview in firefox
Good luck!
-
Time machine is unable to perform a backup. Not able to access the sparsebundle. First of all, there is problem with the Snow Leopard operating system. Dragon followed in the upgrade to El Capitan. Only difference was error code 109 changed to 'null '. What about someone?
We need some info.
You can access from the finder Time Capsule? If this isn't the case, then Time Machine will not work.
You upgrade the computer snow to El Capo and keep the same name?
If you want to backup, it is best to start again... clean the new backup any attempt to add a previous backup failed.
I recommend that you actually erase the TC... do a complete factory reset and start again.
The previous backup if necessary can be archived on a USB drive connected to the TC assuming that Airport utility can still access it. Airport utility accesses the TC?
With update installs all sorts of things can go wrong... so tell me more if you can not get anywhere.
Maybe you are looking for
-
How can I get firefox to read instead of asking to download an mp3 file?
for example here... http://dota2.gamepedia.com/Abaddon_responses ... I want to listen to one of the files, but instead, he asks me what I want to open it with. If I refresh the page a few times it works... He asks not to open it with something, but 9
-
S50 satellite - B - get Windows 10 - graphics Intel HD 5500 bundles
Hello Microsoft has installed an icon for Windows 10.In the validation of the application, I tested the device and it seems that the graphics card is not compatible with windows 10.The graphics card is a intel graphics hd 5500. Is this problem unacce
-
Client MSN Watson considered - legacy?
It is constantly in the problems & solutions: client MSN reportint Watson - Legacy? What is it???
-
LabVIEW Equivilant to excel functions?
Hi, I'm translating certain equations made in Excel in LabVIEW. Nobody knows what the equivalent of LabVIEW for control of Excel: Round (x, 0) In addition, what is the equivalent for INT (x) Thank you, Alec
-
Description:Stopped working Signature of the problem:Problem event name: CLR20r3Signature of the problem 01: printerselect.exeSignature of the problem 02: 1.0.2453.22313Signature of the problem 03: 450fe152Signature of the problem 04: mscorlibSignatu