Forum Replies Created

Amit Member

You need to decide whether you are going to use POST or GET and use the same in your form and processing.

you are using method=”post” in your form, and yet all of your php processing is using $_GET.

method=”post” requires you to use $_POST[] in your processing…and method=”get” requires you to use $_GET[] in your processing.

POST doesn’t know anything about GET and vice versa.

Amit Member

Check out afraid.org these guys offer free DNS hosting, and they also let you choose a subdomain from a large registry of domains (like us.to). For HTTPS, you can get a free certificate signed by StartSSL authority (valid in almost all most recent OSs, including iOS, Android and Windows Phone 8), so you’ll get a proper SSL connection without browser warnings.

If you still want to create a self-signed cert, you’re going to need to have OpenSSL installed in your PC and hit that command prompt with:

$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout mysitename.key -out mysitename.crt

It’ll ask you for a couple things to bake into the certificate, and then you’ll be all set. Depending on what server you’re using, installing any of these certificates is going to be a different process.

Amit Member

http://lmgtfy.com/?q=C%23+hide+label

Amit Member

Is this for an assignment? And did they ask for an explicit cursor or implicit?

Each time you use a SELECT statement, there is an implicit cursor that is used.

Many companies do not use explicit cursors .. period. They have their limitations. Here is a pretty good overview:

SQL Server Cursor Analysis

The analysis below is intended to serve as insight into various scenarios where cursor based logic may or may not be beneficial:

Online Transaction Processing (OLTP) – In most OLTP environments, SET based logic makes the most sense for short transactions. Our team has run into a third party application that uses cursors for all of its processing, which has caused issues, but this has been a rare occurrence. Typically, SET based logic is more than feasible and cursors are rarely needed.
Reporting – Based on the design of the reports and the underlying design, cursors are typically not needed. However, our team has run into reporting requirements where referential integrity does not exist on the underlying database and it is necessary to use a cursor to correctly calculate the reporting values. We have had the same experience when needing to aggregate data for downstream processes, a cursor based approach was quick to develop and performed in an acceptable manner to meet the need.

Serialized processing – If you have a need to complete a process in serialized manner, cursors are a viable option.

Administrative tasks – Many administrative tasks need to be executed in a serial manner, which fits nicely into cursor based logic, but other system based objects exist to fulfill the need. In some of those circumstances, cursors are used to complete the process.
Large data sets – With large data sets you could run into any one or more of the following:
Cursor based logic may not scale to meet the processing needs.

With large set based operations on servers with a minimal amount of memory, the data may be paged or monopolize the SQL Server which is time consuming can cause contention and memory issues. As such, a cursor based approach may meet the need.

Some tools inherently cache the data to a file under the covers, so processing the data in memory may or may not actually be the case.
If the data can be processed in a staging SQL Server database the impacts to the production environment are only when the final data is processed. All of the resources on the staging server can be used for the ETL processes then the final data can be imported.

SSIS supports batching sets of data which may resolve the overall need to break-up a large data set into more manageable sizes and perform better than a row by row approach with a cursor.

Depending on how the cursor or SSIS logic is coded, it may be possible to restart at the point of failure based on a checkpoint or marking each row with the cursor. However, with a set based approach that may not be the case until an entire set of data is completed. As such, troubleshooting the row with the problem may be more difficult.

I would do something like this if you needed to use an explicit cursor

DECLARE
l_project_no employee.project_no%TYPE;
BEGIN
SELECT project_no
INTO l_project_no
FROM employees'

Starting like this, you have basically saved the old project number in a separate temp field called l_project_no

Then just go ahead and so a: if l_project_no = 1 then change project_no to 2, and if l_project_no = 2 then change project_no to 1

Amit Member

It is going to be in the form of:

SELECT column_name [, column_name ]
FROM table1 [, table2 ]
WHERE column_name OPERATOR
(SELECT column_name [, column_name ]
FROM table1 [, table2 ]
[WHERE])

Using sum and max functions.

There is a great site that allows you to test things out:

http://www.w3schools.com/sql/trysql.asp?filename=trysql_func_max

Amit Member

You can create a service that runs continuously in background, this service can register a receiver

which will be used to get the SCREEN_ON and SCREEN_OFF intent.

When SCREEN_ON is called you can start your lock screen activity in New Task to ask for password.

Amit Member

It’s been a long time since I used Pascal. You need to use the Record Data Structure.

http://pascal-programming.info/lesson11.php

Amit Member

The best way to learn is either to have a great teacher, or a really good book.

My suggestion to you is to learn C first, because you will become acquainted with programming principles and even more importantly computer science principles(binary, data, etc)

So anyway this book i have found that no other book matches it in the amount of detail and learning potential it has

It has great exercises to help you understand and learn the concepts it so easily and straightforwardly teaches

If you can get to the end of this book you will have mastered all programming principle basics which you can apply to any programming language in your methods of writing programs

Of course though for what you would like to do you will need to also learn further OOP principles which THEN would be a good idea to pick up Bjarne book because if you have no previous understanding in programming, it will be a puzzle within a puzzle within a conundrum

So it won’t help you learn much at all

and the most important concept of programming is practices, and this book i will link bellow has enough practice to make you sick

Many great exercises to really muster out any doubts and remove any confusion and really take you forward into a world of programming

