Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: grande
  • Content: Threads
  • Order by date
  1. grande

    Creating record in two tables on one form

    Hi all, I have a table Customer, which relates to an address table. Each customer has one address. I'd like to have one form that allows the user to create their Customer and Address at the same time. I currently have an Address field in tblCustomer. It's a lookup field based on this Row...
  2. grande

    Selecting the most recent elements from a log table

    Okay, here's what I have: Table: element_logs Columns: id (int, PK) parent_id (int) element_id (int, FK) updated_at (datetime) What I'd like to do is find the most recent element_ids with the same parent_id. That is, given a parent_id of say 5, and a date of yesterday, I want the id of each...
  3. grande

    Testing with Web Services

    Hi all, I'm writing an ASP.Net 3.5 MVC application, and I'm wondering the best way to test code with webservices. Obvisouly I don't need to call the webservice for each test. Is there a way to stub it out? What's the recommended way of doing this? As an aside question, I'm currently using...
  4. grande

    Virtual Hosts - Always going to the first one?

    Okay, first of all, I don't know what I'm doing. This isn't what I normally do, I'm a developer. However, I'm the best we've got at the time (long story...) So, here's what I'm trying to do. We have a DNS record for stage.mydomain.com and dev.mydomain.com. I've edited an existing httpd.conf...
  5. grande

    Getting into Freelance work

    Hi guys, I have a friend who is designing the graphics and logo for a new business, and they want a web presence. My friend has asked me to put together an estimate for them. My question is, how do I know how much to charge? What metrics do you use? Hours? Story Points? How much is my...
  6. grande

    Flash Button Not Clicking When Attached (AS3)

    Alright, let me try to explain my situation.... I have a class (AppCore) that extends MovieClip. I have a MovieClip called StageContents. I have a class (DefaultCaption) with a button on it, that extends MovieClip. In AppCore, I essentially do this: var StageContents:MovieClip = new...
  7. grande

    Migrating from AS2 to AS3 - AttachMovie vs. AddChild

    Hi guys, I've been having a bit of a problem upgrading from AS2 to AS3. I used to have this line: var si:MovieClip = searchField.attachMovie("toc_item", "ti"+pg, searchField.getNextHighestDepth(), ({x:40+c*285, y:r*150+90})); I tried changing it to var si:MovieClip =...
  8. grande

    Help me convert from AS2 to AS3: A conflict exists with inherited def.

    I'm trying to upgrade from AS2 to AS3. I thought I had updated all the code, but now I get this error: 1152: A conflict exists with inherited definition flash.display:DisplayObject.mask in namespace public. With no line associated to it, and only "story_mc" as the source. story_mc is a movie...
  9. grande

    Upgrading from AS2 to AS3

    Hi guys, We're looking at upgrading one of our apps to ActionScript 3. Can you guys give any insight about the process? Tips & Tricks? How long did it take? ------------------------- Matt Grande C# Master. Ruby on Rails Admirer. ActionScript Student. JavaScript Hate-Monger.
  10. grande

    Property Names

    Hi all, So what's the difference between _width and width? _height and height? _alpha and alpha? Anyone know? Why do some have underscores and others don't? ------------------------- Matt Grande C# Master. Ruby on Rails Admirer. ActionScript Student. JavaScript Hate-Monger.
  11. grande

    Parsing HTML?

    Hi all, I was wondering if you could help me with this. I'm parsing HTML, and I was wondering how I could see if there is an opening tag (<) followed by any non-slash character. For example, this would return true: <a href="http://tek-tips.com"> But this would return false: </a> (Keep in...
  12. grande

    RegExp class not found in CS3?

    Hi all, I'm fairly new to Flash, but I'm fairly experienced in ActionScript due to some Flex development. I'm assuming my problem is related to there being a difference between the envirnments, but I can't figure out what it is. I have a simple RegExp: var pattern:RegExp = new RegExp("<.*")...
  13. grande

    Anyone know Ferret?

    I installed Ferret recently and I can't seem to get it working. My searches will only return results if I search for '*'. This is extra-odd, since we're using MySQL as a database, and the wildcard is '%'. Has anyone experienced this? How did you fix it? ------------------------- Call me...
  14. grande

    Circular References in Ruby

    I have a question about circular references. How would I accomplish this? I want to make a Category that can have any number of sub-categories. Would it just be like this? class Category < ActiveRecord::Base belongs_to :category, has_many :category, :class_name => "Category"...
  15. grande

    Help with [Bindable]

    Does the event fired when something is bound only fire when an equal sign is used? For example, this doesn't cause a re-bind: ValueObject.BoundArrayCollection.addElement(newElement); But this does: var array:ArrayCollection = ValueObject.BoundArrayCollection; array.addElement(newElement)...
  16. grande

    Unit Testing Cairngorm with FlexUnit?

    Hi all, I've been looking into unit testing a Cairngorm application. Since all (or, at least, most) of the methods return void, how do you go about testing it? Is this possible with FlexUnit? Ideally, I'd like to check when a model-locator gets databound. Thanks! -------------------------...
  17. grande

    What is faster?

    This is more theoretical than practical, but which of these two statements would execute faster? SELECT dye_method FROM SC_CUSTOM_STYLE_SPEC WHERE (dye_method IS NOT NULL) AND (dye_method != '') GROUP BY dye_method or SELECT DISTINCT dye_method FROM...
  18. grande

    Inverting/Reverting/Flipping XSLT?

    Hi all, I'm wondering if this is possible. I have an XSLT file that converts some XML from one standard to another. Is there a way that I can put the new standard in and get the old standard out? Like, tell it to do the exact opposite of what it's doing? Otherwise, is there a tool/script...
  19. grande

    Attach HTML string in email

    Hi again, So, until recently, I've been sending emails for my client by just throwing HTML into the body of the email. They now want the HTML page to be sent as an attachment. I'm wondering how I can take the HTML code that I have (currently stored in a string) and attach it to the file...
  20. grande

    RegEx question

    Hi guys, I'm having a bit of a RegEx problem, and I was hoping you could help. I have the following code ArrayList strArray = new ArrayList(); string strPattern = @"\(.*\)"; foreach (Match m in Regex.Matches(str, strPattern)) strArray.Add(m.ToString()); I'm trying to get the data out of...

Part and Inventory Search

Back
Top