Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - AdamHearn

Pages: 1 2 [3] 4
31
General Board / Re: SQL Server Problem
« on: June 30, 2004, 10:04:42 am »
What happens if you try using an OLEDB connection?

Simple to follow steps in case you're unsure!

Click on "Connect to Server Repository..."
The Data Link Properties dialog appears
From the list, select Microsoft OLE DB Provider for SQL Server
Press Next
1. Enter or select the SQLServer instance where your model is stored
2. Choose the required authentication method (Windows Integrated or SQLServer controlled).
3. Choose the Database that contains your model.
Test the connection. All should be fine if you've setup the previous steps correctly.
Close the Data Link dialog
Enter a name for the Repository
Press OK

EA should connect and present the model.


32
General Board / Re: Project Status Tracking
« on: June 30, 2004, 08:31:04 am »
Another option to use is MSDE which is essentially a limited version of SQLServer. If Sparx registered for redistribution, they could actually provide this DB engine with the application...

It's suitable for up to 25 users, has an artifical performance guvenor which slows the engine down when there are more than 5 active commands (I kid you not!) and has a DB storage size limit of 2GB. You can administer the DB with the standard SQLServer tools or VS.NET.

If your company has licenses for VS.NET, SQLServer or MSDN (not library) then you can use it. For full details, check out Microsoft's page

We (as you may guess) use MSDE and actually found it performed better than mySQL (which was at the time, the latest V3 release).

33
General Board / Re: code templates: how to extract a part of a str
« on: June 30, 2004, 01:51:17 am »
A quick 'demo' of the new Macros...

Here's a chunk of CGT that supplies a DD/MM/YY date format in the variable $myCreateDate
Code: [Select]

$myDateSep="/"
$myCreateDate=%LEFT(eaDateTime,"2")%
$myCreateDate+=$myDateSep
$tmp=%MID(eaDateTime,"3","3")%
%if $tmp == "Jan"%
$myCreateDate+="01"
%elseIf $tmp == "Feb"%
$myCreateDate+="02"
%elseIf $tmp == "Mar"%
$myCreateDate+="03"
%elseIf $tmp == "Apr"%
$myCreateDate+="04"
%elseIf $tmp == "May"%
$myCreateDate+="05"
%elseIf $tmp == "Jun"%
$myCreateDate+="06"
%elseIf $tmp == "Jul"%
$myCreateDate+="07"
%elseIf $tmp == "Aug"%
$myCreateDate+="08"
%elseIf $tmp == "Sep"%
$myCreateDate+="09"
%elseIf $tmp == "Oct"%
$myCreateDate+="10"
%elseIf $tmp == "Nov"%
$myCreateDate+="11"
%elseIf $tmp == "Dec"%
$myCreateDate+="12"
%endIf%
$myCreateDate+=$myDateSep
$myCreateDate+=%MID(eaDateTime,"9","2")%

34
General Board / Re: code templates: how to extract a part of a str
« on: June 28, 2004, 05:10:41 am »
I posted a feature request a couple of weeks backs. It's coming in Build 730... ;D

35
General Board / Re: Looking for help/info on Code Generation Templ
« on: June 28, 2004, 05:25:20 am »
Under Configuration, you have a few menu options:
Language Datatypes
Language Macros
Code Generation Templates


Using Language Datatypes first, you can add a 'New Product' into the Langauge DataTypes dialog. You can add the datatypes specific to that language.

When selected the "Code Generation Templates" dialog will list out the new product thus allowing you to style the output to your requirement.

I've not used this is anger (don't need to add new language support) but it looks to be in place.

36
General Board / Re: Looking for help/info on Code Generation Templ
« on: June 25, 2004, 04:33:38 pm »
This feature is *already* here! You really don't want to know how it was before the way it is now ;)

37
General Board / Re: Looking for help/info on Code Generation Templ
« on: June 25, 2004, 04:37:53 am »
Just watch your 'tabs' Barry :)

I posted a feature request a couple of weeks ago. I've not heard anything on it as yet :-[ Within it I asked for more code generation functions and in particular those for basic string manipulation. The code generation templates are on the cusp of being extremely powerful, they just need a little opening up and we'd all be very happy designer/developers ;)

38
General Board / Re: Looking for help/info on Code Generation Templ
« on: April 20, 2004, 02:36:23 am »
The process of updating the code templates is indeed involved. However, consider that you spend a day or two on this and how much effort this saves in the long term - though only if you habitually use code generation!

I don't think you'll find a 'resource' of templates as anyone going to the trouble of setting it up will [probably] be doing so in order to support the company/user convention.

I spent a day sorting out code generation templates to meet our standards and when we upgraded to V4, they all broke :( I still need to sort them out ::)

I found it's best to start off with a basic model. Include an interface with methods and properties, a class with the same and some members. Some inheritance, etc. etc. Hit the top level stuff 1st like the company/personal headers, then pick on a UML element going through the file from top to bottom - class definition, attribute declaration, comment styles for them, method declaration, etc. etc. It's not 'hard' but then it's not 'easy' either, merely time consuming to get everything just so - especially if your required format wants to move the braces around a bit :)