Now don’t be foolish either there is a lot of things to learn and it takes a lot of time , so take your time

Also for your ideas of the kind of software you want to run which you described is actually quite complex and will need quiet a bit of knowledge to it

But this is the best way to start

There is no book out on the market which is as thorough and profound as this book for programming principles

My major is software engineering, and i have learned from this book most of what i know, even the university courses are not as profound as this book(because they generally rush you through things as they try to cramp in 6 months[1 semester] a tonne of knowledge that people learn over a lifetime ) but nevertheless this is your golden ticket.

Amit Member

For your automation requirements, maybe have a look at writing a windows batch or VB script to execute the programs? If the software you use have “batch modes” it will be fairly easy to execute the programs sequentially without intervention from your side.

Amit Member

Don’t watch video tutorial, they are a waste of time. Don’t buy * for dummies book; a book that treat you like an idiot isn’t going to help you much.

A Programmer's Guide to Java Certification
Advanced Techniques for Java Developers
Core Java 1.1 - Volume 1 Fundamentals
Core Java 2, Volume II - Advanced Features
Developing Java Software
Java Examples in a Nutshell
The Java Programming Language

I assume that you know the basics of programming, the book I mentioned give you a through understanding of Java. They also give you great lessons on using it that is the most valuable lesson. You could know all the theory but you can still be a terrible programmer. The only way to be a programmer is do what the programmers do: think, code and study. If you limit yourself to only one activity you won’t go very far. Don’t try to learn all that is to learn, after the basics you should learn a feature only when you need it. It’s inhuman to learn all the java libraries. A good programmer is one that can use a library after he read it, not a walking encyclopedia

Amit Member

I learned from Java: How to Program back in 2005. There are many books that’ll teach you the basics… Since you’re already up to speed with C#, move to Java EE as soon as possible – that’s where it’s all at these days.

http://www.amazon.com/Java-How-Program-Edition-Deitel/dp/0132575663

Amit Member

also noted : the "./file" option is unix , if you are running an IIS with php enabled , use the relative path from windows notation.

generally said : as long as php finds the file, it doesn’t matter “how” you include it.

To test it, make a wee function like :



Amit Member

Go with hibernate and leave the application as it is

Amit Member

BASS is an audio library for use in software on several platforms. Its purpose is to provide developers with powerful and efficient sample, stream (MP3, MP2, MP1, OGG, WAV, AIFF, custom generated, and more via OS codecs and add-ons), MOD music (XM, IT, S3M, MOD, MTM, UMX), MO3 music (MP3/OGG compressed MODs), and recording functions. All in a compact DLL that won’t bloat your distribution.


    Samples
    Support for WAV/AIFF/MP3/MP2/MP1/OGG and custom generated samples

    Sample streams
    Stream any sample data in 8/16/32 bit, with both "push" and "pull" systems

    File streams
    MP3/MP2/MP1/OGG/WAV/AIFF file streaming

    Internet file streaming
    Stream data from HTTP and FTP servers (inc. Shoutcast, Icecast & Icecast2), with IDN and proxy server support and adjustable buffering

    Custom file streaming
    Stream data from anywhere using any delivery method, with both "push" and "pull" systems

    OS codecs
    ACM, Media Foundation and CoreAudio codec support for additional audio formats

    Multi-channel streaming
    Support for more than plain stereo, including multi-channel OGG/WAV/AIFF files

    MOD music
    Uses the same engine as XMPlay (very accurate, efficient, high quality reproduction), with full support for all effects, filters, stereo samples, DMO effects, etc.

    MO3 music
    MOD music with MP3 or OGG compressed samples (vastly reduced file size with virtually identical sound quality), MO3s are created using the MO3 encoder

    Multiple outputs
    Simultaneously use multiple soundcards, and move channels between them

    Recording
    Flexible recording system, with multiple device support and input selection, (WMA encoding & broadcasting via the add-on, and other formats via BASSenc)

    Decode without playback
    Streams and MOD musics can be outputted in any way you want: encoded, written to disk, streamed across a network, etc.

    Speaker assignment
    Assign streams and MOD musics to specific speakers to take advantage of hardware capable of more than plain stereo (up to 4 separate stereo outputs with a 7.1 soundcard)

    High precision synchronization
    Synchronize events in your software to the streams and MOD musics, synchronize playback of multiple channels together

    Effects
    Chorus / compressor / distortion / echo / flanger / gargle / parametric eq / reverb

    Custom DSP
    Apply any effects that you want, in any order you want

    32 bit floating-point decoding and processing
    Floating-point decoding/rendering, DSP/FX, and recording

    3D sound
    Play samples/streams/musics in any 3D position

    Flexible
    Small buffers for realtime performance, large buffers for stability, automatic and manual buffer updating, configurable threading, configurable SRC quality

    Expandable
    Add-on system for additional format support and effects (C/C++ API available on request), dynamic plugin loading system

    64-bit support
    Both 32-bit and 64-bit architectures are supported 

Bass.Net 2.4.10.4
.Net API for BASS and all of the add-ons.
Can be used with both C# and VB

Amit Member

thank you for your respond

Why don’t you add the Windows Media Player control?

This is the problem, i don’t know how to add add the Windows Media Player control to my project ? tell me please how to do this.

Viewing 15 posts - 61 through 75 (of 108 total)
en_USEnglish