Help with using anywhere backup on WD My Book studio II
I'm an artist, not a gook, so hardward issues can really mess with me.
I set up a WD My Book studio II as an external hd backup for photogrpahs last Dec. I can't get it to use anywhere backup, nor can I find any info to help me... Spent 2 hours messing with this and am quite frustrated.
I've got same disk and i don't use anywhere backup. Time Machine works with this drive. If you're a photograph you can use Aperture and it's bank features to save your photos. How ever you don't have to think about anything with Time Machine, just select the drive, and may be the repertory you don't want to save. It's done.
Similar Messages
-
Can anyone help with issue whereby Music, Podcasts and Audiable Book Apps keep stopping when listing via Headphones following IOS 7.06 Updates on Iphone 4?
I have tried the following all ready:
Resetting Phone
Resetting Settings on phone
Change Headsets to speakers
Reinstalled Phone
Updated to IOS 7.1
No of the above has resolved the issue does anyone have any ideas?Can anyone help with issue whereby Music, Podcasts and Audiable Book Apps keep stopping when listing via Headphones following IOS 7.06 Updates on Iphone 4?
I have tried the following all ready:
Resetting Phone
Resetting Settings on phone
Change Headsets to speakers
Reinstalled Phone
Updated to IOS 7.1
No of the above has resolved the issue does anyone have any ideas? -
Help with Adobe Reader update installation on mac book pro
am trying to update adobe reader 9.4.6 to the latest version on my mac book pro. Am able to download the updtae to 10. whatever and proceed with installation. At the step where I am asked to choose the adobe reader file, I select the file and then the process stops and I get a message that installation has failed and i am to contact the software manufacturer.
I figured it out. Thanks!
The key, during both life and death, is to recognize illusions as illusions, projections as projections, and fantasies as fantasies. In this way we become free.
Date: Mon, 10 Sep 2012 04:54:45 -0600
From: [email protected]
To: [email protected]
Subject: Help with Adobe Reader update installation on mac book pro
Re: Help with Adobe Reader update installation on mac book pro
created by Nikhil.Gupta in Adobe Reader - View the full discussion
How exactly are you trying to update your Adobe Reader 9.4.6Try the following link to download latest Adobe Raeader: http://get.adobe.com/reader/
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4686315#4686315
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4686315#4686315. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Adobe Reader by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Help with using multiple hard drives
Is there a way to install the OS on an "external" (expresscard SSD) drive, but have all of the library and data files on the primary hard disk? I LOVE the speed on my SSD, but it's a pain finding stuff now. Is this something a RAID configuration could help with?
mwmmartin wrote:
I have a 1 TB hard drive; but I have a 500GB and 250GB usb external hard drives.
Wouldn't it be cool if I could make the two external hard drives a RAID drive and use Time Machine to use all the 750GB of external memory to do my backups???
You can, but I would +*strongly recommend against+* it. See +Concatenated RAID+ in the Help for Disk Utility.
There are several potential problems:
Depending on how much data is on your 1 TB drive, 750 GB may not be enough to back it up. See #1 in Time Machine - Frequently Asked Questions (or use the link in *User Tips* at the top of this forum).
To set up a +Concatenated RAID+ set, both drives will be erased.
When (not if) either drive fails, you'll lose all the data on both.
Both drives must be connected any time you do a backup or want to browse your backups.
Especially with USB, if one drive wakes from sleep, or spins up, quickly enough, but the other one doesn't, the backup may fail and/or your backups may be corrupted.
For now, it looks like my only solution is to go buy a bigger external hard drive and spend more money,,,
That's your best solution +*by far.+* Anything else is taking a large risk with your backups. -
Need help with iMac OSX backup
Hi,
I currently have a mac book air running osx 10.8.
And i recently purchased a imac running osx 10.8.
I need help with the backup feature between my imac and macbook air.
I work with excel files a lot, using Microsoft office for mac.
so basically what i want is to have a 2 way backup between my imac and macbok air.
That is, when i make any changes, create or delete a file in either of the system, i want the other system to make the change automatically.
For example when i make changes to a spreadsheet (excel file) on my imac, i want the same to be updated automatically on my macbook air, and vice versa.
I want both the machines to have the same files, updating the files as they get modified. or deleting if its deleted on any one of the system. Like a 2 way sync.
Kindly let me know if theres any way to do this. or something similar that can help me, like i mainly require the excel spreadsheets to be updated, system files, other libraries are not important.
I can also put all my files in a single folder if thats required.
Ps. Both the machines are connected on the same network, and i can also hook a external drive for the backup purpose if required.
I searched google for softwares and couldnt find the appropriate ones.
Any help would be appreciated.
Let me know if you require any more info on this.
Thanks
Gaurav.
<Email Edited by Host>rkaufmann87 wrote:
They don't even need to do that, the can create a dropbox account that woudl achieve the same result. Very simple, reliable and free up to 2GB of storage.
A few weeks after I installed Dropbox (when it first came out) I got an increase of space for a total of 5GB FREE! -
Need help with using Solaris FLAR across disparate platforms
All,
I need help with what needs to be done to use solaris Flash for disaster recovery between the disparate Server platforms listed below.
I am concerned about the platform specific files that would be missing?
Note: All our servers are installed with the SUNWCprog cluster through Custom jumpstart and We use disksuite for mirroring the operating system drives.
Primary Server Recovery Server
Sun Fire 6800 Sun Fire E2900
Sun Fire E2900 Sun Fire 6800
Sun Fire-880 Sun Fire-V440
Sun Fire-V440 Sun Fire-880
Sun Fire 4800 Sun Fire-880
Sun Fire-V890 Sun Fire 4800
Mejds2n,
Is it possible to get around installing the Entire Distribution + OEM and include only the platform specific files?
Just a thought
Example:
I would like to create a Flash Archive of a E2900 server which i plan to use to recover a 6900.
The 2900 was installed with a developer cluster.
When creating the Flash archive of the 2900 is it possible to add the 6900 platform specific files and drivers
from the Solaris CD?
Thanks -
Need help with using Email Activation Agent
Hi,
please, help me with using E-mail Activation Agent.
I used email activation agent to start business processes by email, but after that letter disappear from email-server.
Where letter was located?
Can I get and read letter for processing?Mail/Preferences/General - do you have Unibox set as your default e-mail application?
-
Help with using a web page from disk after saved from web
Hi, I almost forgot the little I learned about web page development, so, I'm a total noob when it comes to this and I need your help.
I saved as a complete web page on my hard disk this web page but when I open it in Firefox or IE, it doesn't display as much as I need it. I'm mostly interested in displaying the logo images as they appear on the original web page. The browsers just show them briefly when refreshing but hide them right away. I can see the image files downloaded to my hard drive and if I open the page in Dreamweaver it displays these images in the preview pane but I can't make them show in the browsers. From Dreamweaver I saved the page as in the folder where the images are and this also updated the code with the relative image links but the browsers still don't show them.
I will greatly appreciate your help with this.I'm sorry, but your post is very confusing
I saved as a complete web page on my hard disk this web page
Does this include site definitions?
when I open it in Firefox or IE, it doesn't display as much as I need it.
I dont know what this means...are there images that are not being displayed? Is there styling that is not being rendered?
. I'm mostly interested in displaying the logo images as they appear on the original web page. The browsers just show them briefly when refreshing but hide them right away.
Again, I dont know what this means?
I can see the image files downloaded to my hard drive and if I open the page in Dreamweaver it displays these images in the preview pane but I can't make them show in the browsers. From Dreamweaver I saved the page as in the folder where the images are and this also updated the code with the relative image links but the browsers still don't show them.I will greatly appreciate your help with this.
Do you have a link to the page, and perhaps some explanation that is more clear as to what your issue is.
Gary -
Help with using itunes with 4s library after i upgraded to iPhone 5 and computer power supply went
long story hopefully an easy fix....
on wensday my power supply went and had to ship computer across country to Puget Computer Systems as we weren't sure if it was power supply or mobo...luckily it was power supply.
i daily backed up iphone 4s with itunes (10.7) as i do all music manually, playlists, etc. have like 3,000 plus songs, videos, audiobooks, mail aaccts and about 48 apps.
so next day (sept 19th) apple comes out with iOS 6 which i update my 4s to with no problem. I wanted a day to play with it to learn my way around.
next day i wait in line for 8 hours overnite and was #2 in line at apple store for my ATT 32gb white iPhone 5. while at apple store I get my icloud backup which gets all paid music,apps, etc since itunes version 10.3 (i always did both backups so as not to lose my contacts more than anything.
I have other paid stuff that is in library on computer along with audiobooks and about 2700 more songs.
my icloud backup put the playlists on iPhone but not most of the music for them as lots were ripped from my cd's.as i double them up making a copy on iPhone and a copy on itunes.
So I have been using iPhone 5 with no problems just don't have all of itunes library on it. My computer is coming back this week how do I plug in iPhone 5 via USB (which will be seen as new phone even though it has same name) and use my existing iTunes 10.7 library which the backups in iTunes still has iOS 5.1.1 on it?
There must be an easy way of doing it as i don't want to wipe off iphone 5 again as i don't see any purpose my library is all organized perfectly. I know my way around windows 7 pro 64 bit pretty well just don't know what itunes is going to say once it sees "joe's iPhone" again and installs the usb drivers and icon for it. what will it ask in regards to library and how do i use it with previous iOS on it?
Thank you very much for the help as I am going to need it.
yes i broke the cardinal rule of cross posting and apoligize for it just amazed i couldn't find answer via google nor any apple store genius knew it either.Hi All,
Any help?
No one has any answers here amoungst all this apple knowledge?
Thank you -
Help with used iPod I just got - syncing and uploading a LOT of CD's
Hello All:
So I just brought a used iPOD on Ebay, and i'm totally new to using them. I believe it's the 6th generation classic, 80GB, black. I have two questions.
1) I get the message in itunes that only one library can be synced, do I want to erase the ipod and upload the library thats on my laptop. I assume this is some kind of copyright thing, and that theres no way to save the songs that are on the iPod to the laptop, since they were loaded onto the iPod by the previous owner?
2) I have about fifty CD's here I want to load onto the iPod. In my mind, i'm thinking I want to backup the iPod with all 50 CD's onto an external USB hard drive. I don't really want 80GB of data on the laptop internal hard drive that I use all the time. I poked around with iTunes for about a half-hour, and I can't see how to load CD's onto the iPod without loading the CD's onto the laptop internal hard drive and then syncing the iPod to load the CD's onto it. Forgive my ignorance, but is it possible to load CD's directly from the laptop CD-ROM drive to the iPod without going onto the laptop internal har drive first, and/or can I use iTunes on the laptop with an external USB hard drive and/or then go from the external hard drive to the iPod or from the iPod first to the external hard drive to backup the iPod?
THANK YOU,
Lee BernhangI FIGURED IT OUT!!!!
what i did was plugged my iPod back up, then when iTunes pops up, drag your 'music' section to your iPod. (you have to be in your library, not in the iTunes store)
mine synched automatically, and i had no problem ejecting it or anything.
no error messages either. and all my music is now on my iPod!
thanks to my dad. (: lol. hope this helps someone! -
Help with Time Machine Backups not working..
Let me preface this by saying I have spent the last day scouring the internet for solutions to my problem. I have tried every option that I have run across and have had no luck in resolving my problem. As a last resort, I'm turning here in hopes that you can be of help.
I have a 2012 Macbook Pro running Moutain Lion. I use an external HD for my time machine backups. I am having an issue with Time Machine not functioning. The initial error message I receive when I attempt to use TM to backup is: "Time machine couldn't coplete the backup to Rick's backup disk". "Unable to complete backup. an error occurred while creating the backup folder".
I searched the forums and net and found several things to do to try and resolve this issue. My computer will freeze out and not let me erase, or re-partition the the hard drive, so I switched it over to an older macbook of my girlfriends and am successfully able to erase, and re-partition the drive (using disk utility) as suggested by several forum postings I have read. I am able to run disk verify and disk repair and both say the disk is "ok" with no issues. The moment the erase and partition is done, her computer prompts a message : "Would you like to use this disk for Time Machine Backups" which tells me it is working properly. When I move it back to my macbook pro and attempt to run TM backup, it will now work and copy about 10g of my 120g before shutting down with this error message:
"Time Machine couldn't complete the backup to "Rick's Backup Disk". An error occurred while copying files. The problem may be temporary. If the problem persists, use disk utility to repair your backup disk."
If i attempt to re-run TM at that point, I get the original error message:
"Time machine couldn't coplete the backup to Rick's backup disk". "Unable to complete backup. an error occurred while creating the backup folder".
If I move the TM back to my Girlfriends computer and attempt to run TM, it will function properly and backup her entire harddrive. When I erase and try again on mine, I always end up back with the same issues. It's clearly something in my macbook that is screwing it up. Can anyone please offer some help! I'd be much appreciative.rcury4 wrote:
"Time machine couldn't coplete the backup to Rick's backup disk". "Unable to complete backup. an error occurred while creating the backup folder".
See #C10 in Time Machine - Troubleshooting
"Time Machine couldn't complete the backup to "Rick's Backup Disk". An error occurred while copying files. The problem may be temporary. If the problem persists, use disk utility to repair your backup disk."
Not one of Apple's more informative messages.
There's a problem with a file on your system. See #C3 in the above link. It will show you how to locate the message(s) that describe the problem, then help you fix it. If that doesn't help, post back with details, including all the messages, what you've done, and the results. -
Help with using the WRT54G as an Access Point
Ever since I've been using the WRT54G as an access point behind another router I have been experiencing intermittent disconnects and reconnects from the internet anywhere from once every 5 to 60 minutes. I get the message notifcation that the Local Area Network is disconnected for a split second before everything reconnects and works fine. This has been happening on my desktop which is wired directly to the WRT54G which itself is wired directly to the other router, but I have also experienced these disconnects with my iPhone and laptops which have been using the wireless signal.
When I was connected directly to the original router I hadn't experienced any of these problems. I've also tried changing settings and even disabling the wireless broadcast of the WRT54G but to no avail. I can't figure out what the issue is, but it seems to also be affecting the wireless broadcast of the original router.
I've updated firmware for the Linksys, and I've done a reset for the Linksys as well.
Any help would be much appreciated to get rid of these disconnects.OK, so I've tried a different setting to see if it'll work.
Previously I had not configured the WAN of the Linksys router at all and left it on Auto (DHCP) even though I disabled the DHCP for the LAN. I've now set the WAN up to a random Static IP and hopefully this will solve the problem, but I'm not sure as of yet, if anyone could look over the settings to see if they're correct please let me know.
Router 1- (Router)
WAN - Configured to ISP
LAN - DHCP
IP: 192.168.1.1
Subnet: 255.255.255.0
IP Range: 192.168.1.100 - 192.168.1.150
Router 2 - Linksys (AP)
WAN - Static IP
IP: 64.XXX.XXX.1 (made up value)
Subnet: 255.255.255.0
Gateway: 64.XXX.XXX.254 (made up value)
DNS: XX.XXX.XXX.X (made up value)
LAN - DHCP disabled
IP: 192.168.1.2
Subnet: 255.255.255.252
The WRT54G was a bit of a pain in terms of what Static IP and Gateway values they would accept, so I had to randomly put in values until I found something that worked. So far no disconnects, but it's only been half an hour. I can't seem to access the admin page for my Linksys router at 192.168.1.2 anymore though. -
Hi there - I'm a newbie to Java and may have posted this in the wrong forum previously.
I am trying to modify a program so instead of using a BufferReader, a scanner class will be used. It is basically a program to read in a name and then display the variable in a line of text.
Being new to Java and a weak programmer, I am getting in a mess with this and missing something somewhere. I don't think I'm using scanner in the correct way.
Any help or pointers would be good. There are 2 programs of code being used. 'Sample' and 'Run Sample'
Thanks in advance.
Firstly, this program will run named 'Sample'
<code>
* Sample.java
* Class description and usage here.
* Created on 15 October 2006
package internetics;
* @author John
* @version 1.2
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
// import com.ralph.*;
public class Sample extends JFrame
implements java.awt.event.ActionListener{
private JButton jButton1; // this button is for pressing
private JLabel jLabel1;
private String name;
/** Creates new object ChooseFile */
public Sample() {
initComponents();
name = "";
selectInput();
public Sample(String name) {
this();
this.name = name;
private void initComponents() {
Color bright = Color.red;
jButton1 = new JButton();
jLabel1= new JLabel();
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent evt) {
exitForm(evt);
getContentPane().setLayout(new java.awt.GridLayout(2, 1));
jButton1.setBackground(Color.white);
jButton1.setFont(new Font("Verdana", 1, 12));
jButton1.setForeground(bright);
jButton1.setText("Click Me!");
jButton1.addActionListener(this);
jLabel1.setFont(new Font("Verdana", 1, 18));
jLabel1.setText("05975575");
jLabel1.setOpaque(true);
getContentPane().add(jButton1);
getContentPane().add(jLabel1);
pack();
public void actionPerformed(ActionEvent evt) {
System.out.print("Talk to me " name " : ");
try {
jLabel1.setText(input.readLine());
} catch (IOException ioe) {
jLabel1.setText("Ow! You pushed my button");
System.err.println("IO Error: " + ioe);
/** Exit this Application */
private void exitForm(WindowEvent evt) {
System.exit(0);
/** Initialise and Scan input Stream */
private void selectInput() {
input = new Scanner(new InputStreamReader(System.in));
/**int i = sc.nextInt(); */
/** Getter for name prompt */
public String getName() {
return name;
/** Setter for name prompt */
public void setName(String name) {
this.name = name;
* @param args the command line arguments
public static void main(String args[]) {
new Sample("John").show();
</code>
and this is the second program called 'RunSample will run.
<code>
class RunSample {
public static void main(String args[]) {
new internetics.Sample("John").show();
</code>The compiler I'm using is showing errors in these areas of the code. I've read the tutorials and still can't get it. They syntax for the scanner must be in the wrong format??
the input.readLine appears incorrect below.
public void actionPerformed(ActionEvent evt) {
System.out.print("Talk to me " +name+ " : ");
try {
jLabel1.setText(input.readLine());
} catch (IOException ioe) {
jLabel1.setText("Ow! You pushed my button");
System.err.println("IO Error: " + ioe);
}and also here...
the input is showing errors
/** Initialise and Scan input Stream */
private void selectInput() {
input = new Scanner(new InputStreamReader(System.in));
/**int i = sc.nextInt(); */
}Thanks -
Need help with using graphics in swing components
Hi. I'm new to Java and trying to learn it while also developing an application for class this semester. I've been following online tutorials for about 2 months now, though, and so I'm not sure my question counts as a "new to Java" question any more as the code is quite long.
Here is the basic problem. I started coding the application as a basic awt Applet (starting at "Hello World") and about a month in realized that Swing components offer better buttons, panels, layouts, etc. So I converted the application, called BsfAp, to a new JApplet and started adding JPanels and JComponents with layout managers. My problem is, none of the buffered graphics run in any kind of JPanel, only the buttons do. I assume the buffered graphics are written straight to the JApplet top level container instead but I'm not entirely sure.
So as to not inundate the forum with code, the JApplet runs online at:
http://mason.gmu.edu/~dho2/files/sensor.html
The source code is also online at:
http://mason.gmu.edu/~dho2/files/BsfAp.java
What I would like to do is this - take everything in the GUI left of the tabbed button pane and put it into a JScrollPane so that I can use a larger grid size with map display I can scroll around. The grid size I would like to use is more like 700x1000 pixels, but I only want to display about 400x400 pixels of it at a time in the JScrollPane. Then I could also move this JScrollPane around with layout manager. I think this is possible, but I don't know how to do it.
I'm sure the code is not organized or optimized appropriately to those of you who use Java every day, but again I'm trying to learn it. ;-)
Thanks for any help or insight you could provide in this.
MattCouple of recs:
* Don't override paint and paint directly on the JApplet. Paint on a JPanel and override paintComponent.
* The simplest way to display a graphic is to put an image into an ImageIcon and show this in a JLabel. This can then easily go inside of the JScrollPane.
* You can also create a graphics JPanel that overrides the paintComponent, draw the image in that and show that inside of the JScrollPane.
* don't call paint() directly. Call repaint if you want the graphic to repaint.
Here's a trivial example quickly put together:
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GradientPaint;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.RenderingHints;
import java.awt.geom.Ellipse2D;
import java.lang.reflect.InvocationTargetException;
import javax.swing.JApplet;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.SwingUtilities;
public class BsfCrap extends JApplet
private JPanel mainPanel = new JPanel();
private JScrollPane scrollPane;
private JPanel graphicsPanel = new JPanel()
@Override
protected void paintComponent(Graphics g)
super.paintComponent(g);
Graphics2D g2d = (Graphics2D)g;
RenderingHints rh = new RenderingHints(
RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
g2d.setRenderingHints(rh);
Paint gPaint = new GradientPaint(0, 0, Color.blue,
40, 40, Color.magenta, true);
g2d.setPaint(gPaint);
g2d.fill(new Ellipse2D.Double(0, 0, 800, 800));
public BsfCrap()
mainPanel.setPreferredSize(new Dimension(400, 400));
mainPanel.setLayout(new FlowLayout(FlowLayout.LEFT));
graphicsPanel.setPreferredSize(new Dimension(800, 800));
graphicsPanel.setBackground(Color.white);
scrollPane = new JScrollPane(graphicsPanel);
scrollPane.setPreferredSize(new Dimension(300, 300));
mainPanel.add(scrollPane);
public JPanel getMainPanel()
return mainPanel;
@Override
public void init()
try
SwingUtilities.invokeAndWait(new Runnable()
public void run()
setSize(new Dimension(400, 400));
getContentPane().add(new BsfCrap().getMainPanel());
catch (InterruptedException e)
e.printStackTrace();
catch (InvocationTargetException e)
e.printStackTrace();
} -
Looking for some help with using Oracle stored procedures in vb2010
First off thank you to whoever lends me a hand with my problem. A little background first I am in a software development class and we are currently building our program using VB (I have no experience in this), and Oracle(currently in a Oracle class so I know how to use Oracle itself just not with VB).
I am using vb2010 express edition if that helps. Currently I have a stored procedure that takes a 4char "ID" that returns a position (ie, salesperson,manager ect). I want to use the position returned to determine what vb form is displayed (this is acting as a login as you dont want a salesperson accessing the accountants page for payroll ect).
Here is the code I have currently on the login page of my VB form
Imports Oracle.DataAccess.Client
Imports Oracle.DataAccess.Types
Public Class Login
Dim conn As New OracleConnection
Private Sub empID_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles empID.Click
End Sub
Private Sub LoginBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LoginBtn.Click
conn.ConnectionString = "User ID = Auto" & _
";Password = ********" & _
";Data Source = XE"
conn.Open()
Dim sq1 As String = "Return_Position" 'name of procedure
Dim cmd As New OracleCommand(sq1, conn)
cmd.CommandType = CommandType.StoredProcedure
cmd.Parameters.Add(New OracleParameter("I_EmpID", OracleDbType.Char, 4)).Value = Emp_ID.Text
Dim dataReader As OracleDataReader = cmd.ExecuteReader
dataReader.Read()
Dim position As New ListBox
position.Items.Add(dataReader.GetString(0)) 'were I am getting an error, I also tried using the dataReader.getstring(0) to store its value in a string but its a no go
If position.FindStringExact("MANAGER") = "MANAGER" Then
Me.Hide()
Dim CallMenu As New Menu()
CallMenu.ShowDialog()
End If
LoginBtn.Enabled = False
End Sub
I have read the oracle.net developer guide for using oracle in vb2010 and have successfully gotten through the document however they never use a stored procedure, since the teacher wants this program to user a layered architecture I cannot directly store sql queries like the document does, thus the reason I want to use stored procedures.
This is getting frustrating getting stuck with this having no background in VB, I could easily do this in c++ using file i/o even through it would be a pain in the rear....Hello,
I am calling Oracle 11g stored procedures from VB.Net 2010. Here is a code sample (based on your code) you should be able to successfully implement in your application.
Please note that you may have to modify your stored procedure to include an OUT parameter (the employee position) if it doesn't have it yet.
Private Sub LoginBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LoginBtn.Click
Dim sProcedureName As String = "Return_Position" 'name of stored procedure
Dim ORConn as OracleConnection, sConn as String
Dim sPosition as String, sDataSource as String, sSchema as String, sPWD as String
Dim cmd As OracleCommand
'please provide below sDataSource, sSchema and sPWD in order to connect to your Oracle DB
sConn = "Data Source=" & sDataSource & ";User Id=" & sSchema & ";Password=" & sPWD & ";"
ORConn = New OracleConnection(sConn)
ORConn.Open()
cmd = New OracleCommand(sProcedureName, ORConn)
With cmd
.CommandType = Data.CommandType.StoredProcedure
'input parameter in your stored procedure is EmpId
.Parameters.Add("EmpID", OracleDbType.Varchar2).Value = Emp_ID.Text
.Parameters.Item("EmpID").Direction = ParameterDirection.Input
'output parameter in your stored procedure is Emp_Position
.Parameters.Add("Emp_Position", OracleDbType.Varchar2).Direction = ParameterDirection.Output
.Parameters.Item("Emp_Position").Size = 50 'max number of characters for employee position
Try
.ExecuteNonQuery()
Catch ex As Exception
MsgBox(ex.Message)
Exit sub
End Try
End With
sPosition = cmd.Parameters.Item("Emp_Position").Value.ToString
'close Oracle command
If Not Cmd Is Nothing Then Cmd.Dispose()
Cmd = Nothing
'close Oracle connection
If Not ORConn Is Nothing Then
If not ORConn.State = 0 Then
ORConn.Close()
End If
ORConn.Dispose()
End If
ORConn = Nothing
If UCase(sPosition) = "MANAGER" Then
Me.Hide()
Dim CallMenu As New Menu()
CallMenu.ShowDialog()
End If
LoginBtn.Enabled = False
End Sub
If you need further assistance with the code, please let me know.
Regards,
M. R.
Maybe you are looking for
-
Installation of oracle 10g on RedHat Linux EE 3
Hi, I am going to Install of oracle 10g on RedHat Linux EE 3, rigth now i am running oracle 9i on windows platform. I need following things: -I want to export all my data from oracle 9i on windows. For this what is the best way should i transport my
-
I recently had a hard drive crash. I replaced the C: drive with a solid state and now have 3 internal HDs. C: for the OS (Windows 7), D: for data and P: for program installation. Because I replaced the C: drive, I had to re-install all my programs. N
-
Aperture imports Lumix GF2 RAW files with strong green colour cast
I'm using Aperture 3.3.1 with Digital Camera RAW 3.14.0 built 6460000.1 and iPhoto 9.3.1 When importing RAW files from my Panasonic Lumix GF2 into Aperture, the initial thumbnails are fine (it displays those embedded in the RAW file), but when Apertu
-
OpenLDAP configuration with Business Objects
Hello, i post this news thread for the LDAP configuration. I work with business object 3.0 i Have an openldap directory .... so I made o custom configuration ... With this costume config i can had prefectly all of my ldap groups but not my users...
-
How to supplant JPG with RAW file weeks later?
Hi there- When the Canon S95 came out LR3 didnt recognize or import the RAW .cr2 files. When using the camera I would take photos in both RAW and JPG, use LR3 to import the JPGs and manually copy the .CR2s to a separate directory. I would then tag an