39
General Board / Re: Using EA with SQL Server
« on: May 28, 2004, 12:17:04 pm »
If you mean you'd like to model your SQL Server database using a tool then yes, EA is a good tool to use. It can generate DDL and can reverse engineer a schema into the model.

40
General Board / Re: AssemblyBrowserXMI - need help feedback/testin
« on: February 02, 2004, 12:59:12 pm »
Still a problem m8! (downloaded 0.6)

Just double click on *any* type. I used one of my own assemblies and one from ChartFX.

Load in assembly, expand the 1st tree node, double click the 1st child. It crashes.

Hope that helps!

41
General Board / Re: AssemblyBrowserXMI - need help feedback/testin
« on: January 30, 2004, 06:44:54 pm »
Error generated:
Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x800704C7): The operation was canceled by the user.
  at SHDocVw.IWebBrowser2.Navigate(String URL, Object& Flags, Object& TargetFrameName, Object& PostData, Object& Headers)
  at AxSHDocVw.AxWebBrowser.Navigate(String uRL, Object& flags, Object& targetFrameName, Object& postData, Object& headers)
  at AssemblyBrowserXMI.Form1.treeAssembly_AfterSelect(Object sender, TreeViewEventArgs e)
  at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
  at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
  at System.Windows.Forms.TreeView.WmNotify(Message& m)
  at System.Windows.Forms.TreeView.WndProc(Message& m)
  at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.573
   CodeBase: file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
AssemblyBrowserXMI
   Assembly Version: 1.0.1490.31586
   Win32 Version: 1.0.1490.31586
   CodeBase: file:///C:/AssemblyBrowserXMI.exe
----------------------------------------
System.Windows.Forms
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.573
   CodeBase: file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.573
   CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
AxInterop.SHDocVw
   Assembly Version: 1.1.0.0
   Win32 Version: 1.1.0.0
   CodeBase: file:///C:/AxInterop.SHDocVw.DLL
----------------------------------------
System.Drawing
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.573
   CodeBase: file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Interop.SHDocVw
   Assembly Version: 1.1.0.0
   Win32 Version: 1.1.0.0
   CodeBase: file:///C:/Interop.SHDocVw.DLL
----------------------------------------
Accessibility
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.573
   CodeBase: file:///c:/winnt/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
smartFOCUS.ObjectManagement.Interfaces.Server
   Assembly Version: 1.0.1490.38036
   Win32 Version: 1.0.1490.38036
   CodeBase: file:///D:/Dev/SFBinaries/Bin/smartFOCUS.ObjectManagement.Interfaces.Server.dll
----------------------------------------
System.Xml
   Assembly Version: 1.0.5000.0
   Win32 Version: 1.1.4322.573
   CodeBase: file:///c:/winnt/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
   <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.

Clicking on any of the types in the assembly causes this..

1st up is a pop-up "Cannnot find 'C:\\tmp.xml'. Make sure path...."
Then OK, and you get the exception trace.

It exported the whole assembly out without issue although no time this morning to load it into EA for a look!

Hope this helps!

42
General Board / Re: EA - ActiveX and firewalls?
« on: December 05, 2003, 03:35:51 pm »
Citrix is a remote access program which will (in the very basic of senses) send mouse and keyboard actions to a remote desktop. EA is therefore not running across the firewall, it is running on the remote machine and so whatever technologies, ports, etc. should be of no consequence. It is possible that EA doesn't run on your server in a Citrix session (there are a few programs that fail when running under a Terminal Services Server (similar technology).

The Corporate Edition of EA allows for a SQL repository which gives you client server access. It is quite a bit slower than a local .EAP file but it is fully client server and doesn't take much to setup.

I run a VPN to my work's LAN then OLEDB to the MSDE based repository. It's a solution that works for me :)

Edit: ...and double treble posting isn't going to get you an answer any faster. I just noticed Sparx's response just a few threads further down ::)

43
General Board / Re: UML 2.0
« on: October 21, 2003, 06:13:42 pm »
Quote
Hi

Havenīt found any answer about this topic, but if there is one please point me there.

Does EA support UML 2.0? If it doesnīt are Sparx planning to implement this soon?

Regards
Mikael
I asked a few months back and the plan is to eventually support the standard. The standard was supposed to be ratified earlier this year (can't remember the date) and so only post that time would it worthwhile to consider its impact.

I wouldn't hold Sparx to any time schedule as the market for UML 2.0 is in its infancy (non existant in most companies) and so there is time to implement it properly.

44
General Board / Re: Where's EA-Req Pro (from World EIT)
« on: October 21, 2003, 06:09:21 pm »
Quote
Does anybody know what the status of EAReqPro is? I also tried the link and it appears dead.
As other poster have said, the new company link is working fine.

I tried out the old version of EA ReqPro (or whatever it was exactly called back then) and it was an extremely bad piece of software. Sorry to not be so positive but I didn't get it to work at all and I'd be quite aprehensive about spending any cash on it (or its replacement).

Steve (& co) should concentrate on a product *or* a globally domainting company. It has some great ideas but this is software in its infancy. (sorry Steve, merely my observation).

45
General Board / Re: Another site is 'down'
« on: September 10, 2003, 02:43:54 am »
My site is always up and running... what's the betting of it being true when someone tries to grab the file ::)

Go grab the file from here

Pages: 1 2 [3] 4