NetTalk Central

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 - Devan

Pages: 1 ... 12 13 [14] 15 16
196
Web Server - Ask For Help / Re: Are menus broken in 6.07?
« on: December 06, 2011, 05:55:09 PM »
I had similar-ish issues here.  In most cases, I found that re-running the wizard to regenerate the Header, Footer, IndexPage etc. seemed to fix some of these oddities.

Of course, you lose your custom embed codes etc.  :-\

197
Web Server - Ask For Help / Re: Update of web folder required ?!?
« on: December 06, 2011, 02:12:57 PM »
Thanks Bruce!

Just confirming that deleting the folder and a total reinstall seemed to do the trick...

I also had to regenerate the main procedures such as WebServer, IndexPage, Header etc.

198
Hi all,

Just started a small, simple WebApp from scratch using NT6.

Got a simple OrderHeader table, with an autoincrementing ID, and a child OrderLines table (which also contains an autoinc ID).

When I generate a form in NT6 to add a new OrderHeader, it is telling me that OHD:ID cannot be blank or zero - I am not getting a number generated, it looks like.

I think I have activated all the server side stuff:

In the Table Properties, the 'Driver Options' is /AUTOINC=SCOPE_IDENTITY()
Under 'Options' I have 'EmulateAutoNumKey' set to 1

In the Field options for ID, I have:
AutoNumber set to '1,1'
IsIdentity set to 1
ServerAutoIncColumn set to 1

In the SQL database, I have the 'Identity' field set to 1.

Anything I have to do within NT6 itself to get the auto numbering to work as it should?

Thanks!


199
Web Server - Ask For Help / Update of web folder required ?!?
« on: December 06, 2011, 03:06:33 AM »
Hi all,

I just generated and ran up my first *brand new* NT607 web app, and straight away, I am getting the message:

UPDATE OF WEB FOLDER REQUIRED - Try pressing Ctrl-F5. Server is on version 6.07 but web folder is on version 5.33

I have copied over all the files from C:\Apps\Clarion8\accessory\libsrc\win\netweb\web\*.* into my 'web' folder, cleared the cache etc. but still no avail.

Currently testing in Chrome.

200
Web Server - Ask For Help / Re: New Project in NT607 - Compile Errors?
« on: December 05, 2011, 10:43:45 PM »
Ok, I think I have managed to fix it...

Had to delete the WinEvent template from the Global Extensions and put it back in again.  In fact, had to do it with the following templates:

* GPF Reporter
* Self Service
* NetTalk (!)
* NetTalk Web Server
* WinEvent

Also, the delete extension only works on the third or fourth click.  At first I thought I couldn't delete them, as a single click on the Delete button would not remove them.  I had to click several times and only then would the template be removed so that I could re-add it in...

Cheers,
Devan

201
Web Server - Ask For Help / New Project in NT607 - Compile Errors?
« on: December 05, 2011, 10:19:24 PM »
Hi all,

I've just generate a new web app project in NT6.07, using C8.0.8778 and when I went to compile, I am getting tons of (I think) WinEvent related errors:

Indistinguishable new prototype: WINEVENT

I am getting about 2000 of these errors, all with WinEvent sounding name and procedures...

I checked the Global Extensions, and WinEvent is in there.  I even upgraded to the latest WinEvent 3.77 and still the same.

Thanks,
Devan

202
Web Server - Ask For Help / Re: All my troubles with NT6
« on: December 04, 2011, 11:48:18 PM »
Just to corroborate the OP - I am getting a GPF after running the app wizard too.  Upon restart and selecting 'Recover', everything seems to be there.

Running NT6.07 on C8.0.8778
Windows 7 Pro machine with 16Gb RAM

No biggie as everything seems to be there, and the wizard, in 10 seconds, has saved me about 2 days work!!

203
Web Server - Ask For Help / Re: Using NTWS in an existing front-end app
« on: November 24, 2011, 02:19:30 PM »
I am not sure I understand your reasoning here Thys?

The Web Server app itself cannot 'call' procedures in your legacy app from the HTML pages.  You are going to have to add the Web Server procedures etc. INTO your legacy app in order to have the web specific procedures be able to access your legacy procedures.

Also, what you are suggesting is the equivalent of having a normal Clarion app running as distributed EXE files on each workstation rather than shared from a single file sharing location.  Makes ongoing maintenance etc. a lot harder.

I would have thought a single WebServer app running on a single machine and accessible via an IP address would have been easier to manage?

204
Web Server - Ask For Help / Re: Cleaning up temporary files
« on: November 24, 2011, 01:55:50 PM »
Why don't you just use an In-Memory table to store the information instead of a TopSpeed file?  Automatically gets cleaned up every time the Web Server app is terminated for any reason...

