Help with WDScopeUtil in 2004s - Urgent please
Hi,
We are currently migrating our code from 2004 SP16 to 2004s. From the forum, I understood that we have to use WDScopeUtil in 2004s to pass data between pages and WDScopeUtil supports only Strings but We want to pass objects also.
We came up with another approach - Convert object to Bytes array, wrap it in a String object and put them in Session. Here are the methods used for the conversion.
public static String convertHashMapToString(HashMap p) throws Exception {
String errMsg = null;
try {
byte[] bArray = SessionUtils.getBytes(p);
String pAsString = new String(bArray);
} catch (Exception e) {
throw e;
return pAsString;
public static HashMap convertStringToHashMap(byte[] bArray) throws Exception {
HashMap hm = null;
try {
ByteArrayInputStream bis = new ByteArrayInputStream(bArray);
ObjectInputStream ois = new ObjectInputStream(bis);
hm = (HashMap) ois.readObject();
} catch (Exception e) {
throw e;
return hm;
private static byte[] getBytes(Object obj) throws java.io.IOException {
ByteArrayOutputStream bos = new ByteArrayOutputStream();
ObjectOutputStream oos = new ObjectOutputStream(bos);
oos.writeObject(obj);
oos.flush();
oos.close();
bos.close();
byte[] data = bos.toByteArray();
return data;
We have 2 2004s environments (Sandbox and Dev portal). When I first migrated this code to Sandbox, it just works great but when I deployed the code to Dev portal, I am getting the exception "invalid stream header" from convertStringToHashMap method.
I am really confused about how it can work in one environment and not in another. Can there be any difference in lib files in both environments by patch level. Our webadmin says that they have the same set of libs in both environments.
Any help is greatly appreciated.
Thanks,
Kalyan
I have attached a file below to show that i am just getting noWHERE with this apparent help to sign in. in the second to last picture you will notice it says reset microsoft password. BUT I DONT NEED TO. the very last photo showes that there is a distinct individual option to reset just the skype password and i cannot do that using the code that they have emailed me. i just want to reset my skype account.
PLEASE SOMEONE HELP.
i have been asking help since thrusday.
Attachments:
skype help.pdf 501 KB
Similar Messages
-
Help with Adobe.premiere.elements12. Please
It would appear under the organizer tab that the photos are organised in the lowest folder in the folder structure within Windows Explorer. How can I use the Windows Explorer structure to organise the photos within Elements.In a situation such as yours, I tend to consolidate items into folders so I have folders of nice workable numbers of images, somewhere between 20 and 200 images. Now, whatever, once you've imported, do your moving within LR, not the OS! I will select all in a folder and drag into a folder a level or two or three above, and then delete the newly empty subfolders. I hope this helps a bit!
Once you've reached just new Imports of camera output, you'll be flying along. -
Need some URGENT help with 3 DVD mastering issues PLEASE! :
Hi there,
Firstly, I am running DVD SP 3.0.2 on Mac OS 10.4.7 on a G5 Dual 2 GHz 3Gb Ram plenty of HD space...
I am creating a DVD with: An intro sequence, a main menu, 4 sub menus, and 4 sections with around 12 chapters each.
I am having some big problems, and a pretty stuck. I will lest them separately below, numbered. If you are able to help, please refer clearly to which number you are helping with. Any help is MUCH appreciated! Many thanks!!
1. Each of the 5 menus (1 main, 4 sub) have a background video, and a separate audio track. I added the background videos by simply dragging them to the assests panel, then from there onto the menu editor window. They are created in FCP and are properly encoded. However, when I click the motion button, or use the simulator, the videos do not show up. The music plays, but all i see is plain black.
What is going on?!?!?!
2. I am really struggling with rollover buttons. I have custom created buttons, and I wand them to have a soft red glow around them when hovered over. HOW ON EARTH DO I ACTUALLY DO THIS??
The buttons are in photoshop so can be exported with/without background/glow in any format.
3. Is it possible, once I have got the above rollover working, to have an image to the right hand side of my buttons which changes with the the button rollover. i.e. hover over button 1, see image 1. hover over button 2, image changes to image 2.
PLEASE PLEASE give any help you can, I have a deadline coming up and am quite stumped. Thanks again!!I am still having problems regarding issue Number 1. PLEASE ANYONE HELP?!
Sorry, I'm not sure about the motion menus. I avoid those whenever possible. But you might click on the menu in the storyline tab (whatever it's called -- the hierarchical view with the disc, tracks, slideshows, etc.) and look at the properties and see if there's anything you have to enable specifically for motion. And be sure the motion button is on on the main display/preview area, but it sounds like you already know how that works.
For your information, here is a screen grab of the menu I am trying to create:
http://www.redhavoc.co.uk/stuff/menu.jpg
I think it is obvious that when a button is hovered over, I want it to glow red, and the image to the right will change to match the respective button.
IS THIS GOING TO BE POSSIBLE????
Yes.
First, your menus have to be layered menus. Unfortunately, there's no way to convert non-layered menus to layered menus, so if you already have non-layered, you'll have to just delete them and create new layered menus. The button (and menu item) to create a layered menu should be right by the normal new-menu item.
Next, the graphical work is all in Photoshop.
Side tip: You may already know this, but I found it's best to use 640x480 for the Photoshop document. When I do text and leave it as a text object in the Photoshop file, it resizes poorly in DVDSP. So this ends up being another 720x480 vs. 640x480 square/rectangular pixel conversion thing. DVDSP plays in the 640x480 world, at least as far as the designer can see. So I keep my images at 640x480, and it doesn't have to resize, and everything looks right.
Moving on... Set up your basic background, the part that won't change (or will have other things covering it, like for your square image).
Then put in all the buttons and images you'll be using, each part in a separate layer. This could have fifteen buttons (you have five buttons, and there can be three versions for each -- inactive, selected, and activated versions) and five or six square images (you said one for each button, and you might want a blank default if, say, you want to add a "back" button on the menu and want some blank or default image for the square when they're on the "back" button).
Sometimes people don't bother with a separate "active" button state, but you usually want some visual feedback that they clicked the button. Also, I usually just build the default (unselected) button into the background; that's less hassle later on, and it will just draw the selected or activated buttons over that when the user is on that button.
Line up all your buttons and images. All the square images lined up perfectly on top of each other, all the buttons in the right places (so you'll have three buttons stacked on top of each other in each spot). Give each layer a short but quickly recognizable name, and line them up in a consistent order. (button1-default, button1-selected, button1-active, button1-squarepicture, then button2-default, ... etc.) Photoshop and DVDSP don't care, but it makes it easier for you later.
Note that earlier versions of DVDSP won't show Photoshop layer effects. (They handle layers, just not the effects, like inner glow, outer bezel, etc.) I don't remember when they changed this, but I think it was version 4.something. So if you're using that method to make your buttons glow, you may have to flatten each selected or active button layer, and you may even need to create a dummy blank layer underneath it first to give it something to flatten onto.
Save the file as a standard Photoshop file (.psd). Drag the file onto your DVDSP layered menu and set it as the background.
Now, in DVDSP, create all your buttons. Just drag boxes over/around the button pictures you have. Feel free to make them extra-big; users won't see the actual area you've selected, and bigger areas makes it easier for people to hit them if they're using a mouse on a computer to watch the DVD. You can point the buttons to their targets now if you want, and set the end jumps on the tracks if you want. (I tend to set the end jumps on the tracks so they automatically select the button for the next track.)
Now's the fun part, since it will actually hook everything up and should be easy if your naming layer order were consistent. Click on the layered menu (in that hierarchical view) and look at the properties window. (Sorry I can't remember the technical names for all these windows; I'm doing this all from memory. So feel free to ask more questions if you can't find what I'm talking about.) One of the properties tabs should have a grid of checkboxes with a list of your layers. Make sure the background is checked for all of the states. Then check the layers you want to show for each button state, as well as the corresponding square image to show for each.
Again, I'm doing this from memory, and I can't remember exactly how things are listed in that grid. But I remember it keeps your layers in the same order you put them in the Photoshop file and shows you those names, so it should make it easy to go down the list and check the right boxes.
And another side tip: You can update the Photoshop file, but once you've put it in DVDSP, if you change the layer order, it will screw up the check boxes you checked. It always shows you the layer names correctly, but it keeps the checkboxes in DVDSP simply assigned to the layer number, so the fifth layer will keep the same checkboxes even if you juggle them so some other layer is now the fifth layer. So if you do juggle the layers in Photoshop, go back and fix the checkbox list in DVDSP.
I put a sample Photoshop file based on yours in
http://dan.black.org/layered-menu-sample.psd
It's quick and dirty, but shows the layer layout, and you should be able to drop it on DVDSP to play with. (I also won't leave it there forever, maybe a few weeks, so anybody reading this in a month or more probably will get a 404 for that url.)
Again, doing this from memory, so feel free to ask if anything doesn't work or doesn't make sense.
G4/dual867 Mac OS X (10.4.5) 2GB/0.8TB -
Help With Crash Code In PRE8 Please
In an interest to turn some of my recent discussions in a more positive direction and in keeping with the primary function of this forum (seeking advice and solutions) and in a further effort to not continually ***** about PRE8, can someone please help with and interpret the following crash codes recently generated by PRE8?
Thanks in advance for any help.
Glenn
Description
A problem caused this program to stop interacting with Windows.
Problem signature
Problem Event Name: AppHangXProcB1
Application Name: Adobe Premiere Elements.exe
Application Version: 8.0.0.0
Application Timestamp: 4aa5c87c
Hang Signature: ba8e
Hang Type: 32
Waiting on Application Name: ElementsOrganizerSyncAgent.exe
Waiting on Application Version: 8.0.0.0
OS Version: 6.0.6001.2.1.0.256.1
Locale ID: 1033
Additional Hang Signature 1: cb0b340a390054264815ceb8e3574d53
Additional Hang Signature 2: 84f3
Additional Hang Signature 3: f0a90877ec38c16fd285cc410c83433d
Additional Hang Signature 4: ba8e
Additional Hang Signature 5: cb0b340a390054264815ceb8e3574d53
Additional Hang Signature 6: 84f3
Additional Hang Signature 7: f0a90877ec38c16fd285cc410c83433d
Extra information about the problem
Bucket ID: 749899167
Description
A problem caused this program to stop interacting with Windows.
Problem signature
Problem Event Name: AppHangXProcB1
Application Name: Adobe Premiere Elements.exe
Application Version: 8.0.0.0
Application Timestamp: 4aa5c87c
Hang Signature: ba8e
Hang Type: 32
Waiting on Application Name: ElementsOrganizerSyncAgent.exe
Waiting on Application Version: 8.0.0.0
OS Version: 6.0.6001.2.1.0.256.1
Locale ID: 1033
Additional Hang Signature 1: cb0b340a390054264815ceb8e3574d53
Additional Hang Signature 2: 84f3
Additional Hang Signature 3: f0a90877ec38c16fd285cc410c83433d
Additional Hang Signature 4: ba8e
Additional Hang Signature 5: cb0b340a390054264815ceb8e3574d53
Additional Hang Signature 6: 84f3
Additional Hang Signature 7: f0a90877ec38c16fd285cc410c83433d
Extra information about the problem
Bucket ID: 749899167
Description
A problem caused this program to stop interacting with Windows.
Problem signature
Problem Event Name: AppHangXProcB1
Application Name: Adobe Premiere Elements.exe
Application Version: 8.0.0.0
Application Timestamp: 4aa5c87c
Hang Signature: ba8e
Hang Type: 32
Waiting on Application Name: ElementsOrganizerSyncAgent.exe
Waiting on Application Version: 8.0.0.0
OS Version: 6.0.6001.2.1.0.256.1
Locale ID: 1033
Additional Hang Signature 1: cb0b340a390054264815ceb8e3574d53
Additional Hang Signature 2: 84f3
Additional Hang Signature 3: f0a90877ec38c16fd285cc410c83433d
Additional Hang Signature 4: ba8e
Additional Hang Signature 5: cb0b340a390054264815ceb8e3574d53
Additional Hang Signature 6: 84f3
Additional Hang Signature 7: f0a90877ec38c16fd285cc410c83433d
Extra information about the problem
Bucket ID: 749899167
Description
A problem caused this program to stop interacting with Windows.
Problem signature
Problem Event Name: AppHangB1
Application Name: Adobe Premiere Elements.exe
Application Version: 8.0.0.0
Application Timestamp: 4aa5c87c
Hang Signature: af71
Hang Type: 0
OS Version: 6.0.6001.2.1.0.256.1
Locale ID: 1033
Additional Hang Signature 1: 37a5e7ba79ac8a533571e7d8f2e8acd0
Additional Hang Signature 2: d900
Additional Hang Signature 3: 431be4795d1c061aba02734aa57c4950
Additional Hang Signature 4: af71
Additional Hang Signature 5: 37a5e7ba79ac8a533571e7d8f2e8acd0
Additional Hang Signature 6: d900
Additional Hang Signature 7: 431be4795d1c061aba02734aa57c4950
Extra information about the problem
Bucket ID: 811067413
Description
A problem caused this program to stop interacting with Windows.
Problem signature
Problem Event Name: AppHangB1
Application Name: Adobe Premiere Elements.exe
Application Version: 8.0.0.0
Application Timestamp: 4aa5c87c
Hang Signature: 7008
Hang Type: 0
OS Version: 6.0.6001.2.1.0.256.1
Locale ID: 1033
Additional Hang Signature 1: f0af3d01fb74f43241231d4e61778ffa
Additional Hang Signature 2: 0fb3
Additional Hang Signature 3: a5f1d311bc7bfa26f067b42cbdeac6af
Additional Hang Signature 4: 7008
Additional Hang Signature 5: f0af3d01fb74f43241231d4e61778ffa
Additional Hang Signature 6: 0fb3
Additional Hang Signature 7: a5f1d311bc7bfa26f067b42cbdeac6af
Extra information about the problem
Bucket ID: 781893170Here are my system specs. Let me know if you need anything else.
Thanks
Glenn
Operating System
MS Windows Vista Ultimate SP2
Installation Date: 06 March 2009, 02:58
Intel Mobile Core 2 Duo T9550
Cores 2
Threads 2
Name Intel Mobile Core 2 Duo T9550
Code Name Penryn
Package Socket P (478)
Technology 45nm
Specification Intel Core2 Duo CPU T9550 @ 2.66GHz
Family 6
Extended family 6
Model 7
Extended model 17
Stepping A
Revision E0
Instructions MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, EM64T
Bus speed 266.0 MHz
Rated Bus speed 1064.0 MHz
Stock core speed 2666 MHz
Stock bus speed 266 MHz
Average Temperature 36 °C
Cache
L1 data cache size 2 x 32 KBytes
L1 instructions cache size 2 x 32 KBytes
L2 unified cache size 6144 KBytes
Core 1
Core speed 1596.0 MHz
Multiplier x 6.0
Bus speed 266.0 MHz
Rated Bus speed 1064.0 MHz
Temperature 37 °C
Thread 1
APIC ID 0
Core 2
Core speed 2660.0 MHz
Multiplier x 6.0
Bus speed 266.0 MHz
Rated Bus speed 1064.0 MHz
Temperature 36 °C
Thread 1
APIC ID 1
Memory
Type DDR2
Size 4096 MBytes
Channels # Dual
DRAM frequency 399.0 MHz
CAS# Latency (CL) 6.0 clocks
RAS# to CAS# delay (tRCD) 6 clocks
RAS# precharge (tRP) 6 clocks
Cycle time (tRAS) 18 clocks
SPD
Number of SPD modules 2
Slot #1
Type DDR2
Size 2048 MBytes
Manufacturer Hyundai Electronics
Max bandwidth PC2-6400 (400 MHz)
Part number HYMP125S64CP8-S6
Serial number 00007112
Week/year 52 / 08
SPD Ext. EPP
JEDEC #3
Frequency 400.000000 MHz
CAS# latency 6.0
RAS# to CAS# 6
RAS# Precharge 6
tRAS 18
tRC 24
Voltage 1.8 V
JEDEC #2
Frequency 333.333344 MHz
CAS# latency 5.0
RAS# to CAS# 6
RAS# Precharge 6
tRAS 16
tRC 21
Voltage 1.8 V
JEDEC #1
Frequency 266.666656 MHz
CAS# latency 4.0
RAS# to CAS# 4
RAS# Precharge 4
tRAS 12
tRC 16
Voltage 1.8 V
Slot #2
Type DDR2
Size 2048 MBytes
Manufacturer Hyundai Electronics
Max bandwidth PC2-6400 (400 MHz)
Part number HYMP125S64CP8-S6
Serial number 02008065
Week/year 52 / 08
SPD Ext. EPP
JEDEC #3
Frequency 400.000000 MHz
CAS# latency 6.0
RAS# to CAS# 6
RAS# Precharge 6
tRAS 18
tRC 24
Voltage 1.8 V
JEDEC #2
Frequency 333.333344 MHz
CAS# latency 5.0
RAS# to CAS# 6
RAS# Precharge 6
tRAS 16
tRC 21
Voltage 1.8 V
JEDEC #1
Frequency 266.666656 MHz
CAS# latency 4.0
RAS# to CAS# 4
RAS# Precharge 4
tRAS 12
tRC 16
Voltage 1.8 V
Mother Board
Manufacturer Dell, Inc.
Model 0P786H
Version A04
Chipset vendor Intel
Chipset model PM45
Chipset revision 07
Southbridge vendor Intel
Southbridge model 82801IM (ICH9-M)
Southbridge revision 03
BIOS
Brand Dell Inc.
Version A04
Date 11/26/2008
Monitor
Name Generic PnP Monitor on ATI Mobility Radeon HD 3650
State enable
State primary
Monitor Width 1920
Monitor Height 1200
Monitor Bit 32
Monitor Frequency 60
Device: \\.\DISPLAY1\Monitor0
Name Default Monitor on ATI Mobility Radeon HD 3650
State disabled
State removable
Monitor Width 800
Monitor Height 600
Monitor Bit 32
Monitor Frequency 60
Device: \\.\DISPLAY2
ATI Mobility Radeon HD 3650
GPU M86
Device ID 1002-9591
Subvendor Dell (1028)
-
Help with Photoshop Print Settings? Please-I need this Before Tommorow!
Omfg, this is driving me up the wall. Does anybody have a solution as to why every single time I try to edit the photoshop page setup settings and click OK, it resets everything I adjusted and replaces it with the defaults.
Somebody, please help me!Are you looking at the settings for different documents? The print settings are stored with the document now.
So, for example, if you open Document A and change its print settings, they should stay set for Document A.
But, if you then open Document B, you'll see the print settings that were originally saved with Document B.
-Noel -
Idiot needs help with hanging mac book pro please
can anyone please help me
i have a 13 inch 2013 macbook pro but since yesterday every 30/40 seconds if im trying the spinner circle thing comes up and even now I'm trping faster than my mac can keep up
iv installed nothing recently
im really stuck where to go from here
really sorry if I'm vague but I'm not a computer genius
if all fails then i have to take it back to apple
thanks for any helpEtreCheck version: 2.1.5 (108)
Report generated 3 January 2015 17:53:58 GMT
Click the [Support] links for help with non-Apple products.
Click the [Details] links for more information about that line.
Click the [Adware] links for help removing adware.
Hardware Information: ℹ️
MacBook Pro (13-inch, Mid 2012) (Verified)
MacBook Pro - model: MacBookPro9,2
1 2.9 GHz Intel Core i7 CPU: 2-core
8 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1600 MHz ok
BANK 1/DIMM0
4 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
Intel HD Graphics 4000
Color LCD 1280 x 800
System Software: ℹ️
OS X 10.10.1 (14B25) - Uptime: 2:36:51
Disk Information: ℹ️
TOSHIBA MK7559GSXF disk0 : (750.16 GB)
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
Macintosh HD (disk1) / : 748.93 GB (635.73 GB free)
Encrypted AES-XTS Unlocked
Core Storage: disk0s2 749.30 GB Online
MATSHITADVD-R UJ-8A8 disk2 : (329.8 MB)
disk2s1 (disk2s1) <not mounted> : 287 MB
disk2s1s1 (disk2s1s1) <not mounted> : 32 KB
Untitled Disc (disk2s1s2) /Volumes/Untitled Disc : 286 MB (0 B free)
USB Information: ℹ️
Western Digital External HDD 160.04 GB
WD USB 2 (disk3s1) /Volumes/WD USB 2 : 160.04 GB (64.46 GB free)
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Launch Agents: ℹ️
[loaded] com.divx.dms.agent.plist [Support]
[loaded] com.divx.update.agent.plist [Support]
[invalid?] com.oracle.java.Java-Updater.plist [Support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Support]
[loaded] com.microsoft.office.licensing.helper.plist [Support]
[invalid?] com.oracle.java.Helper-Tool.plist [Support]
[loaded] com.tunabellysoftware.TGFanHelper.plist [Support]
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist [Support]
[loaded] com.divx.agent.postinstall.plist [Support]
[loaded] com.google.keystone.agent.plist [Support]
User Login Items: ℹ️
iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Google Drive Application (/Applications/Google Drive.app)
Safari Application (/Applications/Safari.app)
Internet Plug-ins: ℹ️
Flip4Mac WMV Plugin: Version: 3.0.0.126 - SDK 10.8 [Support]
FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
Default Browser: Version: 600 - SDK 10.10
AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Support]
AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Support]
DivXBrowserPlugin: Version: 2.2 [Support]
Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
OVSHelper: Version: 1.1 [Support]
QuickTime Plugin: Version: 7.7.3
SharePointBrowserPlugin: Version: 14.1.0 [Support]
JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
Safari Extensions: ℹ️
DivX Plus Web Player HTML5 <video> [Installed]
3rd Party Preference Panes: ℹ️
Flash Player [Support]
Flip4Mac WMV [Support]
Perian [Support]
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
19% Finder
2% WindowServer
0% AppleSpell
0% DesktopServicesHelper
0% mds_stores
Top Processes by Memory: ℹ️
429 MB iPhoto
198 MB Finder
180 MB iTunes
144 MB com.apple.WebKit.WebContent
112 MB mds_stores
Virtual Memory Information: ℹ️
1.97 GB Free RAM
4.26 GB Active RAM
1.32 GB Inactive RAM
1.03 GB Wired RAM
3.49 GB Page-ins
0 B Page-outs
Diagnostics Information: ℹ️
Jan 3, 2015, 03:18:42 PM Self test - passed
Jan 1, 2015, 02:04:03 PM /Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_2015-01-01-140403_[ redacted].cpu_resource.diag [Details] -
Help with display settings needed urgently
Graphics and icons that are supposed to be round appear oval. For instance the Safari and App icons on the dock appear very oval. Logos on websites I've visited before and I know are round appear oval.
I've tried all display settings and nothing helps. I'm a designer and this is causing a major hinderance. Everything appears condenced / squashed sideways. I'd be very grateful if someone could help with this.
I've just purchased the laptop. I have been using Mac for a few years and I've always selected the "stretched" option from the Display settings which sorted out the problem completely. A circle looked a proper circle. But in this version the option is not available.
Badly hoping someone can help with this.
Thanks.
Version Details - OS X Lion 10.7.4It sounds like you have selected an incorrect resolution. For starters, are you talking about your Air's display or an external display? You haven't said which Air you have. If you have an 11" model, make sure your display resolution is set to 1366x768. If you have a 13" model, it should be set to 1440x900. These are the proper resolutions for the built in displays. Chosing anything other than the referenced "native" display resolutions will result in distortions or clarity problems.
-
Help with MM_editCmd.CreateParameter insert syntax please
In the past (I guess older ASP version maybe?), the
automatically generated code that DW created using the "insert
record" wizard allowed for easy editing and debugging within the
SQL. I just installed CS3 and created a similar page and the code
used to build the insert statement is quite different.
Unfortunately, I'm not versed well enough in it yet!
I can see how the SQL insert is being built:
Set MM_editCmd = Server.CreateObject ("ADODB.Command")
MM_editCmd.ActiveConnection = MM_wp_STRING
MM_editCmd.CommandText = "INSERT INTO test (FName, LName,
Company, Email, BPhone, BFax, MPhone, Props, regDate, Password,
MBroker, MBID, Status, ARID) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
MM_editCmd.Prepared = true
...and then it appears to uses some scripting functions to
build the values and replace the ?'s in the CommandText line:
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param1", 202, 1, 255,
Request.Form("FName")) ' adVarWChar
What I'm struggling with is the values inside each Append
line (202, 1, 255) and what the relate to AND more importantly, how
I can insert my own variable here instead of the form field data.
ex:
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param1", 202, 1, 255, StrMyStringValue)
' adVarWChar
I need help with the syntax. Would it be different if the
variable holds a number value vs. text (assuming the field it's
being inserted into hold numbers)
Also, i USED to be able to add a handly little Response.Write
before the execute insert line that would write the SQL insert
statement to the screen and stop so that I could SEE where the
issues were. I've tried:
Response.Write(MM_editCmd.Parameters)
Response.Write(MM_editCmd.CommandText)
Just can't get the SQL text to display. Is the SQL insert
statement not stored as a variable that i can call?
Thanks VERY much for any help!You can use the concatenate() function to build up your string, as you no doubt know.
As far as the wildcard goes ... your intention must be to try to SET the call variable and later on test the call variable with an IF node. Is that right?
You would be able to test parts of the string using the substr() function - which is based on character position. If that is a fixed value that you know, it's easy. If it's not, you can first use the find() function to locate something (like the "_9"), returning the position, and then use the substr() function to pull it off.
Can you write some pseudo-code here to define exactly your intention? You can set up a dummy script and send a dummy call through using Call Tracer and watch the output to see how your code is working.
Regards,
Geoff -
Need some help with security sandbox stuff asap please
hey guys... so im trying to do a swfLoader call to a swf on a server from my actionscript on my local machine, when i do that i get the security sandbox violation error.... i tried adding a crossdomain.xml file to the server that has the following code in it
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*"/>
<allow-http-request-headers-from domain="*" headers="SOAPAction"/>
</cross-domain-policy>
and in my actionscript on application initialize i do
initialize="init(); Security.loadPolicyFile('http://myServer.com/crossdomain.xml')"
i also do
Security.allowDomain("http://myServer.com");
any ideas???? oh and i also went to this website http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04a.ht ml and set the always allow trust locations to "/"
any ideas on how i could possible fix this problem?? ive been trying to get around this problem for the last 2 days!!
please help!!!!Hi,
Please use policy file logging to check the exact error. This should shed some light on the problem.The procedure is detailed here.
http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_05.html
Nishad -
Help with java translator...PLEASE!!!
I am currently in the process of learning the JAVA language.
i am having real problems tackling a question about programming a translator, can anyone help with this question?
- Write a Java class 'German' to model the german dictionary(using only a few phrases, say 4-5). You will need to choose an appropriate representation for the constant dictionary(ignore accents etc), and to provide a method 'Translate' that, given an English phrase, returns the corresponding German phrase. You must also deal with phrases that are not available.
I hope someone can help...
JohnLearn a Map structure.
-
Help with Gateway TG799 Firewall settings Please
We have a Telstra Gateway Max TG799vac.
We have recently acquired our own domain name and have setup up an online store on Shopify.
So the underlying web address (on myshopify.com) is not the same as our URL of the shop.When we try to access the new site from any computer or device from within our house
we are blocked 90% of the time. It occasionally will connect. We are therefore unable to do admin on our own site.
I have tried USB tethering thru my phone's data and works 100% no worries. This bypasses the gateway and Telstra of course.
Anyone outside our home can always connect no worries.I have suspected the Firewall in the gateway TG799 device.
So I went into settings and changed the firewall setting down to the LOW setting.
Then we can connect all the time.
When in NORMAL or HIGH then we get this intermittent (mostly failed) connection.
After this experiment I am convinced it has something to do with the internal firewall.There is also a USER DEFINED section where you can set your own firewall rules
but I don't know enuff about what to do in there to experiment.
But I think I could set up a rule in there to allow this site to work for us if I knew how to go about it.I have been unable to find anyone within the normal Telstra tech help line who can help with this.Does anyone on here have any such knowledge or can give me a pointer where I can read/learn about how to do this for myself.Any help will be greatly appreciated.Thanks Steph,The fact that these devices are updated by Telstra remotely without our prior knowledge explains alot.It explains why the problem I first reported just started to happen out of the blue.It also explains why it just as mysteriously disappeared. It also explains why we suddenly had trouble with our phones dropping the wifi connection constantly.And why that suddenly fixed itself as well. It also explains why we suddenly got a monstrous over-use on our data bill on our Telstra mobile.We thought we were safe in our own house to use data on this phone knowing it was connected to our wifi and therfore our BigPond plan. What we did not know was that the phone was loosing sync with the wifi and therefore dropping back to 3G plan data use without our knowledge. My wife had been using her phone to connect to a Chinese movie streaming site and of course when the wifi dropped out she did not know she was streaming thru her 3G plan. Massive unexplained data over-use resulted. I had a rough time convincing your billing organisation that we were using wifi (or thought we were anyway) for the movies and they would not believe us therefore the monster bills were upheld. We did not reaslise until far too late that the phone was loosing the wifi connection without us knowing. We have stopped using that service now and as soon as the credit we accumulated with the associated billing stuff-ups is used up we will be leaving Telstra for another less troublesome provider. How about giving us poor defenseless users some notice that our devices have been updated and a summary of what aspects have been changed. Just like happens with apps on the Google Play store. I will now be approaching your billing organisation once more armed with this knowledge. My argument will be that our over-use on 3G data stemmed from a bad firmware update without our knowledge in your modem causing us to over-use 3G data we were not aware of. This time if they don't listen then it will be time for a complaint to the TIO. And perhaps even a media story. Disgusting service! And one angry Telstra customer.
-
I NEED SOME HELP WITH UPDATING MY IPOD TOUCH PLEASE
i need some help with my ipod the version is 3.1.3 and every time I'm trying to update it says it can not be restored then it says unknown error so i need some help updating my ipod to version 4.2
If you mean you're trying to update your ios go to settings/general/software update. then you should see the latest ios just tap it and it will automatically update your ipod. If you're trying to restore your ipod (as it's not quite clear in your query) try doing it through itunes instead of on the device itself
-
Have a big problem with report. Very urgent please help
I have a report rep1. When I run the report via batch thru command rwclient to create a file it failed. I got the follwoing error message:
REP-0177: Error while running in remote server
Job 1413 is terminated due to connection timeout.
It does not even try for few seconds before gives this message. I ran some other batch reports whihc took 15 minutes and they were fine.
So, I stopped running the bad report for the day thinking the report is still not dead. I ran the same rep1 next day I still get the same error message. But this time when I ran I looked at the appserver showjobs (which lists the reports that were running and that already ran). The job number is different But still it fails in 3 seconds with the job number 1413 and connection time out. Can any one tell what might be the problem.
Any number of times I run this job I get the same job number with same error (all this is only if I run it as batch using rwclient). If I run this as online by calling it from a form it returns the results without any problems.
Please help. Very urgent.
Thanks in advance.
AshaYou might want to delete the report server .dat file and restart the server and try
his also could be one of the issues we had seen and fixed in 9.0.2.3. Please ensure you have the latest patch applied
Thanks
The Oracle Reports team -
HELP WITH IPHONE 4S IPHONE URGENT HELP PLEASE?
IPHONE URGENT HELP PLEASE?
for the whole day my network has been 'Searching...'
i have tried airplane mode on and off, turning my phone on and off and network reset and taking sim in and out.
so i backed up my phone and restored to factory settings as i don't think i did the option of choosing manually select a carrier.
my network is still 'searching...' and it won't let my wifi to allow me to activate my iphone. i have tried to connect to itunes and it still won;t work.
i keep getting a message about no activation server.
this is a new iphone. i got it replaced on saturday.
PLEASE SOMEONE HELP ME!!!!!!!!!!!!!!!!!!!!!!!!!!!Hello,
If this is a new iPhone then you will have free access, as all iPhones come with it, to Apple support. I would have them take care of an issue like this.
Hope this helps.
Regards,
Jake -
Need help with Flash/PHP online form, please help, URGENT!
ive made my online form with the scripts shown below, when i
submit i dont get any errors... but i also dont receive any emails
from the form, if you can see anything that ive done wrong please
help me out..
-------------------------------------------------------PHP
mailer.php------------------------------------------------------------------
<?php
$fname = $_REQUEST["fname"];
$mail = $_REQUEST["mail"];
$add1 = $_REQUEST["add1"];
$add2 = $_REQUEST["add2"];
$add3 = $_REQUEST["add3"];
$town = $_REQUEST["town"];
$county = $_REQUEST["county"];
$postcode = $_REQUEST["postcode"];
$telephone = $_REQUEST["telephone"];
$subject = $_REQUEST["subject"];
$message = $_REQUEST["message"];
$full_message = $_SERVER['REMOTE_ADDR'] . "\n\n" . $message;
$message= $full_message;
$fname = stripslashes($fname);
$mail = stripslashes($mail);
$add1 = stripslashes($add1);
$add2 = stripslashes($add2);
$add3 = stripslashes($add3);
$town = stripslashes($town);
$county = stripslashes($county);
$postcode = stripslashes($postcode);
$telephone = stripslashes($telephone);
$subject = stripslashes($subject);
$message = stripslashes($message);
$subject = "Vision Ten Online Form ". $subject;
if(isset($fname) and isset($mail) and isset($add1) and
isset($add2) and isset($add3) and isset($town) and isset($county)
and isset($postcode) and isset($telephone) and isset($subject) and
isset($message)){
mail("[email protected]", $fname, $mail, $add1,
$add2, $add3, $town, $county, $postcode, $telephone, $subject,
$message "From: $mail");
?>
-------------------------------------------------------PHP-------------------------------- ----------------------------------
-----------------------------------------------ACTIONSCRIPT
for the
form----------------------------------------------------------
stop();
System.useCodepage = true
this.sent.onRelease = function () {
my_vars = new LoadVars ();
my_vars.fname = fname_box.text;
my_vars.mail = mail_box.text;
my_vars.add1 = add1_box.text;
my_vars.add2 = add2_box.text;
my_vars.add3 = add3_box.text;
my_vars.town = town_box.text;
my_vars.county = county_box.text;
my_vars.postcode = postcode_box.text;
my_vars.telephone = telephone_box.text;
my_vars.subject = subject_box.text;
my_vars.message = message_box.text;
if (my_vars.fname !="" and my_vars.mail !="" and
my_vars.add1 !="" and my_vars.town !="" and my_vars.county !="" and
my_vars.postcode !="" and my_vars.telephone !="" and
my_vars.subject !="" and my_vars.message !="") {
my_vars.sendAndLoad("script/mailer.php", my_vars, "POST");
gotoAndStop(2);
} else {
error_clip.gotoAndPlay(2);
my_vars.onLoad = function (){
gotoAndPlay(3);
fname_box.onSetFocus = mail_box.onSetFocus =
add1_box.onSetFocus = add2_box.onSetFocus = add3_box.onSetFocus =
town_box.onSetFocus = county_box.onSetFocus =
postcode_box.onSetFocus = telephone_box.onSetFocus =
subject_box.onSetFocus = message_box.onSetFocus = function () {
if (error_clip._currentframe !=1) {
error_clip.gotoAndPlay(6);
-----------------------------------------------ACTIONSCRIPT------------------------------- ---------------------------that php mail function looks suspect. that should be
mail(to,subject,message,headers,parameters)
Maybe you are looking for
-
External Seagate Hard Drive with Apple Ipad Air
I've just read that you can buy a Seagate Expansion 1TB Portable Hard Drive USB 3.0 (Model Number: STBF500300) which is powered from the USB cable, so there is no need for an external power supply. However, I already own a Seagate 500 gigabyte deskto
-
I just updated my iphone 4s to the new ios update. My car is a sync system that connects through bluetooth. I go to my bluetooth setting to search for devices and it wont find any. I believed it to be that my car that was the problem; but my sister h
-
Staging a Test Environment from a Production Environment
I trying create new test environment follow Oracle guide but I always get errors, look like this documentation is not correct Oracle® Application Server Administrator's Guide 10g Release 2 (10.1.2) B13995-08 Is someone have correct guide(documentatio
-
Expdp/impdp: update sequences
I'm trying to use impdp to copy database from A to B. I want the sequences to match on both A and B. However, since the sequences already exists in B, the sequences will not update on B compared to A. Thanks.
-
Sample Sweeping Audio Frequency
I am able to do the harmonic analyzer on a specific frequency but wanted to get input on two things: Analyzing a sweeped signal (say an audio range of 20Hz to 20kHz) - Do most programs just sample every few periods within the file and then analyze t