205
Web Server - Ask For Help / Re: Web folder to Blob
« on: November 20, 2011, 12:33:22 AM »
I think I asked this question during the webinar.

This is something that will certainly be of interest to me. 

Cheers,
Devan

206
Your Views and Comments / NT6 Launch Webinar - Wow!
« on: November 18, 2011, 05:50:25 PM »
Well, I attended my first ClarionLive webinar last night to watch the NT6 launch.  I don't normally attend these because they run at 02:30am my time, but decided to stay up to catch this one, and I am glad I did.

First thing I can say is "WOW!".  NT6 looks fantastic.  Congratulations on taking the product to a whole new level Bruce.  The BIG winners in my view are:

1. The Wizards.  I like NetTalk, but coding up a series of basic Browses and Forms is, lets face it, a tedious pain in the butt.  Having the Wizards whip up all of these basic elements and then going through to remove what you don't want will slash my initial ramp up development time significantly.  It's kind of like what scaffolding did for Ruby on Rails.

2. Theme support.  On a recent NT project, the client asked me to make some minor changes to colour and background graphics, and to be honest, it was a lot of effort to dig through CSS files etc. to make changes to the basic look and feel.  With NT6 Themeroller support, AND the ability to change the entire look and feel of your app on the fly - super cool !!

3. Background Process button.  I had no idea how many background processes I would be running in my NT apps.  Because we do a lot of webapps that link to legacy ERP system, there is usually a lot of table refreshing and duplicating that we need to do in the back end to synchronise data.  Previously this was really 'hit or miss' in that we would have to put 'dummy' progress bars and fixed timers on pages to try and achieve this.  To have a button that could maintain a connection to the server AND provide user eedback from a progress bar control is HUGE.

4. Mobile support.  It seems that nearly all NT projects we do now the user is asking us "Oh, can we have that working on iPhones too?".  Granted, what Bruce showed us presently is still very early support that is still in Alpha testing, but at least gives us a glimpse of the future in that we can write just ONE code base to support both Desktop and Mobile devices.

Conclusion - NetTalk 6 is WINNING...  Now, if I could only remember the promotional upgrade code, I would be on the Capesoft store buying the upgrade right now... :)

207
Web Server - Ask For Help / Re: NT app running as a service, using MySQL
« on: November 17, 2011, 03:57:23 PM »
Thanks for the reply Stu!

Yes, I am using SelfService in this instance.  The app is NOT multi DLL, and the WebServer window is the main (Non MDI) window of the app.

I am at a bit of a loss to explain this, as I think I am doing everything correct.

The hosting environment is a Windows 2008 Server running on an Amazon EC2 instance if that helps.  Not sure if there is Windows 2008 security setting somewhere that is preventing my app from seeing the DSN?

In the same environment, if I remove the app as a service and run normally, it works fine.  As soon as I make it a service, it cannot find the DSN!  Weird...

Devan

208
Web Server - Ask For Help / Re: Quick question on NetWebBrowses
« on: November 17, 2011, 02:22:26 PM »
Hooray!

Thanks Bruce -  This IS too easy.  I can't tell my client that it took 10 minutes to implement his changes...  I'll have to practice my guitar for a bit and then bill him 2 hours... LOL

Cheers,
Devan

209
Web Server - Ask For Help / Quick question on NetWebBrowses
« on: November 17, 2011, 03:31:47 AM »
Hi all,

I just got a last minute request from a client to make a change to a web app I created for them in NetTalk.  It's getting late here now and I just want to shut the computer down and go to bed rather than experiment and test whether I can do this, so I thought I would pose the question to the NetTalkers here!

There is one browse that looks at a file which has a few short fields in it, and two quite long (4000 character) memo fields.  At the moment, the NetWebBrowse only shows the short fields, but they want me to add the two memo fields to the end of that.

They want the memo fields in the browse to only show the first 40 or so characters of the memo, but then when the user hovers the mouse over the memo field, the popup balloon tip to show the entire text of the memo.

Possible to do in NT5?

Cheers,
Devan

210
Web Server - Ask For Help / NT app running as a service, using MySQL
« on: November 14, 2011, 04:55:53 PM »
Hi all,

This may be vaguely related to the other recent thread on using MSSQL with NetTalk, but we have developed a NetTalk app that runs as a service, using MySQL (via MyODBC 3.1).

When testing the app, I ran is as just a normal Win32 program (not as a service) and everything works great.  However, as soon as I install and run is as a Service, the app cannot connect to the data via ODBC.

I have set up the MyODBC DSN as a 'System DSN' but that doesn't seem to help.  I am guessing it is to do with the logon credentials that the service is using, and whether that logon account can see the DSN?

Cheers,
Devan

Pages: 1 ... 12 13 [14] 15 16